diff --git a/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue b/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue
index f17b2986..7495ff36 100644
--- a/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue
+++ b/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue
@@ -40,19 +40,29 @@
-
-
-
{{item.name}}{{ $dict.getLabel('EP_riskLevel', item.riskLevel) }}
-
{{item.idNumber}}
-
{{item.startAreaName}}
-
{{item.arriveAreaName}}
-
{{item.arriveTime}}
-
![]()
+
+
+
+
{{item.name}}{{ $dict.getLabel('EP_riskLevel', item.riskLevel) }}
+
{{item.idNumber}}
+
{{item.startAreaName}}
+
{{item.arriveAreaName}}
+
{{item.arriveTime}}
+
![]()
+
+
+
处置人:{{item.handleUserName}}
+
-
-
处置人:{{item.handleUserName}}
-
-
+
@@ -86,6 +96,14 @@ export default {
require('./components/img/status4.png'),
require('./components/img/status5.png'),
require('./components/img/status6.png'),
+ ],
+ options: [
+ {
+ text: '删除',
+ style: {
+ backgroundColor: '#dd524d'
+ }
+ }
]
}
},
@@ -122,6 +140,16 @@ export default {
}
})
},
+ del(id) {
+ this.$confirm(`确认删除该数据`).then(() => {
+ this.$http.post(`/app/appepidemicpreventionregisterinfo/delete?id=${id}`).then((res) => {
+ if (res.code == 0) {
+ this.$u.toast('删除成功')
+ this.getListInit()
+ }
+ })
+ })
+ },
getTotal() {
this.$http.post(`/app/appepidemicpreventionregisterinfo/listStatistics?areaId=${this.areaId}`).then((res) => {
if (res.code == 0) {
@@ -160,7 +188,18 @@ export default {
this.gatewayName = ''
this.gatewayId = ''
this.getListInit()
- }
+ },
+ onClick(index) {
+ this.del(this.list[index].id)
+ },
+ onOpen(index) {
+ this.list[index].show = true
+ this.list.map((val, i) => {
+ if(index != i) {
+ this.list[i].show = false
+ }
+ })
+ },
},
onReachBottom() {
this.current ++
@@ -268,7 +307,6 @@ export default {
padding: 32px 32px 0;
.item{
background-color: #fff;
- margin-bottom: 24px;
border-radius: 16px;
.top {
padding: 32px 32px 24px;