大屏
This commit is contained in:
@@ -344,9 +344,9 @@
|
|||||||
getGirdInfo (id, level) {
|
getGirdInfo (id, level) {
|
||||||
this.instance.post(`/app/appgirdinfo/listAllGirdAndMemberByTop?id=${id || ''}`).then((res) => {
|
this.instance.post(`/app/appgirdinfo/listAllGirdAndMemberByTop?id=${id || ''}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
const chartData = this.formatList(res.data)
|
const chartData = this.formatList([res.data])
|
||||||
if (res.data && res.data[0] && res.data[0].parentGirdInfo) {
|
if (res.data && res.data.parentGirdInfo) {
|
||||||
const parentGirdInfo = res.data[0].parentGirdInfo
|
const parentGirdInfo = res.data.parentGirdInfo
|
||||||
const girdMemberList = parentGirdInfo.girdMemberManageList ? parentGirdInfo.girdMemberManageList.map(v => {
|
const girdMemberList = parentGirdInfo.girdMemberManageList ? parentGirdInfo.girdMemberManageList.map(v => {
|
||||||
return {
|
return {
|
||||||
...v,
|
...v,
|
||||||
@@ -402,7 +402,7 @@
|
|||||||
label: v.name
|
label: v.name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
|
|
||||||
if (!userList.length) {
|
if (!userList.length) {
|
||||||
@@ -424,6 +424,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
formatList (list) {
|
formatList (list) {
|
||||||
|
console.log(list)
|
||||||
return list.map(item => {
|
return list.map(item => {
|
||||||
let userList = []
|
let userList = []
|
||||||
const girdMemberManageList = item.girdMemberManageList ? item.girdMemberManageList.map(v => {
|
const girdMemberManageList = item.girdMemberManageList ? item.girdMemberManageList.map(v => {
|
||||||
@@ -546,7 +547,7 @@
|
|||||||
.el-table {
|
.el-table {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__body tr td:first-child .cell, .ai-table .el-table__header tr th:first-child .cell {
|
.el-table__body tr td:first-child .cell, .ai-table .el-table__header tr th:first-child .cell {
|
||||||
padding-left: 0!important;
|
padding-left: 0!important;
|
||||||
}
|
}
|
||||||
@@ -690,7 +691,7 @@
|
|||||||
text-overflow:ellipsis;
|
text-overflow:ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
&:nth-of-type(2n) {
|
&:nth-of-type(2n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
@@ -875,4 +876,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user