87 lines
1.7 KiB
JavaScript
87 lines
1.7 KiB
JavaScript
let indexPage = [ {
|
|
outputField: 'equipmentId',
|
|
field: 'equipmentId',
|
|
type: 'string',
|
|
defaultValue: '暂无数据',
|
|
},{
|
|
outputField: 'stationId',
|
|
field: 'stationId',
|
|
type: 'string',
|
|
defaultValue: '暂无数据',
|
|
},{
|
|
outputField: 'stationName',
|
|
field: 'stationName',
|
|
type: 'string',
|
|
defaultValue: '暂无数据',
|
|
}, {
|
|
outputField: 'globalPayThreshold',
|
|
field: 'globalPayThreshold',
|
|
type: 'string',
|
|
defaultValue: '0',
|
|
}, {
|
|
outputField: 'plateNumberList',
|
|
field: 'plateNumberList',
|
|
type: 'object',
|
|
defaultValue: []
|
|
}, {
|
|
outputField: 'stationPrice',
|
|
field: 'stationPrice',
|
|
type: 'object',
|
|
defaultValue: null,
|
|
childField: [{
|
|
outputField: 'startTime',
|
|
field: 'startTime',
|
|
type: 'string',
|
|
defaultValue: '00:00',
|
|
},
|
|
|
|
{
|
|
outputField: 'endTime',
|
|
field: 'endTime',
|
|
type: 'string',
|
|
defaultValue: '00:00',
|
|
}, {
|
|
outputField: 'businessElectricityFee',
|
|
field: 'businessElectricityFee',
|
|
type: 'number',
|
|
defaultValue: 0.00,
|
|
customHandler(e) {
|
|
return Number(e).toFixed(2)
|
|
}
|
|
}, {
|
|
outputField: 'businessServiceFee',
|
|
field: 'businessServiceFee',
|
|
type: 'number',
|
|
defaultValue: 0.00,
|
|
customHandler(e) {
|
|
return Number(e).toFixed(2)
|
|
}
|
|
}
|
|
]
|
|
}, {
|
|
outputField: 'connectorId',
|
|
field: 'connectorId',
|
|
type: 'string',
|
|
defaultValue: '暂无数据',
|
|
}, {
|
|
outputField: 'qrcode',
|
|
field: 'qrCode',
|
|
type: 'string',
|
|
defaultValue: '暂无数据',
|
|
}, {
|
|
outputField: 'payMoneyPreFreeze',
|
|
field: 'globalPayThreshold',
|
|
type: 'string',
|
|
defaultValue: '暂无数据',
|
|
customHandler(e) {
|
|
return Number(e)
|
|
}
|
|
}, {
|
|
outputField: 'createSource',
|
|
field: 'createSource',
|
|
type: 'string',
|
|
defaultValue: 'MALL_COMS_MINI',
|
|
}]
|
|
export {
|
|
indexPage
|
|
} |