From 42689d8723081698becdfd7ae2eace91f5a37023 Mon Sep 17 00:00:00 2001
From: liuzhipeng <1747191978@qq.com>
Date: Sat, 15 Feb 2025 22:01:06 +0800
Subject: [PATCH] =?UTF-8?q?=E9=9A=8F=E8=AE=BF=E5=B7=A5=E5=8D=95-=E9=9A=8F?=
=?UTF-8?q?=E8=AE=BF=EF=BC=8C=E5=A4=B1=E8=AE=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
acupuncture-ui/src/views/followFile/work.vue | 64 ++++++++++++++++----
1 file changed, 51 insertions(+), 13 deletions(-)
diff --git a/acupuncture-ui/src/views/followFile/work.vue b/acupuncture-ui/src/views/followFile/work.vue
index b8d6240b..def2e10f 100644
--- a/acupuncture-ui/src/views/followFile/work.vue
+++ b/acupuncture-ui/src/views/followFile/work.vue
@@ -81,14 +81,14 @@
@@ -106,17 +106,17 @@
{{ status[scope.row.status] }}
-
+ /> -->
@@ -125,6 +125,7 @@
@@ -412,7 +421,13 @@ export default {
/** 随访 */
handleFollow(row) {
this.open1 = true;
- this.form = JSON.parse(JSON.stringify(row));
+ this.form = {
+ id: row.id,
+ followuper: "",
+ followupTime: "",
+ times: "",
+ followupText: "",
+ };
},
/** 失访 */
handleLossFollow(row) {
@@ -440,7 +455,30 @@ export default {
}
});
},
-
+ /** 失访 */
+ submitForm: function () {
+ this.$refs["form"].validate((valid) => {
+ if (valid) {
+ updStatus(this.form).then((response) => {
+ this.$modal.msgSuccess("操作成功");
+ this.open = false;
+ this.getList();
+ });
+ }
+ });
+ },
+ /** 随访 */
+ submitForm1: function () {
+ this.$refs["form1"].validate((valid) => {
+ if (valid) {
+ followPatient(this.form).then((response) => {
+ this.$modal.msgSuccess("操作成功");
+ this.open1 = false;
+ this.getList();
+ });
+ }
+ });
+ },
/** 删除按钮操作 */
handleDelete(row) {
const idList = row.id ? [row.id] : this.ids;