Browse Source

设备运行跟踪车间接口优化

曹鹤洋 1 year ago
parent
commit
f3e0c6a713
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/view/yunyin/shengchanguanli/shebeiyunxing.vue

+ 2 - 1
src/view/yunyin/shengchanguanli/shebeiyunxing.vue

@@ -1925,7 +1925,8 @@ const handleNodeClick = (nodeData,node) => {
 		CLMXData.length=0;
 		JYData.length=0;
         console.log(node.label); // 第二级节点
-		JTMC=node.label.split("-")[0]
+		JTMC=node.label.split("-")[0]
+		CJMC.value=nodeData.parentNode.label
 		console.log(JTMC)
 		JTMCOn.value=true
 		dateOn.value=false