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