WXL
2024-07-04 814116f2537e340bfd800d74c0bd0fdf84b25832
测试完成
已修改1个文件
47 ■■■■ 文件已修改
src/views/patient/propaganda/particty.vue 47 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
@@ -849,7 +849,7 @@
      form: {
        patTaskRelevances: [],
        sendType: 1,
        templatename: "",
        templateName: "",
        templateid: null,
        libtemplateid: null,
      },
@@ -919,20 +919,6 @@
      };
      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;
@@ -941,27 +927,6 @@
          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) {
@@ -998,6 +963,7 @@
    // 确认选择模版放入任务模版
    selectfn(row, type) {
      // 模版情况下获取模版信息
      console.log(row,'选择模版');
      this.libName = row.templateName;
      this.libId = row.id;
      getvFollowup({ id: row.id }).then((res) => {
@@ -1294,7 +1260,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) => {
@@ -1302,8 +1268,9 @@
        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);
      });
    },
    // 处理服务形式