【新增】 word出题页面,半完善

This commit is contained in:
DESKTOP-932OMT8\REN
2025-05-27 13:39:59 +08:00
committed by 陆光LG
parent 47c5b20707
commit 5ce98a1e7f
14 changed files with 764 additions and 44 deletions

View File

@@ -337,6 +337,8 @@
<BdesignForm ref="bformRef" @success="getList" />
<FdesignForm ref="fformRef" @success="getList" />
<WpsWordForm ref="wformRef" @success="getList" />
</template>
<script lang="ts" setup>
@@ -353,6 +355,7 @@ import MdesignForm from './MysqlForm.vue'
import BdesignForm from './BrowerForm.vue'
import FdesignForm from './FileForm.vue'
import UserImportForm from './UserImportForm.vue'
import WpsWordForm from './WpsWordForm.vue'
import UserAssignRoleForm from './UserAssignRoleForm.vue'
import DeptTree from './DeptTree.vue'
import SpecialtyTree from './SpecialtyTree.vue'
@@ -664,6 +667,8 @@ const cformRef = ref()
const mformRef = ref()
const bformRef = ref()
const fformRef = ref()
const wformRef = ref()
const openForm = (type: string, id?: number) => {
console.log(queryParams)
if (queryParams.subjectName == "") {
@@ -679,6 +684,8 @@ const openForm = (type: string, id?: number) => {
bformRef.value.open(queryParams,type, id)
}else if(chooseQuestionType.value.includes("文件处理")) {
fformRef.value.open(queryParams,type, id)
} else if (chooseQuestionType.value.includes("文字")){
wformRef.value.open(queryParams,type, id)
}
}