Commit d5fbc049 by 徐忆琳

Merge branch 'xuyl_dev_v3.6.0' into 'v3.6.0'

对链接字段做处理

See merge request !457
2 parents 6b721ecf e6b4d12b
...@@ -454,13 +454,7 @@ export default { ...@@ -454,13 +454,7 @@ export default {
}) })
return return
} }
if (this.basicForm.visibleCustomer == 2 && this.customerDataList.length && !this.estimatedNumberOfPeople) {
this.$message({
type: 'error',
message: '可见客户为0!'
})
return
}
this.$refs.groupForm.validate(v => { this.$refs.groupForm.validate(v => {
if (v) { if (v) {
const params = {} const params = {}
...@@ -492,7 +486,15 @@ export default { ...@@ -492,7 +486,15 @@ export default {
materialType = 2 materialType = 2
} }
params.materialType = materialType params.materialType = materialType
// 对链接字段做处理
attachmentList.forEach(item => {
if (item.attType == 4){
item.attContent = JSON.stringify(item.attContent )
}
})
params.attachmentList = attachmentList params.attachmentList = attachmentList
if (params.sendType == 2) { if (params.sendType == 2) {
params.sendTimeStr = this.basicForm.sendTime + ' ' + this.basicForm.sendDate params.sendTimeStr = this.basicForm.sendTime + ' ' + this.basicForm.sendDate
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!