WXL (wul)
19 小时以前 3cf6f5204b0ade9aa5022d5fcecbef095c575918
src/views/followvisit/record/detailpage/index.vue
@@ -1448,7 +1448,8 @@
        {
          value: "一个月后",
          label: "一个月后",
        },   {
        },
        {
          value: "两个月后",
          label: "两个月后",
        },
@@ -1605,17 +1606,17 @@
      // 根据选择的随访方式计算随访日期
      if (value.includes("七天后")) {
        followupDate.setDate(dischargeDate.getDate() + 7);
      } else if (value.includes("15天后")||value.includes("半个月后")) {
      } 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("两个月后")) {
      } 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("一年后")||value.includes("12个月后")) {
      } else if (value.includes("一年后") || value.includes("12个月后")) {
        followupDate.setFullYear(dischargeDate.getFullYear() + 1);
      }
@@ -1760,7 +1761,7 @@
            }
          });
          this.Editsingletasksonyic(6);
          if (this.visitCount != 1) {
          if (this.form.isVisitAgain != 1) {
            this.Torouter();
            return;
          }
@@ -1945,7 +1946,7 @@
        param2: this.patid,
        subId: this.id,
      };
      if (this.visitCount != 1) {
      if (this.form.isVisitAgain != 1) {
        this.Torouter();
        return;
      }
@@ -2165,6 +2166,10 @@
                this.formtidy();
                this.dialogFormVisible = true;
              });
          } else {
            document.querySelector("#app").scrollTo(0, 0);
            this.formtidy();
            this.dialogFormVisible = true;
          }
        } else {
          document.querySelector("#app").scrollTo(0, 0);