Commit dd091cca by 前端

fixed

1 parent a4589f50
......@@ -654,10 +654,17 @@ export default {
battleStaffName,
goodGroupId,
battleGroupId,
roomName: autoGroupName,
roomName: '',
autoGroupMerchantId
}
this.groupName = autoGroupName
const groupId = battleGroupId || goodGroupId
if (groupId.split('_R:')[1] == autoGroupName) {
this.groupName = autoGroupName
this.idBefEncryption = groupId.split('_R:')[0]
} else {
this.wechat.roomName = autoGroupName
}
this.getGroupList(this.wechat.staffId)
})
},
......
......@@ -781,6 +781,7 @@ export default {
saReport: [],
saPerReport: []
}
this.groupCofListInput = {}
this.battleVisible = true
// 编辑
if (sign) {
......@@ -793,11 +794,15 @@ export default {
data.groupConfigList.forEach(item => {
let groupHideAttr = this.groupToType.find(k => k.type == item.actionReportType).attr
if (item.groupId) {
this.groupCofList[groupHideAttr].push({
groupId: item.groupId,
roomName: item.groupName
})
this.groupCofListInput[groupHideAttr + 'Value'] = item.groupName
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({
groupId: item.groupId,
roomName: item.groupName
})
}
}
})
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!