| | |
| | | <el-input |
| | | style="width: 220px" |
| | | :disabled="true" |
| | | v-model="form.templateName" |
| | | v-model="form.templatename" |
| | | placeholder="点击右侧选择" |
| | | /> </el-form-item |
| | | ></el-col> |
| | |
| | | { label: "创建人(缺)", width: "", prop: "updateBy" }, |
| | | ], |
| | | tableLabelcy: [ |
| | | { label: "随访名称", width: "", prop: "templateName" }, |
| | | { label: "随访名称", width: "", prop: "templatename" }, |
| | | { label: "随访计划", width: "", prop: "impTemplate" }, |
| | | { label: "修改日期", width: "", prop: "uploadTime" }, |
| | | { label: "创建人(缺)", width: "", prop: "updateBy" }, |
| | | ], |
| | | tableLabelfz: [ |
| | | { label: "通知名称", width: "", prop: "templateName" }, |
| | | { label: "通知名称", width: "", prop: "templatename" }, |
| | | { label: "通知模版", width: "", prop: "impTemplate" }, |
| | | { label: "修改日期", width: "", prop: "uploadTime" }, |
| | | { label: "创建人(缺)", width: "", prop: "updateBy" }, |
| | |
| | | { label: "支付宝", value: 7 }, |
| | | { label: "智能小程序", value: 8 }, |
| | | { label: "钉钉", value: 9 }, |
| | | { label: "线下(纸质)", value: 10 }, |
| | | { label: "线上(短信/钉钉的文本、问卷链接)", value: 11 }, |
| | | ], |
| | | // 时间处理 |
| | | daytime: [], //日期 |
| | |
| | | form: { |
| | | patTaskRelevances: [], |
| | | sendType: 1, |
| | | templateName: "", |
| | | templatename: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | }, |
| | |
| | | // 确认选择模版放入任务模版 |
| | | selectfn(row, type) { |
| | | // 模版情况下获取模版信息 |
| | | console.log(row,'选择模版'); |
| | | 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; |
| | | console.log(this.form.templateName, "ss"); |
| | | this.$modal.msgSuccess("选择模版成功", this.form.templateName); |
| | | this.form.templatename = this.libName; |
| | | console.log(this.form.templatename, "ss"); |
| | | this.$modal.msgSuccess("选择模版成功", this.form.templatename); |
| | | }); |
| | | }, |
| | | // 处理服务形式 |