|
|
|
@ -483,6 +483,7 @@ export default { |
|
|
|
|
selectedRowKeys: [], |
|
|
|
|
// 加载数据方法 必须为 Promise 对象 |
|
|
|
|
loadData: (param) => { |
|
|
|
|
console.log(param) |
|
|
|
|
const data = { ...param, ...this.queryParam } |
|
|
|
|
const orderEnum = { |
|
|
|
|
ascend: 'asc', |
|
|
|
@ -740,7 +741,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
refreshParentMethod() { |
|
|
|
|
this.handleRefresh(true) |
|
|
|
|
this.handleRefresh(false) |
|
|
|
|
}, |
|
|
|
|
// 编辑记录 |
|
|
|
|
async handleEdit(id) { |
|
|
|
@ -1028,6 +1029,7 @@ export default { |
|
|
|
|
* @param Boolean bool 强制刷新到第一页 |
|
|
|
|
*/ |
|
|
|
|
handleRefresh(bool = false) { |
|
|
|
|
console.log(bool) |
|
|
|
|
this.selectedRowKeys = [] |
|
|
|
|
this.$refs.table.refresh(bool) |
|
|
|
|
}, |
|
|
|
|