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 @@
- + - +