【新增】ps出题页面
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user