会话存档
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<div class="item">
|
||||
<AiPagePicker type="dept" :selected.sync="deptUserList" nodeKey="id" single @select="deptSelect" isAuth>
|
||||
<AiPagePicker type="dept" :selected.sync="deptUserList" nodeKey="id" single @select="deptSelect">
|
||||
<span class="label" v-if="deptUserList.length">{{deptUserList[0].name}}</span>
|
||||
<span v-else style="color:#999;">部门名称</span>
|
||||
<u-icon name="arrow-down" color="#999" size="24" style="margin-left:8px;"/>
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
onLoad() {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.deptUserList = [{id: this.user.departId, name: this.user.departName}]
|
||||
// this.deptUserList = [{id: this.user.departId, name: this.user.departName}]
|
||||
this.getList()
|
||||
},
|
||||
onShow() {
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
areaId: this.areaId,
|
||||
toUserName: this.currentTabs == 1 ? this.keyword : '',
|
||||
roomName: this.currentTabs == 1 ? '' : this.keyword,
|
||||
departmentId: this.deptUserList[0].id
|
||||
departmentId: this.deptUserList.length ? this.deptUserList[0].id : ''
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
|
||||
Reference in New Issue
Block a user