Commit 5723937a by 杨明

Merge branch 'v3.23.1' of http://192.168.3.233:8090/saas/scrm-micro-scene into v3.23.1

2 parents 041493f4 f1b9a073
......@@ -365,7 +365,7 @@ export default {
this.updateParam(options)
},
updateParam(options) {
console.log(options)
console.log(options, this.sopItem)
let { day, stage, stageid, taskType, nodeId } = this.sopItem
let dataTag = options.dataTag || this.sopItem.dataTag,
taskParam = options.taskParam || this.sopItem.taskParam,
......@@ -376,11 +376,11 @@ export default {
time: this.stage_time[this.sopItem.taskType],
taskType,
dataTag,
taskParam
taskParam:taskParam?taskParam:{}
}
if (taskType == 7) {
data.taskParam.content = taskParam.attachments[0].attContent
delete data.taskParam.attachments
data.taskParam.content = taskParam && taskParam.attachments && taskParam.attachments.length ? taskParam.attachments[0].attContent : ''
delete data.taskParam.attachments
}
this.$apis.journeyConfig.updateParam({ nodeId, data }).then(res => {
if (res == 'success') {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!