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