Commit 6eb75a35 by 前端

additionalType字段默认值为0

1 parent df8a8c89
...@@ -1014,7 +1014,7 @@ export default { ...@@ -1014,7 +1014,7 @@ export default {
break break
case '群标签': case '群标签':
if (this.routeInfo.addOrEdit == 'edit' && this.editForm.customerOptUpdate == '1') { if (this.routeInfo.addOrEdit == 'edit' && this.editForm.customerOptUpdate == '1') {
this.customerDataList[this.currentCustomerIdx].customerCount =this.editForm.customerCount this.customerDataList[this.currentCustomerIdx].customerCount = this.editForm.customerCount
} else { } else {
this.customerDataList[this.currentCustomerIdx].list.length && this.getGroupByTagList() this.customerDataList[this.currentCustomerIdx].list.length && this.getGroupByTagList()
} }
...@@ -1131,7 +1131,7 @@ export default { ...@@ -1131,7 +1131,7 @@ export default {
if (isLastOne == 1 && this.editForm.eventList.length) { if (isLastOne == 1 && this.editForm.eventList.length) {
this.deleteCustPop() this.deleteCustPop()
} else { } else {
if (attr == '标签' || attr == '群标签' ) { if (attr == '标签' || attr == '群标签') {
currentList[pIdx].labelList.splice(idx, 1) currentList[pIdx].labelList.splice(idx, 1)
currentList[pIdx].labelList.length == 0 && currentList.splice(idx, 1) currentList[pIdx].labelList.length == 0 && currentList.splice(idx, 1)
} else { } else {
...@@ -1262,12 +1262,13 @@ export default { ...@@ -1262,12 +1262,13 @@ export default {
const mixedType = materialType && activityType const mixedType = materialType && activityType
const obj = { const obj = {
// videoImageStorage: [], // videoImageStorage: [],
resourceList: [] resourceList: [],
} }
val.forEach(event => { val.forEach(event => {
if (event && event.attType == 1) { if (event && event.attType == 1) {
obj.eventContent = event.attContent obj.eventContent = event.attContent
obj.additionalType = 0
} }
if (!mixedType) { if (!mixedType) {
if (event && event.attType == 2) { if (event && event.attType == 2) {
...@@ -1386,7 +1387,7 @@ export default { ...@@ -1386,7 +1387,7 @@ export default {
followerTypeName: item.followerTypeName, followerTypeName: item.followerTypeName,
reachesType: item.reachesType, reachesType: item.reachesType,
reachesTypeSet: item.reachesTypeSet, reachesTypeSet: item.reachesTypeSet,
labelOptUpdate:item.labelOptUpdate, labelOptUpdate: item.labelOptUpdate,
resourceList: [] resourceList: []
}) })
if (item.id) { if (item.id) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!