Commit ff227621 by 前端

修sop二轮bug

1 parent 6b5023af
...@@ -1012,7 +1012,12 @@ export default { ...@@ -1012,7 +1012,12 @@ export default {
this.customerDataList[this.currentCustomerIdx].customerCount = this.customerDataList[this.currentCustomerIdx].list.length this.customerDataList[this.currentCustomerIdx].customerCount = this.customerDataList[this.currentCustomerIdx].list.length
break break
case '群标签': 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 break
} }
...@@ -1251,7 +1256,6 @@ export default { ...@@ -1251,7 +1256,6 @@ export default {
// 处理营销内容类型 // 处理营销内容类型
handleMarketingContentTypes(val) { handleMarketingContentTypes(val) {
console.log(val)
const materialType = val.some(item => item.attType == 6) const materialType = val.some(item => item.attType == 6)
const activityType = val.some(item => item.attType == 7 || item.attType == 4) const activityType = val.some(item => item.attType == 7 || item.attType == 4)
const mixedType = materialType && activityType const mixedType = materialType && activityType
...@@ -1381,6 +1385,7 @@ export default { ...@@ -1381,6 +1385,7 @@ export default {
followerTypeName: item.followerTypeName, followerTypeName: item.followerTypeName,
reachesType: item.reachesType, reachesType: item.reachesType,
reachesTypeSet: item.reachesTypeSet, reachesTypeSet: item.reachesTypeSet,
labelOptUpdate:item.labelOptUpdate,
resourceList: [] resourceList: []
}) })
if (item.id) { if (item.id) {
......
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
}) })
this.textContent = htm this.textContent = htm
} else if (item.attType == 4 || item.attType == 6 || item.attType == 7) { } 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 this.textContent = this.textContent ? this.textContent + str : str
} }
}) })
......
...@@ -641,13 +641,14 @@ export default { ...@@ -641,13 +641,14 @@ export default {
this.editFormDataChannel[idx].optionList[2].isDisabled = [1, 2, 3].includes(val) this.editFormDataChannel[idx].optionList[2].isDisabled = [1, 2, 3].includes(val)
}, },
'editForm.pushChannelType'(newValue) { 'editForm.pushChannelType'(newValue) {
if (this.editForm.soptType == 1){
if (newValue == 2) { if (newValue == 2) {
this.editFormDataChannel = this.editFormDataChannel.filter(item => { this.editFormDataChannel = this.editFormDataChannel.filter(item => {
return item.name !== 'followerTypeId' return item.name !== 'followerTypeId'
}) })
} else { } else {
this.editFormDataChannel = this.editFormDataChannelCopy this.editFormDataChannel = this.editFormDataChannelCopy
}
} }
setTimeout(() => { setTimeout(() => {
this.previewList = JSON.parse(JSON.stringify(this.previewList)) 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!