From 286273824d908fa14fb0bc6e69d2b472588cf1ff Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Fri, 5 Aug 2022 16:32:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E2=80=8556810=20=E8=A7=A3=E8=AF=BB=E6=B5=81=E7=A8=8B=E5=AE=8C?= =?UTF-8?q?=E7=BB=93=E4=B9=8B=E5=90=8E=EF=BC=8C=E6=A0=87=E5=87=86=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=9D=A1=E6=AC=BE=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E4=BA=86=EF=BC=8C=E9=9C=80=E8=A6=81=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E5=85=B3=E8=81=94=2056806=20=E8=A7=A3=E8=AF=BB=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E8=B7=91=E5=AE=8C=E4=B9=8B=E5=90=8E=EF=BC=8C=E5=88=86?= =?UTF-8?q?=E8=A7=A3=E5=8D=95=E4=B8=8D=E5=BD=92=E6=A1=A3=EF=BC=8C=E8=A7=81?= =?UTF-8?q?=E9=99=84=E4=BB=B6=2020220727091736846?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../details/otherStandardDetails/index.vue | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index deddf29b2..7dc5e94ff 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -880,6 +880,9 @@ label="适用车型" width="90" > + @@ -2096,6 +2099,14 @@ export default { props: {}, watch: {}, methods: { + filterApplyArctic(row){ + console.log(row) + if(row.applyArctic){ + return row.applyArctic.replaceAll('\"', '').replaceAll('\[', '').replaceAll('\]', '') + }else { + return "" + } + }, handleChangeList(data){ this.handleList = data }, @@ -3139,28 +3150,19 @@ export default { }, // 分解单----查看标准条款相关 selectSarStandItems(id, flag) { + this.tableLoading = true this.standItemSearch.standId = this.sarStandardsInfoEO.id this.standItemSearch.fileType = this.fileType + console.log("---------------------------------------------") this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', { ...this.standItemSearch, pageSize: this.pageSize7, page: this.page7, order: this.order, orderBy: this.orderBy }, {}, res => { this.selectedItemList = [] - if (res.ok) { - 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('\]', '') - }) + if (res.data) { this.standItemList = res.data.list; this.total7 = res.data.count // 分页需要 + this.tableLoading = false } }, e => { })