From 8d473b0c76a44a857716dfd272bdd27f24b8a329 Mon Sep 17 00:00:00 2001 From: wxyclub Date: Fri, 29 Mar 2024 15:51:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=81=E6=A0=87=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E8=AF=84=E5=88=86=E8=AE=A1=E7=AE=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/otherBussStandardDetails/index.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index aec5c3d5a..612a5bd51 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -1373,6 +1373,7 @@ export default { data () { return { score: 0, + XGLC:'', externalStatus:'', QFTP: false, textOptions: [], @@ -1672,7 +1673,7 @@ export default { getScore () { //查询动态评价总平均分和质量评价总平均分 let standId = this.$route.params.id - this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { + this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId,prcNum:this.XGLC}, { _this: this }, res => { if (res.ok) { @@ -2490,6 +2491,12 @@ export default { _this: this }, res => { this.sarStandardsInfoEO = res.data || {} + if (res.data.attrInfoMap && res.data.attrInfoMap.XGLC){ + let XGLCData = res.data.attrInfoMap.XGLC.split(',') + this.XGLC = XGLCData[XGLCData.length - 1] + }else{ + this.XGLC = '' + } if (this.sarStandardsInfoEO.standCode && this.sarStandardsInfoEO.standCode.indexOf('Q/QCBFC') !== -1) { this.QFTP = true } @@ -3395,7 +3402,7 @@ export default { this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION }, e => { }) - this.getScore() + /* this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { _this: this @@ -3448,6 +3455,7 @@ export default { this.getOrgTreeSource() this.standItemEO.standId = this.$route.params.id Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => { + this.getScore() const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values // const relatedPlansRes = await this.queryRelatedPlans() // const relatedPlans = relatedPlansRes.list