From 6b3d83979d673e051bb98ed58044974cd791b25a Mon Sep 17 00:00:00 2001 From: fan Date: Thu, 11 Apr 2024 11:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/management/exam.js | 5 +++-- src/views/newMap/display/exam/selectExam.vue | 7 ++++++- src/views/organization/examManage/index.vue | 6 +++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/api/management/exam.js b/src/api/management/exam.js index 5513e743d..7b70d9b23 100644 --- a/src/api/management/exam.js +++ b/src/api/management/exam.js @@ -347,9 +347,10 @@ export function queryTagList(data) { /** * 获取试卷创建者list */ -export function queryPaperCreatorList() { +export function queryPaperCreatorList(data) { return request({ url: `/api/v2/paper/composition/list/creatorInfo`, - method: 'GET', + method: 'POST', + data }) } diff --git a/src/views/newMap/display/exam/selectExam.vue b/src/views/newMap/display/exam/selectExam.vue index f6843a2cb..ee58e47a4 100644 --- a/src/views/newMap/display/exam/selectExam.vue +++ b/src/views/newMap/display/exam/selectExam.vue @@ -96,7 +96,12 @@ export default { }, onOpen() { this.creatorList = []; - queryPaperCreatorList().then(response => { + const data = { + orgId: this.$store.state.user.companyId, + mapId: this.$route.query.mapId, + findState: 3 + } + queryPaperCreatorList(data).then(response => { this.creatorList = response.data; }); this.onSubmit(); diff --git a/src/views/organization/examManage/index.vue b/src/views/organization/examManage/index.vue index 37766afbb..b8e57ed56 100644 --- a/src/views/organization/examManage/index.vue +++ b/src/views/organization/examManage/index.vue @@ -191,7 +191,11 @@ export default { this.mapIdList = response.data; }); this.creatorList = []; - queryPaperCreatorList().then(response => { + const data = {}; + if (!this.hasTeachingDataManage()) { + data.orgId = this.orgId + } + queryPaperCreatorList(data).then(response => { this.creatorList = response.data.map(item => { return { value: item.id,