测试提交新地址

master
Comair 3 years ago
parent 6ee0651de0
commit 59affe7a66
  1. 18
      src/views/wcs/configuration/index.vue

@ -166,30 +166,30 @@ export default {
name: "修改", name: "修改",
event: "handleUpdate", event: "handleUpdate",
hidden(value) { hidden(value) {
if (value.equipmentName !== "WCS" && value.equipmentStatus !== 1) { if (value.equipmentName === "WCS") {
return true;
} else {
return false; return false;
} else {
return true;
} }
}, },
},{ },{
name: "切离", name: "切离",
event: "handleCutOff", event: "handleCutOff",
hidden(value) { hidden(value) {
if (value.equipmentName === "WCS" && value.equipmentStatus === 2) { if (value.equipmentName === "MQBSK001C1" && value.equipmentStatus === 2) {
return true;
} else {
return false; return false;
} else {
return true;
} }
}, },
},{ },{
name: "恢复", name: "恢复",
event: "handleCutIn", event: "handleCutIn",
hidden(value) { hidden(value) {
if (value.equipmentName === "WCS" && value.equipmentStatus === 1) { if (value.equipmentName === "MQBSK001C2" && value.equipmentStatus === 1) {
return true;
} else {
return false; return false;
} else {
return true;
} }
}, },
}, },

Loading…
Cancel
Save