Browse Source

修改

master
YF-yuan 3 years ago
parent
commit
ff4f11a447
3 changed files with 7 additions and 3 deletions
  1. +3
    -1
      src/views/second/segmentation/basicTable.vue
  2. +3
    -1
      src/views/second/segmentation/constraint.vue
  3. +1
    -1
      src/views/second/taskSummary/basicTable.vue

+ 3
- 1
src/views/second/segmentation/basicTable.vue View File

@@ -157,10 +157,12 @@ export default {
.getBasicTableList(Object.assign({}, this.page, this.searchParams))
.then((res) => {
let data = res.data.data;
this.dataList = this.reduceData(data);
this.count=data.total
this.dataList = this.reduceData(data.records);
})
.catch((e) => {
this.dataList = [];
this.count=0
})
.finally(() => {
this.loading = false;

+ 3
- 1
src/views/second/segmentation/constraint.vue View File

@@ -14,6 +14,7 @@
:data="dataList"
:height="tableHeight"
border
:span-method="arraySpanMethod"
>
<el-table-column
type="index"
@@ -148,7 +149,8 @@ export default {
.getRewardList(Object.assign({}, this.page, this.searchParams))
.then((res) => {
let data = res.data.data;
this.dataList = this.reduceData(data);
this.count = data.total;
this.dataList = this.reduceData(data.records);
})
.catch((e) => {
this.dataList = [];

+ 1
- 1
src/views/second/taskSummary/basicTable.vue View File

@@ -248,7 +248,7 @@ export default {
.finally(() => {
this.loading = false;
});
},
},
edit(row) {
this.showEdit = true;
},

Loading…
Cancel
Save