mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
a6090875aa
commit
b3b308b7c9
@ -2,20 +2,28 @@
|
|||||||
<div class="text-left">
|
<div class="text-left">
|
||||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddRoleCommunityModal()">
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddRoleCommunityModal()">
|
||||||
<i class="fa fa-plus"></i>
|
<i class="fa fa-plus"></i>
|
||||||
<span><vc:i18n name="关联小区"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="关联小区"></vc:i18n>
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<table class="footable table table-stripped toggle-arrow-tiny margin-top" data-page-size="15">
|
<table class="footable table table-stripped toggle-arrow-tiny margin-top" data-page-size="15">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="小区编号" namespace="roleCommunity"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="小区编号" namespace="roleCommunity"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="小区名称" namespace="roleCommunity"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="小区名称" namespace="roleCommunity"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="操作" namespace="roleCommunity"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="操作" namespace="roleCommunity"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -26,19 +34,12 @@
|
|||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn-white btn btn-xs" v-on:click="_openDeleteRoleCommunityModel(roleCommunity)">
|
<button class="btn-white btn btn-xs" v-on:click="_openDeleteRoleCommunityModel(roleCommunity)">
|
||||||
<span><vc:i18n name="删除"></vc:i18n></span>
|
<vc:i18n name="删除"></vc:i18n>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<td colspan="7">
|
|
||||||
<ul class="pagination float-right"></ul>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
</table>
|
</table>
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
<!-- <vc:create path="frame/pagination"></vc:create> -->
|
<!-- <vc:create path="frame/pagination"></vc:create> -->
|
||||||
|
|||||||
@ -9,11 +9,15 @@
|
|||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRoleStaffMethod()">
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRoleStaffMethod()">
|
||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
<span><vc:i18n name="查询" namespace="room"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="查询" namespace="room"></vc:i18n>
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddRoleStaffModal()">
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddRoleStaffModal()">
|
||||||
<i class="fa fa-plus"></i>
|
<i class="fa fa-plus"></i>
|
||||||
<span><vc:i18n name="关联员工"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="关联员工"></vc:i18n>
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -22,22 +26,34 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="名称" namespace="staff"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="名称" namespace="staff"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="手机号" namespace="staff"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="手机号" namespace="staff"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="邮箱" namespace="staff"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="邮箱" namespace="staff"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="地址" namespace="staff"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="地址" namespace="staff"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="性别" namespace="staff"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="性别" namespace="staff"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<span><vc:i18n name="操作" namespace="staff"></vc:i18n></span>
|
<span>
|
||||||
|
<vc:i18n name="操作" namespace="staff"></vc:i18n>
|
||||||
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -50,26 +66,19 @@
|
|||||||
<td class="text-center">{{staff.sex == 0 ? '男' : '女'}}</td>
|
<td class="text-center">{{staff.sex == 0 ? '男' : '女'}}</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn-white btn btn-xs" v-on:click="_openDeleteRoleStaffModel(staff)"
|
<!-- v-if="vc.hasPrivilege('502022082920040010','502023011946550001')"-->
|
||||||
v-if="vc.hasPrivilege('502022082920040010','502023011946550001')">
|
<button class="btn-white btn btn-xs" v-on:click="_openDeleteRoleStaffModel(staff)">
|
||||||
<span><vc:i18n name="删除"></vc:i18n></span>
|
<vc:i18n name="删除"></vc:i18n>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn-white btn btn-xs" v-on:click="_toStaffDetail(staff)">
|
<button class="btn-white btn btn-xs" v-on:click="_toStaffDetail(staff)">
|
||||||
<span><vc:i18n name="详情"></vc:i18n></span>
|
<vc:i18n name="详情"></vc:i18n>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<td colspan="7">
|
|
||||||
<ul class="pagination float-right"></ul>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
</table>
|
</table>
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
<!-- <vc:create path="frame/pagination"></vc:create> -->
|
<!-- <vc:create path="frame/pagination"></vc:create> -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user