Commit ff227621 by 前端

修sop二轮bug

1 parent 6b5023af
......@@ -1012,7 +1012,12 @@ export default {
this.customerDataList[this.currentCustomerIdx].customerCount = this.customerDataList[this.currentCustomerIdx].list.length
break
case '群标签':
this.customerDataList[this.currentCustomerIdx].list.length && this.getGroupByTagList()
if (this.routeInfo.addOrEdit == 'edit' && this.editForm.customerOptUpdate == '1') {
this.customerDataList[this.currentCustomerIdx].customerCount =this.editForm.customerCount
} else {
this.customerDataList[this.currentCustomerIdx].list.length && this.getGroupByTagList()
}
break
}
......@@ -1251,7 +1256,6 @@ export default {
// 处理营销内容类型
handleMarketingContentTypes(val) {
console.log(val)
const materialType = val.some(item => item.attType == 6)
const activityType = val.some(item => item.attType == 7 || item.attType == 4)
const mixedType = materialType && activityType
......@@ -1381,6 +1385,7 @@ export default {
followerTypeName: item.followerTypeName,
reachesType: item.reachesType,
reachesTypeSet: item.reachesTypeSet,
labelOptUpdate:item.labelOptUpdate,
resourceList: []
})
if (item.id) {
......
......@@ -113,7 +113,7 @@ export default {
})
this.textContent = htm
} else if (item.attType == 4 || item.attType == 6 || item.attType == 7) {
str = 'https//dwz.cn/Fk9vs7ri'
str = '<div>https//dwz.cn/Fk9vs7ri</div>'
this.textContent = this.textContent ? this.textContent + str : str
}
})
......
......@@ -641,13 +641,14 @@ export default {
this.editFormDataChannel[idx].optionList[2].isDisabled = [1, 2, 3].includes(val)
},
'editForm.pushChannelType'(newValue) {
if (newValue == 2) {
this.editFormDataChannel = this.editFormDataChannel.filter(item => {
return item.name !== 'followerTypeId'
})
} else {
this.editFormDataChannel = this.editFormDataChannelCopy
if (this.editForm.soptType == 1){
if (newValue == 2) {
this.editFormDataChannel = this.editFormDataChannel.filter(item => {
return item.name !== 'followerTypeId'
})
} else {
this.editFormDataChannel = this.editFormDataChannelCopy
}
}
setTimeout(() => {
this.previewList = JSON.parse(JSON.stringify(this.previewList))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!