WXL
2025-01-09 95075418735842f54c116c2dc2d18199d4408e50
src/views/patient/propaganda/particty.vue
@@ -399,18 +399,15 @@
                    </el-col>
                    <el-col :span="1.5">
                        <el-button
                          type="primary"
                          plain
                          icon="el-icon-plus"
                          size="medium"
                          :disabled="!patientqueryParams.allhosp"
                          @click="handleQuery"
                          >新增</el-button
                        >
                      <el-button
                        type="primary"
                        plain
                        icon="el-icon-plus"
                        size="medium"
                        :disabled="!patientqueryParams.allhosp"
                        @click="handleQuery"
                        >新增</el-button
                      >
                    </el-col>
                    <!-- <el-col :span="1.5">
@@ -661,7 +658,7 @@
                    </el-select> </el-form-item
                ></el-col>
              </el-row>
              <el-row>
              <!-- <el-row>
                <el-col :span="20"
                  ><el-form-item label="适用病区" prop="region">
                    <el-select
@@ -670,7 +667,7 @@
                      size="medium"
                      multiple
                      filterable
                      placeholder="请选择科室"
                      placeholder="请选择病区"
                    >
                      <el-option
                        class="ruleFormaa"
@@ -682,7 +679,7 @@
                      </el-option>
                    </el-select> </el-form-item
                ></el-col>
              </el-row>
              </el-row> -->
              <div class="xinz-infs">
                <el-form-item>
@@ -1033,6 +1030,8 @@
        pageNum: 1, //
        pageSize: 10,
        topica: 1, //0全部1科室2病区
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      topicoptions: [{ children: [{ children: [] }] }],
      showSearch: true, //
@@ -1105,7 +1104,7 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是浙中医大二院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        kcb: "亲爱的患者/家属,您好!我们是无锡儿童医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访内容就到这里,祝您身体健康!",
      },
      taskoptions: [
@@ -1200,16 +1199,16 @@
        deptcode: [
          { required: true, message: "适用科室不能为空", trigger: "blur" },
        ],
        leavehospitaldistrictcode: [
          { required: true, message: "适用病区不能为空", trigger: "blur" },
        ],
        // leavehospitaldistrictcode: [
        //   { required: true, message: "适用病区不能为空", trigger: "blur" },
        // ],
      },
      // 科室院区查询入参
      queryParamsdept: {
        tempid: "",
        type: 2,
      },
      belongDepts:[],
      belongDepts: [],
      quote: false,
      serviceType: null,
    };
@@ -1324,7 +1323,7 @@
          {
            value: "4",
            label: "短信",
            disabled:true,
            disabled: true,
          },
          {
            value: "5",
@@ -1340,7 +1339,7 @@
          {
            value: "4",
            label: "短信",
            disabled:true,
            disabled: true,
          },
          {
            value: "5",
@@ -1373,7 +1372,7 @@
          {
            value: "4",
            label: "短信",
            disabled:true,
            disabled: true,
          },
          {
            value: "5",
@@ -1397,7 +1396,7 @@
          {
            value: "4",
            label: "短信",
            disabled:true,
            disabled: true,
          },
          {
            value: "5",
@@ -1516,9 +1515,9 @@
          this.objyl.isoperation = 2;
          this.objyl.taskid = data.taskId;
          if (!this.objyl.sendDa) {
            this.objyl.sendDay='5';
            this.objyl.sendDay = "5";
          }
          console.log(this.objyl.sendDay,'this.objyl.sendDay');
          console.log(this.objyl.sendDay, "this.objyl.sendDay");
          Taskparticty(this.objyl).then((response) => {
            this.previewtf = false;
@@ -1759,10 +1758,16 @@
      this.$modal
        .confirm('是否确认删除患者"' + row.name + '"的服务项?')
        .then(() => {
          console.log();
          let indexa = this.overallCase.indexOf(row);
          let indexb = this.form.patTaskRelevances.indexOf(row);
          this.overallCase.splice(indexa, 1);
          this.form.patTaskRelevances[indexb].isoperation = 3;
          if (!this.form.taskid) {
            this.form.patTaskRelevances.splice(indexa, 1);
          } else {
            this.form.patTaskRelevances[indexb].isoperation = 3;
          }
          this.$modal.msgSuccess("删除成功");
        });
    },
@@ -1780,6 +1785,10 @@
          store.getters.leavehospitaldistrictcodes;
        this.patientqueryParams.leaveldeptcodes = null;
      }
      if (!this.patientqueryParams.leavehospitaldistrictcodes||!this.patientqueryParams.leavehospitaldistrictcodes[0])
        this.patientqueryParams.leavehospitaldistrictcodes = null;
      if (!this.patientqueryParams.leaveldeptcodes||!this.patientqueryParams.leaveldeptcodes[0])
        this.patientqueryParams.leaveldeptcodes = null;
      this.handleAddpatient();
    },
    resetQuery() {},
@@ -1813,7 +1822,7 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是浙中医大二院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。",
        kcb: "亲爱的患者/家属,您好!我们是无锡儿童医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!",
      };
@@ -1998,7 +2007,7 @@
        this.objyl.taskid = this.form.id;
      }
      if (!this.objyl.sendDay) {
        this.objyl.sendDay='5';
        this.objyl.sendDay = "5";
      }
      if (this.form.templateid) {
        deleteTaskparticty(this.form.templateid).then((res) => {