From f1477b86713faec60b6aead8b675e03e8eda6ff4 Mon Sep 17 00:00:00 2001 From: "DESKTOP-932OMT8\\REN" Date: Thu, 29 May 2025 11:22:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=20ppt?= =?UTF-8?q?=E5=87=BA=E9=A2=98=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/paper/question/index.vue | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) 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) => {