From e93a0172d69e539dde4fec663c65ca97f1d7a67f Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 24 Mar 2021 19:32:40 +0800
Subject: [PATCH] 部分做调整,逻辑还在考虑
---
src/views/policeTracking/policeTracking.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/policeTracking/policeTracking.vue b/src/views/policeTracking/policeTracking.vue
index 97fa0fb..60726c5 100644
--- a/src/views/policeTracking/policeTracking.vue
+++ b/src/views/policeTracking/policeTracking.vue
@@ -174,6 +174,7 @@
<i class="el-icon-document avue-group__icon"></i>
<h1 class="avue-group__title">人员信息</h1>
<el-button
+ @click="onSubmit('通知保安')"
type="danger"
size="small"
style="position: absolute; right: 0"
@@ -192,7 +193,7 @@
@selection-change="handleSelectionChange"
max-height="240"
>
- <el-table-column type="selection" width="55" align="center">
+ <el-table-column v-if="false" type="selection" width="55" align="center">
</el-table-column>
<el-table-column
@@ -462,7 +463,7 @@
<el-row :align="center" style="margin-top: 40px">
<el-col :offset="10">
<el-button
- @click="onSubmit"
+ @click="onSubmit('处理完成')"
:disabled="form.jtype == 2 ? true : false"
:type="form.jtype == 2 ? 'info' : 'danger'"
>处理完成</el-button
@@ -568,12 +569,13 @@
created() {
this.form = this.$route.query;
this.getReceivingAlarm();
-
},
mounted() {
this.getList();
},
updated() {
+
+
var arr = [];
this.tableData.forEach((item) => {
if (item.roleName == "管理员") {
@@ -691,7 +693,7 @@
currenS,
};
},
- onSubmit() {
+ onSubmit(zc) {
var that = this;
axios
.post(
@@ -705,7 +707,7 @@
bz: this.form.bz,
snumber: this.form.alarmId,
sname: this.form.alarmPeople,
- zc: "处理完成",
+ zc: zc,
zctime: this.getDate().current,
},
}
@@ -721,6 +723,7 @@
that.$store.state.tags.tagList = arr;
that.$router.go(-1);
}
+ that.getReceivingAlarm();
});
},
--
Gitblit v1.9.3