gaodd пре 1 година
родитељ
комит
bd3531de2a
43 измењених фајлова са 1205 додато и 1187 уклоњено
  1. 4 4
      src/main/resources/static/app/additionalHome/controller/businessCtrl.js
  2. 5 5
      src/main/resources/static/app/additionalHome/controller/defendCtrl.js
  3. 5 5
      src/main/resources/static/app/additionalHome/controller/qualityCtrl.js
  4. 4 4
      src/main/resources/static/app/additionalHome/controller/storageCtrl.js
  5. 4 4
      src/main/resources/static/app/additionalHome/controller/transferCtrl.js
  6. 1 1
      src/main/resources/static/app/app.js
  7. 2 2
      src/main/resources/static/app/basic/index/views/basic-index.html
  8. 6 6
      src/main/resources/static/app/basic/keeper/controller/keeperCtrl.js
  9. 524 1
      src/main/resources/static/app/basic/module.js
  10. 2 2
      src/main/resources/static/app/business/customer/controller/customerCtrl.js
  11. 1 1
      src/main/resources/static/app/business/customer/controller/customerSaveCtrl.js
  12. 1 1
      src/main/resources/static/app/business/device/controller/deviceAccountCtrl.js
  13. 6 6
      src/main/resources/static/app/business/device/controller/deviceCheckCtrl.js
  14. 5 5
      src/main/resources/static/app/business/device/controller/deviceGetCtrl.js
  15. 4 4
      src/main/resources/static/app/business/device/controller/deviceInputCtrl.js
  16. 3 3
      src/main/resources/static/app/business/device/controller/deviceKeepCtrl.js
  17. 3 3
      src/main/resources/static/app/business/device/controller/deviceRepairCtrl.js
  18. 4 4
      src/main/resources/static/app/business/device/controller/deviceStorageCtrl.js
  19. 4 4
      src/main/resources/static/app/business/facility/controller/facilityGetListCtrl.js
  20. 4 4
      src/main/resources/static/app/business/facility/controller/facilityKeepListCtrl.js
  21. 4 4
      src/main/resources/static/app/business/facility/controller/facilityListCtrl.js
  22. 2 2
      src/main/resources/static/app/business/index/views/business-index.html
  23. 1 1
      src/main/resources/static/app/business/util/controller/addCustomerModal.js
  24. 1 1
      src/main/resources/static/app/home/controller/daibsxCtrl.js
  25. 1 1
      src/main/resources/static/app/layout/partials/header.tpl.html
  26. 141 137
      src/main/resources/static/app/layout/partials/navigation.tpl.html
  27. 422 1
      src/main/resources/static/app/monitor/module.js
  28. 4 4
      src/main/resources/static/app/storage/controller/dailyListCtrl.js
  29. 4 4
      src/main/resources/static/app/storage/controller/festivalbeforeCtrl.js
  30. 3 3
      src/main/resources/static/app/storage/controller/safeAccidentManageCtrl.js
  31. 4 4
      src/main/resources/static/app/storage/controller/safeProduceDangerHandle.js
  32. 5 5
      src/main/resources/static/app/storage/controller/safeProduceNotifyCtrl.js
  33. 4 4
      src/main/resources/static/app/storage/controller/safeProduceRiskCtrl.js
  34. 4 4
      src/main/resources/static/app/storage/controller/windrainsnowCtrl.js
  35. 1 1
      src/main/resources/static/app/storage/insectPestDetection/controller/insectPestDetectionNewCtrl.js
  36. 2 411
      src/main/resources/static/app/storage/module.js
  37. 4 4
      src/main/resources/static/app/storage/safe-manage/controller/safeManageCtrl.js
  38. 2 2
      src/main/resources/static/app/storage/views/index/storage-index.html
  39. 1 1
      src/main/resources/static/app/synth/foodstuffTraces/controller/foodstuffTracesCtrl.js
  40. 1 1
      src/main/resources/static/app/synth/lifecycle/controller/lifecycleCtrl.js
  41. 1 1
      src/main/resources/static/app/synth/qualityTrace/controller/qualitySafeCtrl.js
  42. 1 1
      src/main/resources/static/app/synth/qualityTrace/controller/warehouseSourceCtrl.js
  43. 0 521
      src/main/resources/static/app/system/module.js

+ 4 - 4
src/main/resources/static/app/additionalHome/controller/businessCtrl.js

