From d49bfb873218c8010c5a08620069ce5d74702ffa Mon Sep 17 00:00:00 2001 From: liuhuaizhi Date: Fri, 30 Jul 2021 09:52:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/details.vue | 56 +++++++++++++++---- 1 file changed, 45 insertions(+), 11 deletions(-) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue index 937ad9e75..2e94c804e 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue @@ -94,7 +94,7 @@ width="190px" label="新车型实施日期"> + + + + @@ -312,6 +332,8 @@ export default { standList1:[],//调取添加的数据 id:'',//批量删除. saveExportType: '',// 导出文件模态框控制,和文件名称 + zrbmMap: {}, + textStatusMap: {} // 文本状态id与name对应 } }, methods: { @@ -596,17 +618,21 @@ export default { } else if (this.saveExportType === 'all') { console.log(this.selectList); let ids = '' - if (this.selectList.length === 0) { - ids='\''+this.dataList[0].standId+'\'' - for(let i=1;i { + this.$set(key, item.value, item.label) + }) + } }, computed: { ...mapGetters(['getLocalPro']) @@ -645,6 +677,8 @@ export default { loading: 'loading' }, res => { this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 + this.setMap(this.zrbmMap,res.data.ZRBMCLASS) + this.setMap(this.textStatusMap,res.data.WBZTCLASS) this.showLocalProductData(this.getLocalPro) }, e => { })