|
@@ -198,7 +198,7 @@ export default {
|
198
|
198
|
getTableData1() {
|
199
|
199
|
const {pageNum1, pageSize1} = this
|
200
|
200
|
api.carListByPage({current: pageNum1, size: pageSize1, ...this.formInline1}).then(res => {
|
201
|
|
- this.tableData1 = (res.data.records || []).map(item => ({...item, carType: dictionary.typeMap[item.carType]}))
|
|
201
|
+ this.tableData1 = (res.data.records || []).map(item => ({...item, carType: item.plateNo.length === 7 ? '燃油汽车' : '新能源车', }))
|
202
|
202
|
this.total1 = res.data.total
|
203
|
203
|
})
|
204
|
204
|
},
|