@@ -136,7 +136,7 @@ angular.module('app.additionalHome').controller('businessCtrl', function ($rootS
136 136
     	var className = $("#"+id).parent().parent().attr("class");
137 137
     	if(className.indexOf("flip-current") != -1){
138 138
     		$scope.switchTopMenu(19);
139
-    		$state.go('app.storage.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
139
+    		$state.go('app.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
140 140
     	}
141 141
     };
142 142
     
@@ -204,7 +204,7 @@ angular.module('app.additionalHome').controller('businessCtrl', function ($rootS
204 204
     // 安全生产通知
205 205
     $scope.safeProduceNotifyTodo=function() {
206 206
     	$scope.switchTopMenu(19);
207
-    	$state.go("app.storage.safeproduce.notifyList");
207
+    	$state.go("app.safeproduce.notifyList");
208 208
     }
209 209
     
210 210
     // 安全生产管理制度
@@ -213,11 +213,11 @@ angular.module('app.additionalHome').controller('businessCtrl', function ($rootS
213 213
     		var className = $("#"+id).parent().parent().attr("class");
214 214
         	if(className.indexOf("flip-current") != -1){
215 215
         		$scope.switchTopMenu(19);
216
-        		$state.go('app.storage.safeproduce.list', {type:1,layerType:'publish'});
216
+        		$state.go('app.safeproduce.list', {type:1,layerType:'publish'});
217 217
         	}
218 218
     	}else if("list" == layerType) {//跳转文档列表页面
219 219
     		$scope.switchTopMenu(19);
220
-    		$state.go('app.storage.safeproduce.list', {type:1});
220
+    		$state.go('app.safeproduce.list', {type:1});
221 221
     	}
222 222
     }
223 223
     

+ 5 - 5
src/main/resources/static/app/additionalHome/controller/defendCtrl.js

@@ -47,19 +47,19 @@ angular.module('app.additionalHome').controller('defendCtrl', function ($rootSco
47 47
 	// 查看页面
48 48
     $scope.showViewNotify = function(id) {
49 49
     	$scope.switchTopMenu(19);
50
-        $state.go('app.storage.safeproduce.notifyAdd', {id:id,isNotEdit:true});
50
+        $state.go('app.safeproduce.notifyAdd', {id:id,isNotEdit:true});
51 51
     };
52 52
     
53 53
     // 发布通知公告
54 54
     $scope.showAddNotify=function () {
55 55
     	$scope.switchTopMenu(19);
56
-        $state.go('app.storage.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
56
+        $state.go('app.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
57 57
     };
58 58
     
59 59
     // 安全生产通知
60 60
     $scope.safeProduceNotifyTodo=function() {
61 61
     	$scope.switchTopMenu(19);
62
-    	$state.go("app.storage.safeproduce.notifyList");
62
+    	$state.go("app.safeproduce.notifyList");
63 63
     }
64 64
     
65 65
     //跳转报警信息列表
@@ -76,9 +76,9 @@ angular.module('app.additionalHome').controller('defendCtrl', function ($rootSco
76 76
     $scope.safeProduceTodo=function(layerType) {
77 77
     	$scope.switchTopMenu(19);
78 78
     	if("publish" == layerType){//跳转文档发布页面
79
-    		$state.go('app.storage.safeproduce.list', {type:1,layerType:'publish'});
79
+    		$state.go('app.safeproduce.list', {type:1,layerType:'publish'});
80 80
     	}else if("list" == layerType) {//跳转文档列表页面
81
-    		$state.go('app.storage.safeproduce.list', {type:1});
81
+    		$state.go('app.safeproduce.list', {type:1});
82 82
     	}
83 83
     }
84 84
     

+ 5 - 5
src/main/resources/static/app/additionalHome/controller/qualityCtrl.js

@@ -96,7 +96,7 @@ angular.module('app.additionalHome').controller('qualityCtrl', function ($rootSc
96 96
 	// 查看页面
97 97
     $scope.showViewNotify = function(id) {
98 98
     	$scope.switchTopMenu(19);
99
-        $state.go('app.storage.safeproduce.notifyAdd', {id:id,isNotEdit:true});
99
+        $state.go('app.safeproduce.notifyAdd', {id:id,isNotEdit:true});
100 100
     };
101 101
     
102 102
     // 发布通知公告
@@ -104,7 +104,7 @@ angular.module('app.additionalHome').controller('qualityCtrl', function ($rootSc
104 104
     	var className = $("#"+id).parent().parent().attr("class");
105 105
     	if(className.indexOf("flip-current") != -1){
106 106
     		$scope.switchTopMenu(19);
107
-    		$state.go('app.storage.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
107
+    		$state.go('app.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
108 108
     	}
109 109
     };
110 110
     
@@ -149,7 +149,7 @@ angular.module('app.additionalHome').controller('qualityCtrl', function ($rootSc
149 149
     // 安全生产通知
150 150
     $scope.safeProduceNotifyTodo=function() {
151 151
     	$scope.switchTopMenu(19);
152
-    	$state.go("app.storage.safeproduce.notifyList");
152
+    	$state.go("app.safeproduce.notifyList");
153 153
     }
154 154
     
155 155
     // 安全生产管理制度
@@ -158,11 +158,11 @@ angular.module('app.additionalHome').controller('qualityCtrl', function ($rootSc
158 158
     		var className = $("#"+id).parent().parent().attr("class");
159 159
         	if(className.indexOf("flip-current") != -1){
160 160
         		$scope.switchTopMenu(19);
161
-        		$state.go('app.storage.safeproduce.list', {type:1,layerType:'publish'});
161
+        		$state.go('app.safeproduce.list', {type:1,layerType:'publish'});
162 162
         	}
163 163
     	}else if("list" == layerType) {//跳转文档列表页面
164 164
     		$scope.switchTopMenu(19);
165
-    		$state.go('app.storage.safeproduce.list', {type:1});
165
+    		$state.go('app.safeproduce.list', {type:1});
166 166
     	}
167 167
     }
168 168
     

+ 4 - 4
src/main/resources/static/app/additionalHome/controller/storageCtrl.js

@@ -117,7 +117,7 @@ angular.module('app.additionalHome').controller('storageCtrl', function ($rootSc
117 117
     	var className = $("#"+id).parent().parent().attr("class");
118 118
     	if(className.indexOf("flip-current") != -1){
119 119
     		$scope.switchTopMenu(19);
120
-    		$state.go('app.storage.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
120
+    		$state.go('app.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
121 121
     	}
122 122
     };
123 123
     
@@ -168,7 +168,7 @@ angular.module('app.additionalHome').controller('storageCtrl', function ($rootSc
168 168
     // 安全生产通知
169 169
     $scope.safeProduceNotifyTodo=function() {
170 170
     	$scope.switchTopMenu(19);
171
-    	$state.go("app.storage.safeproduce.notifyList");
171
+    	$state.go("app.safeproduce.notifyList");
172 172
     }
173 173
     
174 174
     // 安全生产管理制度
@@ -177,11 +177,11 @@ angular.module('app.additionalHome').controller('storageCtrl', function ($rootSc
177 177
     		var className = $("#"+id).parent().parent().attr("class");
178 178
         	if(className.indexOf("flip-current") != -1){
179 179
         		$scope.switchTopMenu(19);
180
-        		$state.go('app.storage.safeproduce.list', {type:1,layerType:'publish'});
180
+        		$state.go('app.safeproduce.list', {type:1,layerType:'publish'});
181 181
         	}
182 182
     	}else if("list" == layerType) {//跳转文档列表页面
183 183
     		$scope.switchTopMenu(19);
184
-    		$state.go('app.storage.safeproduce.list', {type:1});
184
+    		$state.go('app.safeproduce.list', {type:1});
185 185
     	}
186 186
     }
187 187
     

+ 4 - 4
src/main/resources/static/app/additionalHome/controller/transferCtrl.js

@@ -96,7 +96,7 @@ angular.module('app.additionalHome').controller('transferCtrl', function ($rootS
96 96
     	var className = $("#"+id).parent().parent().attr("class");
97 97
     	if(className.indexOf("flip-current") != -1){
98 98
     		$scope.switchTopMenu(19);
99
-    		$state.go('app.storage.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
99
+    		$state.go('app.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
100 100
     	}
101 101
     };
102 102
     
@@ -118,7 +118,7 @@ angular.module('app.additionalHome').controller('transferCtrl', function ($rootS
118 118
     // 安全生产通知
119 119
     $scope.safeProduceNotifyTodo=function() {
120 120
     	$scope.switchTopMenu(19);
121
-    	$state.go("app.storage.safeproduce.notifyList");
121
+    	$state.go("app.safeproduce.notifyList");
122 122
     }
123 123
     
124 124
     // 安全生产管理制度
@@ -127,11 +127,11 @@ angular.module('app.additionalHome').controller('transferCtrl', function ($rootS
127 127
     		var className = $("#"+id).parent().parent().attr("class");
128 128
         	if(className.indexOf("flip-current") != -1){
129 129
         		$scope.switchTopMenu(19);
130
-        		$state.go('app.storage.safeproduce.list', {type:1,layerType:'publish'});
130
+        		$state.go('app.safeproduce.list', {type:1,layerType:'publish'});
131 131
         	}
132 132
     	}else if("list" == layerType) {//跳转文档列表页面
133 133
     		$scope.switchTopMenu(19);
134
-    		$state.go('app.storage.safeproduce.list', {type:1});
134
+    		$state.go('app.safeproduce.list', {type:1});
135 135
     	}
136 136
     }
137 137
     

+ 1 - 1
src/main/resources/static/app/app.js

@@ -51,7 +51,7 @@ angular.module('app', [
51 51
     'app.supervise',
52 52
     'app.cameraRecord',
53 53
     'app.alarm',
54
-    // 'app.safeproduce',
54
+    'app.safeproduce',
55 55
     //'app.foodbasicinfo',
56 56
     'app.qualityDlag',
57 57
     'app.cameraGroup',

+ 2 - 2
src/main/resources/static/app/basic/index/views/basic-index.html

@@ -59,12 +59,12 @@
59 59
 					$("a[data-ui-sref='app.basic.warehouseList']").click();
60 60
 				});
61 61
 				$("#keeperList").click(function(){
62
-					$("a[data-ui-sref='app.system.keeperList']").parents('li').each(function () {
62
+					$("a[data-ui-sref='app.basic.keeperList']").parents('li').each(function () {
63 63
 						if($(this).attr("ng-show") == null && !$(this).hasClass('open')){//非顶级且当前不是打开的
64 64
 			                $(this).find("a:first").click();
65 65
 						}
66 66
 		            });
67
-					$("a[data-ui-sref='app.system.keeperList']").click();
67
+					$("a[data-ui-sref='app.basic.keeperList']").click();
68 68
 				});
69 69
 				$("#cameraList").click(function(){
70 70
 					$("a[data-ui-sref='app.basic.cameraList']").parents('li').each(function () {

+ 6 - 6
src/main/resources/static/app/basic/keeper/controller/keeperCtrl.js

@@ -15,12 +15,12 @@ angular.module('app.basic')
15 15
      
16 16
      // 新增或修改跳转到录入页面
17 17
      $scope.edit = function(id, showType) {
18
-    	 $state.go('app.system.keeperEdit',{id:id, showType:showType});
18
+    	 $state.go('app.basic.keeperEdit',{id:id, showType:showType});
19 19
      }
20 20
      
21 21
      // 查看
22 22
      $scope.view = function(id) {
23
-    	 $state.go('app.system.keeperView',{id:id, types : $stateParams.functionType});
23
+    	 $state.go('app.basic.keeperView',{id:id, types : $stateParams.functionType});
24 24
      }
25 25
 
26 26
     // 删除一条记录
@@ -297,7 +297,7 @@ angular.module('app.basic')
297 297
 	    		} else {
298 298
 	                alert("保存失败!");
299 299
 	            }
300
-	    		$state.go('app.system.keeperList');
300
+	    		$state.go('app.basic.keeperList');
301 301
 	        },function(data){
302 302
 	            console.log(data);
303 303
 	        });
@@ -407,7 +407,7 @@ angular.module('app.basic')
407 407
 		if ($rootScope.previousState_name != '') {
408 408
         	$rootScope.back();
409 409
         } else {
410
-        	$state.go("app.system.keeperList");
410
+        	$state.go("app.basic.keeperList");
411 411
         }
412 412
 	}
413 413
 
@@ -490,7 +490,7 @@ angular.module('app.basic')
490 490
     // 新增或修改跳转到录入页面
491 491
     $scope.showKeeper = function(id) {
492 492
        // 新增或修改跳转到录入页面
493
-    	$state.go('app.system.keeperEdit',{id:id, showType:1});
493
+    	$state.go('app.basic.keeperEdit',{id:id, showType:1});
494 494
     }
495 495
     
496 496
     //返回和取消
@@ -501,7 +501,7 @@ angular.module('app.basic')
501 501
             }else if($stateParams.types != ''){
502 502
                 $state.go("app.synth.barn.view", {id : $stateParams.types});
503 503
             }else{
504
-                $state.go("app.system.keeperList");
504
+                $state.go("app.basic.keeperList");
505 505
             }
506 506
         }else{
507 507
             $rootScope.back();

+ 524 - 1
src/main/resources/static/app/basic/module.js

@@ -9,7 +9,7 @@ angular.module('app.basic')
9 9
     .state('app.basic', {
10 10
         abstract: true,
11 11
         data: {
12
-            title: '基础数据'
12
+            title: '基本信息'
13 13
         }
14 14
     })
15 15
     //仓房管理list页
@@ -395,4 +395,527 @@ angular.module('app.basic')
395 395
             }
396 396
         }
397 397
     })
398
+    
399
+    
400
+    /*----------------------------------------------客户------------------------------------*/
401
+    .state('app.basic.customer', {
402
+        abstract: true,
403
+        data: {
404
+            title: '客户管理'
405
+        }
406
+    })
407
+    
408
+    .state('app.basic.customer.list', {
409
+        url: '/basic/customer',
410
+        data: {
411
+            title: '客户档案管理'
412
+        },
413
+        views: {
414
+            "content@app": {
415
+                controller: 'customerCtrl',
416
+                templateUrl: 'app/business/customer/views/customer-list.html'
417
+            }
418
+        }
419
+    })
420
+    .state('app.basic.customer.add', {
421
+            url: '/basic/customer/add/:id',
422
+            data: {
423
+                title: '客户档案新增'
424
+            },
425
+            views: {
426
+                "content@app": {
427
+                    controller: 'customerSaveCtrl as datatables',
428
+                    templateUrl: 'app/business/customer/views/customer-edit.html'
429
+                }
430
+            }
431
+        }
432
+    )
433
+    .state('app.basic.customer.edit', {
434
+        url: '/basic/customer/edit/:id',
435
+        data: {
436
+            title: '客户档案修改'
437
+        },
438
+        views: {
439
+            "content@app": {
440
+                controller: 'customerSaveCtrl as datatables',
441
+                templateUrl: 'app/business/customer/views/customer-edit.html'
442
+            }
443
+        }
444
+    })
445
+    
446
+    
447
+    .state('app.basic.customer.badrecord', {
448
+        url: '/basic/customer/badrecord',
449
+        data: {
450
+            title: '客户不良记录管理'
451
+        },
452
+        views: {
453
+            "content@app": {
454
+                controller: 'customerBadrecordCtrl',
455
+                templateUrl: 'app/business/customer/views/customerBadrecord-list.html'
456
+            }
457
+        }
458
+    })
459
+    
460
+    .state('app.basic.customer.blackList', {
461
+        url: '/basic/customer/blackList',
462
+        data: {
463
+            title: '客户黑名单管理'
464
+        },
465
+        views: {
466
+            "content@app": {
467
+                controller: 'customerBlackListCtrl',
468
+                templateUrl: 'app/business/customer/views/customer-blackList.html'
469
+            }
470
+        }
471
+    })
472
+    
473
+    
474
+    //-----------------------------------------------------智能器材库------------------------------------------------------//
475
+        // 设备器材管理二级路由
476
+        .state('app.basic.device', {
477
+            abstract: true,
478
+            data: {
479
+                title: '设备器材管理'
480
+            }
481
+        })
482
+        // 设备器材入库
483
+        .state('app.basic.device.deviceStorageList', {
484
+            url: '/device/deviceStorageList',
485
+            data: {
486
+                title: '设备器材入库'
487
+            },
488
+            views: {
489
+                "content@app": {
490
+                    controller: 'deviceStorageCtrl',
491
+                    templateUrl: 'app/business/device/views/deviceStorage-list.html'
492
+                }
493
+            }
494
+        })
495
+        // 详情,编辑
496
+        .state('app.basic.device.deviceStorageList.edit', {
497
+            url: '/device/deviceStorageList/edit/:id/:isNotEdit',
498
+            data: {
499
+                title: '设备器材入库详情'
500
+            },
501
+            views: {
502
+                "content@app": {
503
+                    controller: 'deviceStorageEditCtrl',
504
+                    templateUrl: 'app/business/device/views/deviceStorage-edit.html'
505
+                }
506
+            }
507
+        })
508
+        //----------------设备入库登记开始---------------//
509
+        .state('app.basic.deviceInputList', {
510
+            url: '/deviceInputList',
511
+            data: {
512
+                title: '设备入库列表'
513
+            },
514
+            views: {
515
+                "content@app": {
516
+                    controller: 'deviceInputCtrl',
517
+                    templateUrl: 'app/business/device/views/deviceInput-list.html'
518
+                }
519
+            }
520
+        })  
521
+        .state('app.basic.deviceInputAdd', {
522
+        	url: '/deviceInputAdd/:id/:isNotEdit',
523
+        	data: {
524
+        		title: '设备入库'
525
+        	},
526
+        	views: {
527
+        		"content@app": {
528
+        			controller: 'deviceInputCheckCtrl',
529
+        			templateUrl: 'app/business/device/views/deviceInput-edit.html'
530
+        		}
531
+        	}
532
+        })  
533
+        .state('app.basic.inputEdit', {
534
+        	url: '/inputEdit/:id/:isNotEdit',
535
+        	data: {
536
+        		title: '设备查看'
537
+        	},
538
+        	views: {
539
+        		"content@app": {
540
+        			controller: 'deviceInputCheckCtrl',
541
+        			templateUrl: 'app/business/device/views/deviceInput-edit.html'
542
+        		}
543
+        	}
544
+        })  
545
+        //----------------设备入库登记结束---------------//
546
+        
547
+        //----------------器材领用开始---------------//
548
+        .state('app.basic.device.deviceGetList', {
549
+        	url: '/deviceGetList',
550
+        	data: {
551
+        		title: '机械器材领用'
552
+        	},
553
+        	views: {
554
+        		"content@app": {
555
+        			controller: 'deviceGetCtrl',
556
+        			templateUrl: 'app/business/device/views/deviceGet-list.html'
557
+        		}
558
+        	}
559
+        })  
560
+        .state('app.basic.device.deviceGetAdd', {
561
+        	url: '/deviceGetAdd',
562
+        	data: {
563
+        		title: '领用信息'
564
+        	},
565
+        	views: {
566
+        		"content@app": {
567
+        			controller: 'deviceGetCtrl',
568
+        			templateUrl: 'app/business/device/views/deviceGet-add.html'
569
+        		}
570
+        	}
571
+        })  
572
+        .state('app.basic.device.deviceGetBack', {
573
+        	url: '/deviceGetBack/:id/:getCount',
574
+        	data: {
575
+        		title: '归还信息'
576
+        	},
577
+        	views: {
578
+        		"content@app": {
579
+        			controller: 'deviceGetBackCtrl',
580
+        			templateUrl: 'app/business/device/views/deviceGet-back.html'
581
+        		}
582
+        	}
583
+        })  
584
+        .state('app.basic.device.deviceChack', {
585
+        	url: '/deviceChack/:id',
586
+        	data: {
587
+        		title: '信息详情'
588
+        	},
589
+        	views: {
590
+        		"content@app": {
591
+        			controller: 'deviceGetBackCtrl',
592
+        			templateUrl: 'app/business/device/views/deviceGet-detail.html'
593
+        		}
594
+        	}
595
+        })  
596
+        //----------------器材领用结束---------------//
597
+
598
+        // 设备器材管理三级路由
599
+        .state('app.basic.device.manage', {
600
+            abstract: true,
601
+            data: {
602
+                title: '设备管理'
603
+            }
604
+        })
605
+        //----------------器材保养开始---------------//
606
+        .state('app.basic.device.manage.deviceKeepList', {
607
+        	url: '/deviceKeepList',
608
+        	data: {
609
+        		title: '器材保养'
610
+        	},
611
+        	views: {
612
+        		"content@app": {
613
+        			controller: 'deviceKeepCtrl',
614
+        			templateUrl: 'app/business/device/views/deviceKeep-list.html'
615
+        		}
616
+        	}
617
+        })  
618
+        .state('app.basic.device.manage.deviceKeepAdd', {
619
+        	url: '/deviceKeepAdd',
620
+        	data: {
621
+        		title: '添加保养信息'
622
+        	},
623
+        	views: {
624
+        		"content@app": {
625
+        			controller: 'deviceKeepAddCtrl',
626
+        			templateUrl: 'app/business/device/views/deviceKeep-add.html'
627
+        		}
628
+        	}
629
+        }) 
630
+        .state('app.basic.device.manage.deviceKeepMassage', {
631
+        	url: '/deviceKeepMassage/:id',
632
+        	data: {
633
+        		title: '保养信息明细'
634
+        	},
635
+        	views: {   
636
+        		"content@app": {
637
+        			controller: 'deviceKeepSelCtrl',
638
+        			templateUrl: 'app/business/device/views/deviceKeep-olist.html'
639
+        		}
640
+        	}
641
+        }) 
642
+         //----------------器材保养结束---------------//
643
+        
644
+         //----------------器材维修开始---------------//
645
+        .state('app.basic.device.manage.deviceRepairList', {
646
+        	url: '/deviceRepairList',
647
+        	data: {
648
+        		title: '器材维修'
649
+        	},
650
+        	views: {
651
+        		"content@app": {
652
+        			controller: 'deviceRepairCtrl',
653
+        			templateUrl: 'app/business/device/views/deviceRepair-list.html'
654
+        		}
655
+        	}
656
+        })  
657
+        .state('app.basic.device.manage.devicerepairAdd', {
658
+        	url: '/devicerepairAdd',
659
+        	data: {
660
+        		title: '添加维修信息'
661
+        	},
662
+        	views: {
663
+        		"content@app": {
664
+        			controller: 'deviceRepairAddCtrl',
665
+        			templateUrl: 'app/business/device/views/deviceRepair-add.html'
666
+        		}
667
+        	}
668
+        })  
669
+        .state('app.basic.device.manage.deviceRepairMassage', {
670
+        	url: '/deviceRepairMassage/:id/:isNotEdit',
671
+        	data: {
672
+        		title: '维修信息明细'
673
+        	},
674
+        	views: {   
675
+        		"content@app": {
676
+        			controller: 'deviceRepairSaveCtrl',
677
+        			templateUrl: 'app/business/device/views/deviceRepair-olist.html'
678
+        		}
679
+        	}
680
+        }) 
681
+        
682
+        //----------------器材维修结束---------------//
683
+        
684
+        
685
+        //----------------设备报废开始---------------//
686
+        .state('app.basic.device.manage.deviceOutList', {
687
+        	url: '/deviceOutList',
688
+        	data: {
689
+        		title: '设备报废'
690
+        	},
691
+        	views: {
692
+        		"content@app": {
693
+        			controller: 'deviceOutCtrl',
694
+        			templateUrl: 'app/business/device/views/deviceOut-list.html'
695
+        		}
696
+        	}
697
+        })  
698
+         //----------------设备报废结束---------------//
699
+        //----------------台账开始---------------//
700
+        .state('app.basic.device.deviceAccountList', {
701
+        	url: '/deviceAccountList',
702
+        	data: {
703
+        		title: '台账'
704
+        	},
705
+        	views: {
706
+        		"content@app": {
707
+        			controller: 'deviceAccountCtrl',
708
+        			templateUrl: 'app/business/device/views/deviceAccount-list.html'
709
+        		}
710
+        	}
711
+        })
712
+        
713
+        .state('app.basic.device.accountEdit', {
714
+        	url: '/accountEdit/:deviceType/:deviceName/:model/:isNotEdit',
715
+        	data: {
716
+        		title: '设备台账'
717
+        	},
718
+        	views: {
719
+        		"content@app": {
720
+        			controller: 'deviceInputCheckCtrl',
721
+        			templateUrl: 'app/business/device/views/deviceAccount-edit.html'
722
+        		}
723
+        	}
724
+        }) 
725
+         //----------------台账结束---------------//
726
+        .state('app.basic.device.deviceCheckList', {
727
+        	url: '/deviceCheckList',
728
+        	data: {
729
+        		title: '盘点单'
730
+        	},
731
+        	views: {
732
+        		"content@app": {
733
+        			controller: 'deviceCheckCtrl',
734
+        			templateUrl: 'app/business/device/views/deviceCheck-list.html'
735
+        		}
736
+        	}
737
+        })
738
+        .state('app.basic.device.checkAdd', {
739
+        	url: '/checkAdd',
740
+        	data: {
741
+        		title: '新建盘点单'
742
+        	},
743
+        	views: {
744
+        		"content@app": {
745
+        			controller: 'deviceCheckAddCtrl',
746
+        			templateUrl: 'app/business/device/views/deviceAdd.html'
747
+        		}
748
+        	}
749
+        })
750
+        .state('app.basic.device.checkEdit', {
751
+        	url: '/checkEdit/:checkNumber/:isNotEdit',
752
+        	data: {
753
+        		title: '修改盘点单'
754
+        	},
755
+        	views: {
756
+        		"content@app": {
757
+        			controller: 'deviceCheckEditCtrl',
758
+        			templateUrl: 'app/business/device/views/deviceEdit.html'
759
+        		}
760
+        	}
761
+        })
762
+        //---------------------------------设施管理------------------------------------------------------
763
+         // 设施管理二级路由
764
+         .state('app.basic.facility', {
765
+            abstract: true,
766
+            data: {
767
+                title: '设施管理'
768
+            }
769
+        })
770
+        //----------------设施基础信息维护开始---------------//
771
+        .state('app.basic.facility.facilityStorageList', {
772
+            url: '/facilityStorageList',
773
+            data: {
774
+                title: '设施基础信息维护'
775
+            },
776
+            views: {
777
+                "content@app": {
778
+                    controller: 'facilityListCtrl',
779
+                    templateUrl: 'app/business/facility/views/facility-list.html'
780
+                }
781
+            }
782
+        })  
783
+        .state('app.basic.facility.addFacility', {
784
+            url: '/addFacility/:isNotEdit/:facility?',
785
+            data: {
786
+                title: '新增设施'
787
+            },
788
+            views: {
789
+                "content@app": {
790
+                    controller: 'addfacilityCtrl',
791
+                    templateUrl: 'app/business/facility/views/add-facility.html'
792
+                }
793
+            }
794
+        })  
795
+        
796
+        //----------------设施基础信息维护结束---------------//
797
+        //----------------设施保养开始---------------//
798
+        .state('app.basic.facility.facilityKeepList', {
799
+            url: '/facilityKeepList',
800
+            data: {
801
+                title: '设施保养'
802
+            },
803
+            views: {
804
+                "content@app": {
805
+                    controller: 'facilityKeepListCtrl',
806
+                    templateUrl: 'app/business/facility/views/facility-keep.html'
807
+                }
808
+            }
809
+        }) 
810
+        .state('app.basic.facility.addFacilityKeep', {
811
+            url: '/addFacilityKeep/:isNotEdit/:facility?',
812
+            data: {
813
+                title: '添加设施保养信息'
814
+            },
815
+            views: {
816
+                "content@app": {
817
+                    controller: 'addfacilityKeepCtrl',
818
+                    templateUrl: 'app/business/facility/views/add-facility-keep.html'
819
+                }
820
+            }
821
+        })  
822
+        
823
+        //----------------设施保养结束---------------//
824
+         //----------------设施维修开始---------------//
825
+         .state('app.basic.facility.facilityGetList', {
826
+            url: '/facilityGetList',
827
+            data: {
828
+                title: '设施维修'
829
+            },
830
+            views: {
831
+                "content@app": {
832
+                    controller: 'facilityGetListCtrl',
833
+                    templateUrl: 'app/business/facility/views/facility-get-list.html'
834
+                }
835
+            }
836
+        }) 
837
+        .state('app.basic.facility.addFacilityGet', {
838
+            url: '/addfacilityGet/:isNotEdit/:facility?',
839
+            data: {
840
+                title: '添加设施维修信息'
841
+            },
842
+            views: {
843
+                "content@app": {
844
+                    controller: 'addFacilityGetCtrl',
845
+                    templateUrl: 'app/business/facility/views/add-facility-get.html'
846
+                }
847
+            }
848
+        })  
849
+        
850
+        //----------------设施维修结束---------------//
851
+        // //----------------设施报废开始---------------//
852
+        // .state('app.basic.facility.facilityScrapList', {
853
+        //     url: '/facilityScrapList',
854
+        //     data: {
855
+        //         title: '设施报废'
856
+        //     },
857
+        //     views: {
858
+        //         "content@app": {
859
+        //             controller: 'facilityScrapListCtrl',
860
+        //             templateUrl: 'app/business/facility/views/facility-scraplist.html'
861
+        //         }
862
+        //     }
863
+        // }) 
864
+        // .state('app.basic.facility.addFacilityScrap', {
865
+        //     url: '/addFacilityScrap',
866
+        //     data: {
867
+        //         title: '添加设施报废信息'
868
+        //     },
869
+        //     views: {
870
+        //         "content@app": {
871
+        //             controller: 'addFacilityScrapCtrl',
872
+        //             templateUrl: 'app/business/facility/views/add-facility-scrap.html'
873
+        //         }
874
+        //     }
875
+        // })  
876
+        
877
+        // //----------------设施报废结束---------------//
878
+        
879
+        
880
+        
881
+        //初始化员工信息调用
882
+    .state('app.basic.keeperList', {
883
+    	url: '/keeperList',
884
+        data: {
885
+            title: '人员管理'
886
+        },
887
+        views: {
888
+            "content@app": {
889
+                controller: 'keeperCtrl',
890
+                templateUrl: 'app/basic/keeper/views/keeper-list.html'
891
+            }
892
+        }
893
+    })
894
+    
895
+    //点新增或修改保管员信息调用
896
+    .state('app.basic.keeperEdit', {
897
+    	url: '/keeperEdit/:id/:showType',
898
+        data: {
899
+            title: '人员信息详情'
900
+        },
901
+        views: {
902
+            "content@app": {
903
+                controller: 'keeperCtrlEdit',
904
+                templateUrl: 'app/basic/keeper/views/keeper-edit.html'
905
+            }
906
+        }
907
+    })
908
+    //点查看跳转页面
909
+    .state('app.basic.keeperView', {
910
+    	url: '/keeperView/:id/:types',
911
+        data: {
912
+            title: '人员信息展示'
913
+        },
914
+        views: {
915
+            "content@app": {
916
+                controller: 'keeperViewCtrl',
917
+                templateUrl: 'app/basic/keeper/views/keeper-view.html'
918
+            }
919
+        }
920
+    })
398 921
 });

+ 2 - 2
src/main/resources/static/app/business/customer/controller/customerCtrl.js

@@ -28,7 +28,7 @@ angular.module('app.business').controller("customerCtrl", function($scope, $root
28 28
     	if($scope.menu!=null){
29 29
     		$state.go('app.business.management.customer.add', {id : 0,menu:$scope.menu});
30 30
     	}else{
31
-    		$state.go('app.system.customer.add', {id : 0});
31
+    		$state.go('app.basic.customer.add', {id : 0});
32 32
     	}
33 33
         
34 34
     }
@@ -38,7 +38,7 @@ angular.module('app.business').controller("customerCtrl", function($scope, $root
38 38
     	if($scope.menu!=null){
39 39
     		$state.go('app.business.management.customer.edit', {id : id,menu:$scope.menu});
40 40
     	}else{
41
-    		$state.go('app.system.customer.edit', {id : id});
41
+    		$state.go('app.basic.customer.edit', {id : id});
42 42
     	}
43 43
     }
44 44
     

+ 1 - 1
src/main/resources/static/app/business/customer/controller/customerSaveCtrl.js

@@ -163,7 +163,7 @@ angular.module('app.business').controller("customerSaveCtrl", function($scope, $
163 163
         if ($rootScope.previousState_name != '') {
164 164
         	$rootScope.back();
165 165
         } else {
166
-        	$state.go('app.system.customer.list');
166
+        	$state.go('app.basic.customer.list');
167 167
         }
168 168
     }
169 169
     

+ 1 - 1
src/main/resources/static/app/business/device/controller/deviceAccountCtrl.js

@@ -23,7 +23,7 @@ angular.module('app.business')
23 23
 	    
24 24
 	 // 查看页面
25 25
 	    $scope.showViewInput = function(deviceType,deviceName,model) {
26
-	    	$state.go('app.system.device.accountEdit',{ssfl:deviceType,deviceName:deviceName,model:model,isNotEdit:true});
26
+	    	$state.go('app.basic.device.accountEdit',{ssfl:deviceType,deviceName:deviceName,model:model,isNotEdit:true});
27 27
 	    }
28 28
 	 
29 29
 })

+ 6 - 6
src/main/resources/static/app/business/device/controller/deviceCheckCtrl.js

@@ -37,7 +37,7 @@ angular.module('app.business')
37 37
 
38 38
         //新增
39 39
         $scope.showCheck = function () {
40
-            $state.go('app.system.device.checkAdd');
40
+            $state.go('app.basic.device.checkAdd');
41 41
         }
42 42
 
43 43
         // 翻页
@@ -59,7 +59,7 @@ angular.module('app.business')
59 59
 
60 60
         //修改
61 61
         $scope.loadDataById = function (checkNumber, type) {
62
-            $state.go("app.system.device.checkEdit", {checkNumber: checkNumber, isNotEdit: type});
62
+            $state.go("app.basic.device.checkEdit", {checkNumber: checkNumber, isNotEdit: type});
63 63
         }
64 64
 
65 65
         // 翻页
@@ -133,7 +133,7 @@ angular.module('app.business')
133 133
         }
134 134
 
135 135
         $scope.back = function () {
136
-            $state.go("app.system.device.deviceCheckList");
136
+            $state.go("app.basic.device.deviceCheckList");
137 137
         }
138 138
         var validator = $("#deviceCheck-form").validate();
139 139
         $scope.pd = {};
@@ -166,7 +166,7 @@ angular.module('app.business')
166 166
                 }).then(function successCallback(response) {
167 167
                     if (response.data.status == "success") {
168 168
                         alert("保存成功!");
169
-                        $state.go('app.system.device.deviceCheckList');
169
+                        $state.go('app.basic.device.deviceCheckList');
170 170
                     } else {
171 171
                         alert("保存失败!");
172 172
                     }
@@ -233,7 +233,7 @@ angular.module('app.business')
233 233
             if (type == 1) return years + "-" + month + "-" + strDate + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
234 234
         };
235 235
         $scope.back = function () {
236
-            $state.go("app.system.device.deviceCheckList");
236
+            $state.go("app.basic.device.deviceCheckList");
237 237
         }
238 238
 
239 239
         $scope.deviceCheck = {};
@@ -293,7 +293,7 @@ angular.module('app.business')
293 293
             }).then(function successCallback(response) {
294 294
                 if (response.data.status == "success") {
295 295
                     alert("保存成功!");
296
-                    $state.go('app.system.device.deviceCheckList');
296
+                    $state.go('app.basic.device.deviceCheckList');
297 297
                 } else {
298 298
                     alert("保存失败!");
299 299
                 }

+ 5 - 5
src/main/resources/static/app/business/device/controller/deviceGetCtrl.js

@@ -174,18 +174,18 @@ angular.module('app.business')
174 174
 
175 175
         //领取
176 176
         $scope.showGet = function () {
177
-            $state.go('app.system.device.deviceGetAdd');
177
+            $state.go('app.basic.device.deviceGetAdd');
178 178
         }
179 179
 
180 180
 
181 181
         //归还
182 182
         $scope.showGetBack = function (id, getCount) {
183
-            $state.go('app.system.device.deviceGetBack', {id: id, getCount: getCount});
183
+            $state.go('app.basic.device.deviceGetBack', {id: id, getCount: getCount});
184 184
         }
185 185
 
186 186
         //查看
187 187
         $scope.showMassage = function (id) {
188
-            $state.go('app.system.device.deviceChack', {id: id});
188
+            $state.go('app.basic.device.deviceChack', {id: id});
189 189
         }
190 190
 
191 191
         // 翻页
@@ -230,7 +230,7 @@ angular.module('app.business')
230 230
                 }).then(function successCallback(response) {
231 231
                     if (response.data.status == "success") {
232 232
                         alert("保存成功!");
233
-                        $state.go('app.system.device.deviceGetList');
233
+                        $state.go('app.basic.device.deviceGetList');
234 234
                     } else {
235 235
                         alert(response.data.msg);
236 236
                     }
@@ -322,7 +322,7 @@ angular.module('app.business')
322 322
                 }).then(function successCallback(response) {
323 323
                     if (response.data.status == "success") {
324 324
                         alert("归还成功!");
325
-                        $state.go('app.system.device.deviceGetList');
325
+                        $state.go('app.basic.device.deviceGetList');
326 326
                     } else {
327 327
                         alert(response.data.msg);
328 328
                     }

+ 4 - 4
src/main/resources/static/app/business/device/controller/deviceInputCtrl.js

@@ -32,7 +32,7 @@ angular.module('app.business')
32 32
 	 $scope.loadData();
33 33
 	 //新增
34 34
 	 $scope.showAddInput = function () {
35
-		 $state.go('app.system.device.deviceInputAdd',{id:0,isNotEdit:false});
35
+		 $state.go('app.basic.device.deviceInputAdd',{id:0,isNotEdit:false});
36 36
 	 }
37 37
 
38 38
 
@@ -57,12 +57,12 @@ angular.module('app.business')
57 57
 	
58 58
 	// 查看页面
59 59
     $scope.showViewInput = function(id) {
60
-    	$state.go('app.system.device.inputEdit',{id:id,isNotEdit:true});
60
+    	$state.go('app.basic.device.inputEdit',{id:id,isNotEdit:true});
61 61
     }
62 62
     
63 63
     //修改页面
64 64
     $scope.showEditInput = function(id) {
65
-    	$state.go('app.system.device.inputEdit',{id:id,isNotEdit:false});
65
+    	$state.go('app.basic.device.inputEdit',{id:id,isNotEdit:false});
66 66
     }
67 67
 
68 68
     //树形下拉框获取器材设备名称
@@ -182,7 +182,7 @@ angular.module('app.business')
182 182
    			}).then(function successCallback(response) {
183 183
    				if(response.data.status == "success"){
184 184
    					alert("保存成功!");
185
-   					$state.go('app.system.device.deviceInputList');
185
+   					$state.go('app.basic.device.deviceInputList');
186 186
    				}else{
187 187
    					alert(response.data.msg);
188 188
    					$scope.saveFlag = false;

+ 3 - 3
src/main/resources/static/app/business/device/controller/deviceKeepCtrl.js

@@ -34,12 +34,12 @@ angular.module('app.business')
34 34
 
35 35
         //新增
36 36
         $scope.showKeep = function () {
37
-            $state.go('app.system.device.manage.deviceKeepAdd');
37
+            $state.go('app.basic.device.manage.deviceKeepAdd');
38 38
         }
39 39
 
40 40
         //展示保养信息
41 41
         $scope.showKeepMassage = function (id) {
42
-            $state.go('app.system.device.manage.deviceKeepMassage', {id: id});
42
+            $state.go('app.basic.device.manage.deviceKeepMassage', {id: id});
43 43
         }
44 44
 
45 45
 
@@ -137,7 +137,7 @@ angular.module('app.business')
137 137
                 }).then(function successCallback(response) {
138 138
                     if (response.data.status == "success") {
139 139
                         alert("保存成功!");
140
-                        $state.go('app.system.device.manage.deviceKeepList');
140
+                        $state.go('app.basic.device.manage.deviceKeepList');
141 141
                     } else {
142 142
                         alert("保存失败!");
143 143
                     }

+ 3 - 3
src/main/resources/static/app/business/device/controller/deviceRepairCtrl.js

@@ -34,12 +34,12 @@ angular.module('app.business')
34 34
     
35 35
 	 //添加维护信息页面
36 36
 	 $scope.showRepair = function () {
37
-	   $state.go('app.system.device.manage.devicerepairAdd');
37
+	   $state.go('app.basic.device.manage.devicerepairAdd');
38 38
 	 }
39 39
 	 
40 40
 	 //维护信息详情
41 41
 	 $scope.showRepairMassage = function (id) {
42
-		 $state.go('app.system.device.manage.deviceRepairMassage',{id:id,isNotEdit:false});
42
+		 $state.go('app.basic.device.manage.deviceRepairMassage',{id:id,isNotEdit:false});
43 43
 	 }
44 44
 
45 45
     	
@@ -205,7 +205,7 @@ angular.module('app.business')
205 205
                     }).then(function successCallback(response) {
206 206
                         if (response.data.status == "success") {
207 207
                             alert("保存成功!");
208
-                            $state.go('app.system.device.manage.deviceRepairList');
208
+                            $state.go('app.basic.device.manage.deviceRepairList');
209 209
                         } else {
210 210
                             alert("保存失败!");
211 211
                         }

+ 4 - 4
src/main/resources/static/app/business/device/controller/deviceStorageCtrl.js

@@ -31,17 +31,17 @@ angular.module('app.business').controller("deviceStorageCtrl", function ($scope,
31 31
 
32 32
     // 新增页面
33 33
     $scope.showAdd = function () {
34
-        $state.go('app.system.device.deviceStorageList.edit', { id: '0', isNotEdit: false });
34
+        $state.go('app.basic.device.deviceStorageList.edit', { id: '0', isNotEdit: false });
35 35
     };
36 36
     // 修改页面
37 37
     $scope.showEdit = function (dSbxxsjy) {
38 38
         dSbxxsjy.ssfl.toString();
39
-        $state.go("app.system.device.deviceStorageList.edit", { id: angular.toJson(dSbxxsjy), isNotEdit: false });
39
+        $state.go("app.basic.device.deviceStorageList.edit", { id: angular.toJson(dSbxxsjy), isNotEdit: false });
40 40
     };
41 41
     // 查看页面
42 42
     $scope.showView = function (dSbxxsjy) {
43 43
         dSbxxsjy.ssfl.toString();
44
-        $state.go("app.system.device.deviceStorageList.edit", { id: angular.toJson(dSbxxsjy), isNotEdit: true });
44
+        $state.go("app.basic.device.deviceStorageList.edit", { id: angular.toJson(dSbxxsjy), isNotEdit: true });
45 45
     };
46 46
     // 删除一条记录.
47 47
     $scope.delete = function (id) {
@@ -251,7 +251,7 @@ angular.module('app.business').controller("deviceStorageCtrl", function ($scope,
251 251
         if ($rootScope.previousState_name != '') {
252 252
             $rootScope.back();
253 253
         } else {
254
-            $state.go("app.system.device.deviceStorageList");
254
+            $state.go("app.basic.device.deviceStorageList");
255 255
         }
256 256
     };
257 257
 

+ 4 - 4
src/main/resources/static/app/business/facility/controller/facilityGetListCtrl.js

@@ -17,7 +17,7 @@ angular.module('app.business')
17 17
 	 $scope.loadData();
18 18
 	 //新增
19 19
 	 $scope.showAddInput = function () {
20
-		 $state.go('app.system.facility.addFacilityGet',{isNotEdit:false});
20
+		 $state.go('app.basic.facility.addFacilityGet',{isNotEdit:false});
21 21
 	 }
22 22
 
23 23
 
@@ -42,12 +42,12 @@ angular.module('app.business')
42 42
 	
43 43
 	// 查看页面
44 44
     $scope.viewFacility = function(facility) {
45
-    	$state.go('app.system.facility.addFacilityGet',{facility:angular.toJson(facility),isNotEdit:true});
45
+    	$state.go('app.basic.facility.addFacilityGet',{facility:angular.toJson(facility),isNotEdit:true});
46 46
     }
47 47
     
48 48
     //修改页面
49 49
     $scope.editFacility = function(facility) {
50
-    	$state.go('app.system.facility.addFacilityGet',{facility:angular.toJson(facility),isNotEdit:false});
50
+    	$state.go('app.basic.facility.addFacilityGet',{facility:angular.toJson(facility),isNotEdit:false});
51 51
     }
52 52
 
53 53
     // //树形下拉框获取器材设备名称
@@ -176,7 +176,7 @@ angular.module('app.business')
176 176
                 FacilityGetService.savaFacility({dFacilitiesRepairJson : angular.toJson(params)}).then(function (response) {
177 177
                     if(response.status == "success"){
178 178
                         alert("保存成功!");
179
-                        $state.go('app.system.facility.facilityGetList');
179
+                        $state.go('app.basic.facility.facilityGetList');
180 180
                     }else{
181 181
                         alert(response.msg);
182 182
                         $scope.saveFlag = false;

+ 4 - 4
src/main/resources/static/app/business/facility/controller/facilityKeepListCtrl.js

@@ -17,7 +17,7 @@ angular.module('app.business')
17 17
 	 $scope.loadData();
18 18
 	 //新增
19 19
 	 $scope.showAddInput = function () {
20
-		 $state.go('app.system.facility.addFacilityKeep',{isNotEdit:false});
20
+		 $state.go('app.basic.facility.addFacilityKeep',{isNotEdit:false});
21 21
 	 }
22 22
 
23 23
 
@@ -42,12 +42,12 @@ angular.module('app.business')
42 42
 	
43 43
 	// 查看页面
44 44
     $scope.viewFacility = function(facility) {
45
-    	$state.go('app.system.facility.addFacilityKeep',{facility:angular.toJson(facility),isNotEdit:true});
45
+    	$state.go('app.basic.facility.addFacilityKeep',{facility:angular.toJson(facility),isNotEdit:true});
46 46
     }
47 47
     
48 48
     //修改页面
49 49
     $scope.editFacility = function(facility) {
50
-    	$state.go('app.system.facility.addFacilityKeep',{facility:angular.toJson(facility),isNotEdit:false});
50
+    	$state.go('app.basic.facility.addFacilityKeep',{facility:angular.toJson(facility),isNotEdit:false});
51 51
     }
52 52
 
53 53
     // //树形下拉框获取器材设备名称
@@ -172,7 +172,7 @@ angular.module('app.business')
172 172
                 facilityKeepService.savaFacility({dFacilitiesMaintainJson : angular.toJson(params)}).then(function (response) {
173 173
                     if(response.status == "success"){
174 174
                         alert("保存成功!");
175
-                        $state.go('app.system.facility.facilityKeepList');
175
+                        $state.go('app.basic.facility.facilityKeepList');
176 176
                     }else{
177 177
                         alert(response.msg);
178 178
                         $scope.saveFlag = false;

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

@@ -18,7 +18,7 @@ angular.module('app.business')
18 18
 	 $scope.loadData();
19 19
 	 //新增
20 20
 	 $scope.showAddInput = function () {
21
-		 $state.go('app.system.facility.addFacility',{isNotEdit:false});
21
+		 $state.go('app.basic.facility.addFacility',{isNotEdit:false});
22 22
 	 }
23 23
 
24 24
 
@@ -43,12 +43,12 @@ angular.module('app.business')
43 43
 	
44 44
 	// 查看页面
45 45
     $scope.viewFacility = function(facility) {
46
-    	$state.go('app.system.facility.addFacility',{facility:angular.toJson(facility),isNotEdit:true});
46
+    	$state.go('app.basic.facility.addFacility',{facility:angular.toJson(facility),isNotEdit:true});
47 47
     }
48 48
     
49 49
     //修改页面
50 50
     $scope.editFacility = function(facility) {
51
-    	$state.go('app.system.facility.addFacility',{facility:angular.toJson(facility),isNotEdit:false});
51
+    	$state.go('app.basic.facility.addFacility',{facility:angular.toJson(facility),isNotEdit:false});
52 52
     }
53 53
 
54 54
     // 报废
@@ -174,7 +174,7 @@ angular.module('app.business')
174 174
                 facilityListService.savaFacility({dFacilitiesBasicsJson : angular.toJson(params)}).then(function (response) {
175 175
                     if(response.status == "success"){
176 176
                         alert("保存成功!");
177
-                        $state.go('app.system.facility.facilityStorageList');
177
+                        $state.go('app.basic.facility.facilityStorageList');
178 178
                     }else{
179 179
                         alert(response.msg);
180 180
                     }

+ 2 - 2
src/main/resources/static/app/business/index/views/business-index.html

@@ -70,12 +70,12 @@
70 70
 			$("a[data-ui-sref='app.business.plan-schedule']").click();
71 71
 		});
72 72
 		$("#customer").click(function(){
73
-			$("a[data-ui-sref='app.system.customer.list']").parents('li').each(function () {
73
+			$("a[data-ui-sref='app.basic.customer.list']").parents('li').each(function () {
74 74
 				if($(this).attr("ng-show") == null && !$(this).hasClass('open')){//非顶级且当前不是打开的
75 75
 	                $(this).find("a:first").click();
76 76
 				}
77 77
             });
78
-			$("a[data-ui-sref='app.system.customer.list']").click();
78
+			$("a[data-ui-sref='app.basic.customer.list']").click();
79 79
 		});
80 80
 		setTimeout(function(){
81 81
 			var receiveNotice = $("#images")[0].width*0.35936+","+$("#images")[0].height*0.49819+",50";

+ 1 - 1
src/main/resources/static/app/business/util/controller/addCustomerModal.js

@@ -117,7 +117,7 @@ angular.module('app.business').controller("addCustomerCtrl", function($scope, $h
117 117
     
118 118
     // 返回.
119 119
    /* $scope.retList = function () {
120
-    	$state.go('app.system.customer.list');
120
+    	$state.go('app.basic.customer.list');
121 121
     }*/
122 122
     // 返回.
123 123
     $scope.retList = function () {

+ 1 - 1
src/main/resources/static/app/home/controller/daibsxCtrl.js

@@ -29,7 +29,7 @@ angular.module('app.system')
29 29
         // 安全生产通知链接
30 30
         var safeProduceNotifyCtrlScope = $('div[ng-controller="headerCtrl"]').scope();
31 31
         $scope.safeProduceNotifyTodo = function () {
32
-            safeProduceNotifyCtrlScope.switchTopMenu(19, "app.storage.safeproduce.notifyList");
32
+            safeProduceNotifyCtrlScope.switchTopMenu(19, "app.safeproduce.notifyList");
33 33
         };
34 34
 
35 35
         // ----------------获取药剂采购审批事项数据------------------

+ 1 - 1
src/main/resources/static/app/layout/partials/header.tpl.html

@@ -49,7 +49,7 @@
49 49
 						<div has-func="2" ng-hide="isEmergency" class="nav-li" role="presentation" ng-class="{true:'active'}[childSysId==2]">
50 50
 							<a href-void ng-click="switchTopMenu(2,'app.basic.index')">
51 51
 								<i class="nav-icon"><img src="styles/img/home-1/nav-icon/jicsj-icon.png" /></i>
52
-								基础数据</a>
52
+								基本信息</a>
53 53
 							<i class="nav-feng-line"></i>
54 54
 						</div>
55 55
 						<div has-func="18" ng-hide="isEmergency" class="nav-li" role="presentation" ng-class="{true:'active'}[childSysId==18]">

+ 141 - 137
src/main/resources/static/app/layout/partials/navigation.tpl.html

@@ -36,8 +36,45 @@
36 36
                     <!-- <li has-func="290" data-ui-sref-active="active">
37 37
                         <a data-ui-sref="app.system.orgPower">机构授权管理</a>
38 38
                     </li> -->
39
+                    
40
+                    <li data-ui-sref-active="active">
41
+                        <a data-ui-sref="app.system.pwd">修改密码</a>
42
+                    </li>
43
+                    <li has-func="287" data-ui-sref-active="active">
44
+                        <a data-ui-sref="app.system.resetPwd">重置密码</a>
45
+                    </li>
46
+                    <li has-func="430"  data-ui-sref-active="active">
47
+                        <a data-ui-sref="app.system.systemLog">日志管理</a>
48
+                    </li>
49
+                    <li has-func="217" data-ui-sref-active="active">
50
+                        <a data-ui-sref="app.system.depotUrl">库端url配置</a>
51
+                    </li>
52
+                </ul>
53
+            </li>
54
+            <li data-menu-collapse id="menu-2" ng-show="childSysId==2">
55
+                <a href="#" style="background: #2259a5;">
56
+                    <i class="nav-icon"><img style="margin-bottom: -12px;"
57
+                                             src="styles/img/home-1/nav-icon/jicsj-icon.png"/></i>
58
+                    <span class="menu-item-parent" style="color:#fff;background: #2259a5;">基本信息</span>
59
+                </a>
60
+                <ul>
61
+                    <li data-ui-sref-active="active" class="active">
62
+                        <a data-ui-sref="app.basic.index">业务介绍</a>
63
+                    </li>
64
+                    <li has-func="6" data-ui-sref-active="active">
65
+                        <a data-ui-sref="app.basic.enumList">数据字典</a>
66
+                    </li>
67
+                    <li has-func="7" data-ui-sref-active="active">
68
+                        <a data-ui-sref="app.basic.storehouseList({type:2})">仓房管理</a>
69
+                    </li>
70
+                    <li has-func="22" data-ui-sref-active="active">
71
+                        <a data-ui-sref="app.basic.warehouseList">货位管理</a>
72
+                    </li>
73
+                    <li has-func="325" data-ui-sref-active="active">
74
+                        <a data-ui-sref="app.basic.tankList">油罐管理</a>
75
+                    </li>
39 76
                     <li has-func="24" data-ui-sref-active="active">
40
-                        <a data-ui-sref="app.system.keeperList">人员管理</a>
77
+                        <a data-ui-sref="app.basic.keeperList">人员管理</a>
41 78
                     </li>
42 79
                     <li data-menu-collapse>
43 80
                         <a has-func="43" href="#">
@@ -45,16 +82,19 @@
45 82
                         </a>
46 83
                         <ul>
47 84
                             <li has-func="44">
48
-                                <a data-ui-sref="app.system.customer.list">客户档案管理</a>
85
+                                <a data-ui-sref="app.basic.customer.list">客户档案管理</a>
49 86
                             </li>
50 87
                             <li has-func="45">
51
-                                <a data-ui-sref="app.system.customer.badrecord">客户不良记录管理</a>
88
+                                <a data-ui-sref="app.basic.customer.badrecord">客户不良记录管理</a>
52 89
                             </li>
53 90
                             <li has-func="46">
54
-                                <a data-ui-sref="app.system.customer.blackList">客户黑名单管理</a>
91
+                                <a data-ui-sref="app.basic.customer.blackList">客户黑名单管理</a>
55 92
                             </li>
56 93
                         </ul>
57 94
                     </li>
95
+                    <li has-func="438" data-ui-sref-active="active">
96
+                        <a data-ui-sref="app.basic.equipmentEquipmentPoolList">设备器材库</a>
97
+                    </li>
58 98
                      <!-- 设备器材管理开始 -->
59 99
                     <li data-menu-collapse>
60 100
                         <a has-func="158" href="#">
@@ -62,13 +102,13 @@
62 102
                         </a>
63 103
                         <ul>
64 104
                             <li has-func="159" data-ui-sref-active="active">
65
-                                <a data-ui-sref="app.system.device.deviceStorageList">设备器材入库</a>
105
+                                <a data-ui-sref="app.basic.device.deviceStorageList">设备器材入库</a>
66 106
                             </li>
67 107
                             <!-- <li has-func="159" data-ui-sref-active="active">
68
-                                 <a data-ui-sref="app.system.deviceInputList">设备入库登记</a>
108
+                                 <a data-ui-sref="app.basic.deviceInputList">设备入库登记</a>
69 109
                              </li>-->
70 110
                             <li has-func="402" data-ui-sref-active="active">
71
-                                <a data-ui-sref="app.system.device.deviceGetList">设备领用</a>
111
+                                <a data-ui-sref="app.basic.device.deviceGetList">设备领用</a>
72 112
                             </li>
73 113
                             <li has-func="432" data-menu-collapse>
74 114
                                 <a href="#">
@@ -76,18 +116,18 @@
76 116
                                 </a>
77 117
                                 <ul>
78 118
                                     <li has-func="433" data-ui-sref-active="active"><a
79
-                                            data-ui-sref="app.system.device.manage.deviceKeepList">设备保养</a></li>
119
+                                            data-ui-sref="app.basic.device.manage.deviceKeepList">设备保养</a></li>
80 120
                                     <li has-func="434" data-ui-sref-active="active"><a
81
-                                            data-ui-sref="app.system.device.manage.deviceRepairList">设备维修</a></li>
121
+                                            data-ui-sref="app.basic.device.manage.deviceRepairList">设备维修</a></li>
82 122
                                     <li has-func="438" data-ui-sref-active="active"><a
83
-                                            data-ui-sref="app.system.device.manage.deviceOutList">设备报废</a></li>
123
+                                            data-ui-sref="app.basic.device.manage.deviceOutList">设备报废</a></li>
84 124
                                 </ul>
85 125
                             </li>
86 126
                             <li has-func="436" data-ui-sref-active="active">
87
-                                <a data-ui-sref="app.system.device.deviceAccountList">设备管理台账</a>
127
+                                <a data-ui-sref="app.basic.device.deviceAccountList">设备管理台账</a>
88 128
                             </li>
89 129
                             <li has-func="437" data-ui-sref-active="active">
90
-                                <a data-ui-sref="app.system.device.deviceCheckList">盘点单</a>
130
+                                <a data-ui-sref="app.basic.device.deviceCheckList">盘点单</a>
91 131
                             </li>
92 132
                         </ul>
93 133
                     </li>
@@ -98,55 +138,16 @@
98 138
                         </a>
99 139
                         <ul>
100 140
                             <li has-func="458" data-ui-sref-active="active">
101
-                                <a data-ui-sref="app.system.facility.facilityStorageList">设施基础信息维护</a>
141
+                                <a data-ui-sref="app.basic.facility.facilityStorageList">设施基础信息维护</a>
102 142
                             </li>
103 143
                             <li has-func="459" data-ui-sref-active="active">
104
-                                <a data-ui-sref="app.system.facility.facilityKeepList">设施保养</a>
144
+                                <a data-ui-sref="app.basic.facility.facilityKeepList">设施保养</a>
105 145
                             </li>
106 146
                             <li has-func="460" data-ui-sref-active="active">
107
-                                <a data-ui-sref="app.system.facility.facilityGetList">设施维修</a>
147
+                                <a data-ui-sref="app.basic.facility.facilityGetList">设施维修</a>
108 148
                             </li>
109 149
                         </ul>
110 150
                     </li>
111
-                    <li data-ui-sref-active="active">
112
-                        <a data-ui-sref="app.system.pwd">修改密码</a>
113
-                    </li>
114
-                    <li has-func="287" data-ui-sref-active="active">
115
-                        <a data-ui-sref="app.system.resetPwd">重置密码</a>
116
-                    </li>
117
-                    <li has-func="430"  data-ui-sref-active="active">
118
-                        <a data-ui-sref="app.system.systemLog">日志管理</a>
119
-                    </li>
120
-                    <li has-func="217" data-ui-sref-active="active">
121
-                        <a data-ui-sref="app.system.depotUrl">库端url配置</a>
122
-                    </li>
123
-                </ul>
124
-            </li>
125
-            <li data-menu-collapse id="menu-2" ng-show="childSysId==2">
126
-                <a href="#" style="background: #2259a5;">
127
-                    <i class="nav-icon"><img style="margin-bottom: -12px;"
128
-                                             src="styles/img/home-1/nav-icon/jicsj-icon.png"/></i>
129
-                    <span class="menu-item-parent" style="color:#fff;background: #2259a5;">基础数据</span>
130
-                </a>
131
-                <ul>
132
-                    <li data-ui-sref-active="active" class="active">
133
-                        <a data-ui-sref="app.basic.index">业务介绍</a>
134
-                    </li>
135
-                    <li has-func="6" data-ui-sref-active="active">
136
-                        <a data-ui-sref="app.basic.enumList">数据字典</a>
137
-                    </li>
138
-                    <li has-func="7" data-ui-sref-active="active">
139
-                        <a data-ui-sref="app.basic.storehouseList({type:2})">仓房管理</a>
140
-                    </li>
141
-                    <li has-func="22" data-ui-sref-active="active">
142
-                        <a data-ui-sref="app.basic.warehouseList">货位管理</a>
143
-                    </li>
144
-                    <li has-func="325" data-ui-sref-active="active">
145
-                        <a data-ui-sref="app.basic.tankList">油罐管理</a>
146
-                    </li>
147
-                    <li has-func="438" data-ui-sref-active="active">
148
-                        <a data-ui-sref="app.basic.equipmentEquipmentPoolList">设备器材库</a>
149
-                    </li>
150 151
                     <li has-func="27" data-ui-sref-active="active">
151 152
                         <!--<a data-ui-sref="app.nvr.list">硬盘录像机管理</a>-->
152 153
                         <a data-ui-sref="app.basic.nvrList">硬盘录像机管理</a>
@@ -802,6 +803,91 @@
802 803
                         <a href="app/monitor/nvrPlay.exe" title="监控控件">控件下载</a>
803 804
                     </li>
804 805
                                 </ul>
806
+                        </li>
807
+                        
808
+                        
809
+                           <!--安全生产开始-->
810
+                            <li data-menu-collapse><!--原: 安全生产-->
811
+                                <a has-func="94" href="#"><i class="fa fa-lg fa-fw fa-folder-open"></i>
812
+                                    安全管理</a>
813
+                                <!--三级菜单开始-->
814
+                                <ul>
815
+                                    <li has-func="110" data-ui-sref-active="active">
816
+                                        <a data-ui-sref="app.safeproduce.list({type:1})">安全生产管理制度</a>
817
+                                    </li>
818
+                                    <li has-func="111" data-ui-sref-active="active">
819
+                                        <a data-ui-sref="app.safeproduce.list({type:2})">安全生产应急预案</a>
820
+                                    </li>
821
+                                    <li has-func="112" data-ui-sref-active="active">
822
+                                        <a data-ui-sref="app.safeproduce.list({type:3})">安全生产管理责任</a>
823
+                                    </li>
824
+                                    <li has-func="180" data-ui-sref-active="active">
825
+                                        <a data-ui-sref="app.safeproduce.notifyList">安全生产通告</a>
826
+                                    </li>
827
+                                    <li has-func="461" data-ui-sref-active="active">
828
+                                        <a data-ui-sref="app.safeproduce.safeRiskLevelCtrl">安全风险分级管控</a>
829
+                                    </li>
830
+                                     <!-- <li has-func="462" data-ui-sref-active="active">
831
+                                        <a data-ui-sref="app.storage.safeproduce.safeDangerHandle">安全隐患跟踪处理</a>
832
+                                    </li>  -->
833
+                                    <li  data-ui-sref-active="active">
834
+                                        <a data-ui-sref="app.safeproduce.safeManage">安全隐患排查治理</a>
835
+                                    </li>
836
+                                    <!--<li has-func="181" data-ui-sref-active="active">
837
+                                        <a data-ui-sref="app.storage.safeproduce.recordList">粮库危险作业备案</a>
838
+                                    </li>-->
839
+                                    <li has-func="182" data-ui-sref-active="active">
840
+                                        <a data-ui-sref="app.safeproduce.safeAccidentManageList">安全生产事故管理</a>
841
+                                    </li>
842
+                                    <li has-func="463" data-ui-sref-active="active">
843
+                                        <a data-ui-sref="app.safeproduce.rulelibrary">法律规章信息库</a>
844
+                                    </li>
845
+                                    <!--备案及实施情况的管理-->
846
+                                    <!--<li data-menu-collapse>
847
+                                        <a has-func="185" href="#">
848
+                                            <i class="fa fa-lg fa-fw fa-folder-open"></i>备案管理
849
+                                        </a>
850
+                                        <ul>
851
+                                            <li has-func="186" data-ui-sref-active="active">
852
+                                                <a data-ui-sref="app.storage.safeproduce.recordManage.fumigationPlan">熏蒸方案</a>
853
+                                            </li>
854
+                                            <li has-func="187" data-ui-sref-active="active">
855
+                                                <a data-ui-sref="app.storage.safeproduce.recordManage.fumigationProcess">熏蒸过程</a>
856
+                                            </li>
857
+                                            <li has-func="188" data-ui-sref-active="active">
858
+                                                <a data-ui-sref="app.storage.safeproduce.recordManage.fumigationDealWith">善后工作</a>
859
+                                            </li>
860
+                                        </ul>
861
+                                    </li>-->
862
+
863
+                                    <li data-menu-collapse><!--原名: 粮情检查管理-->
864
+                                        <a has-func="118" href="#">
865
+                                            <i class="fa fa-lg fa-fw fa-folder-open"></i>
866
+                                            安全检查
867
+                                        </a>
868
+                                        <ul>
869
+                                            <li has-func="405" data-ui-sref-active="active">
870
+                                                <a data-ui-sref="app.safeproduce.safeCheck.dailyList">日常检查</a>
871
+                                            </li>
872
+											<li has-func="336" data-ui-sref-active="active">
873
+				                                <a data-ui-sref="app.safeproduce.safeCheck.insectPestDetectionList">虫害检查</a>
874
+				                            </li>
875
+                                            <li has-func="183" data-ui-sref-active="active">
876
+                                                <a data-ui-sref="app.safeproduce.safeCheck.fbelist">节前安全检查</a>
877
+                                            </li>
878
+                                            <li has-func="184" data-ui-sref-active="active">
879
+                                                <a data-ui-sref="app.safeproduce.safeCheck.wrslist">风雨雪三查</a>
880
+                                            </li>
881
+                                            <li has-func="119" data-ui-sref-active="active">
882
+                                                <a data-ui-sref="app.safeproduce.safeCheck.ttplist">五温检查</a>
883
+                                            </li>
884
+                                            <li has-func="120" data-ui-sref-active="active">
885
+                                                <a data-ui-sref="app.safeproduce.safeCheck.otherchecklist">其他检查</a>
886
+                                            </li>
887
+                                        </ul>
888
+                                    </li>
889
+                                </ul>
890
+                                <!--三级菜单结束-->
805 891
                             </li>
806 892
                     
807 893
                 </ul>
@@ -1538,89 +1624,7 @@
1538 1624
                             </li>
1539 1625
                             <!--粮情卡结束-->
1540 1626
 
1541
-                            <!--安全生产开始-->
1542
-                            <li data-menu-collapse><!--原: 安全生产-->
1543
-                                <a has-func="94" href="#"><i class="fa fa-lg fa-fw fa-folder-open"></i>
1544
-                                    粮食安全生产管理</a>
1545
-                                <!--三级菜单开始-->
1546
-                                <ul>
1547
-                                    <li has-func="110" data-ui-sref-active="active">
1548
-                                        <a data-ui-sref="app.storage.safeproduce.list({type:1})">安全生产管理制度</a>
1549
-                                    </li>
1550
-                                    <li has-func="111" data-ui-sref-active="active">
1551
-                                        <a data-ui-sref="app.storage.safeproduce.list({type:2})">安全生产应急预案</a>
1552
-                                    </li>
1553
-                                    <li has-func="112" data-ui-sref-active="active">
1554
-                                        <a data-ui-sref="app.storage.safeproduce.list({type:3})">安全生产管理责任</a>
1555
-                                    </li>
1556
-                                    <li has-func="180" data-ui-sref-active="active">
1557
-                                        <a data-ui-sref="app.storage.safeproduce.notifyList">安全生产通告</a>
1558
-                                    </li>
1559
-                                    <li has-func="461" data-ui-sref-active="active">
1560
-                                        <a data-ui-sref="app.storage.safeproduce.safeRiskLevelCtrl">安全风险分级管控</a>
1561
-                                    </li>
1562
-                                     <!-- <li has-func="462" data-ui-sref-active="active">
1563
-                                        <a data-ui-sref="app.storage.safeproduce.safeDangerHandle">安全隐患跟踪处理</a>
1564
-                                    </li>  -->
1565
-                                    <li  data-ui-sref-active="active">
1566
-                                        <a data-ui-sref="app.storage.safeproduce.safeManage">安全隐患排查治理</a>
1567
-                                    </li>
1568
-                                    <!--<li has-func="181" data-ui-sref-active="active">
1569
-                                        <a data-ui-sref="app.storage.safeproduce.recordList">粮库危险作业备案</a>
1570
-                                    </li>-->
1571
-                                    <li has-func="182" data-ui-sref-active="active">
1572
-                                        <a data-ui-sref="app.storage.safeproduce.safeAccidentManageList">安全生产事故管理</a>
1573
-                                    </li>
1574
-                                    <li has-func="463" data-ui-sref-active="active">
1575
-                                        <a data-ui-sref="app.storage.safeproduce.rulelibrary">法律规章信息库</a>
1576
-                                    </li>
1577
-                                    <!--备案及实施情况的管理-->
1578
-                                    <!--<li data-menu-collapse>
1579
-                                        <a has-func="185" href="#">
1580
-                                            <i class="fa fa-lg fa-fw fa-folder-open"></i>备案管理
1581
-                                        </a>
1582
-                                        <ul>
1583
-                                            <li has-func="186" data-ui-sref-active="active">
1584
-                                                <a data-ui-sref="app.storage.safeproduce.recordManage.fumigationPlan">熏蒸方案</a>
1585
-                                            </li>
1586
-                                            <li has-func="187" data-ui-sref-active="active">
1587
-                                                <a data-ui-sref="app.storage.safeproduce.recordManage.fumigationProcess">熏蒸过程</a>
1588
-                                            </li>
1589
-                                            <li has-func="188" data-ui-sref-active="active">
1590
-                                                <a data-ui-sref="app.storage.safeproduce.recordManage.fumigationDealWith">善后工作</a>
1591
-                                            </li>
1592
-                                        </ul>
1593
-                                    </li>-->
1594
-
1595
-                                    <li data-menu-collapse><!--原名: 粮情检查管理-->
1596
-                                        <a has-func="118" href="#">
1597
-                                            <i class="fa fa-lg fa-fw fa-folder-open"></i>
1598
-                                            安全检查
1599
-                                        </a>
1600
-                                        <ul>
1601
-                                            <li has-func="405" data-ui-sref-active="active">
1602
-                                                <a data-ui-sref="app.storage.safeproduce.safeCheck.dailyList">日常检查</a>
1603
-                                            </li>
1604
-											<li has-func="336" data-ui-sref-active="active">
1605
-				                                <a data-ui-sref="app.storage.safeproduce.safeCheck.insectPestDetectionList">虫害检查</a>
1606
-				                            </li>
1607
-                                            <li has-func="183" data-ui-sref-active="active">
1608
-                                                <a data-ui-sref="app.storage.safeproduce.safeCheck.fbelist">节前安全检查</a>
1609
-                                            </li>
1610
-                                            <li has-func="184" data-ui-sref-active="active">
1611
-                                                <a data-ui-sref="app.storage.safeproduce.safeCheck.wrslist">风雨雪三查</a>
1612
-                                            </li>
1613
-                                            <li has-func="119" data-ui-sref-active="active">
1614
-                                                <a data-ui-sref="app.storage.safeproduce.safeCheck.ttplist">五温检查</a>
1615
-                                            </li>
1616
-                                            <li has-func="120" data-ui-sref-active="active">
1617
-                                                <a data-ui-sref="app.storage.safeproduce.safeCheck.otherchecklist">其他检查</a>
1618
-                                            </li>
1619
-                                        </ul>
1620
-                                    </li>
1621
-                                </ul>
1622
-                                <!--三级菜单结束-->
1623
-                            </li>
1627
+                         
1624 1628
                             <!--安全生产结束-->
1625 1629
                             <!--转储管理开始-->
1626 1630
                             <!--                             <li has-func="256" data-ui-sref-active="active"> -->

+ 422 - 1
src/main/resources/static/app/monitor/module.js

@@ -193,4 +193,425 @@ angular.module('app.log', ['ui.router', 'datatables', 'datatables.bootstrap'])
193 193
 	                }
194 194
 	            }
195 195
 	        })
196
-	});
196
+	});
197
+
198
+angular.module('app.safeproduce', ['ui.router', 'datatables', 'datatables.bootstrap'])
199
+.config(function ($stateProvider) {
200
+    $stateProvider
201
+        .state('app.safeproduce', {
202
+            abstract: true,
203
+            data: {
204
+                title: '安全生产 / 安全管理'
205
+            }
206
+        })
207
+        //----------------安全生产开始---------------//
208
+            .state('app.safeproduce.list', {
209
+                url: '/safeproduce/list/:type/:layerType',
210
+                data: {
211
+                    title: '安全生产管理'
212
+                },
213
+                views: {
214
+                    "content@app": {
215
+                        controller: 'safeproduceCtrl',
216
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-list.html'
217
+                    }
218
+                }
219
+            })
220
+
221
+            // 安全风险等级管控
222
+            .state('app.safeproduce.safeRiskLevelCtrl', {
223
+                url: '/safeproduce/riskLevelCtrl',
224
+                data: {
225
+                    title: '安全风险分级管控'
226
+                },
227
+                views: {
228
+                    "content@app": {
229
+                        controller: 'safeProduceRiskCtrl',
230
+                        templateUrl: 'app/storage/views/safeproduce/safeRiskLevelCtrl-list.html'
231
+                    }
232
+                }
233
+            })
234
+            .state('app.safeproduce.safeRiskAdd', {
235
+                url: '/safeproduce/riskLevelCtrl/:id/:isNotEdit',
236
+                data: {
237
+                    title: '安全风险分级管控编辑'
238
+                },
239
+                views: {
240
+                    "content@app": {
241
+                        controller: 'safeProduceRiskCtrlSave',
242
+                        templateUrl: 'app/storage/views/safeproduce/safeRiskLevelCtrl-edit.html'
243
+                    }
244
+                }
245
+            })
246
+            // 安全隐患跟踪处理
247
+            .state('app.safeproduce.safeDangerHandle', {
248
+                url: '/safeproduce/dangerHandle',
249
+                data: {
250
+                    title: '安全隐患跟踪处理'
251
+                },
252
+                views: {
253
+                    "content@app": {
254
+                        controller: 'safeProduceDangerHandle',
255
+                        templateUrl: 'app/storage/views/safeproduce/safeDangerHandle-list.html'
256
+                    }
257
+                }
258
+            })
259
+            .state('app.safeproduce.safeProduceDangerHandleSave', {
260
+                url: '/safeproduce/dangerHandle/:id/:isNotEdit',
261
+                data: {
262
+                    title: '安全隐患跟踪处理编辑'
263
+                },
264
+                views: {
265
+                    "content@app": {
266
+                        controller: 'safeProduceDangerHandleSave',
267
+                        templateUrl: 'app/storage/views/safeproduce/safeDangerHandle-edit.html'
268
+                    }
269
+                }
270
+            })
271
+
272
+            /*--------------安全生产通知---------------*/
273
+            .state('app.safeproduce.notifyList', {
274
+                url: '/safeproduce/list',
275
+                data: {
276
+                    title: '安全生产通告'
277
+                },
278
+                views: {
279
+                    "content@app": {
280
+                        controller: 'safeProduceNotifyCtrl',
281
+                        templateUrl: 'app/storage/views/safeproduce/safeProduceNotify-list.html'
282
+                    }
283
+                }
284
+            })
285
+
286
+            .state('app.safeproduce.notifyAdd', {
287
+                url: '/safeproduce/add/:id/:isNotEdit/:topRow',
288
+                data: {
289
+                    title: '安全生产通知编辑'
290
+                },
291
+                views: {
292
+                    "content@app": {
293
+                        controller: 'safeProduceNotifySaveCtrl',
294
+                        templateUrl: 'app/storage/views/safeproduce/safeProduceNotify-edit.html'
295
+                    }
296
+                }
297
+            })
298
+
299
+            .state('app.safeproduce.notifyView', {
300
+                url: '/safeproduce/view/:id/:isNotEdit',
301
+                data: {
302
+                    title: '安全生产通知查看'
303
+                },
304
+                views: {
305
+                    "content@app": {
306
+                        controller: 'safeProduceNotifySaveCtrl',
307
+                        templateUrl: 'app/storage/views/safeproduce/safeProduceNotify-view.html'
308
+                    }
309
+                }
310
+            })
311
+            /*--------------法律规章信息库---------------*/
312
+            .state('app.safeproduce.rulelibrary', {
313
+                url: '/rulelibrary/list',
314
+                data: {
315
+                    title: '法律规章信息库'
316
+                },
317
+                views: {
318
+                    "content@app": {
319
+                        controller: 'rulelibraryCtrl',
320
+                        templateUrl: 'app/storage/views/safeproduce/ruleLibrary.html'
321
+                    }
322
+                }
323
+            })
324
+            // 安全事故管理
325
+            .state('app.safeproduce.safeAccidentManageList', {
326
+                url: '/safeproduce/safeAccidentManageList',
327
+                data: {
328
+                    title: '安全生产事故管理'
329
+                },
330
+                views: {
331
+                    "content@app": {
332
+                        controller: 'safeAccidentManageCtrl',
333
+                        templateUrl: 'app/storage/views/safeproduce/safeAccidentManage-list.html'
334
+                    }
335
+                }
336
+            })
337
+            // 编辑
338
+            .state('app.safeproduce.safeAccidentManageList.edit', {
339
+                url: '/safeproduce/safeAccidentManageEdit/:id/:isNotEdit',
340
+                data: {
341
+                    title: '安全事故管理编辑'
342
+                },
343
+                views: {
344
+                    "content@app": {
345
+                        controller: 'safeAccidentManageSaveCtrl',
346
+                        templateUrl: 'app/storage/views/safeproduce/safeAccidentManage-edit.html'
347
+                    }
348
+                }
349
+            })
350
+            // ---------------------备案及实施情况的管理------------------- //
351
+            // 三级路由--备案管理
352
+            .state('app.safeproduce.recordManage', {
353
+                abstract: true,
354
+                data: {
355
+                    title: '备案管理'
356
+                }
357
+            })
358
+            // ----------安全检查---------//
359
+            // 三级路由--安全检查
360
+            .state('app.safeproduce.safeCheck', {
361
+                abstract: true,
362
+                data: {
363
+                    title: '安全检查'
364
+                }
365
+            })
366
+            //日常检查
367
+            .state('app.safeproduce.safeCheck.dailyList', {
368
+                url: '/safeproduce/safeCheck/dailyList',
369
+                data: {
370
+                    title: '日常检查'
371
+                },
372
+                views: {
373
+                    "content@app": {
374
+                        controller: 'dailyListCtrl',
375
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-dailyList-list.html'
376
+                    }
377
+                }
378
+            })
379
+             //日常检查新增
380
+             .state('app.safeproduce.safeCheck.dailyList.add', {
381
+                url: '/safeproduce/safeCheck/dailyList/add/:id/:isNotEdit',
382
+                data: {
383
+                    title: '新增'
384
+                },
385
+                views: {
386
+                    "content@app": {
387
+                        controller: 'dailyListAddCtrl',
388
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-dailyList-add.html'
389
+                    }
390
+                }
391
+            })
392
+            //日常检查修改
393
+             .state('app.safeproduce.safeCheck.dailyList.edit', {
394
+                url: '/safeproduce/safeCheck/dailyList/edit/:id/:isNotEdit',
395
+                data: {
396
+                    title: '修改'
397
+                },
398
+                views: {
399
+                    "content@app": {
400
+                        controller: 'dailyListAddCtrl',
401
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-dailyList-add.html'
402
+                    }
403
+                }
404
+            })
405
+
406
+            // 节前安全检查
407
+            .state('app.safeproduce.safeCheck.fbelist', {
408
+                url: '/safeproduce/safeCheck/fbelist',
409
+                data: {
410
+                    title: '节前安全检查'
411
+                },
412
+                views: {
413
+                    "content@app": {
414
+                        controller: 'festivalbeforeCtrl',
415
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-list.html'
416
+                    }
417
+                }
418
+            })
419
+            .state('app.safeproduce.safeCheck.fbelist.add', {
420
+                url: '/safeproduce/safeCheck/fbeadd/add/:id/:isNotEdit',
421
+                data: {
422
+                    title: '新增'
423
+                },
424
+                views: {
425
+                    "content@app": {
426
+                        controller: 'festivalbeforeSaveCtrl',
427
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-edit.html'
428
+                    }
429
+                }
430
+            })
431
+            .state('app.safeproduce.safeCheck.fbelist.edit', {
432
+                url: '/safeproduce/safeCheck/fbeedit/edit/:id/:isNotEdit',
433
+                data: {
434
+                    title: '修改'
435
+                },
436
+                views: {
437
+                    "content@app": {
438
+                        controller: 'festivalbeforeSaveCtrl',
439
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-edit.html'
440
+                    }
441
+                }
442
+            })
443
+            .state('app.safeproduce.safeCheck.fbelist.view', {
444
+                url: '/safeproduce/safeCheck/fbeedit/view/:id/:isNotEdit',
445
+                data: {
446
+                    title: '查看'
447
+                },
448
+                views: {
449
+                    "content@app": {
450
+                        controller: 'festivalbeforeSaveCtrl',
451
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-edit.html'
452
+                    }
453
+                }
454
+            })
455
+
456
+            // 风雨雪三查
457
+            .state('app.safeproduce.safeCheck.wrslist', {
458
+                url: '/safeproduce/safeCheck/wrslist',
459
+                data: {
460
+                    title: '风雨雪三查'
461
+                },
462
+                views: {
463
+                    "content@app": {
464
+                        controller: 'windrainsnowCtrl',
465
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-list.html'
466
+                    }
467
+                }
468
+            })
469
+            .state('app.safeproduce.safeCheck.wrslist.add', {
470
+                url: '/safeproduce/safeCheck/wrslist/add/:id/:isNotEdit',
471
+                data: {
472
+                    title: '新增'
473
+                },
474
+                views: {
475
+                    "content@app": {
476
+                        controller: 'windrainsnowSaveCtrl',
477
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-edit.html'
478
+                    }
479
+                }
480
+            })
481
+            .state('app.safeproduce.safeCheck.wrslist.edit', {
482
+                url: '/safeproduce/safeCheck/wrslist/edit/:id/:isNotEdit',
483
+                data: {
484
+                    title: '修改'
485
+                },
486
+                views: {
487
+                    "content@app": {
488
+                        controller: 'windrainsnowSaveCtrl',
489
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-edit.html'
490
+                    }
491
+                }
492
+            })
493
+            .state('app.safeproduce.safeCheck.wrslist.view', {
494
+                url: '/safeproduce/safeCheck/wrslist/view/:id/:isNotEdit',
495
+                data: {
496
+                    title: '查看'
497
+                },
498
+                views: {
499
+                    "content@app": {
500
+                        controller: 'windrainsnowSaveCtrl',
501
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-edit.html'
502
+                    }
503
+                }
504
+            })
505
+
506
+            // 五温检查
507
+            .state('app.safeproduce.safeCheck.ttplist', {
508
+                url: '/safeproduce/safeCheck/ttplist/:houseId',
509
+                data: {
510
+                    title: '五温检查'
511
+                },
512
+                views: {
513
+                    "content@app": {
514
+                        controller: 'threetempCheckCtrl',
515
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-threetempcheck-list.html'
516
+                    }
517
+                },
518
+                resolve: {
519
+                    scripts: function(lazyScript){
520
+                        return lazyScript.register([
521
+                            'build/vendor.graphs.js'
522
+                        ]);
523
+                    }
524
+                }
525
+            })
526
+
527
+            // 其他检查
528
+            .state('app.safeproduce.safeCheck.otherchecklist', {
529
+                url: '/safeproduce/safeCheck/otherchecklist',
530
+                data: {
531
+                    title: '其他检查'
532
+                },
533
+                views: {
534
+                    "content@app": {
535
+                        controller: 'foodotherCheckCtrl',
536
+                        templateUrl: 'app/storage/views/safeproduce/safeproduce-foodothercheck-list.html'
537
+                    }
538
+                },
539
+                resolve: {
540
+                    scripts: function(lazyScript){
541
+                        return lazyScript.register([
542
+                            'build/vendor.graphs.js'
543
+                        ]);
544
+                    }
545
+                }
546
+            })
547
+            
548
+            // 虫害检测
549
+	        .state('app.safeproduce.safeCheck.insectPestDetectionList', {
550
+	                url: '/safeproduce/safeCheck/insectPestDetectionList/:show/:vCfCode',
551
+	                data: {
552
+	                    title: '虫害检测列表'
553
+	                },
554
+	                views: {
555
+	                    "content@app": {
556
+	                        controller: 'insectPestDetectionNewCtrl',
557
+	                        templateUrl: 'app/storage/insectPestDetection/view/insectPestDetection-list.html'
558
+	                    }
559
+	                }
560
+	            }
561
+	        )
562
+	        // 虫害手工录入
563
+	        .state('app.safeproduce.safeCheck.insectPestDetectionEdit', {
564
+	                url: '/safeproduce/safeCheck/insectPestDetectionEdit/:id/:butType',
565
+	                data: {
566
+	                    title: '虫害检测数据'
567
+	                },
568
+	                views: {
569
+	                    "content@app": {
570
+	                        controller: 'insectPestEditNewCtrl',
571
+	                        templateUrl: 'app/storage/insectPestDetection/view/insectPestDetection-edit.html'
572
+	                    }
573
+	                }
574
+	            }
575
+	        )
576
+	        // 虫害检测图表展示
577
+	        .state('app.safeproduce.safeCheck.insectPestDetectionList.chart', {
578
+	                url: '/safeproduce/safeCheck/insectPestDetectionList/chart',
579
+	                data: {
580
+	                    title: '虫害检测图表'
581
+	                },
582
+	                views: {
583
+	                    "content@app": {
584
+	                        controller: 'insectPestDetectionChartNew',
585
+	                        templateUrl: 'app/storage/insectPestDetection/view/insectPestDetectionChart.html'
586
+	                    }
587
+	                }
588
+	            }
589
+	        )
590
+
591
+            //安全隐患排查治理
592
+            .state('app.safeproduce.safeManage', {
593
+                url: '/safeproduce/safeManage/safeManageList',
594
+                data: {
595
+                    title: '安全隐患排查治理'
596
+                },
597
+                views: {
598
+                    "content@app": {
599
+                        controller: 'safeManageCtrl',
600
+                        templateUrl: 'app/storage/safe-manage/views/safeManage-list.html'
601
+                    }
602
+                }
603
+            })
604
+
605
+            .state('app.safeproduce.safeManage.edit', {
606
+                url: '/safeproduce/safeManage/safeManageEdit/:id/:butType',
607
+                data: {
608
+                    title: '安全隐患排查治理详情'
609
+                },
610
+                views: {
611
+                    "content@app": {
612
+                        controller: 'safeManageEditCtrl',
613
+                        templateUrl: 'app/storage/safe-manage/views/safeManage-edit.html'
614
+                    }
615
+                }
616
+            })
617
+});

+ 4 - 4
src/main/resources/static/app/storage/controller/dailyListCtrl.js

@@ -90,17 +90,17 @@ angular.module('app.storage')
90 90
 
91 91
         //新增
92 92
         $scope.addDailyList=function () {
93
-            $state.go('app.storage.safeproduce.safeCheck.dailyList.add',{id:0,isNotEdit:false});
93
+            $state.go('app.safeproduce.safeCheck.dailyList.add',{id:0,isNotEdit:false});
94 94
         };
95 95
 
96 96
         //修改
97 97
         $scope.showEditFbe=function (id) {
98
-            $state.go('app.storage.safeproduce.safeCheck.dailyList.edit',{id:id,isNotEdit:false});
98
+            $state.go('app.safeproduce.safeCheck.dailyList.edit',{id:id,isNotEdit:false});
99 99
         };
100 100
 
101 101
         // 查看页面
102 102
         $scope.showViewOut = function(id) {
103
-            $state.go('app.storage.safeproduce.safeCheck.dailyList.add',{id:id,isNotEdit:true});
103
+            $state.go('app.safeproduce.safeCheck.dailyList.add',{id:id,isNotEdit:true});
104 104
         }
105 105
 
106 106
         // 根据id删除信息
@@ -263,7 +263,7 @@ angular.module('app.storage')
263 263
                 }).then(function successCallback(response) {
264 264
                     if (response.data.status == "success") {
265 265
                         alert("保存成功!");
266
-                        $state.go('app.storage.safeproduce.safeCheck.dailyList');
266
+                        $state.go('app.safeproduce.safeCheck.dailyList');
267 267
                     } else {
268 268
                         alert("保存失败!");
269 269
                     }

+ 4 - 4
src/main/resources/static/app/storage/controller/festivalbeforeCtrl.js

@@ -83,15 +83,15 @@ angular.module('app.storage')
83 83
 
84 84
         // 显示增加页面
85 85
         $scope.showAddFbe=function () {
86
-            $state.go('app.storage.safeproduce.safeCheck.fbelist.add', {id:0,isNotEdit:false});
86
+            $state.go('app.safeproduce.safeCheck.fbelist.add', {id:0,isNotEdit:false});
87 87
         };
88 88
         //修改编辑页面
89 89
         $scope.showEditFbe = function (id) {
90
-            $state.go('app.storage.safeproduce.safeCheck.fbelist.edit', {id:id,isNotEdit:false});
90
+            $state.go('app.safeproduce.safeCheck.fbelist.edit', {id:id,isNotEdit:false});
91 91
         };
92 92
         // 查看页面
93 93
         $scope.showViewFbe = function(id) {
94
-            $state.go('app.storage.safeproduce.safeCheck.fbelist.view', {id:id,isNotEdit:true});
94
+            $state.go('app.safeproduce.safeCheck.fbelist.view', {id:id,isNotEdit:true});
95 95
         };
96 96
 
97 97
         // 根据id删除信息
@@ -169,7 +169,7 @@ angular.module('app.storage')
169 169
                         if ($rootScope.previousState_name != '') {
170 170
                             $rootScope.back();
171 171
                         } else {
172
-                            $state.go('app.storage.safeproduce.safeCheck.fbelist');
172
+                            $state.go('app.safeproduce.safeCheck.fbelist');
173 173
                         }
174 174
                     } else {
175 175
                         alert("保存失败!");

+ 3 - 3
src/main/resources/static/app/storage/controller/safeAccidentManageCtrl.js

@@ -1,5 +1,5 @@
1 1
 "use strict";
2
-angular.module('app.storage').controller("safeAccidentManageCtrl", function($scope,$state, $rootScope, $stateParams,warehouseService,safeAccidentManageService) {
2
+angular.module('app.safeproduce').controller("safeAccidentManageCtrl", function($scope,$state, $rootScope, $stateParams,warehouseService,safeAccidentManageService) {
3 3
     // 安全事故管理列表
4 4
     $scope.pageInfo = {pageNum : 1, pageSize : 10};
5 5
     $scope.search = {};
@@ -14,12 +14,12 @@ angular.module('app.storage').controller("safeAccidentManageCtrl", function($sco
14 14
 
15 15
     // 显示增加页面
16 16
     $scope.showAddAccident=function () {
17
-        $state.go('app.storage.safeproduce.safeAccidentManageList.edit', {id:0,isNotEdit:false});
17
+        $state.go('app.safeproduce.safeAccidentManageList.edit', {id:0,isNotEdit:false});
18 18
     };
19 19
 
20 20
     // 调转详情页面
21 21
     $scope.showDetails=function (id) {
22
-        $state.go('app.storage.safeproduce.safeAccidentManageList.edit', {id:id,isNotEdit:true});
22
+        $state.go('app.safeproduce.safeAccidentManageList.edit', {id:id,isNotEdit:true});
23 23
     };
24 24
 
25 25
     // 翻页

+ 4 - 4
src/main/resources/static/app/storage/controller/safeProduceDangerHandle.js

@@ -42,14 +42,14 @@ angular
42 42
       };
43 43
       // 添加页面
44 44
       $scope.showAddDanger = function () {
45
-        $state.go("app.storage.safeproduce.safeProduceDangerHandleSave", {
45
+        $state.go("app.safeproduce.safeProduceDangerHandleSave", {
46 46
           id: 0,
47 47
           isNotEdit: false,
48 48
         });
49 49
       };
50 50
       // 修改编辑页面
51 51
       $scope.showEditDanger = function (id) {
52
-        $state.go("app.storage.safeproduce.safeProduceDangerHandleSave", {
52
+        $state.go("app.safeproduce.safeProduceDangerHandleSave", {
53 53
           id: id,
54 54
           isNotEdit: false,
55 55
         });
@@ -57,7 +57,7 @@ angular
57 57
 
58 58
       // 查看页面
59 59
       $scope.showViewDanger = function (id) {
60
-        $state.go("app.storage.safeproduce.safeProduceDangerHandleSave", {
60
+        $state.go("app.safeproduce.safeProduceDangerHandleSave", {
61 61
           id: id,
62 62
           isNotEdit: true,
63 63
         });
@@ -187,7 +187,7 @@ angular
187 187
       };
188 188
       // 返回
189 189
       $scope.backLayer = function () {
190
-        $state.go("app.storage.safeproduce.safeDangerHandle");
190
+        $state.go("app.safeproduce.safeDangerHandle");
191 191
       };
192 192
     }
193 193
   );

+ 5 - 5
src/main/resources/static/app/storage/controller/safeProduceNotifyCtrl.js

@@ -1,6 +1,6 @@
1 1
 "use strict";
2 2
 
3
-angular.module('app.storage').controller("safeProduceNotifyCtrl", function($scope,safeProduceNotifyService,$state, $http,$rootScope, $stateParams, APP_CONFIG) {
3
+angular.module('app.safeproduce').controller("safeProduceNotifyCtrl", function($scope,safeProduceNotifyService,$state, $http,$rootScope, $stateParams, APP_CONFIG) {
4 4
     //安全生产通告列表
5 5
     $scope.pageInfo = {pageNum : 1, pageSize : 10};
6 6
     $scope.search = {fileName:""};
@@ -23,15 +23,15 @@ angular.module('app.storage').controller("safeProduceNotifyCtrl", function($scop
23 23
 
24 24
     // 显示增加页面
25 25
     $scope.showAddNotify=function () {
26
-        $state.go('app.storage.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
26
+        $state.go('app.safeproduce.notifyAdd', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
27 27
     };
28 28
     //修改编辑页面
29 29
     $scope.showEditNotify = function (id) {
30
-        $state.go('app.storage.safeproduce.notifyAdd', {id:id,isNotEdit:false});
30
+        $state.go('app.safeproduce.notifyAdd', {id:id,isNotEdit:false});
31 31
     };
32 32
     // 查看页面
33 33
     $scope.showViewNotify = function(id) {
34
-        $state.go('app.storage.safeproduce.notifyAdd', {id:id,isNotEdit:true});
34
+        $state.go('app.safeproduce.notifyAdd', {id:id,isNotEdit:true});
35 35
     };
36 36
 
37 37
     // 根据id删除信息
@@ -111,7 +111,7 @@ angular.module('app.storage').controller("safeProduceNotifyCtrl", function($scop
111 111
         
112 112
         //返回
113 113
 	    $scope.backLayer = function(){
114
-	    	$state.go('app.storage.safeproduce.notifyList');
114
+	    	$state.go('app.safeproduce.notifyList');
115 115
 	    }
116 116
 
117 117
     });

+ 4 - 4
src/main/resources/static/app/storage/controller/safeProduceRiskCtrl.js

@@ -45,14 +45,14 @@ angular
45 45
       };
46 46
       // 添加页面
47 47
       $scope.showAddRisk = function () {
48
-        $state.go("app.storage.safeproduce.safeRiskAdd", {
48
+        $state.go("app.safeproduce.safeRiskAdd", {
49 49
           id: 0,
50 50
           isNotEdit: false,
51 51
         });
52 52
       };
53 53
       // 修改编辑页面
54 54
       $scope.showEditRisk = function (id) {
55
-        $state.go("app.storage.safeproduce.safeRiskAdd", {
55
+        $state.go("app.safeproduce.safeRiskAdd", {
56 56
           id: id,
57 57
           isNotEdit: false,
58 58
         });
@@ -60,7 +60,7 @@ angular
60 60
 
61 61
       // 查看页面
62 62
       $scope.showViewRisk = function (id) {
63
-        $state.go("app.storage.safeproduce.safeRiskAdd", {
63
+        $state.go("app.safeproduce.safeRiskAdd", {
64 64
           id: id,
65 65
           isNotEdit: true,
66 66
         });
@@ -162,7 +162,7 @@ angular
162 162
       };
163 163
       // 返回
164 164
       $scope.backLayer = function () {
165
-        $state.go("app.storage.safeproduce.safeRiskLevelCtrl");
165
+        $state.go("app.safeproduce.safeRiskLevelCtrl");
166 166
       };
167 167
     }
168 168
   );

+ 4 - 4
src/main/resources/static/app/storage/controller/windrainsnowCtrl.js

@@ -83,15 +83,15 @@ angular.module('app.storage')
83 83
 
84 84
         // 显示增加页面
85 85
         $scope.showAddWrs=function () {
86
-            $state.go('app.storage.safeproduce.safeCheck.wrslist.add', {id:0,isNotEdit:false});
86
+            $state.go('app.safeproduce.safeCheck.wrslist.add', {id:0,isNotEdit:false});
87 87
         };
88 88
         //修改编辑页面
89 89
         $scope.showEditWrs = function (id) {
90
-            $state.go('app.storage.safeproduce.safeCheck.wrslist.edit', {id:id,isNotEdit:false});
90
+            $state.go('app.safeproduce.safeCheck.wrslist.edit', {id:id,isNotEdit:false});
91 91
         };
92 92
         // 查看页面
93 93
         $scope.showViewWrs = function(id) {
94
-            $state.go('app.storage.safeproduce.safeCheck.wrslist.view', {id:id,isNotEdit:true});
94
+            $state.go('app.safeproduce.safeCheck.wrslist.view', {id:id,isNotEdit:true});
95 95
         };
96 96
 
97 97
         // 根据id删除信息
@@ -168,7 +168,7 @@ angular.module('app.storage')
168 168
                 }).then(function successCallback(response) {
169 169
                     if (response.data.status == "success") {
170 170
                         alert("保存成功!");
171
-                        $state.go('app.storage.safeproduce.safeCheck.wrslist');
171
+                        $state.go('app.safeproduce.safeCheck.wrslist');
172 172
                         //   location.href = APP_CONFIG.baseUrl + '/#/safeproduce/wrslist';
173 173
                     } else {
174 174
                         alert("保存失败!");

+ 1 - 1
src/main/resources/static/app/storage/insectPestDetection/controller/insectPestDetectionNewCtrl.js

@@ -61,7 +61,7 @@ angular.module('app.storage').controller("insectPestDetectionNewCtrl", function
61 61
 
62 62
     // 新增、查看页面
63 63
     $scope.edit = function(id, butType) {
64
-        $state.go("app.storage.safeproduce.safeCheck.insectPestDetectionEdit", {id:id, butType:butType});
64
+        $state.go("app.safeproduce.safeCheck.insectPestDetectionEdit", {id:id, butType:butType});
65 65
     };
66 66
 
67 67
     // 获取所有仓房code

+ 2 - 411
src/main/resources/static/app/storage/module.js

@@ -631,424 +631,15 @@ angular.module('app.storage', ['ui.router', 'datatables', 'datatables.bootstrap'
631 631
 
632 632
 
633 633
 
634
-            //--------------------------------------安全生产------------------------------------------
634
+            /*//--------------------------------------安全生产------------------------------------------
635 635
             .state('app.storage.safeproduce', {
636 636
                 abstract: true,
637 637
                 data: {
638 638
                     title: '粮食安全生产管理'
639 639
                 }
640
-            })
641
-
642
-            //----------------安全生产开始---------------//
643
-            .state('app.storage.safeproduce.list', {
644
-                url: '/safeproduce/list/:type/:layerType',
645
-                data: {
646
-                    title: '文件管理'
647
-                },
648
-                views: {
649
-                    "content@app": {
650
-                        controller: 'safeproduceCtrl',
651
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-list.html'
652
-                    }
653
-                }
654
-            })
655
-
656
-            // 安全风险等级管控
657
-            .state('app.storage.safeproduce.safeRiskLevelCtrl', {
658
-                url: '/safeproduce/riskLevelCtrl',
659
-                data: {
660
-                    title: '安全风险分级管控'
661
-                },
662
-                views: {
663
-                    "content@app": {
664
-                        controller: 'safeProduceRiskCtrl',
665
-                        templateUrl: 'app/storage/views/safeproduce/safeRiskLevelCtrl-list.html'
666
-                    }
667
-                }
668
-            })
669
-            .state('app.storage.safeproduce.safeRiskAdd', {
670
-                url: '/safeproduce/riskLevelCtrl/:id/:isNotEdit',
671
-                data: {
672
-                    title: '安全风险分级管控编辑'
673
-                },
674
-                views: {
675
-                    "content@app": {
676
-                        controller: 'safeProduceRiskCtrlSave',
677
-                        templateUrl: 'app/storage/views/safeproduce/safeRiskLevelCtrl-edit.html'
678
-                    }
679
-                }
680
-            })
681
-            // 安全隐患跟踪处理
682
-            .state('app.storage.safeproduce.safeDangerHandle', {
683
-                url: '/safeproduce/dangerHandle',
684
-                data: {
685
-                    title: '安全隐患跟踪处理'
686
-                },
687
-                views: {
688
-                    "content@app": {
689
-                        controller: 'safeProduceDangerHandle',
690
-                        templateUrl: 'app/storage/views/safeproduce/safeDangerHandle-list.html'
691
-                    }
692
-                }
693
-            })
694
-            .state('app.storage.safeproduce.safeProduceDangerHandleSave', {
695
-                url: '/safeproduce/dangerHandle/:id/:isNotEdit',
696
-                data: {
697
-                    title: '安全隐患跟踪处理编辑'
698
-                },
699
-                views: {
700
-                    "content@app": {
701
-                        controller: 'safeProduceDangerHandleSave',
702
-                        templateUrl: 'app/storage/views/safeproduce/safeDangerHandle-edit.html'
703
-                    }
704
-                }
705
-            })
706
-
707
-            /*--------------安全生产通知---------------*/
708
-            .state('app.storage.safeproduce.notifyList', {
709
-                url: '/safeproduce/list',
710
-                data: {
711
-                    title: '安全生产通告'
712
-                },
713
-                views: {
714
-                    "content@app": {
715
-                        controller: 'safeProduceNotifyCtrl',
716
-                        templateUrl: 'app/storage/views/safeproduce/safeProduceNotify-list.html'
717
-                    }
718
-                }
719
-            })
720
-
721
-            .state('app.storage.safeproduce.notifyAdd', {
722
-                url: '/safeproduce/add/:id/:isNotEdit/:topRow',
723
-                data: {
724
-                    title: '安全生产通知编辑'
725
-                },
726
-                views: {
727
-                    "content@app": {
728
-                        controller: 'safeProduceNotifySaveCtrl',
729
-                        templateUrl: 'app/storage/views/safeproduce/safeProduceNotify-edit.html'
730
-                    }
731
-                }
732
-            })
733
-
734
-            .state('app.storage.safeproduce.notifyView', {
735
-                url: '/safeproduce/view/:id/:isNotEdit',
736
-                data: {
737
-                    title: '安全生产通知查看'
738
-                },
739
-                views: {
740
-                    "content@app": {
741
-                        controller: 'safeProduceNotifySaveCtrl',
742
-                        templateUrl: 'app/storage/views/safeproduce/safeProduceNotify-view.html'
743
-                    }
744
-                }
745
-            })
746
-            /*--------------法律规章信息库---------------*/
747
-            .state('app.storage.safeproduce.rulelibrary', {
748
-                url: '/rulelibrary/list',
749
-                data: {
750
-                    title: '法律规章信息库'
751
-                },
752
-                views: {
753
-                    "content@app": {
754
-                        controller: 'rulelibraryCtrl',
755
-                        templateUrl: 'app/storage/views/safeproduce/ruleLibrary.html'
756
-                    }
757
-                }
758
-            })
759
-            // 安全事故管理
760
-            .state('app.storage.safeproduce.safeAccidentManageList', {
761
-                url: '/safeproduce/safeAccidentManageList',
762
-                data: {
763
-                    title: '安全生产事故管理'
764
-                },
765
-                views: {
766
-                    "content@app": {
767
-                        controller: 'safeAccidentManageCtrl',
768
-                        templateUrl: 'app/storage/views/safeproduce/safeAccidentManage-list.html'
769
-                    }
770
-                }
771
-            })
772
-            // 编辑
773
-            .state('app.storage.safeproduce.safeAccidentManageList.edit', {
774
-                url: '/safeproduce/safeAccidentManageEdit/:id/:isNotEdit',
775
-                data: {
776
-                    title: '安全事故管理编辑'
777
-                },
778
-                views: {
779
-                    "content@app": {
780
-                        controller: 'safeAccidentManageSaveCtrl',
781
-                        templateUrl: 'app/storage/views/safeproduce/safeAccidentManage-edit.html'
782
-                    }
783
-                }
784
-            })
785
-            // ---------------------备案及实施情况的管理------------------- //
786
-            // 三级路由--备案管理
787
-            .state('app.storage.safeproduce.recordManage', {
788
-                abstract: true,
789
-                data: {
790
-                    title: '备案管理'
791
-                }
792
-            })
793
-            // ----------安全检查---------//
794
-            // 三级路由--安全检查
795
-            .state('app.storage.safeproduce.safeCheck', {
796
-                abstract: true,
797
-                data: {
798
-                    title: '安全检查'
799
-                }
800
-            })
801
-            //日常检查
802
-            .state('app.storage.safeproduce.safeCheck.dailyList', {
803
-                url: '/safeproduce/safeCheck/dailyList',
804
-                data: {
805
-                    title: '日常检查'
806
-                },
807
-                views: {
808
-                    "content@app": {
809
-                        controller: 'dailyListCtrl',
810
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-dailyList-list.html'
811
-                    }
812
-                }
813
-            })
814
-             //日常检查新增
815
-             .state('app.storage.safeproduce.safeCheck.dailyList.add', {
816
-                url: '/safeproduce/safeCheck/dailyList/add/:id/:isNotEdit',
817
-                data: {
818
-                    title: '新增'
819
-                },
820
-                views: {
821
-                    "content@app": {
822
-                        controller: 'dailyListAddCtrl',
823
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-dailyList-add.html'
824
-                    }
825
-                }
826
-            })
827
-            //日常检查修改
828
-             .state('app.storage.safeproduce.safeCheck.dailyList.edit', {
829
-                url: '/safeproduce/safeCheck/dailyList/edit/:id/:isNotEdit',
830
-                data: {
831
-                    title: '修改'
832
-                },
833
-                views: {
834
-                    "content@app": {
835
-                        controller: 'dailyListAddCtrl',
836
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-dailyList-add.html'
837
-                    }
838
-                }
839
-            })
840
-
841
-            // 节前安全检查
842
-            .state('app.storage.safeproduce.safeCheck.fbelist', {
843
-                url: '/safeproduce/safeCheck/fbelist',
844
-                data: {
845
-                    title: '节前安全检查'
846
-                },
847
-                views: {
848
-                    "content@app": {
849
-                        controller: 'festivalbeforeCtrl',
850
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-list.html'
851
-                    }
852
-                }
853
-            })
854
-            .state('app.storage.safeproduce.safeCheck.fbelist.add', {
855
-                url: '/safeproduce/safeCheck/fbeadd/add/:id/:isNotEdit',
856
-                data: {
857
-                    title: '新增'
858
-                },
859
-                views: {
860
-                    "content@app": {
861
-                        controller: 'festivalbeforeSaveCtrl',
862
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-edit.html'
863
-                    }
864
-                }
865
-            })
866
-            .state('app.storage.safeproduce.safeCheck.fbelist.edit', {
867
-                url: '/safeproduce/safeCheck/fbeedit/edit/:id/:isNotEdit',
868
-                data: {
869
-                    title: '修改'
870
-                },
871
-                views: {
872
-                    "content@app": {
873
-                        controller: 'festivalbeforeSaveCtrl',
874
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-edit.html'
875
-                    }
876
-                }
877
-            })
878
-            .state('app.storage.safeproduce.safeCheck.fbelist.view', {
879
-                url: '/safeproduce/safeCheck/fbeedit/view/:id/:isNotEdit',
880
-                data: {
881
-                    title: '查看'
882
-                },
883
-                views: {
884
-                    "content@app": {
885
-                        controller: 'festivalbeforeSaveCtrl',
886
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-festivalbefore-edit.html'
887
-                    }
888
-                }
889
-            })
890
-
891
-            // 风雨雪三查
892
-            .state('app.storage.safeproduce.safeCheck.wrslist', {
893
-                url: '/safeproduce/safeCheck/wrslist',
894
-                data: {
895
-                    title: '风雨雪三查'
896
-                },
897
-                views: {
898
-                    "content@app": {
899
-                        controller: 'windrainsnowCtrl',
900
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-list.html'
901
-                    }
902
-                }
903
-            })
904
-            .state('app.storage.safeproduce.safeCheck.wrslist.add', {
905
-                url: '/safeproduce/safeCheck/wrslist/add/:id/:isNotEdit',
906
-                data: {
907
-                    title: '新增'
908
-                },
909
-                views: {
910
-                    "content@app": {
911
-                        controller: 'windrainsnowSaveCtrl',
912
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-edit.html'
913
-                    }
914
-                }
915
-            })
916
-            .state('app.storage.safeproduce.safeCheck.wrslist.edit', {
917
-                url: '/safeproduce/safeCheck/wrslist/edit/:id/:isNotEdit',
918
-                data: {
919
-                    title: '修改'
920
-                },
921
-                views: {
922
-                    "content@app": {
923
-                        controller: 'windrainsnowSaveCtrl',
924
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-edit.html'
925
-                    }
926
-                }
927
-            })
928
-            .state('app.storage.safeproduce.safeCheck.wrslist.view', {
929
-                url: '/safeproduce/safeCheck/wrslist/view/:id/:isNotEdit',
930
-                data: {
931
-                    title: '查看'
932
-                },
933
-                views: {
934
-                    "content@app": {
935
-                        controller: 'windrainsnowSaveCtrl',
936
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-windrainsnowcheck-edit.html'
937
-                    }
938
-                }
939
-            })
940
-
941
-            // 五温检查
942
-            .state('app.storage.safeproduce.safeCheck.ttplist', {
943
-                url: '/safeproduce/safeCheck/ttplist/:houseId',
944
-                data: {
945
-                    title: '五温检查'
946
-                },
947
-                views: {
948
-                    "content@app": {
949
-                        controller: 'threetempCheckCtrl',
950
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-threetempcheck-list.html'
951
-                    }
952
-                },
953
-                resolve: {
954
-                    scripts: function(lazyScript){
955
-                        return lazyScript.register([
956
-                            'build/vendor.graphs.js'
957
-                        ]);
958
-                    }
959
-                }
960
-            })
640
+            })*/
961 641
 
962
-            // 其他检查
963
-            .state('app.storage.safeproduce.safeCheck.otherchecklist', {
964
-                url: '/safeproduce/safeCheck/otherchecklist',
965
-                data: {
966
-                    title: '其他检查'
967
-                },
968
-                views: {
969
-                    "content@app": {
970
-                        controller: 'foodotherCheckCtrl',
971
-                        templateUrl: 'app/storage/views/safeproduce/safeproduce-foodothercheck-list.html'
972
-                    }
973
-                },
974
-                resolve: {
975
-                    scripts: function(lazyScript){
976
-                        return lazyScript.register([
977
-                            'build/vendor.graphs.js'
978
-                        ]);
979
-                    }
980
-                }
981
-            })
982 642
             
983
-            // 虫害检测
984
-	        .state('app.storage.safeproduce.safeCheck.insectPestDetectionList', {
985
-	                url: '/safeproduce/safeCheck/insectPestDetectionList/:show/:vCfCode',
986
-	                data: {
987
-	                    title: '虫害检测列表'
988
-	                },
989
-	                views: {
990
-	                    "content@app": {
991
-	                        controller: 'insectPestDetectionNewCtrl',
992
-	                        templateUrl: 'app/storage/insectPestDetection/view/insectPestDetection-list.html'
993
-	                    }
994
-	                }
995
-	            }
996
-	        )
997
-	        // 虫害手工录入
998
-	        .state('app.storage.safeproduce.safeCheck.insectPestDetectionEdit', {
999
-	                url: '/safeproduce/safeCheck/insectPestDetectionEdit/:id/:butType',
1000
-	                data: {
1001
-	                    title: '虫害检测数据'
1002
-	                },
1003
-	                views: {
1004
-	                    "content@app": {
1005
-	                        controller: 'insectPestEditNewCtrl',
1006
-	                        templateUrl: 'app/storage/insectPestDetection/view/insectPestDetection-edit.html'
1007
-	                    }
1008
-	                }
1009
-	            }
1010
-	        )
1011
-	        // 虫害检测图表展示
1012
-	        .state('app.storage.safeproduce.safeCheck.insectPestDetectionList.chart', {
1013
-	                url: '/safeproduce/safeCheck/insectPestDetectionList/chart',
1014
-	                data: {
1015
-	                    title: '虫害检测图表'
1016
-	                },
1017
-	                views: {
1018
-	                    "content@app": {
1019
-	                        controller: 'insectPestDetectionChartNew',
1020
-	                        templateUrl: 'app/storage/insectPestDetection/view/insectPestDetectionChart.html'
1021
-	                    }
1022
-	                }
1023
-	            }
1024
-	        )
1025
-
1026
-            //安全隐患排查治理
1027
-            .state('app.storage.safeproduce.safeManage', {
1028
-                url: '/safeproduce/safeManage/safeManageList',
1029
-                data: {
1030
-                    title: '安全隐患排查治理'
1031
-                },
1032
-                views: {
1033
-                    "content@app": {
1034
-                        controller: 'safeManageCtrl',
1035
-                        templateUrl: 'app/storage/safe-manage/views/safeManage-list.html'
1036
-                    }
1037
-                }
1038
-            })
1039
-
1040
-            .state('app.storage.safeproduce.safeManage.edit', {
1041
-                url: '/safeproduce/safeManage/safeManageEdit/:id/:butType',
1042
-                data: {
1043
-                    title: '安全隐患排查治理详情'
1044
-                },
1045
-                views: {
1046
-                    "content@app": {
1047
-                        controller: 'safeManageEditCtrl',
1048
-                        templateUrl: 'app/storage/safe-manage/views/safeManage-edit.html'
1049
-                    }
1050
-                }
1051
-            })
1052 643
             
1053 644
             /*****************转储管理 start****************/
1054 645
             .state('app.storage.dumpList', {

+ 4 - 4
src/main/resources/static/app/storage/safe-manage/controller/safeManageCtrl.js

@@ -25,7 +25,7 @@ angular.module('app.storage').controller("safeManageCtrl", function($scope, $roo
25 25
 
26 26
  	//新增、修改或查看
27 27
     $scope.edit = function(id, butType) {
28
-    	$state.go('app.storage.safeproduce.safeManage.edit', {id:id, butType:butType});
28
+    	$state.go('app.safeproduce.safeManage.edit', {id:id, butType:butType});
29 29
     };
30 30
 
31 31
     //刪除
@@ -298,7 +298,7 @@ angular.module('app.storage').controller("safeManageCtrl", function($scope, $roo
298 298
 						safeManageService.save($scope.safeManage,angular.toJson($scope.fileIds),angular.toJson($scope.deleteFileIds)).then(function (data) {
299 299
 							if (data.status == "200") {
300 300
 								alert(data.msg);
301
-								$state.go('app.storage.safeproduce.safeManage');
301
+								$state.go('app.safeproduce.safeManage');
302 302
 							} else {
303 303
 								alert(data.msg);
304 304
 							}
@@ -308,7 +308,7 @@ angular.module('app.storage').controller("safeManageCtrl", function($scope, $roo
308 308
 					safeManageService.save($scope.safeManage,angular.toJson($scope.fileIds),angular.toJson($scope.deleteFileIds)).then(function (data) {
309 309
 						if (data.status == "200") {
310 310
 							alert(data.msg);
311
-							$state.go('app.storage.safeproduce.safeManage');
311
+							$state.go('app.safeproduce.safeManage');
312 312
 						} else {
313 313
 							alert(data.msg);
314 314
 						}
@@ -319,7 +319,7 @@ angular.module('app.storage').controller("safeManageCtrl", function($scope, $roo
319 319
 
320 320
 	$scope.retList = function(){
321 321
 		//$rootScope.back();
322
-		$state.go('app.storage.safeproduce.safeManage');
322
+		$state.go('app.safeproduce.safeManage');
323 323
 	};
324 324
 	
325 325
 	

+ 2 - 2
src/main/resources/static/app/storage/views/index/storage-index.html

@@ -78,12 +78,12 @@
78 78
 			$("a[data-ui-sref='app.business.agent.basic.agentList']").click();
79 79
 		});
80 80
 		$("#safeproduce").click(function(){
81
-			$("a[data-ui-sref='app.storage.safeproduce.list({type:1})']").parents('li').each(function () {
81
+			$("a[data-ui-sref='app.safeproduce.list({type:1})']").parents('li').each(function () {
82 82
 				if($(this).attr("ng-show") == null && !$(this).hasClass('open')){//非顶级且当前不是打开的
83 83
 	                $(this).find("a:first").click();
84 84
 				}
85 85
             });
86
-			$("a[data-ui-sref='app.storage.safeproduce.list({type:1})']").click();
86
+			$("a[data-ui-sref='app.safeproduce.list({type:1})']").click();
87 87
 		});
88 88
 		$("#storehouse").click(function(){
89 89
 			$("a[data-ui-sref='app.storage.storehouse.houseinfo({type:1})']").parents('li').each(function () {

+ 1 - 1
src/main/resources/static/app/synth/foodstuffTraces/controller/foodstuffTracesCtrl.js

@@ -310,7 +310,7 @@ angular.module('app.synth')
310 310
     		} else if (type == 'fyx') {
311 311
     			// 风雨雪三查
312 312
     			var isNotEdit = true;
313
-    	        $state.go('app.storage.safeproduce.wrsedit',{id:id,isNotEdit:isNotEdit});
313
+    	        $state.go('app.safeproduce.wrsedit',{id:id,isNotEdit:isNotEdit});
314 314
     		}
315 315
     	} else if (flowType == 'ckPlan') {
316 316
     		$state.go("app.business.plan-view",{id : id, processInstanceId : processInstanceId});

+ 1 - 1
src/main/resources/static/app/synth/lifecycle/controller/lifecycleCtrl.js

@@ -155,7 +155,7 @@ angular.module('app.synth').controller("lifecycleCtrl", function($scope,$rootSco
155 155
     // 粮情信息
156 156
     $scope.showGrainAnalysisInfo = function (numbermanage) {
157 157
     	var ch = $rootScope.storehouseObj[numbermanage.ch].storehouseCode;
158
-    	$state.go('app.storage.safeproduce.safeCheck.ttplist',{houseId:ch});
158
+    	$state.go('app.safeproduce.safeCheck.ttplist',{houseId:ch});
159 159
     };
160 160
 
161 161
     // 出库明细

+ 1 - 1
src/main/resources/static/app/synth/qualityTrace/controller/qualitySafeCtrl.js

@@ -74,7 +74,7 @@ angular.module('app.synth').controller("qualitySafeCtrl",function ($scope, $root
74 74
 
75 75
     	} else if (btnType == 3) {//粮情信息
76 76
     		var ch = $rootScope.storehouseObj[parseInt(obj.ch)].storehouseCode;
77
-    		$state.go('app.storage.safeproduce.safeCheck.ttplist',{houseId:ch});
77
+    		$state.go('app.safeproduce.safeCheck.ttplist',{houseId:ch});
78 78
     	} else if (btnType == 4) {//作业记录
79 79
     		$state.go("app.supervise.operation.ccZy", {houseId: parseInt(obj.ch)});
80 80
     	} else if (btnType == 5) {//报警信息

+ 1 - 1
src/main/resources/static/app/synth/qualityTrace/controller/warehouseSourceCtrl.js

@@ -74,7 +74,7 @@ angular.module('app.synth').controller("warehouseSourceCtrl",function ($scope, $
74 74
 
75 75
     	} else if (btnType == 3) {
76 76
     		var ch = $rootScope.storehouseObj[parseInt(obj.ch)].storehouseCode;
77
-    		$state.go('app.storage.safeproduce.safeCheck.ttplist',{houseId:ch});
77
+    		$state.go('app.safeproduce.safeCheck.ttplist',{houseId:ch});
78 78
     	} else if (btnType == 4) {
79 79
     		$state.go("app.supervise.operation.ccZy", {houseId: parseInt(obj.ch)});
80 80
     	}

+ 0 - 521
src/main/resources/static/app/system/module.js

@@ -321,526 +321,5 @@ angular.module('app.system').config(function ($stateProvider) {
321 321
     })
322 322
     
323 323
     
324
-     /*----------------------------------------------客户------------------------------------*/
325
-    .state('app.system.customer', {
326
-        abstract: true,
327
-        data: {
328
-            title: '客户管理'
329
-        }
330
-    })
331
-    
332
-    .state('app.system.customer.list', {
333
-        url: '/system/customer',
334
-        data: {
335
-            title: '客户档案管理'
336
-        },
337
-        views: {
338
-            "content@app": {
339
-                controller: 'customerCtrl',
340
-                templateUrl: 'app/business/customer/views/customer-list.html'
341
-            }
342
-        }
343
-    })
344
-    .state('app.system.customer.add', {
345
-            url: '/system/customer/add/:id',
346
-            data: {
347
-                title: '客户档案新增'
348
-            },
349
-            views: {
350
-                "content@app": {
351
-                    controller: 'customerSaveCtrl as datatables',
352
-                    templateUrl: 'app/business/customer/views/customer-edit.html'
353
-                }
354
-            }
355
-        }
356
-    )
357
-    .state('app.system.customer.edit', {
358
-        url: '/system/customer/edit/:id',
359
-        data: {
360
-            title: '客户档案修改'
361
-        },
362
-        views: {
363
-            "content@app": {
364
-                controller: 'customerSaveCtrl as datatables',
365
-                templateUrl: 'app/business/customer/views/customer-edit.html'
366
-            }
367
-        }
368
-    })
369
-    
370
-    
371
-    .state('app.system.customer.badrecord', {
372
-        url: '/system/customer/badrecord',
373
-        data: {
374
-            title: '客户不良记录管理'
375
-        },
376
-        views: {
377
-            "content@app": {
378
-                controller: 'customerBadrecordCtrl',
379
-                templateUrl: 'app/business/customer/views/customerBadrecord-list.html'
380
-            }
381
-        }
382
-    })
383
-    
384
-    .state('app.system.customer.blackList', {
385
-        url: '/system/customer/blackList',
386
-        data: {
387
-            title: '客户黑名单管理'
388
-        },
389
-        views: {
390
-            "content@app": {
391
-                controller: 'customerBlackListCtrl',
392
-                templateUrl: 'app/business/customer/views/customer-blackList.html'
393
-            }
394
-        }
395
-    })
396
-    
397
-    
398
-    //-----------------------------------------------------智能器材库------------------------------------------------------//
399
-        // 设备器材管理二级路由
400
-        .state('app.system.device', {
401
-            abstract: true,
402
-            data: {
403
-                title: '设备器材管理'
404
-            }
405
-        })
406
-        // 设备器材入库
407
-        .state('app.system.device.deviceStorageList', {
408
-            url: '/device/deviceStorageList',
409
-            data: {
410
-                title: '设备器材入库'
411
-            },
412
-            views: {
413
-                "content@app": {
414
-                    controller: 'deviceStorageCtrl',
415
-                    templateUrl: 'app/business/device/views/deviceStorage-list.html'
416
-                }
417
-            }
418
-        })
419
-        // 详情,编辑
420
-        .state('app.system.device.deviceStorageList.edit', {
421
-            url: '/device/deviceStorageList/edit/:id/:isNotEdit',
422
-            data: {
423
-                title: '设备器材入库详情'
424
-            },
425
-            views: {
426
-                "content@app": {
427
-                    controller: 'deviceStorageEditCtrl',
428
-                    templateUrl: 'app/business/device/views/deviceStorage-edit.html'
429
-                }
430
-            }
431
-        })
432
-        //----------------设备入库登记开始---------------//
433
-        .state('app.system.deviceInputList', {
434
-            url: '/deviceInputList',
435
-            data: {
436
-                title: '设备入库列表'
437
-            },
438
-            views: {
439
-                "content@app": {
440
-                    controller: 'deviceInputCtrl',
441
-                    templateUrl: 'app/business/device/views/deviceInput-list.html'
442
-                }
443
-            }
444
-        })  
445
-        .state('app.system.deviceInputAdd', {
446
-        	url: '/deviceInputAdd/:id/:isNotEdit',
447
-        	data: {
448
-        		title: '设备入库'
449
-        	},
450
-        	views: {
451
-        		"content@app": {
452
-        			controller: 'deviceInputCheckCtrl',
453
-        			templateUrl: 'app/business/device/views/deviceInput-edit.html'
454
-        		}
455
-        	}
456
-        })  
457
-        .state('app.system.inputEdit', {
458
-        	url: '/inputEdit/:id/:isNotEdit',
459
-        	data: {
460
-        		title: '设备查看'
461
-        	},
462
-        	views: {
463
-        		"content@app": {
464
-        			controller: 'deviceInputCheckCtrl',
465
-        			templateUrl: 'app/business/device/views/deviceInput-edit.html'
466
-        		}
467
-        	}
468
-        })  
469
-        //----------------设备入库登记结束---------------//
470
-        
471
-        //----------------器材领用开始---------------//
472
-        .state('app.system.device.deviceGetList', {
473
-        	url: '/deviceGetList',
474
-        	data: {
475
-        		title: '机械器材领用'
476
-        	},
477
-        	views: {
478
-        		"content@app": {
479
-        			controller: 'deviceGetCtrl',
480
-        			templateUrl: 'app/business/device/views/deviceGet-list.html'
481
-        		}
482
-        	}
483
-        })  
484
-        .state('app.system.device.deviceGetAdd', {
485
-        	url: '/deviceGetAdd',
486
-        	data: {
487
-        		title: '领用信息'
488
-        	},
489
-        	views: {
490
-        		"content@app": {
491
-        			controller: 'deviceGetCtrl',
492
-        			templateUrl: 'app/business/device/views/deviceGet-add.html'
493
-        		}
494
-        	}
495
-        })  
496
-        .state('app.system.device.deviceGetBack', {
497
-        	url: '/deviceGetBack/:id/:getCount',
498
-        	data: {
499
-        		title: '归还信息'
500
-        	},
501
-        	views: {
502
-        		"content@app": {
503
-        			controller: 'deviceGetBackCtrl',
504
-        			templateUrl: 'app/business/device/views/deviceGet-back.html'
505
-        		}
506
-        	}
507
-        })  
508
-        .state('app.system.device.deviceChack', {
509
-        	url: '/deviceChack/:id',
510
-        	data: {
511
-        		title: '信息详情'
512
-        	},
513
-        	views: {
514
-        		"content@app": {
515
-        			controller: 'deviceGetBackCtrl',
516
-        			templateUrl: 'app/business/device/views/deviceGet-detail.html'
517
-        		}
518
-        	}
519
-        })  
520
-        //----------------器材领用结束---------------//
521
-
522
-        // 设备器材管理三级路由
523
-        .state('app.system.device.manage', {
524
-            abstract: true,
525
-            data: {
526
-                title: '设备管理'
527
-            }
528
-        })
529
-        //----------------器材保养开始---------------//
530
-        .state('app.system.device.manage.deviceKeepList', {
531
-        	url: '/deviceKeepList',
532
-        	data: {
533
-        		title: '器材保养'
534
-        	},
535
-        	views: {
536
-        		"content@app": {
537
-        			controller: 'deviceKeepCtrl',
538
-        			templateUrl: 'app/business/device/views/deviceKeep-list.html'
539
-        		}
540
-        	}
541
-        })  
542
-        .state('app.system.device.manage.deviceKeepAdd', {
543
-        	url: '/deviceKeepAdd',
544
-        	data: {
545
-        		title: '添加保养信息'
546
-        	},
547
-        	views: {
548
-        		"content@app": {
549
-        			controller: 'deviceKeepAddCtrl',
550
-        			templateUrl: 'app/business/device/views/deviceKeep-add.html'
551
-        		}
552
-        	}
553
-        }) 
554
-        .state('app.system.device.manage.deviceKeepMassage', {
555
-        	url: '/deviceKeepMassage/:id',
556
-        	data: {
557
-        		title: '保养信息明细'
558
-        	},
559
-        	views: {   
560
-        		"content@app": {
561
-        			controller: 'deviceKeepSelCtrl',
562
-        			templateUrl: 'app/business/device/views/deviceKeep-olist.html'
563
-        		}
564
-        	}
565
-        }) 
566
-         //----------------器材保养结束---------------//
567
-        
568
-         //----------------器材维修开始---------------//
569
-        .state('app.system.device.manage.deviceRepairList', {
570
-        	url: '/deviceRepairList',
571
-        	data: {
572
-        		title: '器材维修'
573
-        	},
574
-        	views: {
575
-        		"content@app": {
576
-        			controller: 'deviceRepairCtrl',
577
-        			templateUrl: 'app/business/device/views/deviceRepair-list.html'
578
-        		}
579
-        	}
580
-        })  
581
-        .state('app.system.device.manage.devicerepairAdd', {
582
-        	url: '/devicerepairAdd',
583
-        	data: {
584
-        		title: '添加维修信息'
585
-        	},
586
-        	views: {
587
-        		"content@app": {
588
-        			controller: 'deviceRepairAddCtrl',
589
-        			templateUrl: 'app/business/device/views/deviceRepair-add.html'
590
-        		}
591
-        	}
592
-        })  
593
-        .state('app.system.device.manage.deviceRepairMassage', {
594
-        	url: '/deviceRepairMassage/:id/:isNotEdit',
595
-        	data: {
596
-        		title: '维修信息明细'
597
-        	},
598
-        	views: {   
599
-        		"content@app": {
600
-        			controller: 'deviceRepairSaveCtrl',
601
-        			templateUrl: 'app/business/device/views/deviceRepair-olist.html'
602
-        		}
603
-        	}
604
-        }) 
605
-        
606
-        //----------------器材维修结束---------------//
607
-        
608
-        
609
-        //----------------设备报废开始---------------//
610
-        .state('app.system.device.manage.deviceOutList', {
611
-        	url: '/deviceOutList',
612
-        	data: {
613
-        		title: '设备报废'
614
-        	},
615
-        	views: {
616
-        		"content@app": {
617
-        			controller: 'deviceOutCtrl',
618
-        			templateUrl: 'app/business/device/views/deviceOut-list.html'
619
-        		}
620
-        	}
621
-        })  
622
-         //----------------设备报废结束---------------//
623
-        //----------------台账开始---------------//
624
-        .state('app.system.device.deviceAccountList', {
625
-        	url: '/deviceAccountList',
626
-        	data: {
627
-        		title: '台账'
628
-        	},
629
-        	views: {
630
-        		"content@app": {
631
-        			controller: 'deviceAccountCtrl',
632
-        			templateUrl: 'app/business/device/views/deviceAccount-list.html'
633
-        		}
634
-        	}
635
-        })
636
-        
637
-        .state('app.system.device.accountEdit', {
638
-        	url: '/accountEdit/:deviceType/:deviceName/:model/:isNotEdit',
639
-        	data: {
640
-        		title: '设备台账'
641
-        	},
642
-        	views: {
643
-        		"content@app": {
644
-        			controller: 'deviceInputCheckCtrl',
645
-        			templateUrl: 'app/business/device/views/deviceAccount-edit.html'
646
-        		}
647
-        	}
648
-        }) 
649
-         //----------------台账结束---------------//
650
-        .state('app.system.device.deviceCheckList', {
651
-        	url: '/deviceCheckList',
652
-        	data: {
653
-        		title: '盘点单'
654
-        	},
655
-        	views: {
656
-        		"content@app": {
657
-        			controller: 'deviceCheckCtrl',
658
-        			templateUrl: 'app/business/device/views/deviceCheck-list.html'
659
-        		}
660
-        	}
661
-        })
662
-        .state('app.system.device.checkAdd', {
663
-        	url: '/checkAdd',
664
-        	data: {
665
-        		title: '新建盘点单'
666
-        	},
667
-        	views: {
668
-        		"content@app": {
669
-        			controller: 'deviceCheckAddCtrl',
670
-        			templateUrl: 'app/business/device/views/deviceAdd.html'
671
-        		}
672
-        	}
673
-        })
674
-        .state('app.system.device.checkEdit', {
675
-        	url: '/checkEdit/:checkNumber/:isNotEdit',
676
-        	data: {
677
-        		title: '修改盘点单'
678
-        	},
679
-        	views: {
680
-        		"content@app": {
681
-        			controller: 'deviceCheckEditCtrl',
682
-        			templateUrl: 'app/business/device/views/deviceEdit.html'
683
-        		}
684
-        	}
685
-        })
686
-        //---------------------------------设施管理------------------------------------------------------
687
-         // 设施管理二级路由
688
-         .state('app.system.facility', {
689
-            abstract: true,
690
-            data: {
691
-                title: '设施管理'
692
-            }
693
-        })
694
-        //----------------设施基础信息维护开始---------------//
695
-        .state('app.system.facility.facilityStorageList', {
696
-            url: '/facilityStorageList',
697
-            data: {
698
-                title: '设施基础信息维护'
699
-            },
700
-            views: {
701
-                "content@app": {
702
-                    controller: 'facilityListCtrl',
703
-                    templateUrl: 'app/business/facility/views/facility-list.html'
704
-                }
705
-            }
706
-        })  
707
-        .state('app.system.facility.addFacility', {
708
-            url: '/addFacility/:isNotEdit/:facility?',
709
-            data: {
710
-                title: '新增设施'
711
-            },
712
-            views: {
713
-                "content@app": {
714
-                    controller: 'addfacilityCtrl',
715
-                    templateUrl: 'app/business/facility/views/add-facility.html'
716
-                }
717
-            }
718
-        })  
719
-        
720
-        //----------------设施基础信息维护结束---------------//
721
-        //----------------设施保养开始---------------//
722
-        .state('app.system.facility.facilityKeepList', {
723
-            url: '/facilityKeepList',
724
-            data: {
725
-                title: '设施保养'
726
-            },
727
-            views: {
728
-                "content@app": {
729
-                    controller: 'facilityKeepListCtrl',
730
-                    templateUrl: 'app/business/facility/views/facility-keep.html'
731
-                }
732
-            }
733
-        }) 
734
-        .state('app.system.facility.addFacilityKeep', {
735
-            url: '/addFacilityKeep/:isNotEdit/:facility?',
736
-            data: {
737
-                title: '添加设施保养信息'
738
-            },
739
-            views: {
740
-                "content@app": {
741
-                    controller: 'addfacilityKeepCtrl',
742
-                    templateUrl: 'app/business/facility/views/add-facility-keep.html'
743
-                }
744
-            }
745
-        })  
746
-        
747
-        //----------------设施保养结束---------------//
748
-         //----------------设施维修开始---------------//
749
-         .state('app.system.facility.facilityGetList', {
750
-            url: '/facilityGetList',
751
-            data: {
752
-                title: '设施维修'
753
-            },
754
-            views: {
755
-                "content@app": {
756
-                    controller: 'facilityGetListCtrl',
757
-                    templateUrl: 'app/business/facility/views/facility-get-list.html'
758
-                }
759
-            }
760
-        }) 
761
-        .state('app.system.facility.addFacilityGet', {
762
-            url: '/addfacilityGet/:isNotEdit/:facility?',
763
-            data: {
764
-                title: '添加设施维修信息'
765
-            },
766
-            views: {
767
-                "content@app": {
768
-                    controller: 'addFacilityGetCtrl',
769
-                    templateUrl: 'app/business/facility/views/add-facility-get.html'
770
-                }
771
-            }
772
-        })  
773
-        
774
-        //----------------设施维修结束---------------//
775
-        // //----------------设施报废开始---------------//
776
-        // .state('app.system.facility.facilityScrapList', {
777
-        //     url: '/facilityScrapList',
778
-        //     data: {
779
-        //         title: '设施报废'
780
-        //     },
781
-        //     views: {
782
-        //         "content@app": {
783
-        //             controller: 'facilityScrapListCtrl',
784
-        //             templateUrl: 'app/business/facility/views/facility-scraplist.html'
785
-        //         }
786
-        //     }
787
-        // }) 
788
-        // .state('app.system.facility.addFacilityScrap', {
789
-        //     url: '/addFacilityScrap',
790
-        //     data: {
791
-        //         title: '添加设施报废信息'
792
-        //     },
793
-        //     views: {
794
-        //         "content@app": {
795
-        //             controller: 'addFacilityScrapCtrl',
796
-        //             templateUrl: 'app/business/facility/views/add-facility-scrap.html'
797
-        //         }
798
-        //     }
799
-        // })  
800
-        
801
-        // //----------------设施报废结束---------------//
802
-        
803
-        
804
-        
805
-        //初始化员工信息调用
806
-    .state('app.system.keeperList', {
807
-    	url: '/keeperList',
808
-        data: {
809
-            title: '人员管理'
810
-        },
811
-        views: {
812
-            "content@app": {
813
-                controller: 'keeperCtrl',
814
-                templateUrl: 'app/basic/keeper/views/keeper-list.html'
815
-            }
816
-        }
817
-    })
818
-    
819
-    //点新增或修改保管员信息调用
820
-    .state('app.system.keeperEdit', {
821
-    	url: '/keeperEdit/:id/:showType',
822
-        data: {
823
-            title: '人员信息详情'
824
-        },
825
-        views: {
826
-            "content@app": {
827
-                controller: 'keeperCtrlEdit',
828
-                templateUrl: 'app/basic/keeper/views/keeper-edit.html'
829
-            }
830
-        }
831
-    })
832
-    //点查看跳转页面
833
-    .state('app.system.keeperView', {
834
-    	url: '/keeperView/:id/:types',
835
-        data: {
836
-            title: '人员信息展示'
837
-        },
838
-        views: {
839
-            "content@app": {
840
-                controller: 'keeperViewCtrl',
841
-                templateUrl: 'app/basic/keeper/views/keeper-view.html'
842
-            }
843
-        }
844
-    })
845 324
     
846 325
 })