duwendi 1 年間 前
コミット
48900fe5de
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      src/pages/index/components/record_query.vue

+ 1 - 1
src/pages/index/components/record_query.vue

@@ -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
       },