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