Commit ff574326 by 前端

客户SOP添加事件页面点击跟进员类型未调用接口

1 parent 2ea701cb
...@@ -523,7 +523,11 @@ export default { ...@@ -523,7 +523,11 @@ export default {
} }
], ],
handleRadioChange: val => { handleRadioChange: val => {
if (val == 1 || val == 3) {
this.getStaffTypeList()
}
this.getCustomerNum() this.getCustomerNum()
} }
}, },
{ {
...@@ -663,7 +667,8 @@ export default { ...@@ -663,7 +667,8 @@ export default {
Object.assign(this.editForm, this.eventObj.info) Object.assign(this.editForm, this.eventObj.info)
this.editFormDataChannelCopy = JSON.parse(JSON.stringify(this.editFormDataChannel)) // this.editFormDataChannelCopy = JSON.parse(JSON.stringify(this.editFormDataChannel))
this.editFormDataChannelCopy = this.editFormDataChannel
// 客户sop还是群sop做营销设置处理 // 客户sop还是群sop做营销设置处理
if (this.editForm.sopType == 2) { if (this.editForm.sopType == 2) {
this.editForm.pushChannelType = 1 this.editForm.pushChannelType = 1
...@@ -1012,8 +1017,11 @@ export default { ...@@ -1012,8 +1017,11 @@ export default {
this.submit = false this.submit = false
return true return true
} }
// 跟进员工类型followerTypeId
this.editForm.followerTypeName = this.baseData.staffTypeList && this.baseData.staffTypeList.find(item => item.id).businessName // 如果营销设置为短信 去掉跟进员工
this.editForm.followerTypeId = this.editForm.pushChannelType == 2 ? '' : this.editForm.followerTypeId
// 跟进员工类型followerTypeId)
this.editForm.followerTypeName = this.editForm.followerTypeId && this.baseData.staffTypeList && this.baseData.staffTypeList.find(item => item.id == this.editForm.followerTypeId).followName
// 预估可触达人数 // 预估可触达人数
this.editForm.predictCount = this.predictCountObj[this.editForm.pushChannelType == 2 ? 'phone' : 'qiwei'] this.editForm.predictCount = this.predictCountObj[this.editForm.pushChannelType == 2 ? 'phone' : 'qiwei']
if (this.editForm.repeatFlag == 'Y') { if (this.editForm.repeatFlag == 'Y') {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!