Commit 69c4850a authored by jiaorz's avatar jiaorz

123

parent 73ec2fb5
......@@ -75,7 +75,6 @@
<span>{{scope.row.beforeDepartureNum}}</span>
</template>
</el-table-column>
<el-table-column width="150" align="center" label="正常交车">
<template scope="scope">
<span>{{scope.row.actualDepartureNum}}</span>
......@@ -112,6 +111,12 @@
</template>
</el-table-column>
<el-table-column width="150" align="center" label="过期未出车">
<template scope="scope">
<span>{{scope.row.noUseNum}}</span>
</template>
</el-table-column>
<el-table-column width="200" align="center" label="日期">
<template scope="scope">
<span>{{scope.row.countDate}}</span>
......@@ -145,7 +150,7 @@
{'id':3, "name":"内部用车"}
],
list : [],
header : ['序号','类型','应交车','提前交车','正常交车','延期交车','应还车','提前还车','正常还车','延期还车','日期'],
header : ['序号','类型','应交车','提前交车','正常交车','延期交车','应还车','提前还车','正常还车','延期还车','过期未出车','日期'],
name: 'export'
}
},
......@@ -157,8 +162,12 @@
},
methods: {
handlerSearch() {
this.listQuery.startTime = getYMD_date(new Date(this.listQuery.startTime));
this.listQuery.endTime = getYMD_date(new Date(this.listQuery.endTime));
if (this.listQuery.startTime) {
this.listQuery.startTime = getYMD_date(new Date(this.listQuery.startTime));
}
if(this.listQuery.endTime) {
this.listQuery.endTime = getYMD_date(new Date(this.listQuery.endTime));
}
get(this.listQuery).then(response => {
if (response.status === 200) {
this.list = response.data
......@@ -234,6 +243,7 @@
window.location.href="https://"+domain+"/vehicle/vehicleCount/app/unauth/download?path="+fileName;
})
},
}
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment