Commit 54124d1a by 杨明

fixed

1 parent 4b588db8
...@@ -424,15 +424,14 @@ export default { ...@@ -424,15 +424,14 @@ export default {
this.hideSelect() this.hideSelect()
this.wechat.roomName = data.roomName this.wechat.roomName = data.roomName
const { goodStaffId, battleStaffId } = this.wechat const { goodStaffId, battleStaffId } = this.wechat
const staffId = goodStaffId || battleStaffId
if (!data.staffInfoList) return if (!data.staffInfoList) return
const staffCloudId = data.staffInfoList.find(i => i.staffId == staffId)?.staffCloudId
const groupId = staffCloudId + '_' + data.roomIdOnly
if (this.wechat.battleStaffName) { if (this.wechat.battleStaffName) {
this.wechat.battleGroupId = groupId const staffCloudId = data.staffInfoList.find(i => i.staffId == battleStaffId)?.staffCloudId
this.wechat.battleGroupId = staffCloudId + '_' + data.roomIdOnly
} }
if (this.wechat.goodStaffName) { if (this.wechat.goodStaffName) {
this.wechat.goodGroupId = groupId const staffCloudId = data.staffInfoList.find(i => i.staffId == goodStaffId)?.staffCloudId
this.wechat.goodGroupId = staffCloudId + '_' + data.roomIdOnly
} }
// this.wechat.groupId = data.roomChatId // this.wechat.groupId = data.roomChatId
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!