mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 06:09:11 +08:00
楼栋 单元房屋 加入权限管理
This commit is contained in:
parent
ebfb7d8acb
commit
e746fcd3d1
@ -50,7 +50,7 @@
|
||||
<div class="ibox-title">
|
||||
<h5>楼栋信息</h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddFloorModal()">
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddFloorModal()" v-if="vc.hasPrivilege('502020082433687928')">
|
||||
<i class="fa fa-plus"></i>
|
||||
添加楼栋
|
||||
</button>
|
||||
@ -89,10 +89,10 @@
|
||||
{{floor.userName}}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="btn-group">
|
||||
<div class="btn-group" v-if="vc.hasPrivilege('502020082482767929')">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openEditFloorModel(floor)">修改</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<div class="btn-group" v-if="vc.hasPrivilege('502020082472047930')">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openDelFloorModel(floor)">删除</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
<td class="text-center">{{fee.endTime}}</td>
|
||||
<td class="text-center">{{fee.stateName}}</td>
|
||||
<td class="text-right">
|
||||
<button class="btn btn-link btn-xs" v-if="fee.state != '2009001' && vc.hasPrivalage('502020082314267912')"
|
||||
<button class="btn btn-link btn-xs" v-if="fee.state != '2009001' && vc.hasPrivilege('502020082314267912')"
|
||||
v-on:click="_payFee(fee)">缴费
|
||||
</button>
|
||||
<button class="btn btn-link btn-xs" v-on:click="_payFeeHis(fee)">缴费历史
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
<div class="ibox">
|
||||
<div class="ibox-title">
|
||||
<h5>房屋信息</h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
<div class="ibox-tools" style="top:10px;" v-if="vc.hasPrivilege('502020082453087940')">
|
||||
<button type="button" class="btn btn-primary btn-sm"
|
||||
style="margin-left:10px" v-on:click="_openAddRoom()">
|
||||
<i class="fa fa-plus"></i> 添加房屋
|
||||
@ -151,11 +151,11 @@
|
||||
</td>
|
||||
|
||||
<td class="text-right">
|
||||
<div class="btn-group">
|
||||
<div class="btn-group" v-if="vc.hasPrivilege('502020082493857941')">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openEditRoomModel(room)">修改
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<div class="btn-group" v-if="vc.hasPrivilege('502020082417457942')">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openDelRoomModel(room)">删除
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@ -68,7 +68,7 @@
|
||||
<div class="ibox">
|
||||
<div class="ibox-title">
|
||||
<h5>单元信息</h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
<div class="ibox-tools" style="top:10px;" v-if="vc.hasPrivilege('502020082488167931')">
|
||||
<button type="button" class="btn btn-primary btn-sm"
|
||||
style="margin-left:10px" v-on:click="openAddUnitModel()">
|
||||
<i class="fa fa-plus"></i> 添加
|
||||
@ -111,11 +111,11 @@
|
||||
{{unit.userName}}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="btn-group">
|
||||
<div class="btn-group" v-if="vc.hasPrivilege('502020082457897932')">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openEditUnitModel(unit)">修改
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<div class="btn-group" v-if="vc.hasPrivilege('502020082482837933')">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openDeleteUnitModel(unit)">删除
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@ -2116,7 +2116,7 @@ vc 校验 工具类 -method
|
||||
if(_staffPrivilege == null){
|
||||
_staffPrivilege = [];
|
||||
}
|
||||
vcFramework.hasPrivalage = (_privalege) => {
|
||||
vcFramework.hasPrivilege = (_privalege) => {
|
||||
//只要窗口高度发生变化,就会进入这里面,在这里就可以写,回到聊天最底部的逻辑
|
||||
return _staffPrivilege.includes(_privalege);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user