国家地区清单详情页展示字段

This commit is contained in:
shenyanpei
2021-12-14 13:23:04 +08:00
parent 1b466894e0
commit 298321a44d
2 changed files with 10 additions and 13 deletions
@@ -3242,24 +3242,22 @@ export default {
if (accessCountry.country === undefined) {
accessCountry.country = '文本'
}
if (accessCountry.ssrq === undefined) {
accessCountry.ssrq = '-'
}
if (accessCountry.zccssrqgj === undefined) {
accessCountry.zccssrqgj = '-'
}
if (accessCountry.xcxssrqgj === undefined) {
accessCountry.xcxssrqgj = '-'
}
if(items.attrField === 'SSRQ') {
items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
item.value = accessCountry.ssrq
if (accessCountry.ssrq !== undefined) {
item.value = accessCountry.ssrq
}
} else if (items.attrField === 'ZCCSSRQ') {
items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
item.value = accessCountry.zccssrqgj
if (accessCountry.zccssrqgj !== undefined) {
item.value = accessCountry.zccssrqgj
}
} else if(items.attrField === 'XCXSSRQ') {
items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
item.value = accessCountry.xcxssrqgj
if (accessCountry.xcxssrqgj !== undefined) {
item.value = accessCountry.xcxssrqgj
}
}
})
for (let key in res.data) {
@@ -655,7 +655,6 @@ export default {
},
// 点击查看
handlePreview(data) {
console.log(this.countryAreaShow)
let item = {
country: this.countryAreaShow,
ssrq: data.ssrq,