zhuliu 9 ماه پیش
والد
کامیت
3525d9acb1
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/views/backStageManage/organization/personnel/components/personnel.vue

+ 3 - 2
src/views/backStageManage/organization/personnel/components/personnel.vue

@@ -42,7 +42,8 @@
                 <template slot-scope="scope">
                     <div class="block">
                         {{ scope.row.expitrTime }}
-                        <!-- <el-popover
+                        <el-popover
+                            v-if="userinfo.roleType == 1 && scope.row.expitrTime"
                             placement="bottom"
                             title="修改到期时间"
                             width="220"
@@ -59,7 +60,7 @@
                             </div>
                             
                             <el-button type="text" size="small" slot="reference" @click="addEditMessage('expitrTime',scope.row.expitrTime)">修改</el-button>
-                        </el-popover> -->
+                        </el-popover>
                     </div>
                 </template>
             </el-table-column>