|
@@ -18,8 +18,8 @@
|
|
|
</a-col>
|
|
|
<template>
|
|
|
<a-col :span="6">
|
|
|
- <a-form-item label="车牌号码" prop="plateNumber">
|
|
|
- <a-input v-model="queryParam.plateNumber" placeholder="请输入车牌号码" allow-clear />
|
|
|
+ <a-form-item label="车牌号码" prop="itemName">
|
|
|
+ <a-input v-model="queryParam.itemName" placeholder="请输入车牌号码" allow-clear />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
@@ -85,6 +85,9 @@
|
|
|
<span slot="gasCardType" slot-scope="text, record">
|
|
|
<dict-tag :options="dict.type['gas_car_type']" :value="record.gasCardType" />
|
|
|
</span>
|
|
|
+ <span slot="gasType" slot-scope="text, record">
|
|
|
+ <dict-tag :options="dict.type['gas_type']" :value="record.gasType" />
|
|
|
+ </span>
|
|
|
<span slot="operation" slot-scope="text, record">
|
|
|
<!-- <a-divider type="vertical" v-hasPermi="['clw:fuelConsumptionLog:edit']" /> -->
|
|
|
<a @click="$refs.createForm.handleUpdate(record, undefined)" v-hasPermi="['clw:fuelConsumptionLog:edit']">
|
|
@@ -138,7 +141,7 @@ export default {
|
|
|
createTime: null,
|
|
|
gasCardType: null,
|
|
|
categoryId: null,
|
|
|
- plateNumber: null,
|
|
|
+ itemName: null,
|
|
|
applyUserName:null,
|
|
|
params:{},
|
|
|
pageNum: 1,
|
|
@@ -188,6 +191,7 @@ export default {
|
|
|
{
|
|
|
title: '油品',
|
|
|
dataIndex: 'gasType',
|
|
|
+ scopedSlots: { customRender: 'gasType' },
|
|
|
ellipsis: true,
|
|
|
align: 'center',
|
|
|
width: '60px',
|
|
@@ -207,6 +211,13 @@ export default {
|
|
|
align: 'center',
|
|
|
width: '60px',
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '部门名称',
|
|
|
+ dataIndex: 'deptName',
|
|
|
+ ellipsis: true,
|
|
|
+ align: 'center',
|
|
|
+ width: '150px',
|
|
|
+ },
|
|
|
{
|
|
|
title: '申请人',
|
|
|
dataIndex: 'applyUserName',
|
|
@@ -231,7 +242,7 @@ export default {
|
|
|
],
|
|
|
}
|
|
|
},
|
|
|
- dicts: ['gas_car_type'],
|
|
|
+ dicts: ['gas_car_type','gas_type'],
|
|
|
filters: {},
|
|
|
created() {
|
|
|
this.getList()
|
|
@@ -264,7 +275,7 @@ export default {
|
|
|
createTime: undefined,
|
|
|
gasCardType: undefined,
|
|
|
categoryId: undefined,
|
|
|
- plateNumber: undefined,
|
|
|
+ itemName: undefined,
|
|
|
applyUserName:undefined,
|
|
|
params:{},
|
|
|
pageNum: 1,
|
|
@@ -321,7 +332,7 @@ export default {
|
|
|
{
|
|
|
...this.queryParam,
|
|
|
},
|
|
|
- `fuelConsumptionLog_${new Date().getTime()}.xlsx`
|
|
|
+ `油耗登记${new Date().getTime()}.xlsx`
|
|
|
)
|
|
|
},
|
|
|
},
|