【新增】监控管理试卷任务监控、细节优化

This commit is contained in:
YOHO\20373
2025-05-12 09:26:40 +08:00
committed by 陆光LG
parent 1278962dc2
commit 12cbdaa78a
38 changed files with 1139 additions and 360 deletions

View File

@@ -73,6 +73,7 @@
<ContentWrap>
<el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="任务编号" align="center" prop="taskNum" />
<el-table-column label="任务名称" align="center" prop="taskName" />
<el-table-column label="专业" align="center" prop="taskSpecialty" />
<el-table-column label="试卷任务模式" align="center" prop="taskType">
@@ -222,15 +223,20 @@ const handleSelectionChange = (rows) => {
const formRef = ref();
const openForm = (type: string, id?: number) => {
showAdd.value = true
taskAddRef.value?.open(type, id)
nextTick(() => {
taskAddRef.value?.open(type, id)
});
}
const openEdit = (type: string, row?: object) => {
showEdit.value = true
current.value = row
console.log( current.value )
taskEditRef.value?.open(type, row)
}
showEdit.value = true;
current.value = row;
nextTick(() => {
taskEditRef.value?.open(type, row);
});
};
const openBank = () => {
showOpenTemplate.value = true