<div id = "searchStaffModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="searchStaffModelLabel" aria-hidden="true" >
|
<div class="modal-dialog modal-lg">
|
<div class="modal-content">
|
<div class="modal-header">
|
<h3 class="modal-title" id="searchStaffModelLabel">定位员工</h3>
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
<span aria-hidden="true">×</span>
|
</button>
|
</div>
|
<div class="modal-body">
|
<div class=" row">
|
<div class="col-lg-12">
|
<div class="ibox ">
|
<div class="row">
|
|
<div class="col-sm-7 m-b-xs">
|
|
</div>
|
<div class="col-sm-5">
|
<div class="input-group">
|
<input placeholder="输入员工名称" type="text" v-model="searchStaffInfo._currentStaffName" class="form-control form-control-sm">
|
<span class="input-group-append">
|
<button type="button" class="btn btn-sm btn-primary" v-on:click="searchStaffs()">查询</button>
|
</span>
|
</div>
|
</div>
|
</div>
|
<div class="table-responsive" style="margin-top:15px">
|
<table class="table table-striped">
|
<thead>
|
<tr>
|
<th>员工编码</th>
|
<th>员工名称</th>
|
<th>手机号</th>
|
<th>性别</th>
|
<th>创建时间</th>
|
<th>操作</th>
|
</tr>
|
</thead>
|
<tbody>
|
<tr v-for="staff in searchStaffInfo.staffs">
|
<td>{{staff.userId}}</td>
|
<td>{{staff.name}}</td>
|
<td>{{staff.tel}}</td>
|
<td>{{staff.sex == 0 ? '男' : (staff.sex == 1 ?'女':'')}}</td>
|
<td>{{vc.dateFormat(staff.createTime)}}</td>
|
<td>
|
<button class="btn btn-primary btn-xs" v-on:click="chooseStaff(staff)">选择</button>
|
</td>
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|