|
|
@@ -125,15 +125,17 @@ export default {
|
|
|
},
|
|
|
// 导出
|
|
|
handExport() {
|
|
|
- // let time = undefined
|
|
|
- // let createTimeStart = undefined
|
|
|
- // let createTimeEnd = undefined
|
|
|
- // if (this.$refs.templateTable.searchDataClone && this.$refs.templateTable.searchDataClone.time) {
|
|
|
- // createTimeStart = this.$refs.templateTable.searchDataClone.time[0]
|
|
|
- // createTimeEnd = this.$refs.templateTable.searchDataClone.time[1]
|
|
|
- // }
|
|
|
+ let time = undefined
|
|
|
+ let createTimeStart = undefined
|
|
|
+ let createTimeEnd = undefined
|
|
|
+ if (this.$refs.templateTable.searchDataClone && this.$refs.templateTable.searchDataClone.time) {
|
|
|
+ createTimeStart = this.$refs.templateTable.searchDataClone.time[0]
|
|
|
+ createTimeEnd = this.$refs.templateTable.searchDataClone.time[1]
|
|
|
+ }
|
|
|
// this.$api.dict.exportHxOrdersCount({...this.$refs.templateTable.searchDataClone, ...this.pageData,createTimeStart, createTimeEnd, time}).then((res) => {
|
|
|
this.$api.dict.exportHxOrdersCount({
|
|
|
+ createTimeStart,
|
|
|
+ createTimeEnd,
|
|
|
ids: this.selectionList
|
|
|
}).then((res) => {
|
|
|
if (res.code == 200) {
|