[add] 控件样式修改

This commit is contained in:
zhaomeijing
2022-05-16 11:16:11 +08:00
parent b628019458
commit ea9b02e492
2 changed files with 27 additions and 7 deletions
@@ -52,6 +52,10 @@ export default {
type: Object,
default: {},
require: true
},
formInline: {
type: Object,
default: true
}
},
components: {
@@ -118,9 +122,25 @@ export default {
tableOnChange(pagination, filters, sorter) {
console.log(pagination,filters,sorter,'iiiiiiiiiiiiiiiii')
},
getTableListReset() {
let params = {
paramsManifestId: this.paramsManifest.id,
}
this.loading = true
getAction(this.url.tableList, params).then((res) => {
if (res.success) {
this.dataSource = res.result
this.total = res.result.total
this.loading = false
} else {
this.loading = false
}
})
},
getTableList() {
let params = {
paramsManifestId: this.paramsManifest.id,
...this.formInline
}
this.loading = true
getAction(this.url.tableList, params).then((res) => {