| | |
| | | const isExist = this.overallCase.find((obj) => obj.name == item.name); |
| | | if (!isExist) { |
| | | item.isoperation = 1; |
| | | item.patid = item.id; |
| | | item.hospType = this.patientqueryParams.allhosp; |
| | | this.overallCase.push(item); |
| | | this.form.patTaskRelevances.push(item); |
| | |
| | | let id = this.Tasktemplate.id; |
| | | this.Tasktemplate.id = null; |
| | | console.log(this.Tasktemplate); |
| | | this.Tasktemplate.svyTemplateLibScripts.svyTaskTemplateTargetoptions = |
| | | this.Tasktemplate.svyTemplateLibScripts.svyLibTemplateTargetoptions; |
| | | |
| | | this.Tasktemplate.svyTemplateLibScripts.forEach((item) => { |
| | | item.svyTaskTemplateTargetoptions = |
| | | item.svyLibTemplateTargetoptions; |
| | | }); |
| | | this.Tasktemplate.svyTaskTemplateScriptVOS = |
| | | this.Tasktemplate.svyTemplateLibScripts; |
| | | this.Tasktemplate.templateid = id; |