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/houseHoldList.vue |   46 +++++++++++++++-------------------------------
 1 files changed, 15 insertions(+), 31 deletions(-)

diff --git a/src/views/userHouse/houseHoldList.vue b/src/views/userHouse/houseHoldList.vue
index 6ff6c2c..862da1b 100644
--- a/src/views/userHouse/houseHoldList.vue
+++ b/src/views/userHouse/houseHoldList.vue
@@ -18,39 +18,24 @@
                             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="manageLabel(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="manageLabel(row)">标签
                         </el-button>
                     </template>
-                    <template slot-scope="{row}" slot="phoneNumber">
-                        <el-button type="text" @click="showStringDispose(row, 'phoneNumberflag')">
+                    <template slot-scope="{row, size}" slot="phoneNumber">
+                        <el-button :size="size" type="text" @click="showStringDispose(row, 'phoneNumberflag')">
                             {{ textDispose(row, 'phoneNumberflag', 'phoneNumber') }}
                         </el-button>
                     </template>
-                    <template slot-scope="{row}" slot="idCard">
-                        <el-button type="text" @click="showStringDispose(row, 'idCardflag')"
+                    <template slot-scope="{row, size}" slot="idCard">
+                        <el-button :size="size" type="text" @click="showStringDispose(row, 'idCardflag')"
                             v-text="textDispose(row, 'idCardflag', 'idCard')"></el-button>
                     </template>
-
-                    <template slot-scope="{row}" slot="householdLabelList">
+                    <template slot-scope="{row, size}" slot="householdLabelList">
                         {{ labelDispose(row.householdLabelList) }}
                     </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>
-
-
                 </avue-crud>
                 <el-dialog title="用户角色配置" append-to-body :visible.sync="roleBox" width="345px" center>
 
@@ -59,8 +44,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>
 
@@ -92,16 +77,15 @@
                     <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>
-
 
                 <el-dialog title="用户数据导入" append-to-body :visible.sync="excelBox" width="555px">
                     <avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter">
                         <template slot="excelTemplate">
-                            <el-button type="primary" @click="handleTemplate">
+                            <el-button size="small" type="primary" @click="handleTemplate">
                                 点击下载<i class="el-icon-download el-icon--right"></i>
                             </el-button>
                         </template>
@@ -1088,7 +1072,7 @@
 
         onLoad (page, params = {}) {
             this.loading = true
-            
+
             getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
                 const data = {
                     ...res.data.data,

--
Gitblit v1.9.3