From cfaf5c33c7947ae4a32f3c44d10aa1626fcad5a9 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Tue, 28 Dec 2021 14:56:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=86=85=E5=BA=93=20-=20=E6=A0=87?= =?UTF-8?q?=E5=87=86=E5=88=86=E8=A7=A3=E5=8D=95=20-=20=E9=80=82=E7=94=A8?= =?UTF-8?q?=E8=BD=A6=E5=9E=8B=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../details/otherStandardDetails/index.vue | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index e0e75c8b5..79f6eacee 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -1724,6 +1724,7 @@ import CustomOrg from '@/components/CustomFormComponents/OrgTree' import {dateFormat} from '@/common/date' import RelatedTermsSelect from './components/RelatedTermsSelect' import { getBusStandFileByAttId } from 'api/process' +import {dicTypeData} from "api/unqualProcess"; export default { @@ -1746,6 +1747,7 @@ export default { }, data() { return { + CycxOptions: [], activeNames: ['基础信息','过程稿件','实施日期'], activeState: true, itemExistList: [], @@ -3085,6 +3087,19 @@ export default { }, {}, res => { this.selectedItemList = [] if (res.ok) { + console.log('3092',res.data.list) + res.data.list.forEach(item => { + let k = (item.applyArctic || "").split(',') + for (let i in this.applyArcticOptions.options) { + for (let m = 0; m < k.length; m++) { + if (this.applyArcticOptions.options[i].value === k[m]) { + k[m] = this.applyArcticOptions.options[i].label + } + item.applyArctic = k.join(',') + } + } + item.applyArctic = item.applyArctic.replaceAll('\"', '').replaceAll('\[', '').replaceAll('\]', '') + }) this.standItemList = res.data.list; this.total7 = res.data.count // 分页需要 } @@ -3583,6 +3598,12 @@ export default { return item.id } }, + created() { + dicTypeData().then(res => { + // 能源类型数据字典 + this.CycxOptions = res.data.CLLX + }) + }, async mounted() { this.sarStandardsInfoEO.id = this.$route.params.id // await this.selectStandMessage()