Browse Source

fix: update

maopixin 2 years ago
parent
commit
94b7d5392f

+ 0 - 1
src/main/resources/static/app/storage/foodstuffAnalysis/controller/monthCtrl.js

@@ -44,7 +44,6 @@ angular.module('app.storage').controller("monthCtrl", function ($scope, $rootSco
44 44
 	};
45 45
 	// 查看
46 46
 	$scope.handleLook = function (info) {
47
-		console.log(info);
48 47
 		$state.go("app.storage.foodstuffAnalysis.month-detail", {
49 48
 			id: info.id,
50 49
 			disabled: 1

+ 23 - 2
src/main/resources/static/app/supervise/controller/internalWarningListCtrl.js

@@ -1,16 +1,37 @@
1 1
 "use strict";
2 2
 
3 3
 angular.module('app.supervise')
4
-	.controller("internalWarningListCtrl", function ($scope, $rootScope, $state, StorehouseService, enumService, warningThresholdService, APP_CONFIG, alertService) {
4
+	.controller("internalWarningListCtrl", function ($scope, $rootScope, $state, StorehouseService, enumService, contentPreControlAlarmService, APP_CONFIG, alertService) {
5
+		// 搜索条件
6
+		$scope.search = {
7
+			startDate: '',
8
+			endDate: '',
9
+		}
5 10
 		// 默认分页
6 11
 		$scope.pageInfo = {pageNum: 1, pageSize: 10};
7 12
 		// 加载列表
8 13
 		$scope.loadData = function () {
9
-			warningThresholdService.getInsectPestDetectionPageInfo($scope.pageInfo).then(function (data) {
14
+
15
+			$scope.search.startDate = $("input[name='startDate']").val(); // 时间控件获取值
16
+			$scope.search.endDate = $("input[name='endDate']").val(); // 时间控件获取值
17
+			contentPreControlAlarmService.getNkList($scope.pageInfo.pageNum, $scope.pageInfo.pageSize, $scope.search, $rootScope.orgInfo.orgId).then(function (data) {
10 18
 				$scope.pageInfo = data.data;
19
+
11 20
 			}, function (data) {
12 21
 				// console.log(data);
13 22
 			});
14 23
 		};
15 24
 		$scope.loadData();
25
+
26
+		$scope.emptyTime = function () {
27
+			$("input[name='startDate']").val('')
28
+			$("input[name='endDate']").val('')
29
+		}
30
+
31
+		$scope.goPage = function(pageNum) {
32
+			if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
33
+				$scope.pageInfo.pageNum = pageNum;
34
+				$scope.loadData();
35
+			}
36
+		}
16 37
 	})

+ 41 - 25
src/main/resources/static/app/supervise/controller/violationDetailCtrl.js

@@ -1,41 +1,57 @@
1 1
 "use strict";
2 2
 
3 3
 angular.module('app.supervise')
4
-	.controller("violationDetailCtrl", function ($scope, $rootScope, $state, StorehouseService, enumService, warningThresholdService, APP_CONFIG, alertService) {
4
+	.controller("violationDetailCtrl", function ($scope, $rootScope, $state, violationWarningAlarmService, APP_CONFIG, alertService, $stateParams) {
5 5
 		// 返回
6 6
 		$scope.retList = function () {
7
-			$rootScope.back();
7
+			if ($rootScope.previousState_name != '') {
8
+				$rootScope.back();
9
+			} else {
10
+				$state.go("app.supervise.situation.violation");
11
+			}
8 12
 		}
9
-		// 表单信息
10
-		$scope.form = {
11
-			yjfbsj: '', // 预警发布时间
12
-			wgztlx: '', // 违规主体类型
13
-			wgxwr: '', // 违规行为人
14
-			sjkd: '', // 涉及库点
15
-			wglx: '疑转圈粮预警', // 违规类型
16
-			wgxq: '', // 违规详情
17
-			cznr: '', // 处置内容
18
-			czr: '', // 处置人
19
-			czsj: '', // 处置时间
13
+
14
+		$scope.loadDataById = function(id) {
15
+			violationWarningAlarmService.getInfoById(id).then(function(data) {
16
+				$scope.form = data.data
17
+			}, function(data){
18
+				console.log(data);
19
+			})
20 20
 		}
21
+
22
+		// 表单信息
23
+		$scope.form = {}
21 24
 		// 校验
22 25
 		var validator = $("#violation-form").validate();
23 26
 
27
+		//说明是的查看和修改
28
+		if ($stateParams.id != 0) {
29
+			$scope.loadDataById($stateParams.id);
30
+			// 查看时禁用表单
31
+			$scope.disabled = Boolean(Number($stateParams.disabled));
32
+		}else {
33
+			
34
+		}
35
+		var validator = $("#violation-form").validate();
36
+
24 37
 		$scope.save = function() {
25 38
 			if (!$scope.saveFlag) {
26 39
 				if (validator.form()) {
27
-					// $scope.saveFlag = true;
28
-					// basicGasSetService.save($scope.form).then(function(data){
29
-					// 	if (data.message == 'success' && data.retCode == '200') {
30
-					// 		alert('保存成功!');
31
-					// 		$scope.retList();
32
-					// 	} else {
33
-					// 		alert("保存失败!");
34
-					// 		$scope.saveFlag = false;
35
-					// 	}
36
-					// },function(data){
37
-					// 	console.log(data);
38
-					// });
40
+					// 设置saveFlag为true,防止重复提交.
41
+					$scope.saveFlag = true;
42
+					$scope.form.orgId = $rootScope.orgInfo.orgId
43
+					$scope.form.disposeTime = $("input[name='disposeTime']").val(); // 时间控件获取值
44
+					violationWarningAlarmService.updateWarningInfo($scope.form).then(function(data){
45
+						if (data.status == 'success') {
46
+							alert("保存成功!");
47
+							$scope.retList();
48
+						} else {
49
+							alert(data.msg);
50
+							$scope.saveFlag = false;
51
+						}
52
+					},function(data){
53
+						console.log(data);
54
+					});
39 55
 				}
40 56
 			}
41 57
 		}

+ 40 - 14
src/main/resources/static/app/supervise/controller/violationWarningListCtrl.js

@@ -1,31 +1,57 @@
1 1
 "use strict";
2 2
 
3 3
 angular.module('app.supervise')
4
-	.controller("violationWarningListCtrl", function ($scope, $rootScope, $state, StorehouseService, enumService, warningThresholdService, APP_CONFIG, alertService) {
4
+	.controller("violationWarningListCtrl", function ($scope, $rootScope, $state, violationWarningAlarmService, APP_CONFIG, alertService) {
5
+		// 搜索条件
6
+		$scope.search = {
7
+			startDate: '',
8
+			endDate: '',
9
+			violationType: '疑转圈粮预警',
10
+		}
5 11
 		// 默认分页
6
-		$scope.pageInfo = {pageNum: 1, pageSize: 10, list: [
7
-			{
8
-				wTime: 1650014854788,
9
-				wRemark: 'wRemark',
10
-				wState: 0,
11
-			}
12
-		]};
12
+		$scope.pageInfo = {pageNum: 1, pageSize: 10};
13 13
 		// 加载列表
14 14
 		$scope.loadData = function () {
15
-			warningThresholdService.getInsectPestDetectionPageInfo($scope.pageInfo).then(function (data) {
15
+			$scope.search.startDate = $("input[name='startDate']").val(); // 时间控件获取值
16
+			$scope.search.endDate = $("input[name='endDate']").val(); // 时间控件获取值
17
+			violationWarningAlarmService.getWgList($scope.pageInfo.pageNum, $scope.pageInfo.pageSize, $scope.search, $rootScope.orgInfo.orgId).then(function (data) {
16 18
 				$scope.pageInfo = data.data;
19
+
17 20
 			}, function (data) {
18 21
 				// console.log(data);
19 22
 			});
20 23
 		};
21
-		// $scope.loadData();
24
+		$scope.loadData();
22 25
 
23
-		$scope.handleEditor = function () {
24
-			console.log('handleEditor');
25
-			$state.go("app.supervise.situation.violationDetail");
26
-		};
26
+		$scope.emptyTime = function () {
27
+			$("input[name='startDate']").val('')
28
+			$("input[name='endDate']").val('')
29
+		}
27 30
 
28 31
 		$scope.handleLook = function () {
29 32
 			console.log('handleLook');
33
+			$
34
+		};
35
+
36
+		$scope.goPage = function(pageNum) {
37
+			if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
38
+				$scope.pageInfo.pageNum = pageNum;
39
+				$scope.loadData();
40
+			}
41
+		}
42
+
43
+		// 编辑
44
+		$scope.handleEditor = function (info) {
45
+			$state.go("app.supervise.situation.violationDetail", {
46
+				id: info.id,
47
+				disabled: 0
48
+			});
49
+		};
50
+		// 查看
51
+		$scope.handleLook = function (info) {
52
+			$state.go("app.supervise.situation.violationDetail", {
53
+				id: info.id,
54
+				disabled: 1
55
+			});
30 56
 		};
31 57
 	})

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

@@ -317,7 +317,7 @@ angular.module('app.supervise', ['ui.router','app.basic','app.business','app.ala
317 317
 			})
318 318
 			// 违规预警
319 319
             .state('app.supervise.situation.violation', {
320
-				url: '/supervise/situation/violation/:isShow/:houseId',
320
+				url: '/supervise/situation/violation',
321 321
 				data: {
322 322
 					title: '违规预警'
323 323
 				},
@@ -333,7 +333,7 @@ angular.module('app.supervise', ['ui.router','app.basic','app.business','app.ala
333 333
 			})
334 334
 			// 违规预警详情页
335 335
             .state('app.supervise.situation.violationDetail', {
336
-				url: '/supervise/situation/violationDetail/:isShow/:houseId',
336
+				url: '/supervise/situation/violationDetail/:id/:disabled',
337 337
 				data: {
338 338
 					title: '违规预警'
339 339
 				},

+ 29 - 0
src/main/resources/static/app/supervise/service/contentPreControlAlarmService.js

@@ -0,0 +1,29 @@
1
+"use strict";
2
+
3
+angular.module('app.supervise').service("contentPreControlAlarmService", function($http, $q, APP_CONFIG, $rootScope) {
4
+
5
+    /**
6
+     * 查询内控预警信息列表,支持分页
7
+     */
8
+    this.getNkList = function(pageNum, pageSize, search, orgId) {
9
+        var d = $q.defer();
10
+        $http({
11
+            method : 'GET',
12
+            url : APP_CONFIG.depotStorageUrl + '/contentPreControlAlarm/getList',
13
+            params : {
14
+                pageNum : pageNum,
15
+                pageSize : pageSize,
16
+                startDate : search==undefined?"":search.startDate,
17
+                endDate : search==undefined?"":search.endDate,
18
+                orgId : orgId
19
+            }
20
+        }).then(function successCallback(response) {
21
+            // 请求成功执行代码
22
+            d.resolve(response.data);
23
+        }, function errorCallback(response) {
24
+            // 请求失败执行代码
25
+            d.reject("error");
26
+        });
27
+        return d.promise;
28
+    };
29
+});

+ 72 - 0
src/main/resources/static/app/supervise/service/violationWarningAlarmService.js

@@ -0,0 +1,72 @@
1
+"use strict";
2
+
3
+angular.module('app.supervise').service("violationWarningAlarmService", function($http, $q, APP_CONFIG, $rootScope) {
4
+
5
+    /**
6
+     * 查询违规预警信息列表,支持分页
7
+     */
8
+    this.getWgList = function(pageNum, pageSize, search, orgId) {
9
+        var d = $q.defer();
10
+        $http({
11
+            method : 'GET',
12
+            url : APP_CONFIG.depotStorageUrl + '/violationWarningAlarm/getList',
13
+            params : {
14
+                pageNum : pageNum,
15
+                pageSize : pageSize,
16
+                startDate : search==undefined?"":search.startDate,
17
+                endDate : search==undefined?"":search.endDate,
18
+                violationType : search==undefined?"":search.violationType,
19
+                orgId : orgId
20
+            }
21
+        }).then(function successCallback(response) {
22
+            // 请求成功执行代码
23
+            d.resolve(response.data);
24
+        }, function errorCallback(response) {
25
+            // 请求失败执行代码
26
+            d.reject("error");
27
+        });
28
+        return d.promise;
29
+    };
30
+
31
+	/**
32
+     * 根据id加载对应数据
33
+     */
34
+	 this.getInfoById = function(id) {
35
+        var d = $q.defer();
36
+        $http({
37
+            method : 'GET',
38
+            url : APP_CONFIG.depotStorageUrl + '/violationWarningAlarm/queryById',
39
+            params : {
40
+                id: id,
41
+            }
42
+        }).then(function successCallback(response) {
43
+            // 请求成功执行代码
44
+            d.resolve(response.data);
45
+        }, function errorCallback(response) {
46
+            // 请求失败执行代码
47
+            d.reject("error");
48
+        });
49
+        return d.promise;
50
+    };
51
+
52
+	/**
53
+     * 更新违规预警
54
+     */
55
+	 this.updateWarningInfo = function(data) {
56
+        var d = $q.defer();
57
+        $http({
58
+            method : 'POST',
59
+            url : APP_CONFIG.depotStorageUrl + '/violationWarningAlarm/updateData',
60
+            data : {
61
+				riskJson: angular.toJson(data)
62
+            }
63
+        }).then(function successCallback(response) {
64
+            // 请求成功执行代码
65
+            d.resolve(response.data);
66
+        }, function errorCallback(response) {
67
+            // 请求失败执行代码
68
+            d.reject("error");
69
+        });
70
+        return d.promise;
71
+    };
72
+});

+ 6 - 9
src/main/resources/static/app/supervise/views/internalWarningList.html

@@ -17,10 +17,10 @@
17 17
                                 <div class="dt-toolbar">
18 18
                                     <div class="col-xs-12 col-sm-10">
19 19
                                         <label>日期:<input style="width: 100px;" class="form-control" type="text"
20
-                                                           ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
20
+                                                           ng-model="search.startDate" name="startDate" id="startDate"
21 21
                                                            onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
22 22
                                             --&nbsp;<input style="width: 100px;" class="form-control" type="text" ng-disabled="isArchive"
23
-                                                           ng-model="search.searchEndDate" name="searchEndDate" id="endDate"
23
+                                                           ng-model="search.endDate" name="endDate" id="endDate"
24 24
                                                            onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
25 25
                                         </label>
26 26
                                         <a class="btn btn-default btn-sm" ng-click="loadData()"> <i
@@ -54,16 +54,13 @@
54 54
                                         <tbody>
55 55
                                         <tr ng-repeat="warning in pageInfo.list">
56 56
                                             <td style="text-align:center;">{{ $index + 1 }}</td>
57
-                                            <td style="text-align:center;">{{ storeHouseCodeObj[warning.vCfCode].storehouseName }}
57
+                                            <td style="text-align:center;">{{ warning.carNumber }}
58 58
                                             </td>
59 59
                                             <td style="text-align:center;">
60
-                                                <div ng-if="warning.threshold==250">
61
-                                                    <span style="color: red;">设备异常</span>
62
-                                                </div>
63
-                                                <div ng-if="warning.threshold!=250">{{ warning.threshold}}</div>
60
+                                                {{ warning.alarmType }}
64 61
                                             </td>
65
-                                            <td style="text-align:center;">{{ warning.wRemark }}</td>
66
-                                            <td style="text-align:center;">{{ warning.wTime | date:'yyyy-MM-dd HH:mm:ss' }}
62
+                                            <td style="text-align:center;">{{ warning.alarmContent }}</td>
63
+                                            <td style="text-align:center;">{{ warning.createTime | date:'yyyy-MM-dd HH:mm:ss' }}
67 64
                                             </td>
68 65
                                             <!--<td style="text-align:center;">-->
69 66
                                             <!--<span ng-if="warning.wState=='0'">未处理</span>-->

+ 19 - 11
src/main/resources/static/app/supervise/views/violationDetail.html

@@ -21,25 +21,25 @@
21 21
                                         <section class="col col-3">
22 22
                                             <label class="label">预警发布时间:<span style="color: red;">*</span></label> 
23 23
                                             <label class="input"> 
24
-                                                <input class="form-control" type="text" ng-model="form.yjfbsj" name="codeName" required>
24
+                                                <input class="form-control" type="text" ng-model="form.alarmPublishTime" name="alarmPublishTime" required ng-disabled="disabled">
25 25
                                             </label>
26 26
                                         </section>
27 27
                                         <section class="col col-3">
28 28
                                             <label class="label txt-bg-red">违规主体类型:<span style="color: red;">*</span></label> 
29 29
                                             <label class="input"> 
30
-                                                <input class="form-control" type="text" ng-model="form.wgztlx" name="wgztlx" required>
30
+                                                <input class="form-control" type="text" ng-model="form.violationSubjectType" name="violationSubjectType" required ng-disabled="disabled">
31 31
                                             </label>
32 32
                                         </section>
33 33
                                         <section class="col col-3">
34 34
                                             <label class="label">违规行为人:<span style="color: red;">*</span></label> 
35 35
                                             <label class="input"> 
36
-                                                <input class="form-control" type="text" ng-model="form.wgxwr" name="spacer" required>
36
+                                                <input class="form-control" type="text" ng-model="form.offender" name="offender" required ng-disabled="disabled">
37 37
                                             </label>
38 38
                                         </section>
39 39
                                         <section class="col col-3">
40 40
                                             <label class="label">涉及库点:<span style="color: red;">*</span></label> 
41 41
                                             <label class="input"> 
42
-                                                <input class="form-control" type="text" ng-model="form.sjkd" name="sjkd" required>
42
+                                                <input class="form-control" type="text" ng-model="form.involvingLibraryPoints" name="involvingLibraryPoints" required ng-disabled="disabled">
43 43
                                             </label>
44 44
                                         </section>
45 45
                                     </div>
@@ -47,8 +47,7 @@
47 47
 										<section class="col col-3">
48 48
                                             <label class="label">违规类型:<span style="color: red;">*</span></label> 
49 49
                                             <label class="select"> 
50
-                                                <select ng-model="form.wglx" name="codeType" ng-options="item for item in ['疑转圈粮预警']" required>
51
-                                                    <option value="">--请选择--</option>
50
+                                                <select ng-model="form.violationType" name="violationType" ng-options="item for item in ['疑转圈粮预警']" required>
52 51
                                                 </select><i></i>
53 52
                                             </label>
54 53
                                         </section>
@@ -57,7 +56,7 @@
57 56
 										<section class="col col-md-12">
58 57
                                             <label class="label">违规详情:</label> 
59 58
                                             <label class="textarea"> 
60
-                                                <textarea auto-focus class="form-control" ng-model="form.wgxq" style="width:100%; height:100%;"/>
59
+                                                <textarea auto-focus class="form-control" ng-model="form.violationDetail" name="violationDetail" style="width:100%; height:100%;" ng-disabled="disabled"/>
61 60
                                             </label>
62 61
                                         </section>
63 62
 									</div>
@@ -65,7 +64,7 @@
65 64
 										<section class="col col-md-12">
66 65
                                             <label class="label">处置内容:<span style="color: red;">*</span></label> 
67 66
                                             <label class="textarea"> 
68
-                                                <textarea auto-focus class="form-control" ng-model="form.cznr" name="cznr" style="width:100%; height:100%; max-width: 100%; max-height: 100%; min-height: 100px" required/>
67
+                                                <textarea auto-focus class="form-control" ng-model="form.disposeContent" name="disposeContent" style="width:100%; height:100%; max-width: 100%; max-height: 100%; min-height: 100px" required ng-disabled="disabled"/>
69 68
                                             </label>
70 69
                                         </section>
71 70
 									</div>
@@ -73,20 +72,29 @@
73 72
                                         <section class="col col-3">
74 73
                                             <label class="label">处置人:<span style="color: red;">*</span></label> 
75 74
                                             <label class="input"> 
76
-                                                <input class="form-control" type="text" ng-model="form.czr" name="czr" required>
75
+                                                <input class="form-control" type="text" ng-model="form.disposer" name="disposer" required ng-disabled="disabled">
77 76
                                             </label>
78 77
                                         </section>
79 78
                                         <section class="col col-3">
80 79
                                             <label class="label txt-bg-red">处置时间:<span style="color: red;">*</span></label> 
81 80
                                             <label class="input"> 
82
-                                                <input class="form-control" type="text" ng-model="form.czsj" name="czsj" required>
81
+												<input 
82
+													class="form-control"
83
+													type="text"
84
+													ng-model="form.disposeTime"
85
+													name="disposeTime"
86
+													id="disposeTime"
87
+													onClick="WdatePicker({lang:'zh-cn'})"
88
+													required
89
+													ng-disabled="disabled"
90
+												>
83 91
                                             </label>
84 92
                                         </section>
85 93
                                     </div>
86 94
                                 </fieldset>
87 95
                                 <div>
88 96
                                     <footer class="text-align-center">
89
-										<button type="button" class="btn btn-primary" ng-hide="isNotEdit" ng-click="save()">提交</button>
97
+										<button type="button" class="btn btn-primary" ng-hide="disabled" ng-click="save()">提交</button>
90 98
                                         <button type="button" class="btn btn-default" ng-click="retList()">取消</button>
91 99
                                     </footer>
92 100
                                </div>

+ 18 - 17
src/main/resources/static/app/supervise/views/violationWarningList.html

@@ -18,17 +18,19 @@
18 18
 									<div class="col-xs-12 col-sm-10">
19 19
 										<label>
20 20
 											违规类型:
21
-											<select ng-model="pageInfo.pageSize" ng-change="loadData()"
22
-											ng-options="num as num for num in [10,25,50,100]"
23
-											class="form-control input-sm"></select>
21
+											<select ng-model="search.violationType"
22
+											ng-options="num as num for num in ['疑转圈粮预警']"
23
+											class="form-control input-sm">
24
+											
25
+										</select>
24 26
 										</label>
25 27
 										&nbsp;&nbsp;
26 28
 										<label>预警时间:从 <input style="width: 100px;" class="form-control" type="text"
27
-												ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
29
+												ng-model="search.startDate" name="startDate" id="startDate"
28 30
 												onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
29 31
 											至&nbsp;<input style="width: 100px;" class="form-control" type="text"
30
-												ng-disabled="isArchive" ng-model="search.searchEndDate"
31
-												name="searchEndDate" id="endDate"
32
+												ng-disabled="isArchive" ng-model="search.endDate"
33
+												name="endDate" id="endDate"
32 34
 												onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
33 35
 										</label>
34 36
 										<a class="btn btn-default btn-sm" ng-click="loadData()"> <i
@@ -66,22 +68,21 @@
66 68
 										<tbody>
67 69
 											<tr ng-repeat="warning in pageInfo.list">
68 70
 												<td style="text-align:center;">
69
-													{{ warning.wTime | date:'yyyy-MM-dd HH:mm:ss' }}
71
+													{{ warning.alarmPublishTime | date:'yyyy-MM-dd HH:mm:ss' }}
70 72
 												</td>
71
-												<td style="text-align:center;">{{ warning.wRemark }}</td>
72
-												<td style="text-align:center;">{{ warning.wRemark }}</td>
73
-												<td style="text-align:center;">{{ warning.wRemark }}</td>
74
-												<td style="text-align:center;">{{ warning.wRemark }}</td>
75
-												<td style="text-align:center;">{{ warning.wRemark }}</td>
73
+												<td style="text-align:center;">{{ warning.violationSubjectType }}</td>
74
+												<td style="text-align:center;">{{ warning.offender }}</td>
75
+												<td style="text-align:center;">{{ warning.involvingLibraryPoints }}</td>
76
+												<td style="text-align:center;">{{ warning.violationType }}</td>
77
+												<td style="text-align:center;">{{ warning.violationDetail }}</td>
76 78
 												<td style="text-align:center;">
77
-													<span ng-if="warning.wState=='0'">未处理</span>
78
-													<span ng-if="warning.wState=='1'">处理中</span>
79
-													<span ng-if="warning.wState=='2'">已处理</span>
79
+													<span ng-if="warning.currentStatus=='0'">未处置</span>
80
+													<span ng-if="warning.currentStatus=='1'">已处置</span>
80 81
 												</td>
81 82
 												<td style="text-align:center;">
82 83
 													<!-- <i class="fa fa-edit"></i> -->
83
-													<a href-void ng-click="handleEditor()">编辑</a>
84
-													<a href-void ng-click="handleLook()" style="margin-left: 10px;">查看</a>
84
+													<a href-void ng-click="handleEditor(warning)">编辑</a>
85
+													<a href-void ng-click="handleLook(warning)" style="margin-left: 10px;">查看</a>
85 86
 												</td>
86 87
 											</tr>
87 88
 										</tbody>