Added the missing fields in to fuels

This commit is contained in:
Chad Derya 2019-09-09 14:36:31 +01:00
parent f027bf260f
commit 7fa961b5b8
1 changed files with 26 additions and 0 deletions

View File

@ -7,6 +7,31 @@
<span>{{ scope.row.name }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="Description" width="200">
<template slot-scope="scope">
<span>{{ scope.row.description }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="Type" width="200">
<template slot-scope="scope">
<span>{{ scope.row.type }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="Duty" width="200">
<template slot-scope="scope">
<span>{{ scope.row.duty }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="LPT" width="200">
<template slot-scope="scope">
<span>{{ scope.row.lpt }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="Status" width="200">
<template slot-scope="scope">
<span>{{ scope.row.status }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="Actions" width="120">
<template slot-scope="scope">
@ -61,6 +86,7 @@ export default {
this.listLoading = true
fetchList(this.listQuery).then(response => {
this.list = response.data.fuels
console.log(this.list)
this.total = response.data.fuels.length
this.listLoading = false
})