修改:文档库的增加数据;

This commit is contained in:
qq787203167
2022-02-12 17:04:11 +08:00
parent cf41526bd2
commit 73eaa05cd6
6 changed files with 389 additions and 298 deletions
+7 -5
View File
@@ -72,15 +72,17 @@
jsonBody: [],
checkboxList: [],
tableAll: false,
indeterminate: false
indeterminate: false,
searchParmes: {}
}
},
mounted() {
eventBUs.$on('searchQuery', target => {
console.log(target)
this.searchParmes = target
this.getTableList()
})
eventBUs.$on('searchReset', target => {
console.log(target)
this.getTableList()
})
this.getData()
this.getTableList()
@@ -118,11 +120,11 @@
},
getTableList() {
let params = {
...searchParmes,
}
getAction(this.url.tableList, params).then((res) => {
if (res.success) {
this.jsonBody=res.result
this.jsonBody = res.result
}
})
},