【新增】ps出题页面

This commit is contained in:
YOHO\20373
2025-07-01 17:13:02 +08:00
committed by 陆光LG
parent bf41973270
commit 6099e0c4e3
5 changed files with 1258 additions and 7 deletions

View File

@@ -319,6 +319,7 @@
<SettingForm ref="setformRef" @success="getList" />
<EmailForm ref="emailformRef" @success="getList" />
<WpsExcelForm ref="xlsxformRef" @success="getList" />
<PsForm ref="psformRef" @success="getList" />
</template>
<script lang="ts" setup>
@@ -339,7 +340,7 @@ import WpsWordForm from './WpsWordForm.vue'
import WpsPptxForm from './WpsPptxForm.vue'
import SettingForm from './SettingForm.vue'
import WpsExcelForm from './WpsExcelForm.vue'
import PsForm from './PsForm.vue'
import EmailForm from './EmailForm.vue'
import UserAssignRoleForm from './UserAssignRoleForm.vue'
import DeptTree from './DeptTree.vue'
@@ -691,7 +692,7 @@ const pformRef = ref()
const setformRef = ref()
const emailformRef = ref()
const xlsxformRef = ref()
const psformRef = ref()
const openForm = (type: string, id?: number) => {
console.log(queryParams)
if (queryParams.subjectName == '') {
@@ -717,6 +718,8 @@ const openForm = (type: string, id?: number) => {
emailformRef.value.open(queryParams, type, id)
} else if (chooseQuestionType.value.includes('表格')) {
xlsxformRef.value.open(queryParams, type, id)
}else if (chooseQuestionType.value.includes('图像处理')) {
psformRef.value.open(queryParams, type, id)
}
}