From e27d169b72171cafb76bece4a2500e8e8fdd16bd Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 13 Jun 2024 10:39:27 +0800
Subject: [PATCH] 在公安安全监管模块,增加校园场所管理模块,在场所的展示的字段基础上,展示校园的基本信息,包括小程序校园主体账号场所维护里面的基本信息和学校信息

---
 src/components/audit-base/main.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/components/audit-base/main.vue b/src/components/audit-base/main.vue
index 751e868..34770d8 100644
--- a/src/components/audit-base/main.vue
+++ b/src/components/audit-base/main.vue
@@ -39,8 +39,9 @@
 
     methods: {
         handleSubmit () {
-            this.form.status = 1
-            this.$emit('handleSubmit', this.form)
+            this.$nextTick(() => {
+                this.$emit('handleSubmit', Object.assign({ status: 1 }, this.form))
+            })
         },
 
         handleReset () {
@@ -52,8 +53,9 @@
 
                 return
             }
-            this.form.status = 2
-            this.$emit('handleSubmit', this.form)
+            this.$nextTick(() => {
+                this.$emit('handleSubmit', Object.assign({ status: 2 }, this.form))
+            })
         },
     }
 }

--
Gitblit v1.9.3