mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
编辑和删除
This commit is contained in:
@@ -573,12 +573,12 @@ const createNewCourse = () => {
|
||||
const handleCancelStu = () => offCourseNewVisiable.value = false;
|
||||
|
||||
const expenseStatus = {
|
||||
A10:false,
|
||||
S00:false
|
||||
A10:true,
|
||||
S00:true
|
||||
}
|
||||
const del = (id,record) => {
|
||||
console.log(record,'删除');
|
||||
if (record.expenseStatus && expenseStatus[record.expenseStatus]) {
|
||||
if (record.expenseStatus && !expenseStatus[record.expenseStatus]) {
|
||||
return message.warning("该开课已在审批流程中,不可进行删除!");
|
||||
}
|
||||
dialog({
|
||||
@@ -620,7 +620,7 @@ async function coursePlanConfirm() {
|
||||
}
|
||||
|
||||
function planEdit(record) {
|
||||
if (record.expenseStatus && expenseStatus[record.expenseStatus]) {
|
||||
if (record.expenseStatus && !expenseStatus[record.expenseStatus]) {
|
||||
return message.warning("该开课已在审批流程中,不可进行编辑!");
|
||||
}
|
||||
onceName.value = record.name;
|
||||
|
||||
Reference in New Issue
Block a user