Commit 0264c89c by 胡悦

修改字典分页

1 parent a148109c
......@@ -48,6 +48,7 @@
:tableParams="dictDataTableParams"
:searchForm="dictDataSearchForm"
:getListApi="getListApi"
:pageConf="pageConf"
>
<span
slot="status"
......@@ -96,6 +97,11 @@ export default {
dictDataSearchForm: {
dictType: 'functional_attributes'
},
pageConf: {
pageSize: 'pageSize',
pageNum: 'pageNum',
totalCount: 'data.count'
},
dictDataTableData: [
{
id: 1,
......
......@@ -27,7 +27,7 @@
<el-button type="primary" :size="btn_size" @click="btnClick('create')">新增字典</el-button>
</el-form-item>
</el-form>
<d2-table ref="dictTable" :hasNum="false" :tableParams="dictTableParams" :searchForm="dictSearchForm" :getListApi="getListApi">
<d2-table ref="dictTable" :hasNum="false" :tableParams="dictTableParams" :searchForm="dictSearchForm" :getListApi="getListApi" :pageConf="pageConf">
<span
slot="status"
slot-scope="scope"
......@@ -75,6 +75,11 @@ export default {
return {
DICTSTATUS: this.$Constants.DICT_STATUS,
dictSearchForm: {},
pageConf: {
pageSize: 'pageSize',
pageNum: 'pageNum',
totalCount: 'data.count'
},
tableData: [{
id: 1,
dictName: 'dsfd'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!