|
@@ -427,6 +427,54 @@
|
|
|
alt=""
|
|
|
/>
|
|
|
</div> -->
|
|
|
+ <div
|
|
|
+ class="origin-basic backgroundBox"
|
|
|
+ v-show="currentBench.type == 2"
|
|
|
+ @dblclick="handleInfoDblClick(currentBench.benchId)"
|
|
|
+ >
|
|
|
+ <h2 @click="bmMapItemActivate">{{ currentBench.name }} 🔗</h2>
|
|
|
+ <div class="originBasicRow">
|
|
|
+ <div>
|
|
|
+ <span>Location:</span>
|
|
|
+ <span>Automation Lab-7E</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>MU_SW</span>
|
|
|
+ <span>{{ currentBench.MU_SW }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="originBasicRow">
|
|
|
+ <div>
|
|
|
+ <span>Cluster</span>
|
|
|
+ <span>{{ currentBench.Cluster }}</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>Market</span>
|
|
|
+ <span>{{ currentBench.Market }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="originBasicRow">
|
|
|
+ <div>
|
|
|
+ <span>Box IP</span>
|
|
|
+ <span>{{ currentBench.ip }}</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>Box Version</span>
|
|
|
+ <span>{{ currentBench.equipment?.version }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="secondScreen"
|
|
|
+ v-if="benchDisplayLowerVisible"
|
|
|
+ @click="switchScreen"
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ class="bmBenchImg bmBenchImgLower"
|
|
|
+ :src="currentScreen == 'upper' ? benchImgLower : benchImgUpper"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </div>
|
|
|
<div class="ordinary-list">
|
|
|
<TabList
|
|
|
:tabs="tabs"
|
|
@@ -478,6 +526,9 @@
|
|
|
:currentScreen="currentScreen"
|
|
|
:benchImgLower="benchImgLower"
|
|
|
:benchImgUpper="benchImgUpper"
|
|
|
+ :readyCount="readyCount"
|
|
|
+ :occupiedCount="occupiedCount"
|
|
|
+ :offlineCount="offlineCount"
|
|
|
></TabList>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -824,6 +875,8 @@ export default {
|
|
|
//console.log('element',element);
|
|
|
if (element.status == "ready") {
|
|
|
readyCount++;
|
|
|
+ } else if (element.status == "error") {
|
|
|
+ offlineCount++;
|
|
|
} else if (element.status == "offline") {
|
|
|
offlineCount++;
|
|
|
} else {
|
|
@@ -2095,7 +2148,7 @@ export default {
|
|
|
pressPtt() {
|
|
|
let self = this;
|
|
|
ws.press_ptt({
|
|
|
- benchId: this.selectedBenchList[0].benchId,
|
|
|
+ benchId: String(this.connetedBenchId),
|
|
|
}).then(
|
|
|
(res) => {},
|
|
|
(rej) => {}
|
|
@@ -2266,6 +2319,7 @@ export default {
|
|
|
this.currentBench.selected = true;
|
|
|
}
|
|
|
}
|
|
|
+ bus.emit("benchInfoVisible", this.currentBench);
|
|
|
});
|
|
|
},
|
|
|
handleListDbClick(benchId, itemtype) {
|
|
@@ -3125,7 +3179,7 @@ export default {
|
|
|
}
|
|
|
.origin-basic {
|
|
|
padding: 15px 20px;
|
|
|
- color: #ccc;
|
|
|
+ color: #fff;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
.origin-basic div {
|
|
@@ -3137,7 +3191,7 @@ export default {
|
|
|
.origin-basic h2 {
|
|
|
cursor: pointer;
|
|
|
font-size: 14px;
|
|
|
- margin-bottom: 15px;
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
.origin-map {
|
|
|
background-color: rgba(117, 117, 117, 0.8);
|
|
@@ -3884,7 +3938,7 @@ export default {
|
|
|
}
|
|
|
.origin-basic {
|
|
|
padding: 15px 20px;
|
|
|
- color: #ccc;
|
|
|
+ color: #fff;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
.origin-basic div {
|
|
@@ -3896,7 +3950,7 @@ export default {
|
|
|
.origin-basic h2 {
|
|
|
cursor: pointer;
|
|
|
font-size: 14px;
|
|
|
- margin-bottom: 15px;
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
.originBasicRow {
|
|
|
display: flex;
|