Commit dd091cca by 前端

fixed

1 parent a4589f50
...@@ -654,10 +654,17 @@ export default { ...@@ -654,10 +654,17 @@ export default {
battleStaffName, battleStaffName,
goodGroupId, goodGroupId,
battleGroupId, battleGroupId,
roomName: autoGroupName, roomName: '',
autoGroupMerchantId autoGroupMerchantId
} }
const groupId = battleGroupId || goodGroupId
if (groupId.split('_R:')[1] == autoGroupName) {
this.groupName = autoGroupName this.groupName = autoGroupName
this.idBefEncryption = groupId.split('_R:')[0]
} else {
this.wechat.roomName = autoGroupName
}
this.getGroupList(this.wechat.staffId) this.getGroupList(this.wechat.staffId)
}) })
}, },
......
...@@ -781,6 +781,7 @@ export default { ...@@ -781,6 +781,7 @@ export default {
saReport: [], saReport: [],
saPerReport: [] saPerReport: []
} }
this.groupCofListInput = {}
this.battleVisible = true this.battleVisible = true
// 编辑 // 编辑
if (sign) { if (sign) {
...@@ -793,11 +794,15 @@ export default { ...@@ -793,11 +794,15 @@ export default {
data.groupConfigList.forEach(item => { data.groupConfigList.forEach(item => {
let groupHideAttr = this.groupToType.find(k => k.type == item.actionReportType).attr let groupHideAttr = this.groupToType.find(k => k.type == item.actionReportType).attr
if (item.groupId) { if (item.groupId) {
if (item.groupId.split('_R:')[1] && item.groupId.split('_R:')[1] == item.groupName) {
this.groupCofListInput[groupHideAttr + 'Value'] = item.groupName
this.idBefEncryption = item.groupId.split('_R:')[0]
} else {
this.groupCofList[groupHideAttr].push({ this.groupCofList[groupHideAttr].push({
groupId: item.groupId, groupId: item.groupId,
roomName: item.groupName roomName: item.groupName
}) })
this.groupCofListInput[groupHideAttr + 'Value'] = item.groupName }
} }
}) })
this.getGroupList(this.wechat.staffId) this.getGroupList(this.wechat.staffId)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!