Commit 2dcf6ac7a796a1030d8ca724fb74b1b3cdea5d6e

Authored by 徐烜
2 parents 0f71715e b87bea1b

Merge branch 'pudong_jdk8' of 192.168.168.201:panzhaov5/bsth_control into pudong_jdk8

src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/index.html
... ... @@ -36,11 +36,6 @@
36 36 <span class="caption-subject bold uppercase">人员信息表</span>
37 37 </div>
38 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 39 <div class="btn-group">
45 40 <a href="javascript:" class="btn red btn-outline" data-toggle="dropdown">
46 41 <i class="fa fa-share"></i>
... ... @@ -49,12 +44,6 @@
49 44 </a>
50 45 <ul class="dropdown-menu pull-right">
51 46 <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 47 <a href="javascript:" class="tool-action" ng-click="ctrl.exportData()">
59 48 <i class="fa fa-file-excel-o"></i>
60 49 导出excel
... ...
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/list.html
... ... @@ -168,13 +168,7 @@
168 168 </td>
169 169 <td>
170 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 171 <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 172 </td>
179 173 </tr>
180 174 </tbody>
... ...
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/module.js
... ... @@ -9,6 +9,7 @@ angular.module(&#39;ScheduleApp&#39;).factory(
9 9  
10 10 /** 当前的查询条件信息 */
11 11 var currentSearchCondition = {
  12 + "destroy_eq": 0
12 13 //"carCode_like" : "",
13 14 //"insideCode_like" : "",
14 15 //"equipmentCode_like" : "",
... ... @@ -65,6 +66,10 @@ angular.module(&#39;ScheduleApp&#39;).factory(
65 66 currentSearchCondition["cgsbm_in"] = UserPrincipal.getGsStrs().join(",");
66 67 }
67 68  
  69 + if (!currentSearchCondition["destroy_eq"]) {
  70 + currentSearchCondition["destroy_eq"] = 0;
  71 + }
  72 +
68 73 // 重置排序字段条件
69 74 currentSearchCondition.order = orderColumns.order;
70 75 currentSearchCondition.direction = orderColumns.direction;
... ...