slowslo 4 лет назад
Родитель
Сommit
373a3ba4bc

+ 2 - 2
src/views/community/agency.vue

@@ -103,13 +103,13 @@ export default {
           {
             title: '社区数量',
             count: 0,
-            icon: 'el-icon-s-home',
+            icon: 'el-icon-office-building',
             color: 'rgb(49, 180, 141)',
           },
           {
             title: '小区数量',
             count: 0,
-            icon: 'el-icon-s-home',
+            icon: 'el-icon-school',
             color: 'rgb(56, 161, 242)',
           },
           {

+ 3 - 3
src/views/estate/accessrecord.vue

@@ -59,19 +59,19 @@
             {
               title: '今日数据',
               count: 0,
-              icon: 'el-icon-s-home',
+              icon: 'el-icon-user-solid',
               color: 'rgb(49, 180, 141)',
             },
             {
               title: '本周数据',
               count: 0,
-              icon: 'el-icon-s-home',
+              icon: 'el-icon-user-solid',
               color: 'rgb(56, 161, 242)',
             },
             {
               title: '本月数据',
               count: 0,
-              icon: 'el-icon-s-home',
+              icon: 'el-icon-user-solid',
               color: 'rgb(117, 56, 199)',
             },
             {

+ 6 - 0
src/views/estate/carenterrecord.vue

@@ -27,6 +27,9 @@
 <!--                   @click="handleDelete">删 除-->
 <!--        </el-button>-->
 <!--      </template>-->
+      <template slot="enterpriseId" slot-scope="scope">
+        <div>{{scope.row.enterpriseName}}</div>
+      </template>
     </avue-crud>
   </basic-container>
 </template>
@@ -163,6 +166,7 @@
               label: "所属企业",
               prop: "enterpriseId",
               type:'select',
+              slot:true,
               dataType:'string',
               dicUrl:'/api/cyzh-enterprise/enterprise/list?size=500',
               dicFormatter:(res)=>{
@@ -321,6 +325,8 @@
       if (tenantType == 0){
         this.option.column[2].label = "所属社区"
         this.option.column[3].label = "所属小区"
+        //根据账号显隐企业列
+        this.option.column[4].hide = true;
       }else if (tenantType == 1){
         this.option.column[2].label = "所属园区"
         this.option.column[3].label = "所属区域"