From 16ee35c91d67c515f808fb29da7dcba5d2c5dcd0 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 06 Jan 2024 18:00:10 +0800
Subject: [PATCH] 数据管理下,页面风格,按钮大小统一; 场所管理审核异常处理; 发起事务页面处理;

---
 src/views/userHouse/houseList.vue |   36 ++++++++++++------------------------
 1 files changed, 12 insertions(+), 24 deletions(-)

diff --git a/src/views/userHouse/houseList.vue b/src/views/userHouse/houseList.vue
index 64d2d2e..8b2f087 100644
--- a/src/views/userHouse/houseList.vue
+++ b/src/views/userHouse/houseList.vue
@@ -18,30 +18,18 @@
                             icon="el-icon-download" @click="handleExport">导出
                         </el-button>
                     </template>
-                    <template slot-scope="scope" slot="menu">
-                        <el-button type="text" icon="el-icon-circle-plus-outline" size="small"
-                            v-if="permission.househould_manager" @click="handleHouseholdManager(scope.row)">住户管理
+
+                    <template slot-scope="{row, size}" slot="menu">
+                        <el-button :size="size" type="text" icon="el-icon-circle-plus-outline"
+                            v-if="permission.househould_manager" @click="handleHouseholdManager(row)">住户管理
                         </el-button>
-                        <el-button type="text" icon="el-icon-circle-plus-outline" size="small"
-                            v-if="permission.househould_manager" @click="manageLabel(scope.row)">标签
+                        <el-button :size="size" type="text" icon="el-icon-circle-plus-outline"
+                            v-if="permission.househould_manager" @click="manageLabel(row)">标签
                         </el-button>
                     </template>
 
-                    <template slot-scope="{row}" slot="tenantName">
-                        <el-tag>{{ row.tenantName }}</el-tag>
-                    </template>
-                    <template slot-scope="{row}" slot="roleName">
-                        <el-tag>{{ row.roleName }}</el-tag>
-                    </template>
-                    <template slot-scope="{row}" slot="deptName">
-                        <el-tag>{{ row.deptName }}</el-tag>
-                    </template>
-                    <template slot-scope="{row}" slot="userTypeName">
-                        <el-tag>{{ row.userTypeName }}</el-tag>
-                    </template>
-
-                    <template slot-scope="{row}" slot="phone">
-                        <el-button type="text" @click="showStringDispose(row, 'phoneflag')">
+                    <template slot-scope="{row, size}" slot="phone">
+                        <el-button :size="size" type="text" @click="showStringDispose(row, 'phoneflag')">
                             {{ textDispose(row, 'phoneflag', 'phone') }}
                         </el-button>
                     </template>
@@ -57,8 +45,8 @@
                     </el-tree>
 
                     <span slot="footer" class="dialog-footer">
-                        <el-button @click="roleBox = false">取 消</el-button>
-                        <el-button type="primary" @click="submitRole">确 定</el-button>
+                        <el-button size="small" @click="roleBox = false">取 消</el-button>
+                        <el-button size="small" type="primary" @click="submitRole">确 定</el-button>
                     </span>
                 </el-dialog>
 
@@ -80,8 +68,8 @@
                     <avue-form :option="labelOption" v-model="labelForm" :submit="onsubmit">
                     </avue-form>
                     <span slot="footer" class="dialog-footer">
-                        <el-button @click="editLabelFlge = false">取 消</el-button>
-                        <el-button type="primary" @click="onsubmit">确 定</el-button>
+                        <el-button size="small" @click="editLabelFlge = false">取 消</el-button>
+                        <el-button size="small" type="primary" @click="onsubmit">确 定</el-button>
                     </span>
                 </el-dialog>
 

--
Gitblit v1.9.3