diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index e0434c7..cd1f86d 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -346,6 +346,7 @@ + @@ -364,6 +365,7 @@ import BdesignForm from './BrowerForm.vue' import FdesignForm from './FileForm.vue' import UserImportForm from './UserImportForm.vue' import WpsWordForm from './WpsWordForm.vue' +import WpsPptxForm from './WpsPptxForm.vue' import UserAssignRoleForm from './UserAssignRoleForm.vue' import DeptTree from './DeptTree.vue' import SpecialtyTree from './SpecialtyTree.vue' @@ -676,6 +678,7 @@ const mformRef = ref() const bformRef = ref() const fformRef = ref() const wformRef = ref() +const pformRef = ref() const openForm = (type: string, id?: number) => { console.log(queryParams) @@ -694,6 +697,8 @@ const openForm = (type: string, id?: number) => { fformRef.value.open(queryParams,type, id) } else if (chooseQuestionType.value.includes("文字")){ wformRef.value.open(queryParams,type, id) + } else if (chooseQuestionType.value.includes("演示")){ + pformRef.value.open(queryParams,type, id) } } @@ -717,19 +722,6 @@ const handleStatusChange = async (row: any) => { /** 导出按钮操作 */ const exportLoading = ref(false) -const handleExport = async () => { - try { - // 导出的二次确认 - await message.exportConfirm() - // 发起导出 - exportLoading.value = true - const data = await UserApi.exportUser(queryParams) - download.excel(data, '用户数据.xls') - } catch { - } finally { - exportLoading.value = false - } -} /** 操作分发 */ const handleCommand = (command: string, row: UserApi.UserVO) => {