update
This commit is contained in:
@@ -107,6 +107,16 @@
|
||||
label="车辆名称"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
fixed="right"
|
||||
header-align="center"
|
||||
align="center"
|
||||
width="80"
|
||||
label="能耗情况">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="text" size="small" @click="eleHandle(scope.row.id)">详情</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
fixed="right"
|
||||
header-align="center"
|
||||
@@ -208,6 +218,12 @@ export default {
|
||||
},
|
||||
LocationBtn (id) {
|
||||
this.$router.push({ name: 'report-task-history-detail', query: { id } })
|
||||
},
|
||||
eleHandle (taskId) {
|
||||
this.$router.push({
|
||||
name: 'report-task-ele',
|
||||
query: { taskId }
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user