mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
--fix bug
This commit is contained in:
@@ -186,7 +186,10 @@ function del(id) {
|
|||||||
okType: 'danger',
|
okType: 'danger',
|
||||||
cancelText: () => '取消',
|
cancelText: () => '取消',
|
||||||
onOk() {
|
onOk() {
|
||||||
id && delStudentList({ids: [id]}).then(() => searchStu())
|
if(id){
|
||||||
|
loading.value = true
|
||||||
|
delStudentList({ids: [id]}).then(() => searchStu())
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -582,13 +582,8 @@ function bathDel() {
|
|||||||
message.destroy();
|
message.destroy();
|
||||||
return message.warning("请先选中学员");
|
return message.warning("请先选中学员");
|
||||||
}
|
}
|
||||||
stuSelectKeys.value &&
|
tableData.value.loading = true;
|
||||||
stuSelectKeys.value.length &&
|
delStudentList({ids: stuSelectKeys.value,}).then(() => getStuList());
|
||||||
delStudentList({
|
|
||||||
ids: stuSelectKeys.value,
|
|
||||||
}).then(() => {
|
|
||||||
getStuList();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function del(id) {
|
function del(id) {
|
||||||
@@ -600,7 +595,10 @@ function del(id) {
|
|||||||
okType: "danger",
|
okType: "danger",
|
||||||
cancelText: () => "取消",
|
cancelText: () => "取消",
|
||||||
onOk() {
|
onOk() {
|
||||||
id && delStudentList({ ids: [id] }).then(() => getStuList());
|
if(id){
|
||||||
|
tableData.value.loading = true;
|
||||||
|
delStudentList({ ids: [id] }).then(() => getStuList());
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1358,6 +1358,7 @@ import RouterHomeworkManage from "../../components/drawers/router/RouterHomework
|
|||||||
import RouterCommonManage from "../../components/drawers/router/RouterCommonManage";
|
import RouterCommonManage from "../../components/drawers/router/RouterCommonManage";
|
||||||
import RouterVoteManage from "../../components/drawers/router/RouterVoteManage";
|
import RouterVoteManage from "../../components/drawers/router/RouterVoteManage";
|
||||||
import RouterProjectManage from "../../components/drawers/router/RouterProjectManage";
|
import RouterProjectManage from "../../components/drawers/router/RouterProjectManage";
|
||||||
|
import {checkPer} from "@/utils/utils";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "LevelAdd",
|
name: "LevelAdd",
|
||||||
@@ -2714,6 +2715,7 @@ export default {
|
|||||||
setLevels,
|
setLevels,
|
||||||
selectProjectName4,
|
selectProjectName4,
|
||||||
changeLevel,
|
changeLevel,
|
||||||
|
checkPer
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user