diff --git a/src/app/pages/home/home.component.html b/src/app/pages/home/home.component.html
index a99a790..596490f 100644
--- a/src/app/pages/home/home.component.html
+++ b/src/app/pages/home/home.component.html
@@ -87,14 +87,32 @@
{{item.notification.data.properties.ViolationName}}
-
-
- 查看
+
+
+
+ 处置
+
+
+ 申请延期
+
+
+ 忽略
+
-
+
+
+
@@ -109,8 +127,8 @@
-
+
@@ -136,4 +154,4 @@
-
+
\ No newline at end of file
diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts
index ee6b0e1..0551d29 100644
--- a/src/app/pages/home/home.component.ts
+++ b/src/app/pages/home/home.component.ts
@@ -310,7 +310,23 @@ export class HomeComponent implements OnInit {
}
})
}
-
+ //处置
+ updateState(item, type) {
+ let body = {
+ id: item.notification.entityId,
+ operation: type
+ }
+ this.http.put('/api/services/app/StationValidityLicenseNotificationRecord/UpdateState', body).subscribe(data => {
+ this.messageId.forEach((element) => {
+ if (element.id == item.notification.entityId) {
+ this.notificationService.remove(element.messageId)
+ }
+ })
+ this.message.create('success', '操作成功');
+ }, err => {
+ this.message.create('error', '操作失败');
+ })
+ }
ngOnDestroy() {
console.log('退出')