From 3cf6f5204b0ade9aa5022d5fcecbef095c575918 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 16 十二月 2025 09:44:41 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/record/detailpage/index.vue | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 8526297..af7df91 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/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);
--
Gitblit v1.9.3