| | |
| | | <el-input |
| | | style="width: 220px" |
| | | :disabled="true" |
| | | v-model="form.templatename" |
| | | v-model="form.templateName" |
| | | placeholder="点击右侧选择" |
| | | /> </el-form-item |
| | | ></el-col> |
| | |
| | | form: { |
| | | patTaskRelevances: [], |
| | | sendType: 1, |
| | | templatename: "", |
| | | templateName: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | }, |
| | |
| | | }; |
| | | this.currenttype = this.$route.query.type; |
| | | console.log(this.currenttype, "1"); |
| | | if (this.currenttype == 1 || this.currenttype == 8) { |
| | | // 医技随访,普通随访 |
| | | this.title = "随访内容列表"; |
| | | this.tableLabel = this.tableLabelxj; |
| | | this.checkboxlist = ["多媒体", "纸质"]; |
| | | getlibrarylist(queryParams).then((response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | | }); |
| | | } else if ( |
| | | this.currenttype == 2 || |
| | | this.currenttype == 3 || |
| | | this.currenttype == 7 |
| | | ) { |
| | | // 出院、门诊、专病随访 |
| | | this.title = "随访内容列表"; |
| | | this.tableLabel = this.tableLabelmz; |
| | |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | | }); |
| | | } else if (this.currenttype == 4 || this.currenttype == 5) { |
| | | // 复诊、体检通知 |
| | | this.title = "通知内容列表"; |
| | | this.tableLabel = this.tableLabelfz; |
| | | this.checkboxlist = ["线下", "AI语音外呼", "人工电话", "短信"]; |
| | | getFollowuplist(queryParams).then((response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | | }); |
| | | } else if (this.currenttype == 6) { |
| | | this.title = "问卷内容列表"; |
| | | this.tableLabel = this.tableLabelwj; |
| | | this.checkboxlist = [ |
| | | "线下(纸质)", |
| | | "线上(短信/钉钉的文本、问卷链接)", |
| | | ]; |
| | | getQtemplatelist(queryParams).then((response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | | }); |
| | | } |
| | | }, |
| | | nextstep() { |
| | | if (this.Editprogress <= 3) { |
| | |
| | | // 确认选择模版放入任务模版 |
| | | selectfn(row, type) { |
| | | // 模版情况下获取模版信息 |
| | | console.log(row,'选择模版'); |
| | | this.libName = row.templateName; |
| | | this.libId = row.id; |
| | | getvFollowup({ id: row.id }).then((res) => { |
| | |
| | | this.Tasktemplate.tempDetpRelevances = null; |
| | | this.Tasktemplate.libtemplateid = id; |
| | | this.Tasktemplate.isoperation = 1; |
| | | this.Tasktemplate.libtemplatename = this.Tasktemplate.templateName; |
| | | this.Tasktemplate.libtemplateName = this.Tasktemplate.templateName; |
| | | console.log(this.libName, this.libId); |
| | | |
| | | TaskTemplatecomit(this.Tasktemplate).then((response) => { |
| | |
| | | this.previewtf = false; |
| | | this.form.templateid = response.data; |
| | | this.form.libtemplateid = this.libId; |
| | | this.form.templatename = this.libName; |
| | | this.$modal.msgSuccess("选择模版成功"); |
| | | this.form.templateName = this.libName; |
| | | console.log(this.form.templateName, "ss"); |
| | | this.$modal.msgSuccess("选择模版成功", this.form.templateName); |
| | | }); |
| | | }, |
| | | // 处理服务形式 |