WXL (wul)
8 小时以前 1feb410410781eb56159c8fdd856e68d2c23e0a4
src/views/followvisit/record/detailpage/index.vue
@@ -1439,7 +1439,33 @@
    this.visitCount = this.$route.query.visitCount;
    this.serviceType = this.$route.query.serviceType;
    this.orgname = localStorage.getItem("orgname");
    if (this.orgname == "缙云县中医医院") {
      this.options = [
        {
          value: "半个月后",
          label: "半个月后",
        },
        {
          value: "一个月后",
          label: "一个月后",
        },   {
          value: "两个月后",
          label: "两个月后",
        },
        {
          value: "三个月后",
          label: "三个月后",
        },
        {
          value: "六个月后",
          label: "六个月后",
        },
        {
          value: "12个月后",
          label: "12个月后",
        },
      ];
    }
    this.getTaskservelist();
  },
  mounted() {
@@ -1579,15 +1605,17 @@
      // 根据选择的随访方式计算随访日期
      if (value.includes("七天后")) {
        followupDate.setDate(dischargeDate.getDate() + 7);
      } else if (value.includes("15天后")) {
      } else if (value.includes("15天后")||value.includes("半个月后")) {
        followupDate.setDate(dischargeDate.getDate() + 15);
      } else if (value.includes("一个月后")) {
        followupDate.setMonth(dischargeDate.getMonth() + 1);
      }else if (value.includes("两个月后")) {
        followupDate.setMonth(dischargeDate.getMonth() + 2);
      } else if (value.includes("三个月后")) {
        followupDate.setMonth(dischargeDate.getMonth() + 3);
      } else if (value.includes("六个月后")) {
        followupDate.setMonth(dischargeDate.getMonth() + 6);
      } else if (value.includes("一年后")) {
      } else if (value.includes("一年后")||value.includes("12个月后")) {
        followupDate.setFullYear(dischargeDate.getFullYear() + 1);
      }