From 13651e7321c0c56e8365be12695e264af7eec3b8 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 22 Jul 2024 09:40:35 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E8=A7=A3=E5=86=B3bug87314?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MarketRegulationsDetailPage.vue | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue index c280131..e93c7c7 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue @@ -171,12 +171,12 @@ export default { customRender: (text, row, index) => { return { children: - - this.toDetail(row)}>{{ text }} - , + + this.toDetail(row)}>{{ text }} + , attrs: { // 合并行 含col字段则合并,其他的必须设置为0!! - rowSpan: row.col ? row.col : 0, + rowSpan: row.col ? row.col : 0 } } } @@ -191,11 +191,11 @@ export default { return { children: - this.toDetail(row)}>{{ text }} - , + this.toDetail(row)}>{{ text }} + , attrs: { // 合并行 含col字段则合并,其他的必须设置为0!! - rowSpan: row.col ? row.col : 0, + rowSpan: row.col ? row.col : 0 } } } @@ -214,7 +214,7 @@ export default { , attrs: { // 合并行 含col字段则合并,其他的必须设置为0!! - rowSpan: row.col ? row.col : 0, + rowSpan: row.col ? row.col : 0 } } } @@ -245,7 +245,7 @@ export default { title: this.$t('standardRegulationLibrary.marketListField.applicableCountryRegion'), align: 'center', width: 180, - dataIndex: 'applicableCountryRegion_dictText', + dataIndex: 'country_dictText', scopedSlots: { customRender: 'text' } }, { // 适用车型 @@ -273,7 +273,7 @@ export default { title: this.$t('standardRegulationLibrary.marketListField.type'), align: 'center', width: 180, - dataIndex: 'stanardClass_dictText', + dataIndex: 'type_dictText', scopedSlots: { customRender: 'text' } }, { // 动力类型 @@ -419,7 +419,7 @@ export default { indexcount (arr, item) { const arr1 = [] for (var i = 0; i < arr.length; i++) { - if (arr[i].standardNumber == item) { + if (arr[i].standardNumber === item) { arr1.push(arr[i].id) } }