|
@@ -427,6 +427,54 @@
|
|
alt=""
|
|
alt=""
|
|
/>
|
|
/>
|
|
</div> -->
|
|
</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">
|
|
<div class="ordinary-list">
|
|
<TabList
|
|
<TabList
|
|
:tabs="tabs"
|
|
:tabs="tabs"
|
|
@@ -478,6 +526,9 @@
|
|
:currentScreen="currentScreen"
|
|
:currentScreen="currentScreen"
|
|
:benchImgLower="benchImgLower"
|
|
:benchImgLower="benchImgLower"
|
|
:benchImgUpper="benchImgUpper"
|
|
:benchImgUpper="benchImgUpper"
|
|
|
|
+ :readyCount="readyCount"
|
|
|
|
+ :occupiedCount="occupiedCount"
|
|
|
|
+ :offlineCount="offlineCount"
|
|
></TabList>
|
|
></TabList>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -824,6 +875,8 @@ export default {
|
|
//console.log('element',element);
|
|
//console.log('element',element);
|
|
if (element.status == "ready") {
|
|
if (element.status == "ready") {
|
|
readyCount++;
|
|
readyCount++;
|
|
|
|
+ } else if (element.status == "error") {
|
|
|
|
+ offlineCount++;
|
|
} else if (element.status == "offline") {
|
|
} else if (element.status == "offline") {
|
|
offlineCount++;
|
|
offlineCount++;
|
|
} else {
|
|
} else {
|
|
@@ -2095,7 +2148,7 @@ export default {
|
|
pressPtt() {
|
|
pressPtt() {
|
|
let self = this;
|
|
let self = this;
|
|
ws.press_ptt({
|
|
ws.press_ptt({
|
|
- benchId: this.selectedBenchList[0].benchId,
|
|
|
|
|
|
+ benchId: String(this.connetedBenchId),
|
|
}).then(
|
|
}).then(
|
|
(res) => {},
|
|
(res) => {},
|
|
(rej) => {}
|
|
(rej) => {}
|
|
@@ -2266,6 +2319,7 @@ export default {
|
|
this.currentBench.selected = true;
|
|
this.currentBench.selected = true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ bus.emit("benchInfoVisible", this.currentBench);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
handleListDbClick(benchId, itemtype) {
|
|
handleListDbClick(benchId, itemtype) {
|
|
@@ -3125,7 +3179,7 @@ export default {
|
|
}
|
|
}
|
|
.origin-basic {
|
|
.origin-basic {
|
|
padding: 15px 20px;
|
|
padding: 15px 20px;
|
|
- color: #ccc;
|
|
|
|
|
|
+ color: #fff;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
.origin-basic div {
|
|
.origin-basic div {
|
|
@@ -3137,7 +3191,7 @@ export default {
|
|
.origin-basic h2 {
|
|
.origin-basic h2 {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- margin-bottom: 15px;
|
|
|
|
|
|
+ margin-bottom: 10px;
|
|
}
|
|
}
|
|
.origin-map {
|
|
.origin-map {
|
|
background-color: rgba(117, 117, 117, 0.8);
|
|
background-color: rgba(117, 117, 117, 0.8);
|
|
@@ -3884,7 +3938,7 @@ export default {
|
|
}
|
|
}
|
|
.origin-basic {
|
|
.origin-basic {
|
|
padding: 15px 20px;
|
|
padding: 15px 20px;
|
|
- color: #ccc;
|
|
|
|
|
|
+ color: #fff;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
.origin-basic div {
|
|
.origin-basic div {
|
|
@@ -3896,7 +3950,7 @@ export default {
|
|
.origin-basic h2 {
|
|
.origin-basic h2 {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- margin-bottom: 15px;
|
|
|
|
|
|
+ margin-bottom: 10px;
|
|
}
|
|
}
|
|
.originBasicRow {
|
|
.originBasicRow {
|
|
display: flex;
|
|
display: flex;
|