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