|
@@ -12,7 +12,7 @@
|
|
|
<el-table
|
|
|
row-key="id"
|
|
|
v-loading="loading"
|
|
|
- :data="tableData"
|
|
|
+ :data="tableData.children"
|
|
|
border
|
|
|
header-row-class-name="custom-table-header"
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
|
|
@@ -20,7 +20,7 @@
|
|
|
<el-table-column prop="name" label="功能名称" align="" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column label="所属应用" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <span >{{(applyList.filter(item=>item.id==scope.row.apply))[0].name}}</span>
|
|
|
+ <span >{{tableData.applyName}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="describe" label="功能描述" align="center" show-overflow-tooltip></el-table-column>
|
|
@@ -205,6 +205,7 @@ export default {
|
|
|
this.$api.getFunctionList(this.queryParams).then(response => {
|
|
|
console.log(response)
|
|
|
this.tableData = response.data
|
|
|
+ this.total=response.pageColumn.total
|
|
|
this.loading = false
|
|
|
}).catch(error => {
|
|
|
this.loading = true
|