This commit is contained in:
parent
240351df80
commit
8536ad2efd
|
|
@ -5,6 +5,7 @@
|
|||
<script>
|
||||
import BASE_URL from '@/services/mes/api.js';
|
||||
|
||||
import XEUtils from 'xe-utils' // 加载xe-utils
|
||||
|
||||
export default {
|
||||
i18n: require("./i18n"),
|
||||
|
|
@ -59,7 +60,18 @@ export default {
|
|||
{ title: '姓名', field: "name" },
|
||||
{ title: '手机号', field: "phone" },
|
||||
{ title: '车型', field: "car_type" },
|
||||
{ title: '城市', field: "work_city" }
|
||||
{ title: '城市', field: "work_city" },
|
||||
{
|
||||
title: '创建时间', field: "create_time", valueGetter: ({ row }) => {
|
||||
|
||||
let cellValue = row.create_time;
|
||||
if (!cellValue) return '';
|
||||
if (typeof (cellValue) == "number") {
|
||||
cellValue = new Date(cellValue * 1000);
|
||||
}
|
||||
return XEUtils.toDateString(cellValue, 'yyyy-MM-dd')
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
|
|
@ -122,6 +134,4 @@ export default {
|
|||
};
|
||||
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
|
||||
</style>
|
||||
<style scoped lang="less"></style>
|
||||
|
|
@ -28,6 +28,19 @@ routerMap['basic']= {
|
|||
permission: [],
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
routerMap['ProvideLoanApply']= {
|
||||
name: '资料管理',
|
||||
icon: 'idcard',
|
||||
component: view.blank,
|
||||
meta: {
|
||||
},
|
||||
authority: {
|
||||
permission: [],
|
||||
}
|
||||
};
|
||||
|
||||
routerMap['ProvideLoanApplyList']= {
|
||||
name: '资料管理',
|
||||
icon: 'idcard',
|
||||
|
|
|
|||
Loading…
Reference in New Issue