Commit e6b4d12b by 前端

对链接字段做处理

1 parent e57469a4
......@@ -454,13 +454,7 @@ export default {
})
return
}
if (this.basicForm.visibleCustomer == 2 && this.customerDataList.length && !this.estimatedNumberOfPeople) {
this.$message({
type: 'error',
message: '可见客户为0!'
})
return
}
this.$refs.groupForm.validate(v => {
if (v) {
const params = {}
......@@ -492,7 +486,15 @@ export default {
materialType = 2
}
params.materialType = materialType
// 对链接字段做处理
attachmentList.forEach(item => {
if (item.attType == 4){
item.attContent = JSON.stringify(item.attContent )
}
})
params.attachmentList = attachmentList
if (params.sendType == 2) {
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!