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; } }, },