From efe37f0078d5fd7feaf3e945e8442c28e91ebea6 Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Wed, 27 Aug 2025 16:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B9=A6=E8=AF=9D=E5=89=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/aboutTable/FormMessage.vue | 4 +- .../warningControl/components/fkDialog.vue | 100 ++++++-- .../warningControl/components/yjItem copy.vue | 239 ++++++++++++++++++ .../warningControl/components/yjItem.vue | 33 +-- .../warningControl/index.vue | 4 +- 5 files changed, 337 insertions(+), 43 deletions(-) create mode 100644 src/views/backOfficeSystem/IntelligentControl/warningControl/components/yjItem copy.vue diff --git a/src/components/aboutTable/FormMessage.vue b/src/components/aboutTable/FormMessage.vue index 631a63d..0bed4ad 100644 --- a/src/components/aboutTable/FormMessage.vue +++ b/src/components/aboutTable/FormMessage.vue @@ -3,7 +3,7 @@ - + @@ -47,7 +47,7 @@ + + diff --git a/src/views/backOfficeSystem/IntelligentControl/warningControl/components/yjItem.vue b/src/views/backOfficeSystem/IntelligentControl/warningControl/components/yjItem.vue index 9474f68..40dca46 100644 --- a/src/views/backOfficeSystem/IntelligentControl/warningControl/components/yjItem.vue +++ b/src/views/backOfficeSystem/IntelligentControl/warningControl/components/yjItem.vue @@ -20,8 +20,9 @@
相似度:{{ props.item.xsd * 100 }}%
预警次数:{{ props.item.yjCs }}
- 签收 - {{ props.item.sffk ? '查看反馈':'反馈' }} + 签收 + 反馈 + 查看反馈
@@ -83,21 +84,23 @@ const rules = reactive({ // 处理签收 -const handleQs = (val) =>{ - proxy.$confirm("是否确定要签收?", "警告", { type: "warning" }).then(() => { - qcckPost({id:val.id}, "/mosty-gsxt/tbYjxx/yjqs").then(() => { - val.czzt = '02' - proxy.$message({ type: "success", message: "签收成功" }); - }); - }) +const handleQsFk = (val,type) =>{ + switch(type){ + case '签收': + proxy.$confirm("是否确定要签收?", "警告", { type: "warning" }).then(() => { + qcckPost({id:val.id}, "/mosty-gsxt/tbYjxx/yjqs").then(() => { + val.czzt = '02' + proxy.$message({ type: "success", message: "签收成功" }); + }); + }) + break; + case '反馈': + case '查看反馈': + emitter.emit("openFkDialog", {id:val.id,type}); + break; + } } -// 反馈 -const handleFK = (val) =>{ - emitter.emit("openFkDialog", {id:props.item.id,type:val}); -} - - // 切换背景 const changeBg = (type) => { switch (type) { diff --git a/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue b/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue index e8ac49c..7aa0c27 100644 --- a/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue +++ b/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue @@ -64,11 +64,11 @@
- + - +