暂无数据

This commit is contained in:
liuye
2022-06-24 22:01:25 +08:00
parent 1b5f26c35b
commit b3c745d27c

View File

@@ -11,6 +11,7 @@
<span v-for="(items, indexs) in item.tagList" :key="indexs">{{items.name}}</span>
</div>
</div>
<AiEmpty description="暂未选择组织" v-if="noDept"/>
</div>
<div class="bg-144"></div>
<div class="footer">
@@ -49,7 +50,8 @@ export default {
showTagList: false,
sendType: '', //0居民 1居民群
tagList: [],
deptIndex: 0
deptIndex: 0,
noDept: true
}
},
computed: {...mapState(['user'])},
@@ -122,13 +124,15 @@ export default {
onLoad() {
var list = uni.getStorageSync('selectDeptUser')
this.sendType = uni.getStorageSync('sendType')
console.log(list)
list.map((item) => {
if(item.kind == 'dept') {
this.deptList.push(item)
}else {
this.userList.push(item)
}
if(!item.parentid && item.kind == 'dept') {
this.noDept = false
}
})
// this.getTagList()
},