fix 导出生产统计
This commit is contained in:
@@ -2,7 +2,7 @@ spring:
|
||||
freemarker:
|
||||
check-template-location: false
|
||||
profiles:
|
||||
active: prod
|
||||
active: dev
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
data:
|
||||
|
||||
@@ -537,6 +537,10 @@ export default {
|
||||
})
|
||||
},
|
||||
downloadExcel() {
|
||||
if (this.crud.query.createTime) {
|
||||
this.crud.query.begin_time = this.crud.query.createTime[0]
|
||||
this.crud.query.end_time = this.crud.query.createTime[1]
|
||||
}
|
||||
download('/api/workorder/downloadExcel', this.crud.query).then(res => {
|
||||
downloadFile(res, '生产统计', 'xlsx')
|
||||
crud.downloadLoading = false
|
||||
|
||||
Reference in New Issue
Block a user