[update] 解决bug87314

This commit is contained in:
lideqin
2024-07-22 09:40:35 +08:00
parent 36f40b7e27
commit 13651e7321
@@ -171,12 +171,12 @@ export default {
customRender: (text, row, index) => {
return {
children: <a-tooltip overlay-class-name="tooltip-style">
<template slot={'title'}>{ text || text === 0 ? text : global.emptyLine }</template>
<a class="link-a" onClick={() => this.toDetail(row)}>{{ text }}</a>
</a-tooltip>,
<template slot={'title'}>{ text || text === 0 ? text : global.emptyLine }</template>
<a class="link-a" onClick={() => this.toDetail(row)}>{{ text }}</a>
</a-tooltip>,
attrs: {
// 合并行 含col字段则合并,其他的必须设置为0!!
rowSpan: row.col ? row.col : 0,
rowSpan: row.col ? row.col : 0
}
}
}
@@ -191,11 +191,11 @@ export default {
return {
children: <a-tooltip overlay-class-name="tooltip-style">
<template slot={'title'}>{ text || text === 0 ? text : global.emptyLine }</template>
<a class="link-a" onClick={() => this.toDetail(row)}>{{ text }}</a>
</a-tooltip>,
<a class="link-a" onClick={() => this.toDetail(row)}>{{ text }}</a>
</a-tooltip>,
attrs: {
// 合并行 含col字段则合并,其他的必须设置为0!!
rowSpan: row.col ? row.col : 0,
rowSpan: row.col ? row.col : 0
}
}
}
@@ -214,7 +214,7 @@ export default {
</a-tooltip>,
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)
}
}