update 文档拆分

This commit is contained in:
赵霄
2023-10-12 17:42:03 +08:00
parent 505c07fd88
commit 999ca5f719
15 changed files with 388 additions and 62 deletions
+6 -1
View File
@@ -56,7 +56,8 @@ export const ConfigurableTableMixin = {
needFilterTableBtn: true, // 是否需要过滤没有权限的按钮
tokenHeader: { 'X-Access-Token': Vue.ls.get(ACCESS_TOKEN) },
getTableHeaderFunc: null, // 获取表头的方法
tableSlotField: [] // 表格需要使用插槽的字段,dbFieldName
tableSlotField: [], // 表格需要使用插槽的字段,dbFieldName
disabledMixinsCreate: false
}
},
computed: {
@@ -65,6 +66,9 @@ export const ConfigurableTableMixin = {
}
},
mounted () {
if (this.disabledMixinsCreate) {
return
}
this.getTableHeader()
this.loadData()
// 过滤没有权限的按钮
@@ -174,6 +178,7 @@ export const ConfigurableTableMixin = {
const param = Object.assign({}, this.searchParams, this.isorter, this.filters)
param.pageNo = this.ipagination.current
param.pageSize = this.ipagination.pageSize
console.log(param)
return filterObj(param)
},
loadData (arg) {