From bd6618b99a2011f321d7f196b35e9cc4ae8a7b95 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Fri, 10 Dec 2021 11:26:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E8=AF=84=E4=BB=B7=20-=20?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BA=86=E6=9C=89=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=B8=8D=E5=88=B0=E4=BC=81=E6=A0=87id?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=BC=A0=E7=BB=99=E5=90=8E=E7=AB=AF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../details/otherBussStandardDetails/index.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index eaf946066..8a28476d0 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -1536,7 +1536,7 @@ export default { historyPeopleChange(row){ this.historyInfoLoading = true const allData = { - lawId: this.sarStandardsInfoEO.id, + lawId: this.$route.params.id, userId: row.userId, evaluationType: this.indexType } @@ -1580,7 +1580,7 @@ export default { this.indexType = 'quality' //查询评分表 const allData = { - lawId: this.sarStandardsInfoEO.id, + lawId: this.$route.params.id, userId: this.firstHistoryPeopleId, evaluationType: this.indexType } @@ -1598,7 +1598,7 @@ export default { this.indexType = 'dynamic' //查询评分表 const allData = { - lawId: this.sarStandardsInfoEO.id, + lawId: this.$route.params.id, userId: this.firstHistoryPeopleId, evaluationType: this.indexType } @@ -1624,7 +1624,7 @@ export default { } //查询动态评价总平均分和质量评价总平均分 - let standId = this.sarStandardsInfoEO.id + let standId = this.$route.params.id this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { _this: this }, res => { @@ -1714,7 +1714,7 @@ export default { const allData = { tableData: this.businessCommentTable, formData: JSON.stringify(this.businessCommentForm), - standId: this.sarStandardsInfoEO.id, + standId: this.$route.params.id, userId: this.$store.getters.userInfo.userId, evaluationType: this.indexType } @@ -1726,7 +1726,7 @@ export default { this.$message.success('提交成功') this.commentSubmitLoading = false //重新评分之后刷新历史评分人 - let standId = this.sarStandardsInfoEO.id + let standId = this.$route.params.id this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', {lawId:standId}, { _this: this }, res => { @@ -2819,8 +2819,9 @@ export default { // } }, async mounted () { + let standId = this.$route.params.id const qualityRequest = { - lawId: this.sarStandardsInfoEO.id, + lawId: standId, evaluationType: 'quality' } this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', qualityRequest, { @@ -2832,7 +2833,7 @@ export default { }, e => { }) const dynamicRequest = { - lawId: this.sarStandardsInfoEO.id, + lawId: standId, evaluationType: 'dynamic' } this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', dynamicRequest, {