Commit 5830c1f8 by 前端

更新代码

1 parent 43b0265f
......@@ -1231,7 +1231,8 @@ export default {
const activityType = val.some(item => item.attType == 7 || item.attType == 4)
const mixedType = materialType && activityType
const obj = {
videoImageStorage: []
// videoImageStorage: [],
resourceList:[]
}
val.forEach(event => {
......@@ -1242,12 +1243,14 @@ export default {
if (event && event.attType == 2) {
obj.additionalType = 5
obj.objectType = 11
obj.videoImageStorage.push(event.attContent)
// obj.videoImageStorage.push(event.attContent)
obj.resourceList.push(event.attContent)
}
if (event && event.attType == 3) {
obj.additionalType = 5
obj.objectType = 12
obj.videoImageStorage.push(event.attContent)
// obj.videoImageStorage.push(event.attContent)
obj.resourceList.push(event.attContent)
}
// 活动
if (event && (event.attType == 7 || event.attType == 4)) {
......@@ -1281,11 +1284,6 @@ export default {
obj.objectId = backupattContent.objectId
}
} else {
if (event && event.attType == 2) {
obj.additionalType = 5
obj.objectType = 11
obj.resourceList.push(event.attContent)
}
if (event && event.attType == 6) {
obj.additionalType = 6
let backupattContent = typeof event.attContent == 'string' ? JSON.parse(event.attContent) : event.attContent
......@@ -1323,7 +1321,6 @@ export default {
return true
}
var params = this.$common.utils.deepClone(this.editForm)
let videoImageStorage = []
// params.customerIds = this.editForm.customerInfoList.map(item => item.id).join(',')
params[this.customerDataList[this.currentCustomerIdx].reqListName] = JSON.stringify(this.reqCustAttrs())
params.customerCount = this.customerDataList[this.currentCustomerIdx].customerCount
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!