leisure-core 0.4.29 → 0.4.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@
42
42
  </template>
43
43
  </vxe-column>
44
44
  <vxe-column title="操作" align="center" width="220">
45
- <template slot-scope="scope">
45
+ <!-- <template slot-scope="scope">
46
46
  <el-button
47
47
  type="primary"
48
48
  size="small"
@@ -51,7 +51,7 @@
51
51
  >
52
52
  详情
53
53
  </el-button>
54
- </template>
54
+ </template> -->
55
55
  </vxe-column>
56
56
  </vxe-table>
57
57
  <div style="text-align: center; margin-top: 30px; width: 100%">
@@ -99,20 +99,25 @@ export default {
99
99
  total: 0,
100
100
  };
101
101
  },
102
- mounted() {},
102
+ mounted() {
103
+ this.list();
104
+ },
103
105
  methods: {
104
106
  current_change({ currentPage }) {
105
107
  this.searchData.pageNo = currentPage;
106
- this.commissionSumList();
108
+ this.list();
107
109
  },
108
110
  clickList() {
109
111
  this.searchData.pageNo = 1;
110
- this.commissionSumList();
112
+ this.list();
111
113
  },
112
114
 
113
115
  list() {
114
116
  let params = this.searchData;
115
- list(params).then((res) => {});
117
+ list(params).then((res) => {
118
+ this.tableData = res.data.data.list;
119
+ this.total = res.data.data.count;
120
+ });
116
121
  },
117
122
  },
118
123
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.4.29",
3
+ "version": "0.4.30",
4
4
  "description": "leisure-core是leisure-ui-core的简称,是京心数据基于vue2.0开发的一套后台系统框架与js库,包含登录,首页框架等",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",