|
@@ -251,6 +251,102 @@ angular.module('app.supervise', ['ui.router','app.basic','app.business','app.ala
|
251
|
251
|
}
|
252
|
252
|
}
|
253
|
253
|
)
|
|
254
|
+ // 湿度报警
|
|
255
|
+ .state('app.supervise.situation.humidity', {
|
|
256
|
+ url: '/supervise/situation/humidity/:isShow/:houseId',
|
|
257
|
+ data: {
|
|
258
|
+ title: '湿度报警'
|
|
259
|
+ },
|
|
260
|
+ params:{
|
|
261
|
+ showType : "WD"
|
|
262
|
+ },
|
|
263
|
+ views: {
|
|
264
|
+ "content@app": {
|
|
265
|
+ controller: 'humidityWarningThresholdCtrl',
|
|
266
|
+ templateUrl: 'app/supervise/views/humidityWarningThreshold.html'
|
|
267
|
+ }
|
|
268
|
+ }
|
|
269
|
+ })
|
|
270
|
+ // 库存超限报警
|
|
271
|
+ .state('app.supervise.situation.stock', {
|
|
272
|
+ url: '/supervise/situation/stock/:isShow/:houseId',
|
|
273
|
+ data: {
|
|
274
|
+ title: '库存超限报警'
|
|
275
|
+ },
|
|
276
|
+ params:{
|
|
277
|
+ showType : "WD"
|
|
278
|
+ },
|
|
279
|
+ views: {
|
|
280
|
+ "content@app": {
|
|
281
|
+ controller: 'stockWarningThresholdCtrl',
|
|
282
|
+ templateUrl: 'app/supervise/views/stockWarningThreshold.html'
|
|
283
|
+ }
|
|
284
|
+ }
|
|
285
|
+ })
|
|
286
|
+ // 储存超限报警
|
|
287
|
+ .state('app.supervise.situation.store', {
|
|
288
|
+ url: '/supervise/situation/store/:isShow/:houseId',
|
|
289
|
+ data: {
|
|
290
|
+ title: '储存超限报警'
|
|
291
|
+ },
|
|
292
|
+ params:{
|
|
293
|
+ showType : "WD"
|
|
294
|
+ },
|
|
295
|
+ views: {
|
|
296
|
+ "content@app": {
|
|
297
|
+ controller: 'storeWarningThresholdCtrl',
|
|
298
|
+ templateUrl: 'app/supervise/views/storeWarningThreshold.html'
|
|
299
|
+ }
|
|
300
|
+ }
|
|
301
|
+ })
|
|
302
|
+ // 内控预警列表
|
|
303
|
+ .state('app.supervise.situation.internalControl', {
|
|
304
|
+ url: '/supervise/situation/internalControl/:isShow/:houseId',
|
|
305
|
+ data: {
|
|
306
|
+ title: '内控预警列表'
|
|
307
|
+ },
|
|
308
|
+ params:{
|
|
309
|
+ showType : "WD"
|
|
310
|
+ },
|
|
311
|
+ views: {
|
|
312
|
+ "content@app": {
|
|
313
|
+ controller: 'internalWarningListCtrl',
|
|
314
|
+ templateUrl: 'app/supervise/views/internalWarningList.html'
|
|
315
|
+ }
|
|
316
|
+ }
|
|
317
|
+ })
|
|
318
|
+ // 违规预警
|
|
319
|
+ .state('app.supervise.situation.violation', {
|
|
320
|
+ url: '/supervise/situation/violation/:isShow/:houseId',
|
|
321
|
+ data: {
|
|
322
|
+ title: '违规预警'
|
|
323
|
+ },
|
|
324
|
+ params:{
|
|
325
|
+ showType : "WD"
|
|
326
|
+ },
|
|
327
|
+ views: {
|
|
328
|
+ "content@app": {
|
|
329
|
+ controller: 'violationWarningListCtrl',
|
|
330
|
+ templateUrl: 'app/supervise/views/violationWarningList.html'
|
|
331
|
+ }
|
|
332
|
+ }
|
|
333
|
+ })
|
|
334
|
+ // 违规预警详情页
|
|
335
|
+ .state('app.supervise.situation.violationDetail', {
|
|
336
|
+ url: '/supervise/situation/violationDetail/:isShow/:houseId',
|
|
337
|
+ data: {
|
|
338
|
+ title: '违规预警'
|
|
339
|
+ },
|
|
340
|
+ params:{
|
|
341
|
+ showType : "WD"
|
|
342
|
+ },
|
|
343
|
+ views: {
|
|
344
|
+ "content@app": {
|
|
345
|
+ controller: 'violationDetailCtrl',
|
|
346
|
+ templateUrl: 'app/supervise/views/violationDetail.html'
|
|
347
|
+ }
|
|
348
|
+ }
|
|
349
|
+ })
|
254
|
350
|
//=======================粮情监测========================//
|
255
|
351
|
//=======================仓储作业========================//
|
256
|
352
|
.state('app.supervise.operation', {
|