|
|
@@ -700,11 +700,11 @@ const handleNodeClick = async (node) => {
|
|
|
// 使用字符串分割获取#前面的数据
|
|
|
const dataBeforeHash = custom_code.split('#')[0].trim();
|
|
|
_machine.value = dataBeforeHash + '#';
|
|
|
- if(_machine.value && node['$treeNodeId']){
|
|
|
- console.log(_machine.value)
|
|
|
- console.log(node['$treeNodeId'])
|
|
|
- return 'el-background-color';
|
|
|
- }
|
|
|
+ // if(_machine.value && node['$treeNodeId']){
|
|
|
+ // console.log(_machine.value)
|
|
|
+ // console.log(node['$treeNodeId'])
|
|
|
+ // return 'el-background-color';
|
|
|
+ // }
|
|
|
console.log('机台' + _machine.value)
|
|
|
const zhubiao = await MachineWorkOrderList({ machine:_machine.value})
|
|
|
chejianData.value = zhubiao.data['排程'];
|