|
@ -25,6 +25,7 @@ |
|
|
:primarySearchOption="primarySearchOption" |
|
|
:primarySearchOption="primarySearchOption" |
|
|
@overallSearchFormClick="overallSearchFormClick" |
|
|
@overallSearchFormClick="overallSearchFormClick" |
|
|
:httpOverallSearchData="httpOverallSearchData" |
|
|
:httpOverallSearchData="httpOverallSearchData" |
|
|
|
|
|
:buttonOperationList="operationButtonsTable" |
|
|
> |
|
|
> |
|
|
<!-- <div slot="tableTopSlot"> |
|
|
<!-- <div slot="tableTopSlot"> |
|
|
上方按钮插槽位置预留 |
|
|
上方按钮插槽位置预留 |
|
@ -136,6 +137,7 @@ |
|
|
//常用按钮数据 |
|
|
//常用按钮数据 |
|
|
currenButtonData: [ |
|
|
currenButtonData: [ |
|
|
this.defaultAddBtn(),//新增 |
|
|
this.defaultAddBtn(),//新增 |
|
|
|
|
|
this.defaultFieldSettingBtn(),//字段设置 |
|
|
this.defaultFreshBtn(),//刷新 |
|
|
this.defaultFreshBtn(),//刷新 |
|
|
this.defaultFilterBtn(),//筛选 |
|
|
this.defaultFilterBtn(),//筛选 |
|
|
], |
|
|
], |
|
@ -179,27 +181,9 @@ |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
mounted () { |
|
|
mounted () { |
|
|
this.initApiColumns() |
|
|
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api) |
|
|
this.paging(); |
|
|
this.paging(); |
|
|
}, |
|
|
}, |
|
|
methods:{ |
|
|
|
|
|
// 获取通过api的表头数据,不可以在初始化处理,因为接口返回问题 |
|
|
|
|
|
initApiColumns(){ |
|
|
|
|
|
this.apiColumns_Table = tableColumns_api[this.$route.name] |
|
|
|
|
|
this.apiColumns_DesTions = tabsDesTions_api[this.$route.name] |
|
|
|
|
|
this.apiColumns_DetailsTable = detailsTableColumns_api[this.$route.name] |
|
|
|
|
|
}, |
|
|
|
|
|
//渲染数据 |
|
|
|
|
|
// paging(callback) { |
|
|
|
|
|
// this.Loading.tableLoading = true; |
|
|
|
|
|
// getExportConfigList('TestSchool').then(res => { |
|
|
|
|
|
// this.tableData = res |
|
|
|
|
|
// this.pagingCallback(callback) |
|
|
|
|
|
// }).catch(err => { |
|
|
|
|
|
// this.Loading.tableLoading = false |
|
|
|
|
|
// }) |
|
|
|
|
|
// }, |
|
|
|
|
|
} |
|
|
|
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|