Merge branch 'zcwy-zsx0223'

This commit is contained in:
zhangsir
2024-02-28 08:47:34 +08:00

View File

@@ -347,6 +347,7 @@ const ChoiceCourse = (n) => {
coursePlanIndex.value = n;
params.value.pid = data.value[n].id;
tableRef.value.fetch();
tableRef.value.resetSelected();
};
watch(()=>params.value.finishStatus,()=>{
if(params.value.finishStatus==undefined){
@@ -358,7 +359,10 @@ const removeStu=(id)=> dialog({
ok: () => delStudentList({ ids: [id] }).then(() => fetchData())
})
const closeDrawer = () => emit("update:FSvisible", false);
const closeDrawer = () => {
emit("update:FSvisible", false)
tableRef.value.resetSelected();
};
//批量签到
const batchSign = () => {
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) {