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;