WXL
2024-07-05 fdf8b9cc7995c8d2022ac512c48a7567f6d2af9a
src/views/patient/propaganda/particty.vue
@@ -46,7 +46,7 @@
                      <el-input
                        style="width: 220px"
                        :disabled="true"
                        v-model="form.templateName"
                        v-model="form.templatename"
                        placeholder="点击右侧选择"
                      /> </el-form-item
                  ></el-col>
@@ -727,13 +727,13 @@
        { 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" },
@@ -766,6 +766,8 @@
        { label: "支付宝", value: 7 },
        { label: "智能小程序", value: 8 },
        { label: "钉钉", value: 9 },
        { label: "线下(纸质)", value: 10 },
        { label: "线上(短信/钉钉的文本、问卷链接)", value: 11 },
      ],
      // 时间处理
      daytime: [], //日期
@@ -849,7 +851,7 @@
      form: {
        patTaskRelevances: [],
        sendType: 1,
        templateName: "",
        templatename: "",
        templateid: null,
        libtemplateid: null,
      },
@@ -963,7 +965,7 @@
    // 确认选择模版放入任务模版
    selectfn(row, type) {
      // 模版情况下获取模版信息
      console.log(row,'选择模版');
      console.log(row, "选择模版");
      this.libName = row.templateName;
      this.libId = row.id;
      getvFollowup({ id: row.id }).then((res) => {
@@ -1260,7 +1262,7 @@
      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) => {
@@ -1268,9 +1270,9 @@
        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);
      });
    },
    // 处理服务形式