| | |
| | | Externallist, |
| | | getQtemplatelist, |
| | | getQtemplateobj, |
| | | taskgetQtemplateobj, |
| | | TaskQuestioncomit, |
| | | deleteTaskQuestioncomit, |
| | | Questionnairetaskgetson, |
| | |
| | | }, |
| | | // 预览 |
| | | previewfnmb() { |
| | | // taskgetQtemplateobj({ id: this.form.templateid }); |
| | | |
| | | getTaskQuestioncomit(this.form.templateid).then((res) => { |
| | | if (res.code == 200) { |
| | | console.log(res, "预览数据"); |
| | |
| | | this.getillness(this.form.libtemplateid); |
| | | |
| | | this.previewtf = true; |
| | | getQtemplateobj({ svyid: this.form.libtemplateid }).then((res) => { |
| | | taskgetQtemplateobj({ id: this.form.templateid }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.questionList = res.rows[0].svyTemplateLibScripts; |
| | | this.questionList = res.data.svyTaskTemplateScriptVOS; |
| | | this.questionList.forEach((item) => { |
| | | item.qremark = []; |
| | | item.svyLibTemplateTargetoptions = |
| | | item.svyTaskTemplateTargetoptions; |
| | | }); |
| | | this.previewtftype = 1; |
| | | this.objyl.svyTemplateLibScripts = |
| | | res.rows[0].svyTemplateLibScripts; |
| | | res.data.svyTaskTemplateScriptVOS; |
| | | } |
| | | }); |
| | | } |
| | |
| | | }, |
| | | // 疾病删除触发 |
| | | removediagg(row) { |
| | | console.log(row,'row'); |
| | | console.log(this.diagglist,'this.diagglist'); |
| | | console.log(row, "row"); |
| | | console.log(this.diagglist, "this.diagglist"); |
| | | |
| | | let result = this.diagglist |
| | | .filter((item) => item.icd10code == row) |