From 6ffbad7bee1db471017d0ca309e067bb176cc074 Mon Sep 17 00:00:00 2001 From: "YOHO\\20373" <2037305722@qq.com> Date: Tue, 1 Jul 2025 17:13:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91ps=E5=87=BA?= =?UTF-8?q?=E9=A2=98=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/paper/question/index.ts | 13 + src/config/axios/config.ts | 2 +- src/views/paper/question/PsForm.vue | 1235 ++++++++++++++++++++++ src/views/paper/question/SettingForm.vue | 8 +- src/views/paper/question/index.vue | 7 +- 5 files changed, 1258 insertions(+), 7 deletions(-) create mode 100644 src/views/paper/question/PsForm.vue 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 @@ + + + \ 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 @@ +