Commit 15ac9be6 by 徐忆琳

Merge branch 'xuyl_dev_v3.12.0' into 'v3.12.0'

更新代码

See merge request !488
2 parents bd4d2b3e 5e33dfd9
...@@ -1231,7 +1231,8 @@ export default { ...@@ -1231,7 +1231,8 @@ export default {
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
const obj = { const obj = {
videoImageStorage: [] // videoImageStorage: [],
resourceList:[]
} }
val.forEach(event => { val.forEach(event => {
...@@ -1242,12 +1243,14 @@ export default { ...@@ -1242,12 +1243,14 @@ export default {
if (event && event.attType == 2) { if (event && event.attType == 2) {
obj.additionalType = 5 obj.additionalType = 5
obj.objectType = 11 obj.objectType = 11
obj.videoImageStorage.push(event.attContent) // obj.videoImageStorage.push(event.attContent)
obj.resourceList.push(event.attContent)
} }
if (event && event.attType == 3) { if (event && event.attType == 3) {
obj.additionalType = 5 obj.additionalType = 5
obj.objectType = 12 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)) { if (event && (event.attType == 7 || event.attType == 4)) {
...@@ -1281,11 +1284,6 @@ export default { ...@@ -1281,11 +1284,6 @@ export default {
obj.objectId = backupattContent.objectId obj.objectId = backupattContent.objectId
} }
} else { } else {
if (event && event.attType == 2) {
obj.additionalType = 5
obj.objectType = 11
obj.resourceList.push(event.attContent)
}
if (event && event.attType == 6) { if (event && event.attType == 6) {
obj.additionalType = 6 obj.additionalType = 6
let backupattContent = typeof event.attContent == 'string' ? JSON.parse(event.attContent) : event.attContent let backupattContent = typeof event.attContent == 'string' ? JSON.parse(event.attContent) : event.attContent
...@@ -1323,7 +1321,6 @@ export default { ...@@ -1323,7 +1321,6 @@ export default {
return true return true
} }
var params = this.$common.utils.deepClone(this.editForm) var params = this.$common.utils.deepClone(this.editForm)
let videoImageStorage = []
// params.customerIds = this.editForm.customerInfoList.map(item => item.id).join(',') // params.customerIds = this.editForm.customerInfoList.map(item => item.id).join(',')
params[this.customerDataList[this.currentCustomerIdx].reqListName] = JSON.stringify(this.reqCustAttrs()) params[this.customerDataList[this.currentCustomerIdx].reqListName] = JSON.stringify(this.reqCustAttrs())
params.customerCount = this.customerDataList[this.currentCustomerIdx].customerCount 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!