|
|
@@ -50,8 +50,6 @@ export default {
|
|
|
{ prop: 'range', label: '时段', align: 'right', 'min-width': 100 },
|
|
|
{ prop: 'freq', label: '频率', align: 'right', 'min-width': 140 },
|
|
|
{ prop: 'price', label: '总价(元)', 'min-width': 100, align: 'right' },
|
|
|
- { prop: 'createTime', label: '提交时间', 'min-width': 140, align: 'right' },
|
|
|
- { prop: 'auditTime', label: '审核时间', 'min-width': 140, align: 'right' },
|
|
|
{ prop: 'remark', label: '备注', 'min-width': 140, align: 'right' },
|
|
|
{ type: 'invoke', render: [
|
|
|
{ label: '内容', on: this.onView }
|
|
|
@@ -75,18 +73,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- transform ({ id, price, status, createTime, auditTime, expand, orders, assets }) {
|
|
|
- const { startDate, range, day, duration, count } = orders[0]
|
|
|
+ transform ({ id, price, status, expand, orders, assets }) {
|
|
|
+ const { startDate, startTime, endTime, day, duration, count } = orders[0]
|
|
|
return {
|
|
|
id,
|
|
|
deviceName: orders[0].name,
|
|
|
startDate,
|
|
|
- range,
|
|
|
+ range: `${startTime}-${endTime}`,
|
|
|
price: (price / 100).toFixed(2),
|
|
|
freq: `${day}天 x ${duration}秒 x ${count}次`,
|
|
|
remark: status === State.REJECTED ? expand : '-',
|
|
|
- createTime,
|
|
|
- auditTime,
|
|
|
assets
|
|
|
}
|
|
|
},
|