Commit fb6abc6996e641ce9f4191c27de7fa73827ce27f
1 parent
463504e7
1.临港分支恢复人车的编辑功能
Showing
4 changed files
with
532 additions
and
515 deletions
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/index.html
| 1 | -<div class="page-head"> | |
| 2 | - <div class="page-title"> | |
| 3 | - <h1>车辆信息管理</h1> | |
| 4 | - </div> | |
| 5 | -</div> | |
| 6 | - | |
| 7 | -<ul class="page-breadcrumb breadcrumb"> | |
| 8 | - <li> | |
| 9 | - <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | - <i class="fa fa-circle"></i> | |
| 11 | - </li> | |
| 12 | - <li> | |
| 13 | - <span class="active">基础信息</span> | |
| 14 | - <i class="fa fa-circle"></i> | |
| 15 | - </li> | |
| 16 | - <li> | |
| 17 | - <span class="active">车辆信息管理</span> | |
| 18 | - </li> | |
| 19 | -</ul> | |
| 20 | - | |
| 21 | -<div class="row"> | |
| 22 | - <div class="col-md-12" ng-controller="BusInfoManageCtrl as ctrl"> | |
| 23 | - <style> | |
| 24 | - .dropdown-menu { | |
| 25 | - border-color: #32c5d2; | |
| 26 | - } | |
| 27 | - .btn-group > .dropdown-menu:before { | |
| 28 | - border-bottom-color: #32c5d2; | |
| 29 | - } | |
| 30 | - </style> | |
| 31 | - | |
| 32 | - <div class="portlet light bordered"> | |
| 33 | - <div class="portlet-title"> | |
| 34 | - <div class="caption font-dark"> | |
| 35 | - <i class="fa fa-database font-dark"></i> | |
| 36 | - <span class="caption-subject bold uppercase">车辆信息表</span> | |
| 37 | - </div> | |
| 38 | - <div class="actions"> | |
| 39 | - <!--<a href="javascript:" class="btn blue" ng-click="ctrl.goForm()">--> | |
| 40 | - <!--<i class="fa fa-plus"></i>--> | |
| 41 | - <!--添加车辆信息--> | |
| 42 | - <!--</a>--> | |
| 43 | - | |
| 44 | - <div class="btn-group"> | |
| 45 | - <a href="javascript:" class="btn red btn-outline" data-toggle="dropdown"> | |
| 46 | - <i class="fa fa-share"></i> | |
| 47 | - <span>数据工具</span> | |
| 48 | - <i class="fa fa-angle-down"></i> | |
| 49 | - </a> | |
| 50 | - <ul class="dropdown-menu pull-right"> | |
| 51 | - <!--<li>--> | |
| 52 | - <!--<a href="javascript:" class="tool-action" ng-click="ctrl.importData()">--> | |
| 53 | - <!--<i class="fa fa-file-excel-o"></i>--> | |
| 54 | - <!--导入excel--> | |
| 55 | - <!--</a>--> | |
| 56 | - <!--</li>--> | |
| 57 | - <li> | |
| 58 | - <a href="javascript:" class="tool-action" ng-click="ctrl.exportData()"> | |
| 59 | - <i class="fa fa-file-excel-o"></i> | |
| 60 | - 导出excel | |
| 61 | - </a> | |
| 62 | - </li> | |
| 63 | - <!--<li class="divider"></li>--> | |
| 64 | - <!--<li>--> | |
| 65 | - <!--<a href="javascript:" class="tool-action">--> | |
| 66 | - <!--<i class="fa fa-download"></i>--> | |
| 67 | - <!--excel模版--> | |
| 68 | - <!--</a>--> | |
| 69 | - <!--</li>--> | |
| 70 | - </ul> | |
| 71 | - </div> | |
| 72 | - </div> | |
| 73 | - </div> | |
| 74 | - | |
| 75 | - <div class="portlet-body"> | |
| 76 | - <div ui-view="busInfoManage_list"></div> | |
| 77 | - </div> | |
| 78 | - </div> | |
| 79 | - </div> | |
| 80 | -</div> | |
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>车辆信息管理</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">基础信息</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">车辆信息管理</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="BusInfoManageCtrl as ctrl"> | |
| 23 | + <style> | |
| 24 | + .dropdown-menu { | |
| 25 | + border-color: #32c5d2; | |
| 26 | + } | |
| 27 | + .btn-group > .dropdown-menu:before { | |
| 28 | + border-bottom-color: #32c5d2; | |
| 29 | + } | |
| 30 | + </style> | |
| 31 | + | |
| 32 | + <div class="portlet light bordered"> | |
| 33 | + <div class="portlet-title"> | |
| 34 | + <div class="caption font-dark"> | |
| 35 | + <i class="fa fa-database font-dark"></i> | |
| 36 | + <span class="caption-subject bold uppercase">车辆信息表</span> | |
| 37 | + </div> | |
| 38 | + <div class="actions"> | |
| 39 | + <a href="javascript:" class="btn blue" ng-click="ctrl.goForm()"> | |
| 40 | + <i class="fa fa-plus"></i> | |
| 41 | + 添加车辆信息 | |
| 42 | + </a> | |
| 43 | + | |
| 44 | + <div class="btn-group"> | |
| 45 | + <a href="javascript:" class="btn red btn-outline" data-toggle="dropdown"> | |
| 46 | + <i class="fa fa-share"></i> | |
| 47 | + <span>数据工具</span> | |
| 48 | + <i class="fa fa-angle-down"></i> | |
| 49 | + </a> | |
| 50 | + <ul class="dropdown-menu pull-right"> | |
| 51 | + <li> | |
| 52 | + <a href="javascript:" class="tool-action" ng-click="ctrl.importData()"> | |
| 53 | + <i class="fa fa-file-excel-o"></i> | |
| 54 | + 导入excel | |
| 55 | + </a> | |
| 56 | + </li> | |
| 57 | + <li> | |
| 58 | + <a href="javascript:" class="tool-action" ng-click="ctrl.exportData()"> | |
| 59 | + <i class="fa fa-file-excel-o"></i> | |
| 60 | + 导出excel | |
| 61 | + </a> | |
| 62 | + </li> | |
| 63 | + <!--<li class="divider"></li>--> | |
| 64 | + <!--<li>--> | |
| 65 | + <!--<a href="javascript:" class="tool-action">--> | |
| 66 | + <!--<i class="fa fa-download"></i>--> | |
| 67 | + <!--excel模版--> | |
| 68 | + <!--</a>--> | |
| 69 | + <!--</li>--> | |
| 70 | + </ul> | |
| 71 | + </div> | |
| 72 | + </div> | |
| 73 | + </div> | |
| 74 | + | |
| 75 | + <div class="portlet-body"> | |
| 76 | + <div ui-view="busInfoManage_list"></div> | |
| 77 | + </div> | |
| 78 | + </div> | |
| 79 | + </div> | |
| 80 | +</div> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/list.html
| 1 | -<!-- ui-route busInfoManage.list --> | |
| 2 | -<div ng-controller="BusInfoManageListCtrl as ctrl"> | |
| 3 | - <div class="fixDiv"> | |
| 4 | - <table class="table fixTable table-striped table-bordered table-hover table-checkable order-column"> | |
| 5 | - <thead> | |
| 6 | - <tr role="row" class="heading"> | |
| 7 | - <th style="width:70px;">序号</th> | |
| 8 | - <th style="width: 120px;">车辆编号</th> | |
| 9 | - <th style="width: 120px;">内部编号</th> | |
| 10 | - <th style="width: 120px;">设备编号</th> | |
| 11 | - <th style="width: 120px;">车牌号</th> | |
| 12 | - <th >所在公司</th> | |
| 13 | - <th >所在分公司</th> | |
| 14 | - <th style="width: 60px">电车</th> | |
| 15 | - <th style="width: 80px;" >状态</th> | |
| 16 | - <th >操作</th> | |
| 17 | - </tr> | |
| 18 | - <tr role="row" class="filter"> | |
| 19 | - <td></td> | |
| 20 | - <td> | |
| 21 | - <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().carCode_like" placeholder="输入车辆编号..."/> | |
| 22 | - </td> | |
| 23 | - <td> | |
| 24 | - <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().insideCode_like" placeholder="输入内部编号..."/> | |
| 25 | - </td> | |
| 26 | - <td> | |
| 27 | - <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().equipmentCode_like" placeholder="输入设备编号..."/> | |
| 28 | - </td> | |
| 29 | - <td> | |
| 30 | - <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().carPlate_like" placeholder="输入车牌号..."/> | |
| 31 | - </td> | |
| 32 | - <td> | |
| 33 | - <sa-Select5 name="gs" | |
| 34 | - model="ctrl.searchCondition()" | |
| 35 | - cmaps="{'businessCode_eq': 'businessCode'}" | |
| 36 | - dcname="businessCode_eq" | |
| 37 | - icname="businessCode" | |
| 38 | - dsparams="{{ {type: 'ajax', param:{'upCode_eq': '88' }, atype:'gs' } | json }}" | |
| 39 | - iterobjname="item" | |
| 40 | - iterobjexp="item.businessName" | |
| 41 | - searchph="请输拼音..." | |
| 42 | - searchexp="this.businessName" | |
| 43 | - required | |
| 44 | - > | |
| 45 | - </sa-Select5> | |
| 46 | - </td> | |
| 47 | - <td> | |
| 48 | - <sa-Select5 name="fgs" | |
| 49 | - model="ctrl.searchCondition()" | |
| 50 | - cmaps="{'brancheCompanyCode_eq': 'businessCode'}" | |
| 51 | - dcname="brancheCompanyCode_eq" | |
| 52 | - icname="businessCode" | |
| 53 | - dsparams="{{ {type: 'ajax', param:{'upCode_eq': ctrl.searchCondition().businessCode_eq }, atype:'gs' } | json }}" | |
| 54 | - iterobjname="item" | |
| 55 | - iterobjexp="item.businessName" | |
| 56 | - searchph="请输拼音..." | |
| 57 | - searchexp="this.businessName" | |
| 58 | - required | |
| 59 | - > | |
| 60 | - </sa-Select5> | |
| 61 | - </td> | |
| 62 | - <td> | |
| 63 | - | |
| 64 | - </td> | |
| 65 | - <td> | |
| 66 | - <label class="checkbox-inline input"> | |
| 67 | - <input type="checkbox" ng-model="ctrl.searchCondition()['scrapState_eq']" />报废 | |
| 68 | - </label> | |
| 69 | - </td> | |
| 70 | - <td> | |
| 71 | - <div class="btn-group"> | |
| 72 | - <button class="btn btn-sm green btn-outline filter-submit margin-bottom" style="margin-right: 0;" | |
| 73 | - ng-click="ctrl.doPage()"> | |
| 74 | - <i class="fa fa-search"></i> 搜索</button> | |
| 75 | - <button class="btn btn-sm green btn-outline filter-submit margin-bottom dropdown-toggle" | |
| 76 | - data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
| 77 | - <span class="caret"></span> | |
| 78 | - <span class="sr-only">dropdown</span> | |
| 79 | - </button> | |
| 80 | - <ul class="dropdown-menu pull-right"> | |
| 81 | - <li> | |
| 82 | - <a href="javascript:" class="tool-action" ng-click="ctrl.customOrder()"> | |
| 83 | - <i class="fa fa-sort-amount-asc" aria-hidden="true"></i> | |
| 84 | - 排序选项 | |
| 85 | - </a> | |
| 86 | - </li> | |
| 87 | - </ul> | |
| 88 | - </div> | |
| 89 | - | |
| 90 | - <button class="btn btn-sm red btn-outline filter-cancel" | |
| 91 | - ng-click="ctrl.reset()"> | |
| 92 | - <i class="fa fa-times"></i> 重置</button> | |
| 93 | - </td> | |
| 94 | - | |
| 95 | - </tr> | |
| 96 | - </thead> | |
| 97 | - <tbody> | |
| 98 | - <tr ng-repeat="info in ctrl.page()['content']" class="odd gradeX"> | |
| 99 | - <td> | |
| 100 | - <div> | |
| 101 | - <a href="#" | |
| 102 | - tooltip-animation="false" | |
| 103 | - tooltip-placement="top" | |
| 104 | - uib-tooltip="{{'公司/编号:' + info.company + '/' + info.insideCode}}" | |
| 105 | - tooltip-class="headClass"> | |
| 106 | - | |
| 107 | - <i class="fa fa-list-ol" aria-hidden="true"></i> | |
| 108 | - {{$index + ctrl.page().number * 10 + 1}} | |
| 109 | - </a> | |
| 110 | - </div> | |
| 111 | - </td> | |
| 112 | - <td> | |
| 113 | - <span ng-bind="info.carCode"></span> | |
| 114 | - </td> | |
| 115 | - <td> | |
| 116 | - <span ng-bind="info.insideCode"></span> | |
| 117 | - </td> | |
| 118 | - <td> | |
| 119 | - <span ng-bind="info.equipmentCode"></span> | |
| 120 | - </td> | |
| 121 | - <td> | |
| 122 | - <span ng-bind="info.carPlate"></span> | |
| 123 | - </td> | |
| 124 | - <td> | |
| 125 | - <span ng-bind="info.company"></span> | |
| 126 | - </td> | |
| 127 | - <td> | |
| 128 | - <span ng-bind="info.brancheCompany"></span> | |
| 129 | - </td> | |
| 130 | - <td> | |
| 131 | - <span ng-bind="info.sfdc | dict:'truefalseType':'未知' "></span> | |
| 132 | - </td> | |
| 133 | - <td> | |
| 134 | - <span ng-bind="info.scrapState | dict:'truefalseType':'未知' "></span> | |
| 135 | - </td> | |
| 136 | - <td> | |
| 137 | - <!--<a href="details.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 详细 </a>--> | |
| 138 | - <!--<a href="edit.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 修改 </a>--> | |
| 139 | - <a ui-sref="busInfoManage_detail({id: info.id})" class="btn btn-info btn-sm"> 详细 </a> | |
| 140 | - <!--<a ui-sref="busInfoManage_edit({id: info.id})" class="btn btn-info btn-sm"> 修改 </a>--> | |
| 141 | - <!--<a sweetalert--> | |
| 142 | - <!--sweet-options="{title: '是否删除车辆信息?',text: '内部编码:' + info.insideCode + '</br>如果有车辆配置信息关联,会报错,建议不要随便删除!', html: true,type: 'warning',showCancelButton: true,confirmButtonColor: '#DD6B55',confirmButtonText: '是',cancelButtonText: '取消'}"--> | |
| 143 | - <!--sweet-on-confirm="ctrl.deleteCar(info.id)"--> | |
| 144 | - <!--class="btn btn-danger btn-sm">删除</a>--> | |
| 145 | - </td> | |
| 146 | - </tr> | |
| 147 | - </tbody> | |
| 148 | - </table> | |
| 149 | - </div> | |
| 150 | - | |
| 151 | - <div class="pageBar"> | |
| 152 | - <div class="pageBarLeft"> | |
| 153 | - {{'显示从' + ctrl.page()['uiFromRecord'] + '到' + ctrl.page()['uiToRecord'] + ' 共' + ctrl.page()['totalElements'] + '条' + ' 每页显示10条'}} | |
| 154 | - </div> | |
| 155 | - | |
| 156 | - <div class="pageBarRight"> | |
| 157 | - <uib-pagination total-items="ctrl.page()['totalElements']" | |
| 158 | - ng-model="ctrl.page()['uiNumber']" | |
| 159 | - ng-change="ctrl.doPage()" | |
| 160 | - rotate="false" | |
| 161 | - max-size="10" | |
| 162 | - boundary-links="true" | |
| 163 | - first-text="首页" | |
| 164 | - previous-text="上一页" | |
| 165 | - next-text="下一页" | |
| 166 | - last-text="尾页"> | |
| 167 | - </uib-pagination> | |
| 168 | - </div> | |
| 169 | - </div> | |
| 170 | - | |
| 171 | -</div> | |
| 1 | +<!-- ui-route busInfoManage.list --> | |
| 2 | +<div ng-controller="BusInfoManageListCtrl as ctrl"> | |
| 3 | + <div class="fixDiv"> | |
| 4 | + <table class="table fixTable table-striped table-bordered table-hover table-checkable order-column"> | |
| 5 | + <thead> | |
| 6 | + <tr role="row" class="heading"> | |
| 7 | + <th style="width:70px;">序号</th> | |
| 8 | + <th style="width: 120px;">车辆编号</th> | |
| 9 | + <th style="width: 120px;">内部编号</th> | |
| 10 | + <th style="width: 120px;">设备编号</th> | |
| 11 | + <th style="width: 120px;">车牌号</th> | |
| 12 | + <th >所在公司</th> | |
| 13 | + <th >所在分公司</th> | |
| 14 | + <th style="width: 60px">电车</th> | |
| 15 | + <th style="width: 80px;" >状态</th> | |
| 16 | + <th >操作</th> | |
| 17 | + </tr> | |
| 18 | + <tr role="row" class="filter"> | |
| 19 | + <td></td> | |
| 20 | + <td> | |
| 21 | + <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().carCode_like" placeholder="输入车辆编号..."/> | |
| 22 | + </td> | |
| 23 | + <td> | |
| 24 | + <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().insideCode_like" placeholder="输入内部编号..."/> | |
| 25 | + </td> | |
| 26 | + <td> | |
| 27 | + <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().equipmentCode_like" placeholder="输入设备编号..."/> | |
| 28 | + </td> | |
| 29 | + <td> | |
| 30 | + <input type="text" class="form-control form-filter input-sm" ng-model="ctrl.searchCondition().carPlate_like" placeholder="输入车牌号..."/> | |
| 31 | + </td> | |
| 32 | + <td> | |
| 33 | + <sa-Select5 name="gs" | |
| 34 | + model="ctrl.searchCondition()" | |
| 35 | + cmaps="{'businessCode_eq': 'businessCode'}" | |
| 36 | + dcname="businessCode_eq" | |
| 37 | + icname="businessCode" | |
| 38 | + dsparams="{{ {type: 'ajax', param:{'upCode_eq': '88' }, atype:'gs' } | json }}" | |
| 39 | + iterobjname="item" | |
| 40 | + iterobjexp="item.businessName" | |
| 41 | + searchph="请输拼音..." | |
| 42 | + searchexp="this.businessName" | |
| 43 | + required | |
| 44 | + > | |
| 45 | + </sa-Select5> | |
| 46 | + </td> | |
| 47 | + <td> | |
| 48 | + <sa-Select5 name="fgs" | |
| 49 | + model="ctrl.searchCondition()" | |
| 50 | + cmaps="{'brancheCompanyCode_eq': 'businessCode'}" | |
| 51 | + dcname="brancheCompanyCode_eq" | |
| 52 | + icname="businessCode" | |
| 53 | + dsparams="{{ {type: 'ajax', param:{'upCode_eq': ctrl.searchCondition().businessCode_eq }, atype:'gs' } | json }}" | |
| 54 | + iterobjname="item" | |
| 55 | + iterobjexp="item.businessName" | |
| 56 | + searchph="请输拼音..." | |
| 57 | + searchexp="this.businessName" | |
| 58 | + required | |
| 59 | + > | |
| 60 | + </sa-Select5> | |
| 61 | + </td> | |
| 62 | + <td> | |
| 63 | + | |
| 64 | + </td> | |
| 65 | + <td> | |
| 66 | + <label class="checkbox-inline input"> | |
| 67 | + <input type="checkbox" ng-model="ctrl.searchCondition()['scrapState_eq']" />报废 | |
| 68 | + </label> | |
| 69 | + </td> | |
| 70 | + <td> | |
| 71 | + <div class="btn-group"> | |
| 72 | + <button class="btn btn-sm green btn-outline filter-submit margin-bottom" style="margin-right: 0;" | |
| 73 | + ng-click="ctrl.doPage()"> | |
| 74 | + <i class="fa fa-search"></i> 搜索</button> | |
| 75 | + <button class="btn btn-sm green btn-outline filter-submit margin-bottom dropdown-toggle" | |
| 76 | + data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
| 77 | + <span class="caret"></span> | |
| 78 | + <span class="sr-only">dropdown</span> | |
| 79 | + </button> | |
| 80 | + <ul class="dropdown-menu pull-right"> | |
| 81 | + <li> | |
| 82 | + <a href="javascript:" class="tool-action" ng-click="ctrl.customOrder()"> | |
| 83 | + <i class="fa fa-sort-amount-asc" aria-hidden="true"></i> | |
| 84 | + 排序选项 | |
| 85 | + </a> | |
| 86 | + </li> | |
| 87 | + </ul> | |
| 88 | + </div> | |
| 89 | + | |
| 90 | + <button class="btn btn-sm red btn-outline filter-cancel" | |
| 91 | + ng-click="ctrl.reset()"> | |
| 92 | + <i class="fa fa-times"></i> 重置</button> | |
| 93 | + </td> | |
| 94 | + | |
| 95 | + </tr> | |
| 96 | + </thead> | |
| 97 | + <tbody> | |
| 98 | + <tr ng-repeat="info in ctrl.page()['content']" class="odd gradeX"> | |
| 99 | + <td> | |
| 100 | + <div> | |
| 101 | + <a href="#" | |
| 102 | + tooltip-animation="false" | |
| 103 | + tooltip-placement="top" | |
| 104 | + uib-tooltip="{{'公司/编号:' + info.company + '/' + info.insideCode}}" | |
| 105 | + tooltip-class="headClass"> | |
| 106 | + | |
| 107 | + <i class="fa fa-list-ol" aria-hidden="true"></i> | |
| 108 | + {{$index + ctrl.page().number * 10 + 1}} | |
| 109 | + </a> | |
| 110 | + </div> | |
| 111 | + </td> | |
| 112 | + <td> | |
| 113 | + <span ng-bind="info.carCode"></span> | |
| 114 | + </td> | |
| 115 | + <td> | |
| 116 | + <span ng-bind="info.insideCode"></span> | |
| 117 | + </td> | |
| 118 | + <td> | |
| 119 | + <span ng-bind="info.equipmentCode"></span> | |
| 120 | + </td> | |
| 121 | + <td> | |
| 122 | + <span ng-bind="info.carPlate"></span> | |
| 123 | + </td> | |
| 124 | + <td> | |
| 125 | + <span ng-bind="info.company"></span> | |
| 126 | + </td> | |
| 127 | + <td> | |
| 128 | + <span ng-bind="info.brancheCompany"></span> | |
| 129 | + </td> | |
| 130 | + <td> | |
| 131 | + <span ng-bind="info.sfdc | dict:'truefalseType':'未知' "></span> | |
| 132 | + </td> | |
| 133 | + <td> | |
| 134 | + <span ng-bind="info.scrapState | dict:'truefalseType':'未知' "></span> | |
| 135 | + </td> | |
| 136 | + <td> | |
| 137 | + <!--<a href="details.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 详细 </a>--> | |
| 138 | + <!--<a href="edit.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 修改 </a>--> | |
| 139 | + <a ui-sref="busInfoManage_detail({id: info.id})" class="btn btn-info btn-sm"> 详细 </a> | |
| 140 | + <a ui-sref="busInfoManage_edit({id: info.id})" class="btn btn-info btn-sm"> 修改 </a> | |
| 141 | + <a sweetalert | |
| 142 | + sweet-options="{title: '是否删除车辆信息?',text: '内部编码:' + info.insideCode + '</br>如果有车辆配置信息关联,会报错,建议不要随便删除!', html: true,type: 'warning',showCancelButton: true,confirmButtonColor: '#DD6B55',confirmButtonText: '是',cancelButtonText: '取消'}" | |
| 143 | + sweet-on-confirm="ctrl.deleteCar(info.id)" | |
| 144 | + class="btn btn-danger btn-sm">删除</a> | |
| 145 | + </td> | |
| 146 | + </tr> | |
| 147 | + </tbody> | |
| 148 | + </table> | |
| 149 | + </div> | |
| 150 | + | |
| 151 | + <div class="pageBar"> | |
| 152 | + <div class="pageBarLeft"> | |
| 153 | + {{'显示从' + ctrl.page()['uiFromRecord'] + '到' + ctrl.page()['uiToRecord'] + ' 共' + ctrl.page()['totalElements'] + '条' + ' 每页显示10条'}} | |
| 154 | + </div> | |
| 155 | + | |
| 156 | + <div class="pageBarRight"> | |
| 157 | + <uib-pagination total-items="ctrl.page()['totalElements']" | |
| 158 | + ng-model="ctrl.page()['uiNumber']" | |
| 159 | + ng-change="ctrl.doPage()" | |
| 160 | + rotate="false" | |
| 161 | + max-size="10" | |
| 162 | + boundary-links="true" | |
| 163 | + first-text="首页" | |
| 164 | + previous-text="上一页" | |
| 165 | + next-text="下一页" | |
| 166 | + last-text="尾页"> | |
| 167 | + </uib-pagination> | |
| 168 | + </div> | |
| 169 | + </div> | |
| 170 | + | |
| 171 | +</div> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/index.html
| 1 | -<div class="page-head"> | |
| 2 | - <div class="page-title"> | |
| 3 | - <h1>人员信息管理</h1> | |
| 4 | - </div> | |
| 5 | -</div> | |
| 6 | - | |
| 7 | -<ul class="page-breadcrumb breadcrumb"> | |
| 8 | - <li> | |
| 9 | - <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | - <i class="fa fa-circle"></i> | |
| 11 | - </li> | |
| 12 | - <li> | |
| 13 | - <span class="active">基础信息</span> | |
| 14 | - <i class="fa fa-circle"></i> | |
| 15 | - </li> | |
| 16 | - <li> | |
| 17 | - <span class="active">人员信息管理</span> | |
| 18 | - </li> | |
| 19 | -</ul> | |
| 20 | - | |
| 21 | -<div class="row"> | |
| 22 | - <div class="col-md-12" ng-controller="EmployeeInfoManageCtrl as ctrl"> | |
| 23 | - <style> | |
| 24 | - .dropdown-menu { | |
| 25 | - border-color: #32c5d2; | |
| 26 | - } | |
| 27 | - .btn-group > .dropdown-menu:before { | |
| 28 | - border-bottom-color: #32c5d2; | |
| 29 | - } | |
| 30 | - </style> | |
| 31 | - | |
| 32 | - <div class="portlet light bordered"> | |
| 33 | - <div class="portlet-title"> | |
| 34 | - <div class="caption font-dark"> | |
| 35 | - <i class="fa fa-database font-dark"></i> | |
| 36 | - <span class="caption-subject bold uppercase">人员信息表</span> | |
| 37 | - </div> | |
| 38 | - <div class="actions"> | |
| 39 | - <div class="btn-group"> | |
| 40 | - <a href="javascript:" class="btn red btn-outline" data-toggle="dropdown"> | |
| 41 | - <i class="fa fa-share"></i> | |
| 42 | - <span>数据工具</span> | |
| 43 | - <i class="fa fa-angle-down"></i> | |
| 44 | - </a> | |
| 45 | - <ul class="dropdown-menu pull-right"> | |
| 46 | - <li> | |
| 47 | - <a href="javascript:" class="tool-action" ng-click="ctrl.exportData()"> | |
| 48 | - <i class="fa fa-file-excel-o"></i> | |
| 49 | - 导出excel | |
| 50 | - </a> | |
| 51 | - </li> | |
| 52 | - <!--<li class="divider"></li>--> | |
| 53 | - <!--<li>--> | |
| 54 | - <!--<a href="javascript:" class="tool-action">--> | |
| 55 | - <!--<i class="fa fa-download"></i>--> | |
| 56 | - <!--excel模版--> | |
| 57 | - <!--</a>--> | |
| 58 | - <!--</li>--> | |
| 59 | - </ul> | |
| 60 | - </div> | |
| 61 | - </div> | |
| 62 | - </div> | |
| 63 | - | |
| 64 | - <div class="portlet-body"> | |
| 65 | - <div ui-view="employeeInfoManage_list"></div> | |
| 66 | - </div> | |
| 67 | - </div> | |
| 68 | - </div> | |
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>人员信息管理</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">基础信息</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">人员信息管理</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="EmployeeInfoManageCtrl as ctrl"> | |
| 23 | + <style> | |
| 24 | + .dropdown-menu { | |
| 25 | + border-color: #32c5d2; | |
| 26 | + } | |
| 27 | + .btn-group > .dropdown-menu:before { | |
| 28 | + border-bottom-color: #32c5d2; | |
| 29 | + } | |
| 30 | + </style> | |
| 31 | + | |
| 32 | + <div class="portlet light bordered"> | |
| 33 | + <div class="portlet-title"> | |
| 34 | + <div class="caption font-dark"> | |
| 35 | + <i class="fa fa-database font-dark"></i> | |
| 36 | + <span class="caption-subject bold uppercase">人员信息表</span> | |
| 37 | + </div> | |
| 38 | + <div class="actions"> | |
| 39 | + <a href="javascript:" class="btn blue" ng-click="ctrl.goForm()"> | |
| 40 | + <i class="fa fa-plus"></i> | |
| 41 | + 添加人员信息 | |
| 42 | + </a> | |
| 43 | + | |
| 44 | + <div class="btn-group"> | |
| 45 | + <a href="javascript:" class="btn red btn-outline" data-toggle="dropdown"> | |
| 46 | + <i class="fa fa-share"></i> | |
| 47 | + <span>数据工具</span> | |
| 48 | + <i class="fa fa-angle-down"></i> | |
| 49 | + </a> | |
| 50 | + <ul class="dropdown-menu pull-right"> | |
| 51 | + <li> | |
| 52 | + <a href="javascript:" class="tool-action" ng-click="ctrl.importData()"> | |
| 53 | + <i class="fa fa-file-excel-o"></i> | |
| 54 | + 导入excel | |
| 55 | + </a> | |
| 56 | + </li> | |
| 57 | + <li> | |
| 58 | + <a href="javascript:" class="tool-action" ng-click="ctrl.exportData()"> | |
| 59 | + <i class="fa fa-file-excel-o"></i> | |
| 60 | + 导出excel | |
| 61 | + </a> | |
| 62 | + </li> | |
| 63 | + <!--<li class="divider"></li>--> | |
| 64 | + <!--<li>--> | |
| 65 | + <!--<a href="javascript:" class="tool-action">--> | |
| 66 | + <!--<i class="fa fa-download"></i>--> | |
| 67 | + <!--excel模版--> | |
| 68 | + <!--</a>--> | |
| 69 | + <!--</li>--> | |
| 70 | + </ul> | |
| 71 | + </div> | |
| 72 | + </div> | |
| 73 | + </div> | |
| 74 | + | |
| 75 | + <div class="portlet-body"> | |
| 76 | + <div ui-view="employeeInfoManage_list"></div> | |
| 77 | + </div> | |
| 78 | + </div> | |
| 79 | + </div> | |
| 69 | 80 | </div> |
| 70 | 81 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/list.html
| 1 | -<!-- ui-route employeeInfoManage.list --> | |
| 2 | -<div ng-controller="EmployeeInfoManageListCtrl as ctrl"> | |
| 3 | - <div class="fixDiv"> | |
| 4 | - <table class="fixTable table table-striped table-bordered table-hover table-checkable order-column"> | |
| 5 | - <thead> | |
| 6 | - <tr role="row" class="heading"> | |
| 7 | - <th style="width:70px;">序号</th> | |
| 8 | - <th style="width: 100px;">姓名</th> | |
| 9 | - <th style="width: 100px;">编号</th> | |
| 10 | - <th style="width: 100px;">工号</th> | |
| 11 | - <th style="width: 100px;">金蝶工号</th> | |
| 12 | - <th style="width: 60px;">性别</th> | |
| 13 | - <th style="width: 150px;">所在公司</th> | |
| 14 | - <th >分公司</th> | |
| 15 | - <th >工种</th> | |
| 16 | - <th style="width: 80px;">停用</th> | |
| 17 | - <th >操作</th> | |
| 18 | - </tr> | |
| 19 | - <tr role="row" class="filter"> | |
| 20 | - <td> | |
| 21 | - </td> | |
| 22 | - <td> | |
| 23 | - <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().personnelName_like" placeholder="输入姓名..."/> | |
| 24 | - </td> | |
| 25 | - <td> | |
| 26 | - <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().jobCode_like" placeholder="输入编号..."/> | |
| 27 | - </td> | |
| 28 | - <td> | |
| 29 | - <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().jobCodeori_like" placeholder="输入工号..."/> | |
| 30 | - </td> | |
| 31 | - <td> | |
| 32 | - <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().jdCodeori_like" placeholder="输入工号..."/> | |
| 33 | - </td> | |
| 34 | - <td> | |
| 35 | - </td> | |
| 36 | - <td> | |
| 37 | - <sa-Select5 name="gs" | |
| 38 | - model="ctrl.searchCondition()" | |
| 39 | - cmaps="{'companyCode_eq': 'businessCode'}" | |
| 40 | - dcname="companyCode_eq" | |
| 41 | - icname="businessCode" | |
| 42 | - dsparams="{{ {type: 'ajax', param:{'upCode_eq': '88' }, atype:'gs' } | json }}" | |
| 43 | - iterobjname="item" | |
| 44 | - iterobjexp="item.businessName" | |
| 45 | - searchph="请输拼音..." | |
| 46 | - searchexp="this.businessName" | |
| 47 | - required | |
| 48 | - > | |
| 49 | - </sa-Select5> | |
| 50 | - </td> | |
| 51 | - <td> | |
| 52 | - <sa-Select5 name="fgs" | |
| 53 | - model="ctrl.searchCondition()" | |
| 54 | - cmaps="{'brancheCompanyCode_eq': 'businessCode'}" | |
| 55 | - dcname="brancheCompanyCode_eq" | |
| 56 | - icname="businessCode" | |
| 57 | - dsparams="{{ {type: 'ajax', param:{'upCode_eq': ctrl.searchCondition().companyCode_eq }, atype:'gs' } | json }}" | |
| 58 | - iterobjname="item" | |
| 59 | - iterobjexp="item.businessName" | |
| 60 | - searchph="请输拼音..." | |
| 61 | - searchexp="this.businessName" | |
| 62 | - required | |
| 63 | - > | |
| 64 | - </sa-Select5> | |
| 65 | - </td> | |
| 66 | - <td> | |
| 67 | - <sa-Select5 name="gz" | |
| 68 | - model="ctrl.searchCondition()" | |
| 69 | - cmaps="{'posts_eq': 'code'}" | |
| 70 | - dcname="posts_eq" | |
| 71 | - icname="code" | |
| 72 | - dsparams="{{ {type: 'dic', param: 'gzType' } | json }}" | |
| 73 | - iterobjname="item" | |
| 74 | - iterobjexp="item.name" | |
| 75 | - searchph="请输拼音..." | |
| 76 | - searchexp="this.name" | |
| 77 | - > | |
| 78 | - </sa-Select5> | |
| 79 | - </td> | |
| 80 | - <td> | |
| 81 | - <label class="checkbox-inline"> | |
| 82 | - <input type="checkbox" ng-true-value="1" ng-model="ctrl.searchCondition()['destroy_eq']"/>停用 | |
| 83 | - </label> | |
| 84 | - </td> | |
| 85 | - <td> | |
| 86 | - <div class="btn-group"> | |
| 87 | - <button class="btn btn-sm green btn-outline filter-submit margin-bottom" style="margin-right: 0;" | |
| 88 | - ng-click="ctrl.doPage()"> | |
| 89 | - <i class="fa fa-search"></i> 搜索</button> | |
| 90 | - <button class="btn btn-sm green btn-outline filter-submit margin-bottom dropdown-toggle" | |
| 91 | - data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
| 92 | - <span class="caret"></span> | |
| 93 | - <span class="sr-only">dropdown</span> | |
| 94 | - </button> | |
| 95 | - <ul class="dropdown-menu pull-right"> | |
| 96 | - <li> | |
| 97 | - <a href="javascript:" class="tool-action" ng-click="ctrl.customOrder()"> | |
| 98 | - <i class="fa fa-sort-amount-asc" aria-hidden="true"></i> | |
| 99 | - 排序选项 | |
| 100 | - </a> | |
| 101 | - </li> | |
| 102 | - </ul> | |
| 103 | - </div> | |
| 104 | - | |
| 105 | - <button class="btn btn-sm red btn-outline filter-cancel" | |
| 106 | - ng-click="ctrl.reset()"> | |
| 107 | - <i class="fa fa-times"></i> 重置</button> | |
| 108 | - | |
| 109 | - </td> | |
| 110 | - | |
| 111 | - </tr> | |
| 112 | - </thead> | |
| 113 | - <tbody> | |
| 114 | - <tr ng-repeat="info in ctrl.page()['content']" class="odd gradeX" ng-class="{danger: info.destroy == '1'}"> | |
| 115 | - <td> | |
| 116 | - <div> | |
| 117 | - <a href="#" | |
| 118 | - tooltip-animation="false" | |
| 119 | - tooltip-placement="top" | |
| 120 | - uib-tooltip="{{'姓名/工号:' + info.personnelName + '/' + info.jobCodeori}}" | |
| 121 | - tooltip-class="headClass"> | |
| 122 | - | |
| 123 | - <i class="fa fa-list-ol" aria-hidden="true"></i> | |
| 124 | - {{$index + ctrl.page().number * 10 + 1}} | |
| 125 | - </a> | |
| 126 | - </div> | |
| 127 | - | |
| 128 | - </td> | |
| 129 | - <td> | |
| 130 | - <span ng-bind="info.personnelName"></span> | |
| 131 | - </td> | |
| 132 | - <td> | |
| 133 | - <span ng-bind="info.jobCode"></span> | |
| 134 | - </td> | |
| 135 | - <td> | |
| 136 | - <span ng-bind="info.jobCodeori"></span> | |
| 137 | - </td> | |
| 138 | - <td> | |
| 139 | - <span ng-bind="info.jdCodeori"></span> | |
| 140 | - </td> | |
| 141 | - <td> | |
| 142 | - <span ng-bind="info.personnelType | dict:'sexType':'未知'"></span> | |
| 143 | - | |
| 144 | - <!--<div ng-if="info.personnelType == '1'">--> | |
| 145 | - <!--<a href="#">--> | |
| 146 | - <!--<i class="fa fa-male"></i>--> | |
| 147 | - <!--</a>--> | |
| 148 | - <!--</div>--> | |
| 149 | - <!--<div ng-if="info.personnelType == '2'">--> | |
| 150 | - <!--<a href="#">--> | |
| 151 | - <!--<i class="fa fa-female"></i>--> | |
| 152 | - <!--</a>--> | |
| 153 | - <!--</div>--> | |
| 154 | - | |
| 155 | - </td> | |
| 156 | - <td> | |
| 157 | - <span ng-bind="info.company"></span> | |
| 158 | - </td> | |
| 159 | - <td> | |
| 160 | - <span ng-bind="info.brancheCompany"></span> | |
| 161 | - </td> | |
| 162 | - <td> | |
| 163 | - <span ng-bind="info.posts | dict:'gzType':'未知'"></span> | |
| 164 | - </td> | |
| 165 | - <td> | |
| 166 | - <span class="glyphicon glyphicon-ok" ng-if="info.destroy != '1'"></span> | |
| 167 | - <span class="glyphicon glyphicon-remove" ng-if="info.destroy == '1'"></span> | |
| 168 | - </td> | |
| 169 | - <td> | |
| 170 | - <!--<a href="details.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 详细 </a>--> | |
| 171 | - <a ui-sref="employeeInfoManage_detail({id: info.id})" class="btn btn-info btn-sm"> 详细 </a> | |
| 172 | - </td> | |
| 173 | - </tr> | |
| 174 | - </tbody> | |
| 175 | - </table> | |
| 176 | - </div> | |
| 177 | - | |
| 178 | - <div class="pageBar"> | |
| 179 | - <div class="pageBarLeft"> | |
| 180 | - {{'显示从' + ctrl.page()['uiFromRecord'] + '到' + ctrl.page()['uiToRecord'] + ' 共' + ctrl.page()['totalElements'] + '条' + ' 每页显示10条'}} | |
| 181 | - </div> | |
| 182 | - | |
| 183 | - <div class="pageBarRight"> | |
| 184 | - <uib-pagination total-items="ctrl.page()['totalElements']" | |
| 185 | - ng-model="ctrl.page()['uiNumber']" | |
| 186 | - ng-change="ctrl.doPage()" | |
| 187 | - rotate="false" | |
| 188 | - max-size="10" | |
| 189 | - boundary-links="true" | |
| 190 | - first-text="首页" | |
| 191 | - previous-text="上一页" | |
| 192 | - next-text="下一页" | |
| 193 | - last-text="尾页"> | |
| 194 | - </uib-pagination> | |
| 195 | - </div> | |
| 196 | - </div> | |
| 1 | +<!-- ui-route employeeInfoManage.list --> | |
| 2 | +<div ng-controller="EmployeeInfoManageListCtrl as ctrl"> | |
| 3 | + <div class="fixDiv"> | |
| 4 | + <table class="fixTable table table-striped table-bordered table-hover table-checkable order-column"> | |
| 5 | + <thead> | |
| 6 | + <tr role="row" class="heading"> | |
| 7 | + <th style="width:70px;">序号</th> | |
| 8 | + <th style="width: 100px;">姓名</th> | |
| 9 | + <th style="width: 100px;">编号</th> | |
| 10 | + <th style="width: 100px;">工号</th> | |
| 11 | + <th style="width: 100px;">金蝶工号</th> | |
| 12 | + <th style="width: 60px;">性别</th> | |
| 13 | + <th style="width: 150px;">所在公司</th> | |
| 14 | + <th >分公司</th> | |
| 15 | + <th >工种</th> | |
| 16 | + <th style="width: 80px;">停用</th> | |
| 17 | + <th >操作</th> | |
| 18 | + </tr> | |
| 19 | + <tr role="row" class="filter"> | |
| 20 | + <td> | |
| 21 | + </td> | |
| 22 | + <td> | |
| 23 | + <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().personnelName_like" placeholder="输入姓名..."/> | |
| 24 | + </td> | |
| 25 | + <td> | |
| 26 | + <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().jobCode_like" placeholder="输入编号..."/> | |
| 27 | + </td> | |
| 28 | + <td> | |
| 29 | + <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().jobCodeori_like" placeholder="输入工号..."/> | |
| 30 | + </td> | |
| 31 | + <td> | |
| 32 | + <input type="text" class="form-control input-sm" ng-model="ctrl.searchCondition().jdCodeori_like" placeholder="输入工号..."/> | |
| 33 | + </td> | |
| 34 | + <td> | |
| 35 | + </td> | |
| 36 | + <td> | |
| 37 | + <sa-Select5 name="gs" | |
| 38 | + model="ctrl.searchCondition()" | |
| 39 | + cmaps="{'companyCode_eq': 'businessCode'}" | |
| 40 | + dcname="companyCode_eq" | |
| 41 | + icname="businessCode" | |
| 42 | + dsparams="{{ {type: 'ajax', param:{'upCode_eq': '88' }, atype:'gs' } | json }}" | |
| 43 | + iterobjname="item" | |
| 44 | + iterobjexp="item.businessName" | |
| 45 | + searchph="请输拼音..." | |
| 46 | + searchexp="this.businessName" | |
| 47 | + required | |
| 48 | + > | |
| 49 | + </sa-Select5> | |
| 50 | + </td> | |
| 51 | + <td> | |
| 52 | + <sa-Select5 name="fgs" | |
| 53 | + model="ctrl.searchCondition()" | |
| 54 | + cmaps="{'brancheCompanyCode_eq': 'businessCode'}" | |
| 55 | + dcname="brancheCompanyCode_eq" | |
| 56 | + icname="businessCode" | |
| 57 | + dsparams="{{ {type: 'ajax', param:{'upCode_eq': ctrl.searchCondition().companyCode_eq }, atype:'gs' } | json }}" | |
| 58 | + iterobjname="item" | |
| 59 | + iterobjexp="item.businessName" | |
| 60 | + searchph="请输拼音..." | |
| 61 | + searchexp="this.businessName" | |
| 62 | + required | |
| 63 | + > | |
| 64 | + </sa-Select5> | |
| 65 | + </td> | |
| 66 | + <td> | |
| 67 | + <sa-Select5 name="gz" | |
| 68 | + model="ctrl.searchCondition()" | |
| 69 | + cmaps="{'posts_eq': 'code'}" | |
| 70 | + dcname="posts_eq" | |
| 71 | + icname="code" | |
| 72 | + dsparams="{{ {type: 'dic', param: 'gzType' } | json }}" | |
| 73 | + iterobjname="item" | |
| 74 | + iterobjexp="item.name" | |
| 75 | + searchph="请输拼音..." | |
| 76 | + searchexp="this.name" | |
| 77 | + > | |
| 78 | + </sa-Select5> | |
| 79 | + </td> | |
| 80 | + <td> | |
| 81 | + <label class="checkbox-inline"> | |
| 82 | + <input type="checkbox" ng-true-value="1" ng-model="ctrl.searchCondition()['destroy_eq']"/>停用 | |
| 83 | + </label> | |
| 84 | + </td> | |
| 85 | + <td> | |
| 86 | + <div class="btn-group"> | |
| 87 | + <button class="btn btn-sm green btn-outline filter-submit margin-bottom" style="margin-right: 0;" | |
| 88 | + ng-click="ctrl.doPage()"> | |
| 89 | + <i class="fa fa-search"></i> 搜索</button> | |
| 90 | + <button class="btn btn-sm green btn-outline filter-submit margin-bottom dropdown-toggle" | |
| 91 | + data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
| 92 | + <span class="caret"></span> | |
| 93 | + <span class="sr-only">dropdown</span> | |
| 94 | + </button> | |
| 95 | + <ul class="dropdown-menu pull-right"> | |
| 96 | + <li> | |
| 97 | + <a href="javascript:" class="tool-action" ng-click="ctrl.customOrder()"> | |
| 98 | + <i class="fa fa-sort-amount-asc" aria-hidden="true"></i> | |
| 99 | + 排序选项 | |
| 100 | + </a> | |
| 101 | + </li> | |
| 102 | + </ul> | |
| 103 | + </div> | |
| 104 | + | |
| 105 | + <button class="btn btn-sm red btn-outline filter-cancel" | |
| 106 | + ng-click="ctrl.reset()"> | |
| 107 | + <i class="fa fa-times"></i> 重置</button> | |
| 108 | + | |
| 109 | + </td> | |
| 110 | + | |
| 111 | + </tr> | |
| 112 | + </thead> | |
| 113 | + <tbody> | |
| 114 | + <tr ng-repeat="info in ctrl.page()['content']" class="odd gradeX" ng-class="{danger: info.destroy == '1'}"> | |
| 115 | + <td> | |
| 116 | + <div> | |
| 117 | + <a href="#" | |
| 118 | + tooltip-animation="false" | |
| 119 | + tooltip-placement="top" | |
| 120 | + uib-tooltip="{{'姓名/工号:' + info.personnelName + '/' + info.jobCodeori}}" | |
| 121 | + tooltip-class="headClass"> | |
| 122 | + | |
| 123 | + <i class="fa fa-list-ol" aria-hidden="true"></i> | |
| 124 | + {{$index + ctrl.page().number * 10 + 1}} | |
| 125 | + </a> | |
| 126 | + </div> | |
| 127 | + | |
| 128 | + </td> | |
| 129 | + <td> | |
| 130 | + <span ng-bind="info.personnelName"></span> | |
| 131 | + </td> | |
| 132 | + <td> | |
| 133 | + <span ng-bind="info.jobCode"></span> | |
| 134 | + </td> | |
| 135 | + <td> | |
| 136 | + <span ng-bind="info.jobCodeori"></span> | |
| 137 | + </td> | |
| 138 | + <td> | |
| 139 | + <span ng-bind="info.jdCodeori"></span> | |
| 140 | + </td> | |
| 141 | + <td> | |
| 142 | + <span ng-bind="info.personnelType | dict:'sexType':'未知'"></span> | |
| 143 | + | |
| 144 | + <!--<div ng-if="info.personnelType == '1'">--> | |
| 145 | + <!--<a href="#">--> | |
| 146 | + <!--<i class="fa fa-male"></i>--> | |
| 147 | + <!--</a>--> | |
| 148 | + <!--</div>--> | |
| 149 | + <!--<div ng-if="info.personnelType == '2'">--> | |
| 150 | + <!--<a href="#">--> | |
| 151 | + <!--<i class="fa fa-female"></i>--> | |
| 152 | + <!--</a>--> | |
| 153 | + <!--</div>--> | |
| 154 | + | |
| 155 | + </td> | |
| 156 | + <td> | |
| 157 | + <span ng-bind="info.company"></span> | |
| 158 | + </td> | |
| 159 | + <td> | |
| 160 | + <span ng-bind="info.brancheCompany"></span> | |
| 161 | + </td> | |
| 162 | + <td> | |
| 163 | + <span ng-bind="info.posts | dict:'gzType':'未知'"></span> | |
| 164 | + </td> | |
| 165 | + <td> | |
| 166 | + <span class="glyphicon glyphicon-ok" ng-if="info.destroy != '1'"></span> | |
| 167 | + <span class="glyphicon glyphicon-remove" ng-if="info.destroy == '1'"></span> | |
| 168 | + </td> | |
| 169 | + <td> | |
| 170 | + <!--<a href="details.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 详细 </a>--> | |
| 171 | + <!--<a href="edit.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 修改 </a>--> | |
| 172 | + <a ui-sref="employeeInfoManage_detail({id: info.id})" class="btn btn-info btn-sm"> 详细 </a> | |
| 173 | + <a ui-sref="employeeInfoManage_edit({id: info.id})" class="btn btn-info btn-sm"> 修改 </a> | |
| 174 | + <a sweetalert | |
| 175 | + sweet-options="{title: '是否删除人员信息?',text: '姓名:' + info.personnelName + '</br>工号:' + info.jobCode + '</br>如果有人员配置信息关联,会报错,建议不要随便删除!', html: true,type: 'warning',showCancelButton: true,confirmButtonColor: '#DD6B55',confirmButtonText: '是',cancelButtonText: '取消'}" | |
| 176 | + sweet-on-confirm="ctrl.deleteEmp(info.id)" | |
| 177 | + class="btn btn-danger btn-sm">删除</a> | |
| 178 | + </td> | |
| 179 | + </tr> | |
| 180 | + </tbody> | |
| 181 | + </table> | |
| 182 | + </div> | |
| 183 | + | |
| 184 | + <div class="pageBar"> | |
| 185 | + <div class="pageBarLeft"> | |
| 186 | + {{'显示从' + ctrl.page()['uiFromRecord'] + '到' + ctrl.page()['uiToRecord'] + ' 共' + ctrl.page()['totalElements'] + '条' + ' 每页显示10条'}} | |
| 187 | + </div> | |
| 188 | + | |
| 189 | + <div class="pageBarRight"> | |
| 190 | + <uib-pagination total-items="ctrl.page()['totalElements']" | |
| 191 | + ng-model="ctrl.page()['uiNumber']" | |
| 192 | + ng-change="ctrl.doPage()" | |
| 193 | + rotate="false" | |
| 194 | + max-size="10" | |
| 195 | + boundary-links="true" | |
| 196 | + first-text="首页" | |
| 197 | + previous-text="上一页" | |
| 198 | + next-text="下一页" | |
| 199 | + last-text="尾页"> | |
| 200 | + </uib-pagination> | |
| 201 | + </div> | |
| 202 | + </div> | |
| 197 | 203 | </div> |
| 198 | 204 | \ No newline at end of file | ... | ... |