diff --git a/src/views/backOfficeSystem/fourColorManage/YjData/index.vue b/src/views/backOfficeSystem/fourColorManage/YjData/index.vue index 987c6ce..8175fa9 100644 --- a/src/views/backOfficeSystem/fourColorManage/YjData/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/YjData/index.vue @@ -29,7 +29,7 @@ import ControlWarning from "@/views/backOfficeSystem/fourColorManage/warningCont import RegionalControl from "@/views/backOfficeSystem/fourColorManage/warningControl/regionalControl/index.vue" import { ref } from "vue"; const butList=ref(["预警整合","七类重点","身份预警","行为预警","组合预警","人像预警","车辆预警","布控预警","区域预警"]) -const qh = ref('预警整合') +const qh = ref('人像预警') const add = (flag) => { qh.value = flag } diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue index 9781e96..64e4744 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue @@ -13,9 +13,10 @@ - +
@@ -64,7 +65,11 @@ - @@ -369,6 +374,23 @@ const exportExl = () => { } +const handleQs = () => { + if (selectRows.value?.length === 0) return proxy.$message({ type: "warning", message: "请选择要签收的预警" }); + let wqs = selectRows.value.filter(item => item.czzt == '01'); + if (wqs.length == 0) return proxy.$message({ type: "warning", message: "数据都已签收,请选择未签收的数据" }); + let yqs = selectRows.value.filter(item => item.czzt == '02'); + let texy = yqs.length > 0 ? `${yqs.length}条已签收预警数据,确认要签收${wqs.length}条未签收预警数据吗?` : '确认要签收所有预警数据吗?' + proxy.$confirm(texy, "警告", { type: "warning" }).then(() => { + let ids = wqs.map(item => item.id) + qcckPost({ids}, '/mosty-gsxt/yjzxXwyj/batchQs').then(() => { + proxy.$message({ type: "success", message: "成功" }); + getList(); + }).catch(() => { + proxy.$message({ type: "error", message: "失败" }); + }); + }).catch(() => { }); +} + diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/components/localWarning.vue b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/components/localWarning.vue deleted file mode 100644 index f8c3041..0000000 --- a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/components/localWarning.vue +++ /dev/null @@ -1,384 +0,0 @@ - - - - - diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue index 14df368..d8f4ae9 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue @@ -1,89 +1,144 @@