25 lines
1.3 KiB
HTML
25 lines
1.3 KiB
HTML
<div class="bg-white margin-top-xs padding border-radius">
|
|
<div class=" ">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddDataPrivilegeModal()">
|
|
<i class="fa fa-plus"></i><vc:i18n name="添加" namespace="dataPrivilegeDiv"></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openEditDataPrivilegeModel()">
|
|
<i class="fa fa-edit"></i><vc:i18n name="修改" namespace="dataPrivilegeDiv"></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openDeleteDataPrivilegeModel()">
|
|
<i class="fa fa-close"></i><vc:i18n name="删除" namespace="dataPrivilegeDiv"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
<div class="vc-org margin-top">
|
|
<ul>
|
|
<li v-for="(dataPrivilege,index) in dataPrivilegeDivInfo.dataPrivileges"
|
|
@click="_switchDataPrivilege(dataPrivilege)"
|
|
:class="{'active':dataPrivilege.dpId == dataPrivilegeDivInfo.curDataPrivilege.dpId}">
|
|
{{dataPrivilege.name}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<vc:create path="property/addDataPrivilege" callBackListener="" callBackFunction=""></vc:create>
|
|
<vc:create path="property/editDataPrivilege"></vc:create>
|
|
<vc:create path="property/deleteDataPrivilege"></vc:create>
|
|
</div> |