diff --git a/src/project/pidu/AppConversation/AppConversation.vue b/src/project/pidu/AppConversation/AppConversation.vue index 07abbf27..7ce0b905 100644 --- a/src/project/pidu/AppConversation/AppConversation.vue +++ b/src/project/pidu/AppConversation/AppConversation.vue @@ -20,7 +20,7 @@
- + {{deptUserList[0].name}} 部门名称 @@ -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) { diff --git a/src/project/pidu/AppConversation/conversationDetail.vue b/src/project/pidu/AppConversation/conversationDetail.vue index db6e1c61..b254df02 100644 --- a/src/project/pidu/AppConversation/conversationDetail.vue +++ b/src/project/pidu/AppConversation/conversationDetail.vue @@ -50,7 +50,6 @@