update 文档拆分
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user