|
|
@@ -166,10 +166,10 @@
|
|
|
:tree-props="{ children: 'children' }"
|
|
|
>
|
|
|
<el-table-column
|
|
|
- type="index"
|
|
|
+ prop="index"
|
|
|
label="序号"
|
|
|
- v-if="columns[0].visible"
|
|
|
- :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
|
|
+ width="80px"
|
|
|
+ v-if="columns[0].visible"
|
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
|
prop="planName"
|
|
|
@@ -420,8 +420,8 @@ export default {
|
|
|
api
|
|
|
.list(this.queryParams)
|
|
|
.then((response) => {
|
|
|
- this.pageData = response.data.records;
|
|
|
- this.total = response.data.total;
|
|
|
+ this.pageData = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
this.loading = false;
|
|
|
})
|
|
|
.catch(() => {
|