【新增】 ppt出题页面
This commit is contained in:
@@ -346,6 +346,7 @@
|
||||
<BdesignForm ref="bformRef" @success="getList" />
|
||||
<FdesignForm ref="fformRef" @success="getList" />
|
||||
<WpsWordForm ref="wformRef" @success="getList" />
|
||||
<WpsPptxForm ref="pformRef" @success="getList" />
|
||||
|
||||
|
||||
</template>
|
||||
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user