update 标准选择

This commit is contained in:
赵霄
2023-09-25 17:18:48 +08:00
parent 4c173b7a22
commit 8a5bc88a11
5 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ export default {
},
flag: {
type: String,
default: ''
default: null
},
disabled: {
type: Boolean,
@@ -131,15 +131,17 @@ export default {
open () {
this.visible = true
this.queryParam = {}
this.replacePage()
this.$nextTick(() => {
this.source ? this.queryParam.source = this.source : this.queryParam = {}
this.replacePage()
})
},
// 获取表格数据
replacePage () {
const query = {
...this.queryParam,
pageNo: this.ipagination.current,
pageSize: this.ipagination.pageSize,
source: this.source
pageSize: this.ipagination.pageSize
}
this.selectedRowKeys = []
this.loading = true