Explorar el Código

feat: 安全管理

lufeng hace 3 años
padre
commit
0b8ea60c3b

+ 1 - 1
src/main/resources/static/app/business/facility/controller/facilityListCtrl.js

@@ -126,7 +126,7 @@ angular.module('app.business')
126 126
             $scope.facilityInfo = receiveFacility;
127 127
             $scope.deviceNameTreeData = [{ "id": null, "name": receiveFacility.ssfl, selected: true }];
128 128
         } else {
129
-            $scope.getDeviceName('', '5476');
129
+            $scope.getDeviceName('', '7255');
130 130
             $scope.facilityInfo = {
131 131
                 ssmc: '',
132 132
                 ssfl: '',

+ 9 - 0
src/main/resources/static/app/layout/partials/navigation.tpl.html

@@ -911,6 +911,15 @@
911 911
                                     <li has-func="182" data-ui-sref-active="active">
912 912
                                         <a data-ui-sref="app.storage.safeproduce.safeAccidentManageList">安全生产事故管理</a>
913 913
                                     </li>
914
+                                    <li data-ui-sref-active="active">
915
+                                        <a data-ui-sref="app.storage.safeproduce.safelevel">安全风险分级管控</a>
916
+                                    </li>
917
+                                    <li data-ui-sref-active="active">
918
+                                        <a data-ui-sref="app.storage.safeproduce.dangerHandel">安全隐患跟踪处理</a>
919
+                                    </li>
920
+                                    <li data-ui-sref-active="active">
921
+                                        <a data-ui-sref="app.storage.safeproduce.rulelibrary">法律规章信息库</a>
922
+                                    </li>
914 923
                                     <!--备案及实施情况的管理-->
915 924
                                     <!--<li data-menu-collapse>
916 925
                                         <a has-func="185" href="#">

+ 119 - 0
src/main/resources/static/app/storage/controller/dangerHandelCtrl.js

@@ -0,0 +1,119 @@
1
+"use strict";
2
+
3
+angular.module('app.storage').controller("dangerHandelCtrl", function($scope,safeProduceNotifyService,$state, $http,$rootScope, $stateParams, APP_CONFIG) {
4
+    //安全生产通告列表
5
+    $scope.pageInfo = {pageNum : 1, pageSize : 10};
6
+    $scope.search = {fileName:""};
7
+    $scope.loadData = function() {
8
+        safeProduceNotifyService.getPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize,$scope.search.fileName)
9
+            .then(function(data){
10
+            $scope.pageInfo = data;
11
+        },function(data){
12
+            console.log(data);
13
+        });
14
+    };
15
+
16
+    $scope.loadData();
17
+
18
+    // 翻页
19
+    $scope.goPage = function(pageNum) {
20
+        $scope.pageInfo.pageNum = pageNum;
21
+        $scope.loadData();
22
+    };
23
+
24
+    // 显示增加页面
25
+    $scope.showAddNotify=function () {
26
+        $state.go('app.storage.safeproduce.dangerHandelEdit', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
27
+    };
28
+    //修改编辑页面
29
+    $scope.showEditNotify = function (id) {
30
+        $state.go('app.storage.safeproduce.dangerHandelEdit', {id:id,isNotEdit:false});
31
+    };
32
+    // 查看页面
33
+    $scope.showViewNotify = function(id) {
34
+        $state.go('app.storage.safeproduce.dangerHandelEdit', {id:id,isNotEdit:true});
35
+    };
36
+
37
+    // 根据id删除信息
38
+    $scope.removeNotify = function(id) {
39
+        if (!confirm("确定要删除吗?")) {
40
+            return;
41
+        }
42
+        safeProduceNotifyService.removeById(id).then(function (data) {
43
+            if(data.status == "success"){
44
+                alert("删除成功");
45
+                $scope.loadData();
46
+            }else{
47
+                alert("删除失败");
48
+            }
49
+        });
50
+    }
51
+    
52
+})
53
+    .controller("dangerHandelSaveCtrl", function($scope,$rootScope, $state,$http,$stateParams,$filter,safeProduceNotifyService) {
54
+        $scope.safeProduceNotify={};
55
+        //下面的判断用于查看页面只读状态
56
+        if($stateParams.isNotEdit != null){
57
+            if ($stateParams.isNotEdit == "false") { // 修改
58
+                $scope.isNotEdit = false;
59
+            } else if ($stateParams.isNotEdit == "true") { // 查看
60
+                $scope.isNotEdit = true;
61
+            }
62
+        }else{
63
+            $scope.isNotEdit = false;
64
+        }
65
+
66
+        if ($stateParams.topRow != null) {
67
+            $scope.safeProduceNotify.notify=$stateParams.topRow;
68
+        }
69
+
70
+        $scope.loadDataById = function(id) {
71
+            safeProduceNotifyService.edit(id).then(function(data){
72
+                // console.log(data);
73
+                if (id==0){
74
+                    // 通告人
75
+                    $scope.safeProduceNotify.operator = $rootScope.userInfo.realName;
76
+                    // 通告来源
77
+                    $scope.safeProduceNotify.source = $rootScope.orgInfo.orgName;
78
+                    // 通告事件
79
+                    $scope.safeProduceNotify.operationTime = $filter('date')(new Date(), "yyyy-MM-dd");
80
+                }else{
81
+                    $scope.safeProduceNotify = data;
82
+                    $scope.safeProduceNotify.operationTime = $filter('date')($scope.safeProduceNotify.operationTime, "yyyy-MM-dd");
83
+                }
84
+            },function(data){
85
+                // console.log(data);
86
+            });
87
+        };
88
+
89
+        $scope.loadDataById($stateParams.id);
90
+
91
+        // 提交表单
92
+        var validator = $("#safeProduceNotify-form").validate();
93
+        $scope.saveData = function () {
94
+            if (validator.form()) {
95
+                $scope.safeProduceNotify.operationTime = $("input[name='operationTime']").val(); // 时间控件获取值
96
+                $scope.safeProduceNotify.orgId = $rootScope.orgInfo.orgId;
97
+                safeProduceNotifyService.save($scope.safeProduceNotify)
98
+                    .then(function(data){
99
+                    if (data.status == 'success') {
100
+                        alert("保存成功!");
101
+                        //$scope.back();
102
+                        $scope.backLayer();
103
+                    } else {
104
+                        alert("保存失败!");
105
+                    }
106
+                },function(data) {
107
+                    console.log(data);
108
+                });
109
+            }
110
+        }
111
+        
112
+        //返回
113
+	    $scope.backLayer = function(){
114
+	    	$state.go('app.storage.safeproduce.dangerHandel');
115
+	    }
116
+
117
+    });
118
+
119
+

+ 8 - 3
src/main/resources/static/app/storage/controller/keepAccount/keepDetailedAccountCtrl.js

@@ -147,7 +147,7 @@ angular.module('app.storage').controller("keepDetailedAccountCtrl",
147 147
 	}
148 148
 	// 记账
149 149
 	$scope.bookkeep = function(event) {
150
-		$state.go('app.storage.account.keepingDetailedAccount', {id: event.dataid, type: 1});
150
+		$state.go('app.storage.account.keepingDetailedAccount', {account: event, type: 1});
151 151
 	}
152 152
 	// 翻页
153 153
 	$scope.goPage = function(pageNum) {
@@ -176,6 +176,11 @@ angular.module('app.storage').controller("keepDetailedAccountCtrl",
176 176
 	};
177 177
 	
178 178
 })
179
-.controller('keepingDetailedAccount', function($scope) {
180
-
179
+.controller('keepingDetailedAccount', function($scope, $stateParams, $rootScope) {
180
+	$scope.accountInfo = angular.fromJson($stateParams.account);
181
+	$scope.accountInfo.storehouseName = $rootScope.storehouseObj[$scope.accountInfo.ch].storehouseName;
182
+	$scope.accountInfo.warehouseName = $rootScope.warehouseObj[$scope.accountInfo.hwh].warehouseName;
183
+	$scope.accountInfo.lyxz = $rootScope.dicData[$scope.accountInfo.hwxz];
184
+	$scope.accountInfo.pz = $rootScope.dicData[$scope.accountInfo.pz];
185
+	$scope.accountInfo.dj = $rootScope.dicData[$scope.accountInfo.dj];
181 186
 });

+ 54 - 0
src/main/resources/static/app/storage/controller/ruleLibraryCtrl.js

@@ -0,0 +1,54 @@
1
+"use strict";
2
+
3
+angular.module('app.storage').controller("rulelibraryCtrl", function($scope,safeProduceNotifyService,$state, $http,$rootScope, $stateParams, APP_CONFIG) {
4
+    //安全生产通告列表
5
+    $scope.pageInfo = {pageNum : 1, pageSize : 10};
6
+    $scope.search = {fileName:""};
7
+    $scope.loadData = function() {
8
+        safeProduceNotifyService.getPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize,$scope.search.fileName)
9
+            .then(function(data){
10
+            $scope.pageInfo = data;
11
+        },function(data){
12
+            console.log(data);
13
+        });
14
+    };
15
+
16
+    $scope.loadData();
17
+
18
+    // 翻页
19
+    $scope.goPage = function(pageNum) {
20
+        $scope.pageInfo.pageNum = pageNum;
21
+        $scope.loadData();
22
+    };
23
+
24
+    // 显示增加页面
25
+    $scope.showAddNotify=function () {
26
+        $state.go('app.storage.safeproduce.safeleveledit', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
27
+    };
28
+    //修改编辑页面
29
+    $scope.showEditNotify = function (id) {
30
+        $state.go('app.storage.safeproduce.safeleveledit', {id:id,isNotEdit:false});
31
+    };
32
+    // 查看页面
33
+    $scope.showViewNotify = function(id) {
34
+        $state.go('app.storage.safeproduce.safeleveledit', {id:id,isNotEdit:true});
35
+    };
36
+
37
+    // 根据id删除信息
38
+    $scope.removeNotify = function(id) {
39
+        if (!confirm("确定要删除吗?")) {
40
+            return;
41
+        }
42
+        safeProduceNotifyService.removeById(id).then(function (data) {
43
+            if(data.status == "success"){
44
+                alert("删除成功");
45
+                $scope.loadData();
46
+            }else{
47
+                alert("删除失败");
48
+            }
49
+        });
50
+    }
51
+    
52
+});
53
+
54
+

+ 119 - 0
src/main/resources/static/app/storage/controller/safelevelCtrl.js

@@ -0,0 +1,119 @@
1
+"use strict";
2
+
3
+angular.module('app.storage').controller("safelevelCtrl", function($scope,safeProduceNotifyService,$state, $http,$rootScope, $stateParams, APP_CONFIG) {
4
+    //安全生产通告列表
5
+    $scope.pageInfo = {pageNum : 1, pageSize : 10};
6
+    $scope.search = {fileName:""};
7
+    $scope.loadData = function() {
8
+        safeProduceNotifyService.getPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize,$scope.search.fileName)
9
+            .then(function(data){
10
+            $scope.pageInfo = data;
11
+        },function(data){
12
+            console.log(data);
13
+        });
14
+    };
15
+
16
+    $scope.loadData();
17
+
18
+    // 翻页
19
+    $scope.goPage = function(pageNum) {
20
+        $scope.pageInfo.pageNum = pageNum;
21
+        $scope.loadData();
22
+    };
23
+
24
+    // 显示增加页面
25
+    $scope.showAddNotify=function () {
26
+        $state.go('app.storage.safeproduce.safeleveledit', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
27
+    };
28
+    //修改编辑页面
29
+    $scope.showEditNotify = function (id) {
30
+        $state.go('app.storage.safeproduce.safeleveledit', {id:id,isNotEdit:false});
31
+    };
32
+    // 查看页面
33
+    $scope.showViewNotify = function(id) {
34
+        $state.go('app.storage.safeproduce.safeleveledit', {id:id,isNotEdit:true});
35
+    };
36
+
37
+    // 根据id删除信息
38
+    $scope.removeNotify = function(id) {
39
+        if (!confirm("确定要删除吗?")) {
40
+            return;
41
+        }
42
+        safeProduceNotifyService.removeById(id).then(function (data) {
43
+            if(data.status == "success"){
44
+                alert("删除成功");
45
+                $scope.loadData();
46
+            }else{
47
+                alert("删除失败");
48
+            }
49
+        });
50
+    }
51
+    
52
+})
53
+    .controller("safelevelSaveCtrl", function($scope,$rootScope, $state,$http,$stateParams,$filter,safeProduceNotifyService) {
54
+        $scope.safeProduceNotify={};
55
+        //下面的判断用于查看页面只读状态
56
+        if($stateParams.isNotEdit != null){
57
+            if ($stateParams.isNotEdit == "false") { // 修改
58
+                $scope.isNotEdit = false;
59
+            } else if ($stateParams.isNotEdit == "true") { // 查看
60
+                $scope.isNotEdit = true;
61
+            }
62
+        }else{
63
+            $scope.isNotEdit = false;
64
+        }
65
+
66
+        if ($stateParams.topRow != null) {
67
+            $scope.safeProduceNotify.notify=$stateParams.topRow;
68
+        }
69
+
70
+        $scope.loadDataById = function(id) {
71
+            safeProduceNotifyService.edit(id).then(function(data){
72
+                // console.log(data);
73
+                if (id==0){
74
+                    // 通告人
75
+                    $scope.safeProduceNotify.operator = $rootScope.userInfo.realName;
76
+                    // 通告来源
77
+                    $scope.safeProduceNotify.source = $rootScope.orgInfo.orgName;
78
+                    // 通告事件
79
+                    $scope.safeProduceNotify.operationTime = $filter('date')(new Date(), "yyyy-MM-dd");
80
+                }else{
81
+                    $scope.safeProduceNotify = data;
82
+                    $scope.safeProduceNotify.operationTime = $filter('date')($scope.safeProduceNotify.operationTime, "yyyy-MM-dd");
83
+                }
84
+            },function(data){
85
+                // console.log(data);
86
+            });
87
+        };
88
+
89
+        $scope.loadDataById($stateParams.id);
90
+
91
+        // 提交表单
92
+        var validator = $("#safeProduceNotify-form").validate();
93
+        $scope.saveData = function () {
94
+            if (validator.form()) {
95
+                $scope.safeProduceNotify.operationTime = $("input[name='operationTime']").val(); // 时间控件获取值
96
+                $scope.safeProduceNotify.orgId = $rootScope.orgInfo.orgId;
97
+                safeProduceNotifyService.save($scope.safeProduceNotify)
98
+                    .then(function(data){
99
+                    if (data.status == 'success') {
100
+                        alert("保存成功!");
101
+                        //$scope.back();
102
+                        $scope.backLayer();
103
+                    } else {
104
+                        alert("保存失败!");
105
+                    }
106
+                },function(data) {
107
+                    console.log(data);
108
+                });
109
+            }
110
+        }
111
+        
112
+        //返回
113
+	    $scope.backLayer = function(){
114
+	    	$state.go('app.storage.safeproduce.safelevel');
115
+	    }
116
+
117
+    });
118
+
119
+

+ 64 - 1
src/main/resources/static/app/storage/module.js

@@ -743,6 +743,69 @@ angular.module('app.storage', ['ui.router', 'datatables', 'datatables.bootstrap'
743 743
                     }
744 744
                 }
745 745
             })
746
+            /*--------------安全风险分级管控---------------*/
747
+            .state('app.storage.safeproduce.safelevel', {
748
+                url: '/safelevel/list',
749
+                data: {
750
+                    title: '安全风险分级管控'
751
+                },
752
+                views: {
753
+                    "content@app": {
754
+                        controller: 'safelevelCtrl',
755
+                        templateUrl: 'app/storage/views/safeproduce/safelevel-list.html'
756
+                    }
757
+                }
758
+            })
759
+            .state('app.storage.safeproduce.safeleveledit', {
760
+                url: '/safeleveledit/:id/:isNotEdit/:topRow',
761
+                data: {
762
+                    title: '安全风险分级管控编辑'
763
+                },
764
+                views: {
765
+                    "content@app": {
766
+                        controller: 'safelevelSaveCtrl',
767
+                        templateUrl: 'app/storage/views/safeproduce/safelevel-edit.html'
768
+                    }
769
+                }
770
+            })
771
+            /*--------------安全隐患跟踪处理---------------*/
772
+            .state('app.storage.safeproduce.dangerHandel', {
773
+                url: '/dangerHandel/list',
774
+                data: {
775
+                    title: '安全隐患跟踪处理'
776
+                },
777
+                views: {
778
+                    "content@app": {
779
+                        controller: 'dangerHandelCtrl',
780
+                        templateUrl: 'app/storage/views/safeproduce/dangerHandel-list.html'
781
+                    }
782
+                }
783
+            })
784
+            .state('app.storage.safeproduce.dangerHandelEdit', {
785
+                url: '/dangerHandeledit/:id/:isNotEdit/:topRow',
786
+                data: {
787
+                    title: '安全隐患跟踪处理编辑'
788
+                },
789
+                views: {
790
+                    "content@app": {
791
+                        controller: 'dangerHandelSaveCtrl',
792
+                        templateUrl: 'app/storage/views/safeproduce/dangerHandel-edit.html'
793
+                    }
794
+                }
795
+            })
796
+            /*--------------法律规章信息库---------------*/
797
+            .state('app.storage.safeproduce.rulelibrary', {
798
+                url: '/rulelibrary/list',
799
+                data: {
800
+                    title: '法律规章信息库'
801
+                },
802
+                views: {
803
+                    "content@app": {
804
+                        controller: 'rulelibraryCtrl',
805
+                        templateUrl: 'app/storage/views/safeproduce/ruleLibrary.html'
806
+                    }
807
+                }
808
+            })
746 809
             // 安全事故管理
747 810
             .state('app.storage.safeproduce.safeAccidentManageList', {
748 811
                 url: '/safeproduce/safeAccidentManageList',
@@ -1384,7 +1447,7 @@ angular.module('app.storage', ['ui.router', 'datatables', 'datatables.bootstrap'
1384 1447
                 }
1385 1448
             })
1386 1449
             .state('app.storage.account.keepingDetailedAccount', {
1387
-                url: '/storage/quantity/keepingDetailedAccount/:id/:type',// type: 1、记账 0、查看
1450
+                url: '/storage/quantity/keepingDetailedAccount/:account/:type',// type: 1、记账 0、查看
1388 1451
                 data: {
1389 1452
                     title: '保管明细账记账'
1390 1453
                 },

+ 1 - 1
src/main/resources/static/app/storage/views/keepAccount/houseKeepAccount-list.html

@@ -123,7 +123,7 @@
123 123
 			                        		<td>{{account.auditor}}</td>
124 124
 			                        		<td>
125 125
 			                        			<a href-void ng-hide="isArchive" ng-click="edit(account, 0)" ng-show="returnTotals"><i class="fa fa-plus"></i>记账</a>
126
-											    <a href-void ng-hide="true" ng-click="edit(account, 1)"><i class="fa fa-edit"></i>审核</a>
126
+											    <a href-void ng-click="edit(account, 1)"><i class="fa fa-edit"></i>审核</a>
127 127
 											    <a href-void ng-click="edit(account, 2)"><i class="fa fa-info-circle"></i>查看</a>
128 128
 											    <a href-void ng-hide="isArchive" ng-click="edit(account, 3)"><i class="fa fa-info-circle"></i>明细账</a>
129 129
 											</td>

+ 12 - 20
src/main/resources/static/app/storage/views/keepAccount/keepDetailedAccount-edit.html

@@ -34,29 +34,23 @@
34 34
 											</th>
35 35
 											<th>
36 36
 												<label class="input">
37
-													<input type="text" ng-model="fcbgz.lcmc" ng-readonly="true">
37
+													<input type="text" ng-model="accountInfo.lcmc" ng-readonly="true">
38 38
 												</label>
39 39
 											</th>
40 40
 											<th>
41 41
 												<label class="label" style="margin-top: 9px;text-align: center;">仓房/油罐名称</label>
42 42
 											</th>
43 43
 											<th>
44
-												<label class="select">
45
-													<select ng-model="account.houseId" class="form-control input-sm" ng-disabled="true"
46
-														ng-options="store.storehouseId as store.storehouseName for store in store_tank_list" >
47
-														<option value="">请选择</option>
48
-													</select>
44
+												<label class="input">
45
+													<input type="text" ng-model="accountInfo.storehouseName" ng-readonly="true">
49 46
 												</label>
50 47
 											</th>
51 48
 											<th>
52 49
 												<label class="label" style="margin-top: 9px;text-align: center;">货位名称</label>
53 50
 											</th>
54 51
 											<th>
55
-												<label class="select">
56
-													<select ng-model="account.wareId" class="form-control input-sm" ng-disabled="true"
57
-														ng-options="ware.warehouseId as ware.warehouseName for ware in warelist" >
58
-														<option value="">请选择</option>
59
-													</select>
52
+												<label class="input">
53
+													<input type="text" ng-model="accountInfo.warehouseName" ng-readonly="true">
60 54
 												</label>
61 55
 											</th>
62 56
 										</tr>
@@ -74,25 +68,23 @@
74 68
 											</th>
75 69
 											<th>
76 70
 												<label class="input">
77
-													<input type="text" ng-model="fcbgz.hwxz" ng-readonly="true">
71
+													<input type="text" ng-model="accountInfo.lyxz" ng-readonly="true">
78 72
 												</label>
79
-												<input type="hidden" ng-model="account.hwxz" />
80 73
 											</th>
81 74
 											<th>
82 75
 												<label class="label" style="margin-top: 9px;text-align: center;">粮油名称</label>
83 76
 											</th>
84 77
 											<th>
85 78
 												<label class="input">
86
-													<input type="text" ng-model="fcbgz.pz" ng-readonly="true">
79
+													<input type="text" ng-model="accountInfo.pz" ng-readonly="true">
87 80
 												</label>
88
-												<input type="hidden" ng-model="account.lspz" />
89 81
 											</th>
90 82
 											<th>
91 83
 												<label class="label" style="margin-top: 9px;text-align: center;">日期</label>
92 84
 											</th>
93 85
 											<th>
94 86
 												<label class="input">
95
-													<input type="text" ng-model="account.rq" ng-disabled="true" 
87
+													<input type="text" ng-model="accountInfo.rq" ng-disabled="true" 
96 88
 													required class="form-control datepicker" data-smart-datepicker>
97 89
 												</label>
98 90
 <!-- 												<input type="hidden" ng-model="account.rq" -->
@@ -105,7 +97,7 @@
105 97
 											</th>
106 98
 											<th>
107 99
 												<label class="input">
108
-													<input type="text" ng-model="account.remark" ng-readonly="true" class="form-control" />
100
+													<input type="text" ng-model="accountInfo.dj" ng-readonly="true" class="form-control" />
109 101
 												</label>
110 102
 											</th>
111 103
 											<th>
@@ -113,7 +105,7 @@
113 105
 											</th>
114 106
 											<th>
115 107
 												<label class="input">
116
-													<input type="text" ng-model="account.remark" ng-readonly="true" class="form-control" />
108
+													<input type="text" ng-model="accountInfo.bpsf" ng-readonly="true" class="form-control" />
117 109
 												</label>
118 110
 											</th>
119 111
 											<th>
@@ -121,7 +113,7 @@
121 113
 											</th>
122 114
 											<th>
123 115
 												<label class="input">
124
-													<input type="text" ng-model="account.remark" ng-readonly="true" class="form-control" />
116
+													<input type="text" ng-model="account.bpzz" ng-readonly="true" class="form-control" />
125 117
 												</label>
126 118
 											</th>
127 119
 										</tr>
@@ -131,7 +123,7 @@
131 123
 											</th>
132 124
 											<th>
133 125
 												<label class="input">
134
-													<input type="text" ng-model="account.remark" ng-readonly="true" class="form-control" />
126
+													<input type="text" ng-model="account.lqgs" ng-readonly="true" class="form-control" />
135 127
 												</label>
136 128
 											</th>
137 129
 											<th>

+ 1 - 1
src/main/resources/static/app/storage/views/keepAccount/keepTotalAccount-list.html

@@ -90,7 +90,7 @@
90 90
 			                        		<td>{{account.auditor}}</td>
91 91
 			                        		<td>
92 92
 			                        			<a href-void ng-click="edit(account, 0)"><i class="fa fa-plus"></i>记账</a> 
93
-											    <a href-void ng-hide="true" ng-click="edit(account, 1)"><i class="fa fa-edit"></i>审核</a>
93
+											    <a href-void ng-click="edit(account, 1)"><i class="fa fa-edit"></i>审核</a>
94 94
 											    <a href-void ng-click="edit(account, 2)"><i class="fa fa-info-circle"></i>查看</a>
95 95
 											    <a href-void ng-click="edit(account, 3)"><i class="fa fa-info-circle"></i>分仓账</a>
96 96
 											</td>

+ 7 - 0
src/main/resources/static/app/storage/views/keepAccount/keepVoucher.html

@@ -88,6 +88,13 @@
88 88
                                                 <td>{{account.kcsl}}</td>
89 89
                                                 <td>{{account.kcsl}}</td>
90 90
                                                 <td>{{account.kcsl}}</td>
91
+                                                <td>{{account.kcsl}}</td>
92
+                                                <td>{{account.kcsl}}</td>
93
+                                                <td>
94
+                                                    <a href-void ng-hide="isArchive" ng-click="edit(account, 0)" ng-show="returnTotals"><i class="fa fa-plus"></i>记账</a>
95
+                                                    <a href-void ng-click="edit(account, 1)"><i class="fa fa-edit"></i>审核</a>
96
+                                                    <a href-void ng-click="edit(account, 2)"><i class="fa fa-info-circle"></i>查看</a>
97
+                                                </td>
91 98
                                             </tr>
92 99
                                         </tbody>
93 100
                                     </table>

+ 98 - 0
src/main/resources/static/app/storage/views/safeproduce/dangerHandel-edit.html

@@ -0,0 +1,98 @@
1
+<div id="content">
2
+    <section id="widget-grid" widget-grid>
3
+        <div class="row">
4
+            <article class="col-sm-12 col-md-12 col-lg-12">
5
+                <div jarvis-widget id="form-grid-widget" data-widget-colorbutton="false" data-widget-editbutton="false"
6
+                     data-widget-custombutton="false">
7
+                    <div>
8
+                        <div class="widget-body no-padding">
9
+                            <form id="safeProduceNotify-form" class="smart-form" data-validator-option="validateOptions" novalidate="novalidate">
10
+                                <button type="submit" class="bv-hidden-submit" style="display: none; width: 0px; height: 0px;"></button>
11
+                                <header>
12
+                                    <a href-void class="btn btn-default btn-xs" ng-click="backLayer()">
13
+                                        <i class="fa fa-angle-left"></i>&nbsp;返回&nbsp;
14
+                                    </a>
15
+                                    &nbsp;<strong>安全生产通告编辑</strong>
16
+                                </header>
17
+                                <fieldset>
18
+                                    <div class="row">
19
+                                        <section class="col col-3">
20
+                                            <label class="label">单位名称:<span style="color: red;">*</span></label>
21
+                                            <label class="input">
22
+                                                <input type="text" ng-model="safeProduceNotify.fileName" name="fileName"  ng-disabled="isNotEdit" required>
23
+                                            </label>
24
+                                        </section>
25
+                                        <section class="col col-3">
26
+                                            <label class="label">整改时限:<span style="color: red;">*</span></label>
27
+                                            
28
+                                            <label class="input">
29
+                                                <input type="text" ng-model="safeProduceNotify.operationTime" name="operationTime" ng-readonly="true" ng-disabled="isNotEdit"
30
+                                                       onClick="WdatePicker({lang:'zh-cn'})" required>
31
+                                            </label>
32
+                                        </section>
33
+                                        <section class="col col-3">
34
+                                            <label class="label">责任单位:</label>
35
+                                            <label class="input">
36
+                                                <input type="text" ng-model="safeProduceNotify.operator" name="operator" ng-disabled="true">
37
+                                            </label>
38
+                                        </section>
39
+                                        <section class="col col-3">
40
+                                            <label class="label">责任人:</label>
41
+                                            <label class="select">
42
+                                                <input type="text" ng-model="safeProduceNotify.operator" name="operator" ng-disabled="true">
43
+                                            </label>
44
+                                        </section>
45
+                                    </div>
46
+                                    <div class="row">
47
+                                        <section class="col col-12">
48
+                                            <label class="label">隐患信息<span style="color: red;">*</span></label>
49
+                                            <label class="textarea textarea-resizable">
50
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
51
+                                            </label>
52
+                                        </section>
53
+                                    </div>
54
+                                    <div class="row">
55
+                                        <section class="col col-12">
56
+                                            <label class="label">隐患排查信息<span style="color: red;">*</span></label>
57
+                                            <label class="textarea textarea-resizable">
58
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
59
+                                            </label>
60
+                                        </section>
61
+                                    </div>
62
+                                    <div class="row">
63
+                                        <section class="col col-12">
64
+                                            <label class="label">隐患整改信息<span style="color: red;">*</span></label>
65
+                                            <label class="textarea textarea-resizable">
66
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
67
+                                            </label>
68
+                                        </section>
69
+                                    </div>
70
+                                    <div class="row">
71
+                                        <section class="col col-12">
72
+                                            <label class="label">事故基本信息<span style="color: red;">*</span></label>
73
+                                            <label class="textarea textarea-resizable">
74
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
75
+                                            </label>
76
+                                        </section>
77
+                                    </div>
78
+                                    <div class="row">
79
+                                        <section class="col col-12">
80
+                                            <label class="label">隐患整改验收信息<span style="color: red;">*</span></label>
81
+                                            <label class="textarea textarea-resizable">
82
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
83
+                                            </label>
84
+                                        </section>
85
+                                    </div>
86
+                                </fieldset>
87
+                                <footer class="modal-footer text-align-center">
88
+                                    <button ng-click="back()" class="btn btn-default btn-lg" data-dismiss="modal">取消</button>
89
+                                    <button ng-click="saveData()" type="button" class="btn btn-primary btn-lg" ng-hide="isNotEdit">提交</button>
90
+                                </footer>
91
+                            </form>
92
+                        </div>
93
+                    </div>
94
+                </div>
95
+            </article>
96
+        </div>
97
+    </section>
98
+</div>

+ 91 - 0
src/main/resources/static/app/storage/views/safeproduce/dangerHandel-list.html

@@ -0,0 +1,91 @@
1
+<!-- MAIN CONTENT -->
2
+<div id="content">
3
+    <!-- widget grid -->
4
+    <section widget-grid id="widget-grid">
5
+        <div class="row">
6
+            <article class="col-sm-12">
7
+
8
+                <div jarvis-widget id="standard-datatable-widget" data-widget-color="darken" data-widget-editbutton="false">
9
+                    <header>
10
+                        <span class="widget-icon"> <i class="fa fa-table"></i> </span>
11
+                        <h2>安全风险分级管控</h2>
12
+                    </header>
13
+                    <div>
14
+                        <div class="widget-body no-padding">
15
+                            <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper form-inline no-footer">
16
+                                <div class="dt-toolbar">
17
+                                    <div class="col-xs-3 col-sm-1">
18
+                                        <a has-permission="578" href-void class="btn btn-primary btn-sm" ng-click="showAddNotify()"><i class="fa fa-plus"></i>&nbsp;新&nbsp;增</a>
19
+                                    </div>
20
+                                    <div class="col-xs-12 col-sm-6">
21
+                                        <div class="form-group">
22
+                                            <label> 
23
+                                                出入库日期:
24
+                                                <input style="width: 100px;" class="form-control" type="text"
25
+                                                           ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
26
+                                                           onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
27
+                                            --&nbsp;<input style="width: 100px;" class="form-control" type="text" ng-disabled="isArchive"
28
+                                                           ng-model="search.searchEndDate" name="searchEndDate" id="endDate"
29
+                                                           onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
30
+                                                <!-- <input type="text" class="form-control" ng-model="search.beginDate" size="10" data-smart-datepicker> - 
31
+                                                <input type="text" class="form-control" ng-model="search.endDate" size="10" data-smart-datepicker> -->
32
+                                            </label>
33
+                                            
34
+                                            <a class="btn btn-default btn-sm" ng-click="loadData()">
35
+                                                <i class="fa fa-search"></i>&nbsp;查&nbsp;询</a>
36
+                                        </div>
37
+                                    </div>
38
+                                    <div class="col-sm-5 col-xs-6 hidden-xs">
39
+                                        <div class="dataTables_length" id="DataTables_Table_8_length">
40
+                                            <label>每页显示 <select ng-model="pageInfo.pageSize" ng-change="loadData(pageInfo.pageNum=1)"
41
+                                                                ng-options="num as num for num in [10,25,50,100]"
42
+                                                                class="form-control input-sm"></select> 条
43
+                                            </label>
44
+                                        </div>
45
+                                    </div>
46
+                                </div>
47
+
48
+                                <table class="table table-striped table-bordered table-hover" width="100%">
49
+                                    <thead>
50
+                                    <tr>
51
+                                        <th data-hide="expand">序号</th>
52
+                                        <th data-class="expand">库区名称</th>
53
+                                        <th data-class="expand">隐患信息</th>
54
+                                        <th data-hide="expand">隐患排查信息</th>
55
+                                        <th data-hide="expand">隐患整改信息</th>
56
+                                        <th data-hide="expand">隐患责任人</th>
57
+                                        <th data-hide="expand">操作</th>
58
+                                    </tr>
59
+                                    </thead>
60
+
61
+                                    <tbody>
62
+                                    <tr ng-repeat="safeProduceNotify in pageInfo.list">
63
+                                        <td align="center">{{$index + 1 + (pageInfo.pageNum-1) * pageInfo.pageSize}}</th>
64
+                                        <td>{{safeProduceNotify.fileName}}</td>
65
+                                        <td>{{safeProduceNotify.operationTime | date:'yyyy-MM-dd'}}</td>
66
+                                        <td>{{safeProduceNotify.operator}}</td>
67
+                                        <td>{{safeProduceNotify.source}}</td>
68
+                                        <td>{{safeProduceNotify.source}}</td>
69
+                                        <td>
70
+                                            <a has-permission="579" href-void ng-click="showViewNotify(safeProduceNotify.id)"><i class="fa fa-info-circle"></i>查看</a>
71
+                                            <a has-permission="580" href-void ng-click="showEditNotify(safeProduceNotify.id)"><i class="fa fa-edit"></i>修改</a>
72
+                                            <a has-permission="581" href-void ng-click="removeNotify(safeProduceNotify.id)"><i class="fa fa-trash-o"></i>删除</a>
73
+                                        </td>
74
+                                    </tr>
75
+                                    </tbody>
76
+
77
+                                </table>
78
+
79
+                                <div smart-include="app/layout/partials/page.tpl.html"></div>
80
+                            </div>
81
+                        </div>
82
+                    </div>
83
+                </div>
84
+            </article>
85
+        </div>
86
+    </section>
87
+    <!--<form id="download-form" method="post" target="_blank">
88
+        <input type="hidden" name="fileName" id="fileName">
89
+        <input type="hidden" name="filePaths" id="filePaths">
90
+    </form>-->
91
+</div>

+ 85 - 0
src/main/resources/static/app/storage/views/safeproduce/ruleLibrary.html

@@ -0,0 +1,85 @@
1
+<!-- MAIN CONTENT -->
2
+<div id="content">
3
+    <!-- widget grid -->
4
+    <section widget-grid id="widget-grid">
5
+        <div class="row">
6
+            <article class="col-sm-12">
7
+
8
+                <div jarvis-widget id="standard-datatable-widget" data-widget-color="darken" data-widget-editbutton="false">
9
+                    <header>
10
+                        <span class="widget-icon"> <i class="fa fa-table"></i> </span>
11
+                        <h2>安全风险分级管控</h2>
12
+                    </header>
13
+                    <div>
14
+                        <div class="widget-body no-padding">
15
+                            <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper form-inline no-footer">
16
+                                <div class="dt-toolbar">
17
+                                    <div class="col-xs-3 col-sm-1">
18
+                                        <a has-permission="578" href-void class="btn btn-primary btn-sm" ng-click="showAddNotify()"><i class="fa fa-plus"></i>&nbsp;新&nbsp;增</a>
19
+                                    </div>
20
+                                    <div class="col-xs-12 col-sm-6">
21
+                                        <div class="form-group">
22
+                                            <label> 
23
+                                                出入库日期:
24
+                                                <input style="width: 100px;" class="form-control" type="text"
25
+                                                           ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
26
+                                                           onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
27
+                                            --&nbsp;<input style="width: 100px;" class="form-control" type="text" ng-disabled="isArchive"
28
+                                                           ng-model="search.searchEndDate" name="searchEndDate" id="endDate"
29
+                                                           onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
30
+                                                <!-- <input type="text" class="form-control" ng-model="search.beginDate" size="10" data-smart-datepicker> - 
31
+                                                <input type="text" class="form-control" ng-model="search.endDate" size="10" data-smart-datepicker> -->
32
+                                            </label>
33
+                                            
34
+                                            <a class="btn btn-default btn-sm" ng-click="loadData()">
35
+                                                <i class="fa fa-search"></i>&nbsp;查&nbsp;询</a>
36
+                                        </div>
37
+                                    </div>
38
+                                    <div class="col-sm-5 col-xs-6 hidden-xs">
39
+                                        <div class="dataTables_length" id="DataTables_Table_8_length">
40
+                                            <label>每页显示 <select ng-model="pageInfo.pageSize" ng-change="loadData(pageInfo.pageNum=1)"
41
+                                                                ng-options="num as num for num in [10,25,50,100]"
42
+                                                                class="form-control input-sm"></select> 条
43
+                                            </label>
44
+                                        </div>
45
+                                    </div>
46
+                                </div>
47
+
48
+                                <table class="table table-striped table-bordered table-hover" width="100%">
49
+                                    <thead>
50
+                                    <tr>
51
+                                        <th data-hide="expand">文件名称</th>
52
+                                        <th data-class="expand">类别</th>
53
+                                        <th data-class="expand">下发时间</th>
54
+                                        <th data-hide="expand">来源</th>
55
+                                        <th data-hide="expand">操作</th>
56
+                                    </tr>
57
+                                    </thead>
58
+
59
+                                    <tbody>
60
+                                    <tr ng-repeat="safeProduceNotify in pageInfo.list">
61
+                                        <td align="center">{{$index + 1 + (pageInfo.pageNum-1) * pageInfo.pageSize}}</th>
62
+                                        <td>{{safeProduceNotify.fileName}}</td>
63
+                                        <td>{{safeProduceNotify.operationTime | date:'yyyy-MM-dd'}}</td>
64
+                                        <td>市平台</td>
65
+                                        <td>
66
+                                            <a has-permission="579" href-void ng-click="showViewNotify(safeProduceNotify.id)"><i class="fa fa-info-circle"></i>查看</a>
67
+                                        </td>
68
+                                    </tr>
69
+                                    </tbody>
70
+
71
+                                </table>
72
+
73
+                                <div smart-include="app/layout/partials/page.tpl.html"></div>
74
+                            </div>
75
+                        </div>
76
+                    </div>
77
+                </div>
78
+            </article>
79
+        </div>
80
+    </section>
81
+    <!--<form id="download-form" method="post" target="_blank">
82
+        <input type="hidden" name="fileName" id="fileName">
83
+        <input type="hidden" name="filePaths" id="filePaths">
84
+    </form>-->
85
+</div>

+ 121 - 0
src/main/resources/static/app/storage/views/safeproduce/safelevel-edit.html

@@ -0,0 +1,121 @@
1
+<div id="content">
2
+    <section id="widget-grid" widget-grid>
3
+        <div class="row">
4
+            <article class="col-sm-12 col-md-12 col-lg-12">
5
+                <div jarvis-widget id="form-grid-widget" data-widget-colorbutton="false" data-widget-editbutton="false"
6
+                     data-widget-custombutton="false">
7
+                    <div>
8
+                        <div class="widget-body no-padding">
9
+                            <form id="safeProduceNotify-form" class="smart-form" data-validator-option="validateOptions" novalidate="novalidate">
10
+                                <button type="submit" class="bv-hidden-submit" style="display: none; width: 0px; height: 0px;"></button>
11
+                                <header>
12
+                                    <a href-void class="btn btn-default btn-xs" ng-click="backLayer()">
13
+                                        <i class="fa fa-angle-left"></i>&nbsp;返回&nbsp;
14
+                                    </a>
15
+                                    &nbsp;<strong>安全生产通告编辑</strong>
16
+                                </header>
17
+                                <fieldset>
18
+                                    <div class="row">
19
+                                        <section class="col col-3">
20
+                                            <label class="label">库点名称:<span style="color: red;">*</span></label>
21
+                                            <label class="input">
22
+                                                <input type="text" ng-model="safeProduceNotify.fileName" name="fileName"  ng-disabled="isNotEdit" required>
23
+                                            </label>
24
+                                        </section>
25
+                                        <section class="col col-3">
26
+                                            <label class="label">识别人:<span style="color: red;">*</span></label>
27
+                                            <label class="input">
28
+                                                <input type="text" ng-model="safeProduceNotify.operationTime" name="operationTime" ng-readonly="true" ng-disabled="isNotEdit"
29
+                                                       onClick="WdatePicker({lang:'zh-cn'})" required>
30
+                                            </label>
31
+                                        </section>
32
+                                        <section class="col col-3">
33
+                                            <label class="label">环节/部位:</label>
34
+                                            <label class="input">
35
+                                                <input type="text" ng-model="safeProduceNotify.operator" name="operator" ng-disabled="true">
36
+                                            </label>
37
+                                        </section>
38
+                                        <section class="col col-3">
39
+                                            <label class="label">风险等级:</label>
40
+                                            <label class="select">
41
+                                                <select ng-model="threetempcheck.checkSign" name="checkSign" required class="form-control" ng-disabled="isNotEdit">
42
+                                                    <option value="">--请选择--</option>
43
+                                                    <option value="1">A级-重大风险</option>
44
+                                                    <option value="1">B级-较大风险</option>
45
+                                                    <option value="1">C级-一般风险</option>
46
+                                                    <option value="1">D级-低风险</option>
47
+                                                </select>
48
+                                            </label>
49
+                                        </section>
50
+                                    </div>
51
+                                    <div class="row">
52
+                                        <section class="col col-3">
53
+                                            <label class="label">风险类型:</label>
54
+                                            <label class="select">
55
+                                                <select ng-model="threetempcheck.checkSign" name="checkSign" required class="form-control" ng-disabled="isNotEdit">
56
+                                                    <option value="">--请选择--</option>
57
+                                                    <option value="1">基础设施</option>
58
+                                                    <option value="2">网络安全</option>
59
+                                                    <option value="3">消防安全</option>
60
+                                                    <option value="4">用电安全</option>
61
+                                                    <option value="5">作业安全</option>
62
+                                                    <option value="6">用药安全</option>
63
+                                                    <option value="7">管理风险</option>
64
+                                                    <option value="8">其他风险</option>
65
+                                                </select>
66
+                                            </label>
67
+                                        </section>
68
+                                    </div>
69
+
70
+                                    <div class="row">
71
+                                        <section class="col col-12">
72
+                                            <label class="label">风险辨识</label>
73
+                                            <label class="textarea textarea-resizable">
74
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
75
+                                            </label>
76
+                                        </section>
77
+                                    </div>
78
+                                    <div class="row">
79
+                                        <section class="col col-12">
80
+                                            <label class="label">可能导致事故类型</label>
81
+                                            <label class="textarea textarea-resizable">
82
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
83
+                                            </label>
84
+                                        </section>
85
+                                    </div>
86
+                                    <div class="row">
87
+                                        <section class="col col-12">
88
+                                            <label class="label">风险管控措施<span style="color: red;">*</span></label>
89
+                                            <label class="textarea textarea-resizable">
90
+                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
91
+                                            </label>
92
+                                        </section>
93
+                                    </div>
94
+                                    <div class="row">
95
+                                        <section class="col col-3">
96
+                                            <label class="label">责任部门
97
+                                            <label class="input">
98
+                                                <input type="text" ng-model="safeProduceNotify.fileName" name="fileName"  ng-disabled="isNotEdit" required>
99
+                                            </label>
100
+                                        </section>
101
+                                        <section class="col col-3">
102
+                                            <label class="label">责任人:
103
+                                            <label class="input">
104
+                                                <input type="text" ng-model="safeProduceNotify.operationTime" name="operationTime" ng-readonly="true" ng-disabled="isNotEdit"
105
+                                                       onClick="WdatePicker({lang:'zh-cn'})" required>
106
+                                            </label>
107
+                                        </section>
108
+                                    </div>
109
+                                </fieldset>
110
+                                <footer class="modal-footer text-align-center">
111
+                                    <button ng-click="back()" class="btn btn-default btn-lg" data-dismiss="modal">取消</button>
112
+                                    <button ng-click="saveData()" type="button" class="btn btn-primary btn-lg" ng-hide="isNotEdit">提交</button>
113
+                                </footer>
114
+                            </form>
115
+                        </div>
116
+                    </div>
117
+                </div>
118
+            </article>
119
+        </div>
120
+    </section>
121
+</div>

+ 95 - 0
src/main/resources/static/app/storage/views/safeproduce/safelevel-list.html

@@ -0,0 +1,95 @@
1
+<!-- MAIN CONTENT -->
2
+<div id="content">
3
+    <!-- widget grid -->
4
+    <section widget-grid id="widget-grid">
5
+        <div class="row">
6
+            <article class="col-sm-12">
7
+
8
+                <div jarvis-widget id="standard-datatable-widget" data-widget-color="darken" data-widget-editbutton="false">
9
+                    <header>
10
+                        <span class="widget-icon"> <i class="fa fa-table"></i> </span>
11
+                        <h2>安全风险分级管控</h2>
12
+                    </header>
13
+                    <div>
14
+                        <div class="widget-body no-padding">
15
+                            <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper form-inline no-footer">
16
+                                <div class="dt-toolbar">
17
+                                    <div class="col-xs-3 col-sm-1">
18
+                                        <a has-permission="578" href-void class="btn btn-primary btn-sm" ng-click="showAddNotify()"><i class="fa fa-plus"></i>&nbsp;新&nbsp;增</a>
19
+                                    </div>
20
+                                    <div class="col-xs-12 col-sm-6">
21
+                                        <div class="form-group">
22
+                                            <label> 
23
+                                                出入库日期:
24
+                                                <input style="width: 100px;" class="form-control" type="text"
25
+                                                           ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
26
+                                                           onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
27
+                                            --&nbsp;<input style="width: 100px;" class="form-control" type="text" ng-disabled="isArchive"
28
+                                                           ng-model="search.searchEndDate" name="searchEndDate" id="endDate"
29
+                                                           onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
30
+                                                <!-- <input type="text" class="form-control" ng-model="search.beginDate" size="10" data-smart-datepicker> - 
31
+                                                <input type="text" class="form-control" ng-model="search.endDate" size="10" data-smart-datepicker> -->
32
+                                            </label>
33
+                                            
34
+                                            <a class="btn btn-default btn-sm" ng-click="loadData()">
35
+                                                <i class="fa fa-search"></i>&nbsp;查&nbsp;询</a>
36
+                                        </div>
37
+                                    </div>
38
+                                    <div class="col-sm-5 col-xs-6 hidden-xs">
39
+                                        <div class="dataTables_length" id="DataTables_Table_8_length">
40
+                                            <label>每页显示 <select ng-model="pageInfo.pageSize" ng-change="loadData(pageInfo.pageNum=1)"
41
+                                                                ng-options="num as num for num in [10,25,50,100]"
42
+                                                                class="form-control input-sm"></select> 条
43
+                                            </label>
44
+                                        </div>
45
+                                    </div>
46
+                                </div>
47
+
48
+                                <table class="table table-striped table-bordered table-hover" width="100%">
49
+                                    <thead>
50
+                                    <tr>
51
+                                        <th data-hide="expand">序号</th>
52
+                                        <th data-class="expand">环节/部位</th>
53
+                                        <th data-class="expand">风险辨识</th>
54
+                                        <th data-hide="expand"> 风险等级</th>
55
+                                        <th data-hide="expand">可能导致事故类型</th>
56
+                                        <th data-hide="expand">风险管控措施</th>
57
+                                        <th data-hide="expand">责任部门</th>
58
+                                        <th data-hide="expand">责任人</th>
59
+                                        <th data-hide="expand">操作</th>
60
+                                    </tr>
61
+                                    </thead>
62
+
63
+                                    <tbody>
64
+                                    <tr ng-repeat="safeProduceNotify in pageInfo.list">
65
+                                        <td align="center">{{$index + 1 + (pageInfo.pageNum-1) * pageInfo.pageSize}}</th>
66
+                                        <td>{{safeProduceNotify.fileName}}</td>
67
+                                        <td>{{safeProduceNotify.operationTime | date:'yyyy-MM-dd'}}</td>
68
+                                        <td>{{safeProduceNotify.operator}}</td>
69
+                                        <td>{{safeProduceNotify.source}}</td>
70
+                                        <td>{{safeProduceNotify.source}}</td>
71
+                                        <td>{{safeProduceNotify.source}}</td>
72
+                                        <td>{{safeProduceNotify.source}}</td>
73
+                                        <td>
74
+                                            <a has-permission="579" href-void ng-click="showViewNotify(safeProduceNotify.id)"><i class="fa fa-info-circle"></i>查看</a>
75
+                                            <a has-permission="580" href-void ng-click="showEditNotify(safeProduceNotify.id)"><i class="fa fa-edit"></i>修改</a>
76
+                                            <a has-permission="581" href-void ng-click="removeNotify(safeProduceNotify.id)"><i class="fa fa-trash-o"></i>删除</a>
77
+                                        </td>
78
+                                    </tr>
79
+                                    </tbody>
80
+
81
+                                </table>
82
+
83
+                                <div smart-include="app/layout/partials/page.tpl.html"></div>
84
+                            </div>
85
+                        </div>
86
+                    </div>
87
+                </div>
88
+            </article>
89
+        </div>
90
+    </section>
91
+    <!--<form id="download-form" method="post" target="_blank">
92
+        <input type="hidden" name="fileName" id="fileName">
93
+        <input type="hidden" name="filePaths" id="filePaths">
94
+    </form>-->
95
+</div>