|
@ -436,14 +436,14 @@ const getConfigProcessEquipment= async (code:any) => { |
|
|
equipmentData.value = await orderDayconfigApi.getConfigProcessEquipment(queryParams) |
|
|
equipmentData.value = await orderDayconfigApi.getConfigProcessEquipment(queryParams) |
|
|
} |
|
|
} |
|
|
const nodeClick = (e, x, y, node, view) => { |
|
|
const nodeClick = (e, x, y, node, view) => { |
|
|
console.log(node.id) |
|
|
//console.log(node.id) |
|
|
getProcessBom(node.id) |
|
|
getProcessBom(node.id) |
|
|
getConfigProcessWorkstation(node.id) |
|
|
getConfigProcessWorkstation(node.id) |
|
|
getConfigProcessWorker(node.id) |
|
|
getConfigProcessWorker(node.id) |
|
|
getConfigProcessEquipment(node.id) |
|
|
getConfigProcessEquipment(node.id) |
|
|
processCode.value = node.id |
|
|
processCode.value = node.id |
|
|
currentNode.value.id=node.id |
|
|
currentNode.value.id=node.id |
|
|
console.log(node) |
|
|
//console.log(node) |
|
|
currentNode.value.name=node.attrs.title.text |
|
|
currentNode.value.name=node.attrs.title.text |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -686,7 +686,7 @@ const opensearchTableEquipment = async ( |
|
|
/*设备保存接口*/ |
|
|
/*设备保存接口*/ |
|
|
const saveEquipment = async () =>{ |
|
|
const saveEquipment = async () =>{ |
|
|
await orderDayconfigApi.saveEquipment(equipmentData.value) |
|
|
await orderDayconfigApi.saveEquipment(equipmentData.value) |
|
|
console.log(equipmentData.value) |
|
|
//console.log(equipmentData.value) |
|
|
message.success("设备配置成功!") |
|
|
message.success("设备配置成功!") |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|