From 59affe7a66def001b9b1220724adc9fe00e99b0e Mon Sep 17 00:00:00 2001 From: Comair <1464> Date: Wed, 17 May 2023 13:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4=E6=96=B0?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wcs/configuration/index.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/wcs/configuration/index.vue b/src/views/wcs/configuration/index.vue index a8425e3..6430de5 100644 --- a/src/views/wcs/configuration/index.vue +++ b/src/views/wcs/configuration/index.vue @@ -166,30 +166,30 @@ export default { name: "修改", event: "handleUpdate", hidden(value) { - if (value.equipmentName !== "WCS" && value.equipmentStatus !== 1) { - return true; - } else { + if (value.equipmentName === "WCS") { return false; + } else { + return true; } }, },{ name: "切离", event: "handleCutOff", hidden(value) { - if (value.equipmentName === "WCS" && value.equipmentStatus === 2) { - return true; - } else { + if (value.equipmentName === "MQBSK001C1" && value.equipmentStatus === 2) { return false; + } else { + return true; } }, },{ name: "恢复", event: "handleCutIn", hidden(value) { - if (value.equipmentName === "WCS" && value.equipmentStatus === 1) { - return true; - } else { + if (value.equipmentName === "MQBSK001C2" && value.equipmentStatus === 1) { return false; + } else { + return true; } }, },