Browse Source

问题修复

刘湘琪 3 years ago
parent
commit
119ebea996

+ 4 - 4
src/layout/components/Navbar.vue

@@ -7,14 +7,14 @@
 
     <div class="right-menu">
       <div class="right-menu-item">{{userName}}</div>
-      <template v-if="device!=='mobile'">
+      <!-- <template v-if="device!=='mobile'">
         <screenfull id="screenfull" class="right-menu-item hover-effect" />
 
         <el-tooltip content="布局大小" effect="dark" placement="bottom">
           <size-select id="size-select" class="right-menu-item hover-effect" />
         </el-tooltip>
 
-      </template>
+      </template> -->
 
       <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
         <div class="avatar-wrapper">
@@ -25,9 +25,9 @@
           <router-link to="/user/profile">
             <el-dropdown-item>个人中心</el-dropdown-item>
           </router-link>
-          <el-dropdown-item @click.native="setting = true">
+          <!-- <el-dropdown-item @click.native="setting = true">
             <span>布局设置</span>
-          </el-dropdown-item>
+          </el-dropdown-item> -->
           <el-dropdown-item divided @click.native="logout">
             <span>退出登录</span>
           </el-dropdown-item>

+ 1 - 2
src/views/enterprise/ent/basicInfo.vue

@@ -158,7 +158,7 @@
       </tr>
     </table>
     <div class="oper">
-      <template v-if="info.authState == '2' && userType == 'entAdmin'">
+      <template v-if="info.authState == '2' && userType == 'ENT_ADMIN'">
         <el-button @click="handleUpdate">修改</el-button>
       </template>
     </div>
@@ -180,7 +180,6 @@
         attachType: 'ENT',
         info: {
         },
-        userType: ''
       }
     },
     computed: {

+ 1 - 1
src/views/enterprise/project/index.vue

@@ -69,7 +69,7 @@
           <template v-if="scope.row.compRate !='100.0%'">
             <span>待完善</span>
           </template>
-          <template v-if="scope.row.compRate =='100.0%'">
+          <template v-if="scope.row.compRate =='100.0%' && scope.row.authState == '1'">
             <span>已完善</span>
           </template>
           <template v-if="scope.row.authState == '2'">