From 1d36bf7cbf3625086c01191ed3764c81d822a54e Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期五, 28 十月 2022 17:36:50 +0800
Subject: [PATCH] 新增有效期限

---
 src/views/enterprise/userinfo.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/enterprise/userinfo.vue b/src/views/enterprise/userinfo.vue
index 447d8bd..1b24d1a 100644
--- a/src/views/enterprise/userinfo.vue
+++ b/src/views/enterprise/userinfo.vue
@@ -125,7 +125,7 @@
         <el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
           <template slot-scope="scope">
             <el-button type="text" @click="showEditHandle(scope.row)">编辑</el-button>
-            <el-button v-if="scope.row.companyid !=null" type="text" @click="showEditDeadline(scope.row)">修改有效期</el-button>
+            <el-button v-if="scope.row.companyid !=null && userType == 1" type="text" @click="showEditDeadline(scope.row)">修改有效期</el-button>
           </template>
         </el-table-column>
       </el-table>

--
Gitblit v1.9.2