From 035539b4e23f36b10dfba16fec01f26d3c629e29 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期三, 08 五月 2019 23:42:25 +0800
Subject: [PATCH] 房屋管理开发完成
---
WebService/src/main/resources/components/privilege-staffInfo/privilegeStaffInfo.html | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/WebService/src/main/resources/components/privilege-staffInfo/privilegeStaffInfo.html b/WebService/src/main/resources/components/privilege-staffInfo/privilegeStaffInfo.html
index bb629d3..3306f95 100644
--- a/WebService/src/main/resources/components/privilege-staffInfo/privilegeStaffInfo.html
+++ b/WebService/src/main/resources/components/privilege-staffInfo/privilegeStaffInfo.html
@@ -6,8 +6,10 @@
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="openSearchStaffModel()">
<i class="glyphicon glyphicon-search"></i> 瀹氫綅鍛樺伐</button>
- <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px">
- <i class="glyphicon glyphicon-plus" v-on:click="openAddStaffPrivilegeModel()"></i> 娣诲姞鏉冮檺</button>
+ <button type="button" class="btn btn-primary btn-sm"
+ v-if="privilegeStaffInfo.userId != null && privilegeStaffInfo.userId != ''"
+ style="margin-left:10px" v-on:click="openAddStaffPrivilegeModel()">
+ <i class="glyphicon glyphicon-plus" ></i> 娣诲姞鏉冮檺</button>
</div>
</div>
<div class="ibox-content">
@@ -55,4 +57,5 @@
</div>
</div>
<vc:create name="searchStaff"></vc:create>
+ <vc:create name="addStaffPrivilege"></vc:create>
</div>
\ No newline at end of file
--
Gitblit v1.8.0