|
|
@ -222,6 +222,7 @@ export default { |
|
|
|
// 查询条件 ----------- |
|
|
|
tableKey: 0, |
|
|
|
list: [], |
|
|
|
listAll: [], |
|
|
|
sids: [], |
|
|
|
FormLoading: false, |
|
|
|
listLoading: false, |
|
|
@ -361,6 +362,13 @@ export default { |
|
|
|
this.listQuery.total = 0 |
|
|
|
} |
|
|
|
}) |
|
|
|
req.listAll(this.listQuery.params).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.listAll = res.data |
|
|
|
} else { |
|
|
|
this.listAll = [] |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 查询按钮 |
|
|
|
handleFilter() { |
|
|
@ -515,6 +523,7 @@ export default { |
|
|
|
}, |
|
|
|
// 合计 |
|
|
|
getSummaries(param) { |
|
|
|
param.data = this.listAll |
|
|
|
const { columns, data } = param |
|
|
|
const sums = [] |
|
|
|
columns.forEach((column, index) => { |
|
|
|