Commit 4f185885 by 前端

fixed

1 parent dd091cca
......@@ -405,6 +405,12 @@ export default {
handleNodeClick(data) {
this.setSendName(data.name, data.staffId)
// this.wechat.roomName = ''
if (this.menuIndex == 1) {
this.idBefEncryptionBattle = data.idBefEncryption
}
if (this.menuIndex == 2) {
this.idBefEncryptionGood = data.idBefEncryption
}
this.hideSelect()
},
setSendName(name, staffId, isClear, i) {
......@@ -447,10 +453,10 @@ export default {
importGroup() {
if (this.wechat.roomName) return
if (this.wechat.battleStaffName) {
this.wechat.battleGroupId = this.idBefEncryption + '_R:' + this.groupName
this.wechat.battleGroupId = this.idBefEncryptionBattle + '_R:' + this.groupName
}
if (this.wechat.goodStaffName) {
this.wechat.goodGroupId = this.idBefEncryption + '_R:' + this.groupName
this.wechat.goodGroupId = this.idBefEncryptionGood + '_R:' + this.groupName
}
},
openMenu(e) {
......@@ -537,8 +543,6 @@ export default {
handlestaffbattleConfirm() {
this.battlestaffVisible = false
this.userList = this.$refs.selectMember.userList
this.idBefEncryption = this.userList[0]?.idBefEncryption
console.log(this.idBefEncryption, this.userList)
},
handlestaffbattleClose() {
this.battlestaffVisible = false
......@@ -660,7 +664,8 @@ export default {
const groupId = battleGroupId || goodGroupId
if (groupId.split('_R:')[1] == autoGroupName) {
this.groupName = autoGroupName
this.idBefEncryption = groupId.split('_R:')[0]
this.idBefEncryptionBattle = battleGroupId.split('_R:')[0]
this.idBefEncryptionGood = goodGroupId.split('_R:')[0]
} else {
this.wechat.roomName = autoGroupName
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!