diff --git a/src/views/paper/question/WpsXlsxForm.vue b/src/views/paper/question/WpsXlsxForm.vue
index 1c7bbb9..b90199c 100644
--- a/src/views/paper/question/WpsXlsxForm.vue
+++ b/src/views/paper/question/WpsXlsxForm.vue
@@ -504,7 +504,7 @@ const removePoint = (row) => {
}
}
}
-function fileTypeFormatter(cellValue) {
+function fileTypeFormatter(row, column, cellValue) {
if (cellValue === '0') return '素材文件(上传ZIP)'
if (cellValue === '1') return '考试文件'
if (cellValue === '2') return '结果文件'
diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue
index 076cb49..284e681 100644
--- a/src/views/paper/question/index.vue
+++ b/src/views/paper/question/index.vue
@@ -850,8 +850,12 @@ const handleDeletes = async () => {
type: 'warning'
})
selectedRows.value = rows.map((d: any) => d.quId) // 保存选中的行数据
- await QuestionApi.removeQuestions(selectedRows.value)
- message.success(t('common.delSuccess'))
+ const res = await QuestionApi.removeQuestions(selectedRows.value)
+ if (res == '删除成功') {
+ message.success(res)
+ } else {
+ message.error(res)
+ }
// 刷新列表
await getList()
} catch {}
diff --git a/src/views/task/exam/components/task-add.vue b/src/views/task/exam/components/task-add.vue
index 29d9cc4..f117a95 100644
--- a/src/views/task/exam/components/task-add.vue
+++ b/src/views/task/exam/components/task-add.vue
@@ -1,29 +1,15 @@
-
\ No newline at end of file
+
diff --git a/src/views/task/exam/index.vue b/src/views/task/exam/index.vue
index 7994032..0edff21 100644
--- a/src/views/task/exam/index.vue
+++ b/src/views/task/exam/index.vue
@@ -82,7 +82,7 @@
-
+
diff --git a/src/views/task/selftrans/ai/components/task-add.vue b/src/views/task/selftrans/ai/components/task-add.vue
index 8133b81..3bbe507 100644
--- a/src/views/task/selftrans/ai/components/task-add.vue
+++ b/src/views/task/selftrans/ai/components/task-add.vue
@@ -1,30 +1,15 @@
-
-
-
-
-
-
+
+
+
-
+
-
+
-->
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
取消
-
- 保存
-
+ 保存
\ No newline at end of file
+
diff --git a/src/views/task/selftrans/ai/index.vue b/src/views/task/selftrans/ai/index.vue
index 515de8b..8f5c108 100644
--- a/src/views/task/selftrans/ai/index.vue
+++ b/src/views/task/selftrans/ai/index.vue
@@ -82,7 +82,7 @@
-
+
diff --git a/src/views/task/selftrans/collegeexam/components/task-add.vue b/src/views/task/selftrans/collegeexam/components/task-add.vue
index 226a1b6..1a72611 100644
--- a/src/views/task/selftrans/collegeexam/components/task-add.vue
+++ b/src/views/task/selftrans/collegeexam/components/task-add.vue
@@ -1,29 +1,15 @@
-
-
-
-
-
+
+
+
-
+
-
+
-->
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
取消
-
- 保存
-
+ 保存
\ No newline at end of file
+
diff --git a/src/views/task/selftrans/collegeexam/index.vue b/src/views/task/selftrans/collegeexam/index.vue
index 0e5f8a0..cc1062c 100644
--- a/src/views/task/selftrans/collegeexam/index.vue
+++ b/src/views/task/selftrans/collegeexam/index.vue
@@ -82,7 +82,7 @@
-
+
diff --git a/src/views/task/selftrans/module/components/task-add.vue b/src/views/task/selftrans/module/components/task-add.vue
index dc603ad..5cf5a22 100644
--- a/src/views/task/selftrans/module/components/task-add.vue
+++ b/src/views/task/selftrans/module/components/task-add.vue
@@ -1,29 +1,15 @@
-
-
-
-
-
+
+
+
-
+
-
+
-->
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
取消
-
- 保存
-
+ 保存
\ No newline at end of file
+
diff --git a/src/views/task/selftrans/module/index.vue b/src/views/task/selftrans/module/index.vue
index 001c68c..06af92c 100644
--- a/src/views/task/selftrans/module/index.vue
+++ b/src/views/task/selftrans/module/index.vue
@@ -82,7 +82,7 @@
-
+
diff --git a/src/views/task/selftrans/random/components/task-add.vue b/src/views/task/selftrans/random/components/task-add.vue
index ac59a7c..724a1de 100644
--- a/src/views/task/selftrans/random/components/task-add.vue
+++ b/src/views/task/selftrans/random/components/task-add.vue
@@ -1,29 +1,15 @@
-
-
-
-
-
+
+
+
-
+
-
+
-->
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
取消
-
- 保存
-
+ 保存
\ No newline at end of file
+
diff --git a/src/views/task/selftrans/random/index.vue b/src/views/task/selftrans/random/index.vue
index 32c5477..b37db29 100644
--- a/src/views/task/selftrans/random/index.vue
+++ b/src/views/task/selftrans/random/index.vue
@@ -82,7 +82,7 @@
-
+
diff --git a/src/views/task/sprint/components/task-add.vue b/src/views/task/sprint/components/task-add.vue
index e98d1e9..64b7d43 100644
--- a/src/views/task/sprint/components/task-add.vue
+++ b/src/views/task/sprint/components/task-add.vue
@@ -1,29 +1,15 @@
-
-
-
-
-
+
+
+
-
+
-
+
-->
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
取消
-
- 保存
-
+ 保存
\ No newline at end of file
+
diff --git a/src/views/task/sprint/index.vue b/src/views/task/sprint/index.vue
index e82821c..8ca9c52 100644
--- a/src/views/task/sprint/index.vue
+++ b/src/views/task/sprint/index.vue
@@ -82,7 +82,7 @@
-
+
diff --git a/src/views/task/trans/components/task-add.vue b/src/views/task/trans/components/task-add.vue
index 6c0ba75..c4b3316 100644
--- a/src/views/task/trans/components/task-add.vue
+++ b/src/views/task/trans/components/task-add.vue
@@ -2,9 +2,9 @@
-
+
@@ -32,7 +32,7 @@
-->
-
+
-
+