diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index b8302a8f7..4ef277c07 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -2148,22 +2148,6 @@ export default { this.selectSarStandItems() // 此处需要调用接口,修改个人配置 }, - - getdicTypeListCode(){ - // 从数据库中查询各下拉框数据 - this.$http.get('sys/dictype/getDicTypeListCode', '', { - _this: this - }, res => { - this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型” - this.emergyKindOptions = res.data.ENERGYTYPES - this.requestOptions = res.data.REQUESTTYPE - this.textOptions = res.data.TEXTSTATUSBUSS //企标文本状态 - this.mjOptions = res.data.MJ - this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION - }, e => { - }) - - }, selectStandMessage () { let url = this.$route.params.pageType === 'SUB' ? 'lawss/sarSubsionessStand/getStandInfoById' : 'lawss/sarBussionessStand/getStandInfoById' @@ -2892,7 +2876,18 @@ export default { async mounted () { //查询动态评价总平均分和质量评价总平均分 let standId = this.$route.params.id - + // 从数据库中查询各下拉框数据 + this.$http.get('sys/dictype/getDicTypeListCode', '', { + _this: this + }, res => { + this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型” + this.emergyKindOptions = res.data.ENERGYTYPES + this.requestOptions = res.data.REQUESTTYPE + this.textOptions = res.data.TEXTSTATUSBUSS //企标文本状态 + this.mjOptions = res.data.MJ + this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION + }, e => { + }) this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { _this: this }, res => { @@ -2935,7 +2930,7 @@ export default { this.sarStandardsInfoEO.id = this.$route.params.id this.getOrgTreeSource() this.standItemEO.standId = this.$route.params.id - Promise.all([this.getdicTypeListCode(),this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => { + Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => { const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values // const relatedPlansRes = await this.queryRelatedPlans() // const relatedPlans = relatedPlansRes.list