From 3c8ce26ad8f5d894944c8d6eca630ee66a06f4d1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 17 Jan 2024 14:08:39 +0800
Subject: [PATCH] 新增报错

---
 src/views/place/index.vue |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/src/views/place/index.vue b/src/views/place/index.vue
index 75455d0..e453047 100644
--- a/src/views/place/index.vue
+++ b/src/views/place/index.vue
@@ -48,9 +48,7 @@
             </template>
         </avue-crud>
 
-        <el-dialog class="place-info-box" title="场所维护" append-to-body :visible.sync="roleBox" center @close="roleBoxClose">
-            <baseAllInfo></baseAllInfo>
-        </el-dialog>
+        <baseAllInfo ref="BaseAllInfo"></baseAllInfo>
 
         <el-dialog class="place-info-box audit-info-box" title="审核" append-to-body :visible.sync="auditBasePopup"
             width="30%">
@@ -93,9 +91,6 @@
         }
 
         return {
-            curRow: {},
-            roleBox: false,
-
             form: {},
             query: {},
             loading: true,
@@ -548,13 +543,8 @@
             this.auditBasePopup = true
         },
 
-        roleBoxClose () {
-            this.curRow = {}
-        },
-
         ManageTenants (item) {
-            this.curRow = item
-            this.roleBox = true
+            this.$refs.BaseAllInfo.initOpen(item)
         },
 
         rowSave (row, done, loading) {

--
Gitblit v1.9.3