From dd5c7b125bcd820e55dca2e19612805c1386f3ea Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 18 Feb 2022 10:27:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E5=88=86=E7=82=B9=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 2 +- src/pages/project/add/index.vue | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index e88b982..bd2cf4b 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -92,7 +92,7 @@ export default { copyProjectManage: `${host}occupationlab/projectManage/copyProjectManage`, // 复制项目管理 // 判分点 - getBcJudgmentPoint: `${host}judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取编程类判分点列表(分页) + getBcJudgmentPoint: `${host}judgment/bcJudgmentPoint/getTeacherJudgmentPoint`, // 获取编程类判分点列表(分页) getLcJudgmentPoint: `${host}judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) addProjectJudgment: `${host}occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 updateProjectJudgment: `${host}occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 diff --git a/src/pages/project/add/index.vue b/src/pages/project/add/index.vue index bd1f15c..3d0282a 100644 --- a/src/pages/project/add/index.vue +++ b/src/pages/project/add/index.vue @@ -516,10 +516,6 @@ export default { this.$refs.judgementTable.clearSelection(); }); let params = { - enable:0, - name: this.judgementpointsquery, - pageNum: 1, - pageSize: 10000, systemId }; if (systemId == 2 || systemId == 3) { @@ -551,11 +547,10 @@ export default { }, getProgrammingClassData(params) { // 获取编程类判分点列表数据 this.visibleLoading = true; - this.$post(this.api.getBcJudgmentPoint, params).then(res => { - let list = res.message.records; + this.$get(this.api.getBcJudgmentPoint, params).then(res => { + let list = res.judgmentPoints let result = []; list.map(i => { - i.judgmentId = i.bcId; this.projectJudgmentData.find(j => j.judgmentId === i.judgmentId) || result.push(i); }); this.visibleLoading = false;