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;