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:
@@ -347,6 +347,7 @@ const ChoiceCourse = (n) => {
|
|||||||
coursePlanIndex.value = n;
|
coursePlanIndex.value = n;
|
||||||
params.value.pid = data.value[n].id;
|
params.value.pid = data.value[n].id;
|
||||||
tableRef.value.fetch();
|
tableRef.value.fetch();
|
||||||
|
tableRef.value.resetSelected();
|
||||||
};
|
};
|
||||||
watch(()=>params.value.finishStatus,()=>{
|
watch(()=>params.value.finishStatus,()=>{
|
||||||
if(params.value.finishStatus==undefined){
|
if(params.value.finishStatus==undefined){
|
||||||
@@ -358,7 +359,10 @@ const removeStu=(id)=> dialog({
|
|||||||
ok: () => delStudentList({ ids: [id] }).then(() => fetchData())
|
ok: () => delStudentList({ ids: [id] }).then(() => fetchData())
|
||||||
})
|
})
|
||||||
|
|
||||||
const closeDrawer = () => emit("update:FSvisible", false);
|
const closeDrawer = () => {
|
||||||
|
emit("update:FSvisible", false)
|
||||||
|
tableRef.value.resetSelected();
|
||||||
|
};
|
||||||
//批量签到
|
//批量签到
|
||||||
const batchSign = () => {
|
const batchSign = () => {
|
||||||
if (!courseSelectRows.value.length) {
|
if (!courseSelectRows.value.length) {
|
||||||
@@ -417,7 +421,10 @@ function stuSign(text) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//搜索学员
|
//搜索学员
|
||||||
const searchTaskList = () => tableRef.value.fetch();
|
const searchTaskList = () => {
|
||||||
|
tableRef.value.fetch()
|
||||||
|
tableRef.value.resetSelected();
|
||||||
|
};
|
||||||
|
|
||||||
//添加学员
|
//添加学员
|
||||||
function submitCall(flag) {
|
function submitCall(flag) {
|
||||||
|
|||||||
Reference in New Issue
Block a user