Commit 1d6eba4e by sunerhu

1.修复团队不显示职级

parent 4cd8b4d1
......@@ -64,8 +64,10 @@
<!-- </view> -->
</view>
<view class="d-td" v-if="item.itemType == '2'">{{ item.levelName }}</view>
<view class="d-td" v-else></view>
<view class="d-td" >
<text v-if="item.itemType == '2'">{{ item.levelName }}</text>
<text v-else></text>
</view>
<view class="d-td" style="padding-right: 10rpx;">{{ item.count }}</view>
</view>
</block>
......@@ -184,6 +186,7 @@
}
},
checkLazy(id) {
console.log(id, 1515515)
return ~this.lazyList.findIndex(o => o === id);
},
checkOpen(id) {
......@@ -200,6 +203,7 @@
this.openList = list;
},
async open(item, index) {
console.log(item, 581515)
if(index == 0 || item.itemType == '2'){
return false
}
......@@ -220,7 +224,6 @@
icon: 'none'
});
}
console.log(res, 7744)
res.data.list.forEach((x) => {
this.$set(x, 'hasChildren', true)
this.$set(x, 'children', [])
......@@ -245,7 +248,6 @@
}
},
setTreeNode(list = [], id, children = []) {
console.log(children, '值传过来了吗?')
const o = list.find(o => {
if (o.id === id) {
o.children = children;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment