From a29072609f5d11599b90a6c278b390b506c1cdcc Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期三, 15 五月 2024 09:45:19 +0800
Subject: [PATCH] 1
---
src/views/mdc/station-live.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/views/mdc/station-live.vue b/src/views/mdc/station-live.vue
index ea9c12c..f9f8bf6 100644
--- a/src/views/mdc/station-live.vue
+++ b/src/views/mdc/station-live.vue
@@ -2,7 +2,7 @@
* @Author: lzhe lzhe@example.com
* @Date: 2024-03-26 10:28:33
* @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-04-19 18:26:26
+ * @LastEditTime: 2024-05-15 09:44:50
* @FilePath: /smart-web/src/views/master/person/main/index.vue
* @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -86,7 +86,7 @@
<el-table-column prop="temdata" label="寰呮満"></el-table-column>
<el-table-column prop="temdata" label="鎶ヨ"></el-table-column>
<el-table-column prop="temdata" label="杩愯"></el-table-column>
- <el-table-column prop="perdata" label="绋煎姩鐜�%"></el-table-column>
+ <el-table-column prop="oee" label="绋煎姩鐜�%"></el-table-column>
<el-table-column prop="perdata" label="鎶ヨ鐜�%"></el-table-column>
</el-table>
</div>
@@ -297,7 +297,7 @@
},
mounted(){
this.newDate(); //鑾峰彇褰撳墠鏃ユ湡
- this.getTreeList();
+ this.getTreeList(this.$route.query.code);
},
components: {
saveDialog
@@ -347,7 +347,6 @@
item.temdata = "00:00:00";
item.perdata = "0";
})
- console.log(res.data,980)
this.recordData = res.data;
}
})
@@ -425,7 +424,6 @@
})
this.wcsOptionR.series[0].data = res.data;
myChart.setOption(this.wcsOptionR);
- console.log(res.data)
}
})
},
@@ -460,6 +458,7 @@
this.$HTTP.get(`/api/blade-cps/workstation/get-dmp-variables?machineId=${machineId}&workstationId=${lastLevelId}`).then(res=> {
if(res.code == 200) {
this.dmpList = res.data;
+ console.log(this.dmpList,1)
}
})
},
@@ -518,7 +517,7 @@
})
return tree;
},
- getTreeList(flag) {
+ getTreeList(id) {
var obj = {
groupCategory: 1,
groupType: "group_workstation"
@@ -529,10 +528,14 @@
var treeDisabled = this.addTreeDisable(res.data);
this.tableData = this.buildTree(treeDisabled); //浠庢墎骞冲寲鍙樹负鏍戠姸缁撴瀯
this.$nextTick(()=> {
- this.lastLevelId = this.getLastLevelIds(this.tableData).lastLevelId;
+ if(id) {
+ this.lastLevelId = id; //鎸囧畾id
+ }else {
+ this.lastLevelId = this.getLastLevelIds(this.tableData).lastLevelId;
+ }
this.$refs.treeRef.setCurrentKey(this.lastLevelId); //绗竴涓妭鐐圭殑绗竴涓瓙鑺傜偣鏈�鍚庝竴绾ч粯璁ら�変腑
//浠ヤ笅鏄垵濮嬪寲鏁版嵁
- this.getlist(); //娓叉煋鍙嶉鍒楄〃
+ this.getlist(); //娓叉煋璇︽儏鍜�(鐘舵�乴ist)
this.getwcsLcolor(); //宸︿晶鍥捐〃
this.getwcsR(); //鍙充晶鍥炬爣
this.getachievements(); //鐝鐘舵�佽褰曢噰闆嗙姸鎬�
@@ -760,7 +763,7 @@
position: absolute;
right: 10px;
top: -2px;
- color: #3b8e8e;
+ color: #409eff;
cursor: pointer;
}
.status-wrap.align-left, .status-wrap:first-child {
@@ -773,7 +776,7 @@
justify-content: start;
}
.collect-status {
- color: #3b8e8e;
+ color: #409eff;
margin-right: 16px;
font-size: 14px;
}
@@ -791,10 +794,7 @@
}
.status-wrap {
display: flex;
- -ms-flex-wrap: wrap;
flex-wrap: wrap;
- -webkit-box-pack: start;
- -ms-flex-pack: start;
justify-content: start;
}
.status-wrap .status-con {
@@ -803,6 +803,6 @@
flex-wrap: wrap;
}
.status-wrap /deep/ .el-checkbox.el-checkbox--large {
- color: #3b8e8e;
+ color: #409eff;
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3