diff --git a/src/api/wps/xlsx/index.ts b/src/api/wps/xlsx/index.ts index b14ec55..d70c71d 100644 --- a/src/api/wps/xlsx/index.ts +++ b/src/api/wps/xlsx/index.ts @@ -39,7 +39,7 @@ export const deleteXlsx = async (id: number) => { } // 查询Xlsx节点列表(小类) 根据title查询出来下面所有的数据 -export const getSlideByNameList = async (title: string) => { +export const getXlsxByNameList = async (title: string) => { console.log(title) return await request.get({ url: '/exam/xlsx/getByNameList?title=' + title }) } diff --git a/src/views/monitor/monitor/task-monitor.vue b/src/views/monitor/monitor/task-monitor.vue index 7224418..b55cbb2 100644 --- a/src/views/monitor/monitor/task-monitor.vue +++ b/src/views/monitor/monitor/task-monitor.vue @@ -1,16 +1,15 @@ - + - \ No newline at end of file + diff --git a/src/views/paper/audit/BrowerForm.vue b/src/views/paper/audit/BrowerForm.vue deleted file mode 100644 index fe4fa24..0000000 --- a/src/views/paper/audit/BrowerForm.vue +++ /dev/null @@ -1,1071 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/paper/audit/CdesignForm.vue b/src/views/paper/audit/CdesignForm.vue deleted file mode 100644 index 0e2aff8..0000000 --- a/src/views/paper/audit/CdesignForm.vue +++ /dev/null @@ -1,644 +0,0 @@ - - - - diff --git a/src/views/paper/audit/ChoiceForm.vue b/src/views/paper/audit/ChoiceForm.vue deleted file mode 100644 index 2674772..0000000 --- a/src/views/paper/audit/ChoiceForm.vue +++ /dev/null @@ -1,703 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/paper/audit/DeptTree.vue b/src/views/paper/audit/DeptTree.vue deleted file mode 100644 index ab8ba06..0000000 --- a/src/views/paper/audit/DeptTree.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/src/views/paper/audit/FileForm.vue b/src/views/paper/audit/FileForm.vue deleted file mode 100644 index 96165de..0000000 --- a/src/views/paper/audit/FileForm.vue +++ /dev/null @@ -1,1245 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/paper/audit/MysqlForm.vue b/src/views/paper/audit/MysqlForm.vue deleted file mode 100644 index 20bdc61..0000000 --- a/src/views/paper/audit/MysqlForm.vue +++ /dev/null @@ -1,1214 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/paper/audit/SpecialtyTree.vue b/src/views/paper/audit/SpecialtyTree.vue deleted file mode 100644 index 7daeeea..0000000 --- a/src/views/paper/audit/SpecialtyTree.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - diff --git a/src/views/paper/audit/UserAssignRoleForm.vue b/src/views/paper/audit/UserAssignRoleForm.vue deleted file mode 100644 index 67a5ddb..0000000 --- a/src/views/paper/audit/UserAssignRoleForm.vue +++ /dev/null @@ -1,96 +0,0 @@ - - diff --git a/src/views/paper/audit/UserImportForm.vue b/src/views/paper/audit/UserImportForm.vue deleted file mode 100644 index 87eaea9..0000000 --- a/src/views/paper/audit/UserImportForm.vue +++ /dev/null @@ -1,138 +0,0 @@ - - diff --git a/src/views/paper/audit/WpsPptxForm.vue b/src/views/paper/audit/WpsPptxForm.vue deleted file mode 100644 index 4b4ba40..0000000 --- a/src/views/paper/audit/WpsPptxForm.vue +++ /dev/null @@ -1,903 +0,0 @@ - - - diff --git a/src/views/paper/audit/WpsWordForm.vue b/src/views/paper/audit/WpsWordForm.vue deleted file mode 100644 index 1c7b483..0000000 --- a/src/views/paper/audit/WpsWordForm.vue +++ /dev/null @@ -1,947 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/paper/audit/components/FileForm.vue b/src/views/paper/audit/components/FileForm.vue deleted file mode 100644 index 12552c5..0000000 --- a/src/views/paper/audit/components/FileForm.vue +++ /dev/null @@ -1,107 +0,0 @@ - - diff --git a/src/views/paper/audit/components/el-textarea.vue b/src/views/paper/audit/components/el-textarea.vue deleted file mode 100644 index 49cb511..0000000 --- a/src/views/paper/audit/components/el-textarea.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/paper/audit/index.vue b/src/views/paper/audit/index.vue deleted file mode 100644 index d8e9063..0000000 --- a/src/views/paper/audit/index.vue +++ /dev/null @@ -1,703 +0,0 @@ - - diff --git a/src/views/paper/question/WpsPptxForm.vue b/src/views/paper/question/WpsPptxForm.vue index de679ba..d1ad51b 100644 --- a/src/views/paper/question/WpsPptxForm.vue +++ b/src/views/paper/question/WpsPptxForm.vue @@ -448,7 +448,7 @@ const handleCheckChange = (data: Tree, checked: boolean, indeterminate: boolean) examName: '', examCode: '' } - if (data.functions != null && data.functions != "") { + if (data.functions != null && data.functions != '') { pptxPoints.firstName = chineseName.value pptxPoints.index = textIndex.value pptxPoints.function = data.functions @@ -700,6 +700,8 @@ const submitForm = async () => { /** 重置表单 */ const resetForm = () => { formData.value = { + pointNamesVo: '', + chapteridDictTextVo: '', content: '', specialtyName: '', courseName: '', @@ -710,7 +712,7 @@ const resetForm = () => { quLevel: 0, pointNames: '', subjectName: '', - status: '0', + status: ' ', resourceValue: '', answerList: [ { diff --git a/src/views/paper/question/WpsWordForm.vue b/src/views/paper/question/WpsWordForm.vue index be54e5d..14513a3 100644 --- a/src/views/paper/question/WpsWordForm.vue +++ b/src/views/paper/question/WpsWordForm.vue @@ -448,7 +448,7 @@ const handleCheckChange = (data: Tree, checked: boolean, indeterminate: boolean) examName: '', examCode: '' } - if (data.functions != null && data.functions != "") { + if (data.functions != null && data.functions != '') { wordPoints.firstName = chineseName.value wordPoints.index = textIndex.value wordPoints.function = data.functions @@ -699,6 +699,8 @@ const submitForm = async () => { /** 重置表单 */ const resetForm = () => { formData.value = { + pointNamesVo: '', + chapteridDictTextVo: '', content: '', specialtyName: '', courseName: '', @@ -709,7 +711,7 @@ const resetForm = () => { quLevel: 0, pointNames: '', subjectName: '', - status: '0', + status: ' ', resourceValue: '', answerList: [ { diff --git a/src/views/paper/question/WpsXlsxForm.vue b/src/views/paper/question/WpsXlsxForm.vue index b67fb46..f1e0172 100644 --- a/src/views/paper/question/WpsXlsxForm.vue +++ b/src/views/paper/question/WpsXlsxForm.vue @@ -408,7 +408,7 @@ let xlsxPointsInfosList: (typeof xlsxPoints)[] = [] const removePoint = (index: number) => { list.value.splice(index, 1) } -function fileTypeFormatter(row, column, cellValue) { +function fileTypeFormatter(cellValue) { if (cellValue === '0') return '素材文件(上传ZIP)' if (cellValue === '1') return '考试文件' if (cellValue === '2') return '结果文件' @@ -448,7 +448,7 @@ const handleCheckChange = (data: Tree, checked: boolean, indeterminate: boolean) examName: '', examCode: '' } - if (data.functions != null && data.functions != "") { + if (data.functions != null && data.functions != '') { xlsxPoints.firstName = chineseName.value xlsxPoints.index = textIndex.value xlsxPoints.function = data.functions @@ -474,16 +474,11 @@ const getXlsxDataInfo = async () => { const addXlsxForm = async () => { dialogFormVisibleXlsxInfo.value = true } - -const queryParams = reactive({ - nodeFunction: undefined -}) const chineseName = ref('') const textIndex = ref() // 打开 const handleNodelClick = async (row: any) => { - console.log(row) // 获取名称 chineseName.value = '【' + row.name + '】' textIndex.value = row.index @@ -582,8 +577,6 @@ const deleteUrl = (index: number) => { formData.value.fileUploads[index].fileName = '' } // 媒体文件 -const multipleMediumSelection = ref([] as any) -const multipleDocumentSelection = ref([] as any) const handleUploadSuccess = ({ url, fileType }) => { const index = documentList.value.findIndex((item) => item.fileType === fileType) if (index !== -1) { @@ -653,6 +646,8 @@ const submitForm = async () => { /** 重置表单 */ const resetForm = () => { formData.value = { + pointNamesVo: '', + chapteridDictTextVo: '', content: '', specialtyName: '', courseName: '', @@ -663,7 +658,7 @@ const resetForm = () => { quLevel: 0, pointNames: '', subjectName: '', - status: '0', + status: ' ', resourceValue: '', answerList: [ { diff --git a/src/views/paper/send/CdesignForm.vue b/src/views/paper/send/CdesignForm.vue deleted file mode 100644 index 0e2aff8..0000000 --- a/src/views/paper/send/CdesignForm.vue +++ /dev/null @@ -1,644 +0,0 @@ - - - - diff --git a/src/views/paper/send/ChoiceForm.vue b/src/views/paper/send/ChoiceForm.vue deleted file mode 100644 index c0c3cb2..0000000 --- a/src/views/paper/send/ChoiceForm.vue +++ /dev/null @@ -1,626 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/paper/send/DeptTree.vue b/src/views/paper/send/DeptTree.vue deleted file mode 100644 index ab8ba06..0000000 --- a/src/views/paper/send/DeptTree.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/src/views/paper/send/SpecialtyTree.vue b/src/views/paper/send/SpecialtyTree.vue deleted file mode 100644 index 7daeeea..0000000 --- a/src/views/paper/send/SpecialtyTree.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - diff --git a/src/views/paper/send/UserAssignRoleForm.vue b/src/views/paper/send/UserAssignRoleForm.vue deleted file mode 100644 index 67a5ddb..0000000 --- a/src/views/paper/send/UserAssignRoleForm.vue +++ /dev/null @@ -1,96 +0,0 @@ - - diff --git a/src/views/paper/send/UserImportForm.vue b/src/views/paper/send/UserImportForm.vue deleted file mode 100644 index 87eaea9..0000000 --- a/src/views/paper/send/UserImportForm.vue +++ /dev/null @@ -1,138 +0,0 @@ - - diff --git a/src/views/paper/send/components/el-textarea.vue b/src/views/paper/send/components/el-textarea.vue deleted file mode 100644 index 49cb511..0000000 --- a/src/views/paper/send/components/el-textarea.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/paper/send/index.vue b/src/views/paper/send/index.vue deleted file mode 100644 index 5b78536..0000000 --- a/src/views/paper/send/index.vue +++ /dev/null @@ -1,426 +0,0 @@ - -