WXL (wul)
2026-05-08 f9902f7a3b79d22bde9f199263ac36de26816470
src/views/patient/propaganda/particty.vue
@@ -1309,7 +1309,7 @@
      };
      this.currenttype = this.$route.query.type;
      this.title = "随访内容列表";
      this.tableLabel = this.tableLabelwj;
      this.tableLabel = this.tableLabelwj || [];
      if (this.form.serviceType == 1) {
        this.checkboxlist = [
          {
@@ -1329,8 +1329,16 @@
            label: "微信公众号",
          },
        ];
      } else if (this.form.serviceType == 6) {
      } else if (
        this.form.serviceType == 6 ||
        this.form.serviceType == 14 ||
        this.form.serviceType == 15
      ) {
        this.checkboxlist = [
          {
            value: "1",
            label: "人工",
          },
          {
            value: "3",
            label: "智能语音",
@@ -1394,6 +1402,7 @@
        ];
      } else if (
        this.form.serviceType == 2 ||
        this.form.serviceType == 18 ||
        this.form.serviceType == 3 ||
        this.form.serviceType == 16 ||
        this.form.serviceType == 4
@@ -1478,8 +1487,8 @@
          this.leavehospitaldistrictcodes = [];
        }
        if (this.checkList) {
          this.form.preachform = this.checkList.join(",");
          this.form.preachformList = this.selectedOrder;
          this.form.preachform = this.checkList.join(",") || [];
          this.form.preachformList = this.selectedOrder || [];
        } else {
          this.$modal.msgError("请选择服务类型");
          this.submitLoading = false;
@@ -1547,6 +1556,9 @@
        this.form.icd10code = this.diagglist
          .map((item) => item.icdcode)
          .join(",");
        this.form.icd10name = this.diagglist
          .map((item) => item.icdname)
          .join(",");
        Editsingletask(this.form).then((res) => {
          if (res.code == 200) {
            if (this.form.taskid) {
@@ -1611,7 +1623,7 @@
          // 疾病
          this.getillness(this.form.libtemplateid);
          selectInfoByCondition({id:this.form.templateid} ).then((res) => {
          selectInfoByCondition({ id: this.form.templateid }).then((res) => {
            if (res.code == 200) {
              this.previewtf = true;
              this.previewtftype = 1;
@@ -1937,7 +1949,7 @@
              : [];
            this.overallCase = this.form.patTaskRelevances.concat();
            this.checkList = this.form.preachform.split(",") || [];
            this.selectedOrder = this.form.preachformList;
            this.selectedOrder = this.form.preachformList || [];
            this.overallCase.forEach((item) => {
              if (item.endtime) {
@@ -2284,7 +2296,7 @@
      });
    },
    checkSelectionChange(selectedValues, selectedOrder) {
      this.selectedOrder = selectedValues;
      this.selectedOrder = selectedValues || [];
      console.log("当前选中:", selectedValues);
      console.log("选中顺序:", selectedOrder);
    },
@@ -2321,8 +2333,12 @@
            if (Array.isArray(this.objyl.suitway)) {
              this.objyl.suitway = this.objyl.suitway.join(",");
            }
            this.objyl.templateid = this.objyl.id;
            this.objyl.libtemplateid = this.objyl.id;
            this.form.libtemplateid = this.objyl.id;
            this.objyl.isoperation = 1;
            console.log(this.objyl, "this.objyl");
            this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
              item.ivrTaskScriptTargetoptionList =
                item.ivrLibaScriptTargetoptionList;