| | |
| | | param1: this.taskid, |
| | | param2: this.patid, |
| | | excep: this.excep, |
| | | isabnormal: this.excep, |
| | | serviceSubtaskDetailList: [], |
| | | }; |
| | | const arr = structuredClone(this.questionList); |
| | |
| | | const arr = structuredClone(this.questionList); |
| | | console.log(arr, "srr"); |
| | | arr.forEach((item, index) => { |
| | | if (item.scriptType == 1 && item.scriptResult) { |
| | | var obj = item.svyTaskTemplateTargetoptions.find( |
| | | (items) => items.optioncontent == item.scriptResult |
| | | ); |
| | | console.log(obj, "obj"); |
| | | console.log(item); |
| | | |
| | | console.log(obj, "obj"); |
| | | if (obj.sendTaskid) { |
| | | item.sendTaskname = obj.sendTaskname; |
| | | item.sendTaskid = obj.sendTaskid; |
| | | console.log(String(obj.sendTaskid).split(",")); |
| | | item.sendTaskids = String(obj.sendTaskid).split(","); |
| | | |
| | | } |
| | | if (obj) { |
| | | if (obj.isabnormal) { |
| | | console.log(obj.isabnormal); |
| | | form.excep = 1; |
| | | this.excep = 1; |
| | | form.excep = obj.isabnormal; |
| | | this.excep = obj.isabnormal; |
| | | } |
| | | } |
| | | } |
| | | }); |