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 => { })