mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-28 00:43:58 +08:00
26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
<div class="bg-white margin-top-xs padding border-radius">
|
|
<div class=" ">
|
|
<button type="button" class="btn btn-white btn-sm" v-on:click="openPrivilegeGroupModel()"
|
|
v-if="vc.hasPrivilege('502022082992870004')">
|
|
添加
|
|
</button>
|
|
<button type="button" class="btn btn-white btn-sm" v-on:click="openEditPrivilegeGroupModel()"
|
|
v-if="vc.hasPrivilege('502022082900130005')">
|
|
修改
|
|
</button>
|
|
<button type="button" class="btn btn-white btn-sm" v-on:click="openDeletePrivilegeGroupModel()"
|
|
v-if="vc.hasPrivilege('502022082926310006')">
|
|
删除
|
|
</button>
|
|
</div>
|
|
<div class="vc-org margin-top">
|
|
<ul>
|
|
<li v-for="(role,index) in roleDivInfo.roles" @click="_switchRole(role)"
|
|
:class="{'active':role.pgId == roleDivInfo.curRole.pgId}">{{role.name}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<vc:create path="dev/addPrivilegeGroup"></vc:create>
|
|
<vc:create path="dev/editPrivilegeGroup"></vc:create>
|
|
<vc:create path="dev/deletePrivilegeGroup"></vc:create>
|
|
</div> |