|
|
@@ -247,9 +247,9 @@ export default {
|
|
|
this.$closeLoading(loading)
|
|
|
},
|
|
|
async transferAllHistories () {
|
|
|
- const { totalCount, pageSize } = this.$refs.deviceTableDialog.getTable().info()
|
|
|
+ const { totalCount, pageSize } = this.$refs.historyTableDialog.getTable().info()
|
|
|
if (totalCount <= pageSize) {
|
|
|
- await this.transferHistories(this.$refs.deviceTableDialog.getTable().getData())
|
|
|
+ await this.transferHistories(this.$refs.historyTableDialog.getTable().getData())
|
|
|
this.$refs.historyTableDialog.getTable().pageTo(1)
|
|
|
} else {
|
|
|
const loading = this.$showLoading()
|