| | |
| | | <div class="ibox "> |
| | | <div class="ibox-title"> |
| | | <h5>员工管理</h5> |
| | | <div class="ibox-tools"> |
| | | <div class="ibox-tools" style="top:10px;"> |
| | | <button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#addStaffModel">添加员工</button> |
| | | </div> |
| | | </div> |
| | |
| | | <td>{{staff.name}}</td> |
| | | <td>{{staff.email}}</td> |
| | | <td>{{staff.address}}</td> |
| | | <td>{{staff.sex}}</td> |
| | | <td>{{staff.sex == 0 ? '男' : '女'}}</td> |
| | | <td>{{staff.tel}}</td> |
| | | <td>{{staff.statusCd}}</td> |
| | | <td>{{staff.createTime}}</td> |
| | | <td>{{staff.statusCd == 0 ? '在用':'停用'}}</td> |
| | | <td>{{vc.dateFormat(staff.createTime)}}</td> |
| | | <td> |
| | | <i class="glyphicon glyphicon-edit" style="color: #17a2b8;"></i> |
| | | <i v-if="staff.relCd != 600311000001" class="glyphicon glyphicon-remove-sign" style="color: #dc3545;margin-left:5px"></i> |
| | | <i class="glyphicon glyphicon-edit" style="color: #17a2b8;" v-on:click="openEditStaff(staff)"></i> |
| | | <i v-if="staff.relCd != 600311000001" class="glyphicon glyphicon-remove-sign" |
| | | style="color: #dc3545;margin-left:5px" |
| | | v-on:click="openDeleteStaff(staff)"></i> |
| | | </td> |
| | | </tr> |
| | | </tbody> |