Commit 4f185885 by 前端

fixed

1 parent dd091cca
...@@ -405,6 +405,12 @@ export default { ...@@ -405,6 +405,12 @@ export default {
handleNodeClick(data) { handleNodeClick(data) {
this.setSendName(data.name, data.staffId) this.setSendName(data.name, data.staffId)
// this.wechat.roomName = '' // this.wechat.roomName = ''
if (this.menuIndex == 1) {
this.idBefEncryptionBattle = data.idBefEncryption
}
if (this.menuIndex == 2) {
this.idBefEncryptionGood = data.idBefEncryption
}
this.hideSelect() this.hideSelect()
}, },
setSendName(name, staffId, isClear, i) { setSendName(name, staffId, isClear, i) {
...@@ -447,10 +453,10 @@ export default { ...@@ -447,10 +453,10 @@ export default {
importGroup() { importGroup() {
if (this.wechat.roomName) return if (this.wechat.roomName) return
if (this.wechat.battleStaffName) { if (this.wechat.battleStaffName) {
this.wechat.battleGroupId = this.idBefEncryption + '_R:' + this.groupName this.wechat.battleGroupId = this.idBefEncryptionBattle + '_R:' + this.groupName
} }
if (this.wechat.goodStaffName) { if (this.wechat.goodStaffName) {
this.wechat.goodGroupId = this.idBefEncryption + '_R:' + this.groupName this.wechat.goodGroupId = this.idBefEncryptionGood + '_R:' + this.groupName
} }
}, },
openMenu(e) { openMenu(e) {
...@@ -537,8 +543,6 @@ export default { ...@@ -537,8 +543,6 @@ export default {
handlestaffbattleConfirm() { handlestaffbattleConfirm() {
this.battlestaffVisible = false this.battlestaffVisible = false
this.userList = this.$refs.selectMember.userList this.userList = this.$refs.selectMember.userList
this.idBefEncryption = this.userList[0]?.idBefEncryption
console.log(this.idBefEncryption, this.userList)
}, },
handlestaffbattleClose() { handlestaffbattleClose() {
this.battlestaffVisible = false this.battlestaffVisible = false
...@@ -660,7 +664,8 @@ export default { ...@@ -660,7 +664,8 @@ export default {
const groupId = battleGroupId || goodGroupId const groupId = battleGroupId || goodGroupId
if (groupId.split('_R:')[1] == autoGroupName) { if (groupId.split('_R:')[1] == autoGroupName) {
this.groupName = autoGroupName this.groupName = autoGroupName
this.idBefEncryption = groupId.split('_R:')[0] this.idBefEncryptionBattle = battleGroupId.split('_R:')[0]
this.idBefEncryptionGood = goodGroupId.split('_R:')[0]
} else { } else {
this.wechat.roomName = autoGroupName 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!