|
@@ -514,6 +514,7 @@ export default {
|
|
|
},
|
|
|
// 导出
|
|
|
export() {
|
|
|
+ console.log(this.$refs.zjpage.$refs.dynamicCondition)
|
|
|
this.columnList = this.$refs.zjpage.columnList
|
|
|
},
|
|
|
exportDetermine(data) {
|
|
@@ -527,10 +528,19 @@ export default {
|
|
|
background: 'rgba(0, 0, 0, 0.7)'
|
|
|
})
|
|
|
this.evens[0][0].loading = true
|
|
|
+
|
|
|
+ var querylist = []
|
|
|
+ this.$refs.zjpage.$refs.dynamicCondition.queryData.map(({ param, compare, value }) => {
|
|
|
+ if (param && compare && value !== undefined && value !== '') {
|
|
|
+ querylist.push({ param, compare, value })
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
this.exportList(
|
|
|
{
|
|
|
...this.parameter,
|
|
|
pageSize: -1,
|
|
|
+ params: querylist,
|
|
|
exportFields: data
|
|
|
},
|
|
|
`${this.moduleName}.xlsx`
|