diff --git a/src/api/paper/question/index.ts b/src/api/paper/question/index.ts index 3846f56..5882c94 100644 --- a/src/api/paper/question/index.ts +++ b/src/api/paper/question/index.ts @@ -158,3 +158,16 @@ export const saveSelectedKaodian = (data) => { export const getFilePoint = (data) => { return request.post({ url: `/exam/getPoints/get_filePoint`,data }) } + +export const getPsPoint = (data) => { + return request.post({ url: `/exam/getPoints/get_ps_point`,data }) +} + +export const setPsPoint = (data) => { + return request.post({ url: `/exam/getPoints/set_ps_point`,data }) +} + + +export const getPsPointByQuId = (id) => { + return request.get({ url: `/exam/getPoints/getPsPointById/${id}` }) +} \ No newline at end of file diff --git a/src/config/axios/config.ts b/src/config/axios/config.ts index 8116508..bdca649 100644 --- a/src/config/axios/config.ts +++ b/src/config/axios/config.ts @@ -16,7 +16,7 @@ const config: { /** * 接口请求超时时间 */ - request_timeout: 30000, + request_timeout: 60000, /** * 默认接口请求类型 diff --git a/src/views/paper/question/PsForm.vue b/src/views/paper/question/PsForm.vue new file mode 100644 index 0000000..698be2c --- /dev/null +++ b/src/views/paper/question/PsForm.vue @@ -0,0 +1,1235 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 启用 + 禁用 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 关键字 + + + + + + + 新建 + 编辑 + 删除 + 删除全部 + + + + + + + + + + + + + + + + + + + + + + + + + 提示:考点导入需上传考试和结果文件 + + + + + + 考点设置 + + + + + + + 考点设置 + + + + + + + + + + + + + + + + + + + + + 答案树 + + + + + + 考生表格(右侧) + + + + + + + + + + + + — + + + + + + + + + + 导入考点 + + + + + 取消 + 确定 + + + + + + + + + + 试题附件 + + + + + + 提示:文件名称可默认不设置 + + + + + + + + + + + + + + + + {{ row.url }} + + + + + + + + 上传 + + + 下载 + + 删除 + + + + + + + + + + + + + + + 确 定 + 取 消 + + + + + + + 答案目录 + + 原始目录 + + + + + + + + + \ No newline at end of file diff --git a/src/views/paper/question/SettingForm.vue b/src/views/paper/question/SettingForm.vue index cf769e7..97be2b2 100644 --- a/src/views/paper/question/SettingForm.vue +++ b/src/views/paper/question/SettingForm.vue @@ -292,14 +292,14 @@ import Setting from '@/components/Setting/index.vue' import * as SpecialtyApi from '@/api/points' import { defaultProps, handleTree } from '@/utils/tree' import { cloneDeep } from 'lodash-es' -import { emitter } from '@/utils/eventBus' +// import { emitter } from '@/utils/eventBus' defineOptions({ name: 'WpsWordFrom' }) const wordPointsList = ref([]) // 树形结构 const wordPointsInfoList = ref([]) // 树形结构 -onMounted(() => { - emitter.on('maskDisplay', handleFromC) -}) +// onMounted(() => { +// emitter.on('maskDisplay', handleFromC) +// }) function handleFromC(data: any) { console.log(data.value) diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index 4a7da6d..4fdb5ff 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -319,6 +319,7 @@ +
关键字
考点设置
试题附件