leisure-core 0.4.29 → 0.4.31

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.
@@ -36,13 +36,20 @@
36
36
  <span>¥{{ formatMoney(scope.row.commissions) }}</span>
37
37
  </template>
38
38
  </vxe-column>
39
+ <vxe-column align="center" title="状态">
40
+ <template slot-scope="scope">
41
+ <span v-if="scope.row.cstatus==0">正常</span>
42
+ <span v-if="scope.row.cstatus==1">已经核销</span>
43
+ <span v-if="scope.row.cstatus==0">无效-已经退票</span>
44
+ </template>
45
+ </vxe-column>
39
46
  <vxe-column align="center" title="交易日期">
40
47
  <template slot-scope="scope">
41
48
  <span>{{ parseTime(scope.row.cdate) }}</span>
42
49
  </template>
43
50
  </vxe-column>
44
51
  <vxe-column title="操作" align="center" width="220">
45
- <template slot-scope="scope">
52
+ <!-- <template slot-scope="scope">
46
53
  <el-button
47
54
  type="primary"
48
55
  size="small"
@@ -51,7 +58,7 @@
51
58
  >
52
59
  详情
53
60
  </el-button>
54
- </template>
61
+ </template> -->
55
62
  </vxe-column>
56
63
  </vxe-table>
57
64
  <div style="text-align: center; margin-top: 30px; width: 100%">
@@ -99,20 +106,25 @@ export default {
99
106
  total: 0,
100
107
  };
101
108
  },
102
- mounted() {},
109
+ mounted() {
110
+ this.list();
111
+ },
103
112
  methods: {
104
113
  current_change({ currentPage }) {
105
114
  this.searchData.pageNo = currentPage;
106
- this.commissionSumList();
115
+ this.list();
107
116
  },
108
117
  clickList() {
109
118
  this.searchData.pageNo = 1;
110
- this.commissionSumList();
119
+ this.list();
111
120
  },
112
121
 
113
122
  list() {
114
123
  let params = this.searchData;
115
- list(params).then((res) => {});
124
+ list(params).then((res) => {
125
+ this.tableData = res.data.data.list;
126
+ this.total = res.data.data.count;
127
+ });
116
128
  },
117
129
  },
118
130
  };
package/le-cp/src/sub.vue CHANGED
@@ -28,9 +28,9 @@
28
28
  </el-form-item>
29
29
  <el-form-item v-rfooter>
30
30
  <div style="display: flex">
31
- <div v-if="!form.cp_link_nick" class="warning-text">
31
+ <!-- <div v-if="!form.cp_link_nick" class="warning-text">
32
32
  必须绑定联系人,未绑定,无法统计佣金
33
- </div>
33
+ </div> -->
34
34
  <el-button type="primary" @click="onSubmit">保存</el-button>
35
35
  <le-button-qr
36
36
  :qrCodeUrl="qrcode"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.4.29",
3
+ "version": "0.4.31",
4
4
  "description": "leisure-core是leisure-ui-core的简称,是京心数据基于vue2.0开发的一套后台系统框架与js库,包含登录,首页框架等",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",