|
@@ -835,7 +835,7 @@ export default {
|
|
|
window.bmMapItemUnSelect = this.bmMapItemUnSelect.bind(this);
|
|
|
window.handleClickIssue = this.handleClickIssue.bind(this);
|
|
|
window.selectBench = this.selectBench.bind(this);
|
|
|
- that.$store.dispatch("taskList/clearTaskList")
|
|
|
+ that.$store.dispatch("taskList/clearTaskList");
|
|
|
that.$store.dispatch("taskList/fetchTaskList", {
|
|
|
page_num: 1,
|
|
|
page_size: 1000,
|
|
@@ -901,7 +901,8 @@ export default {
|
|
|
let benchId = JSON.parse(JSON.stringify(objRBL[i]));
|
|
|
setTimeout(() => {
|
|
|
console.log("connect bench", benchId);
|
|
|
- wsArray[i]?.connectBench({ bench_id: String(benchId) })
|
|
|
+ wsArray[i]
|
|
|
+ ?.connectBench({ bench_id: String(benchId) })
|
|
|
.then((res) => {
|
|
|
console.log("connect bench success", benchId);
|
|
|
self.getBenchImage(benchId, 1, wsArray[i], () => {});
|
|
@@ -973,10 +974,10 @@ export default {
|
|
|
bus.on("switchScreen", (param) => {
|
|
|
this.currentScreen = param.currentScreen;
|
|
|
});
|
|
|
- bus.on("goHome", ()=>{
|
|
|
+ bus.on("goHome", () => {
|
|
|
this.isConnected = false;
|
|
|
this.$store.dispatch("common/setSquareStatus", false);
|
|
|
- })
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
turnToNextManualCase() {},
|
|
@@ -1143,7 +1144,7 @@ export default {
|
|
|
this.$store.commit("planList/setPlanList", manualList);
|
|
|
that.taskName = task.name;
|
|
|
this.$nextTick(() => {
|
|
|
- that.$store.dispatch("planList/clearPlanList")
|
|
|
+ that.$store.dispatch("planList/clearPlanList");
|
|
|
that.$store.dispatch("planList/fetchPlanList", {
|
|
|
page_num: 1,
|
|
|
page_size: 10000,
|
|
@@ -1187,6 +1188,11 @@ export default {
|
|
|
<div class="item-title">${item.name}</div>
|
|
|
<div class="item-description">${item.description}</div>
|
|
|
</div>
|
|
|
+ <div class="item-time">
|
|
|
+ <div class="time">${item.start_time}</div>
|
|
|
+ to
|
|
|
+ <div class="time"> ${item.end_time}</div>
|
|
|
+ </div>
|
|
|
<div class="item-tag">
|
|
|
<div class="tag">${item.processor_name}</div>
|
|
|
<div class="tag">${item.sw}</div>
|
|
@@ -1392,7 +1398,8 @@ export default {
|
|
|
wsArrayLength++;
|
|
|
setTimeout(() => {
|
|
|
console.log("connect bench", benchId);
|
|
|
- wsArray[i]?.connectBench({ bench_id: String(benchId) })
|
|
|
+ wsArray[i]
|
|
|
+ ?.connectBench({ bench_id: String(benchId) })
|
|
|
.then((res) => {
|
|
|
console.log("connect bench success", benchId);
|
|
|
self.getBenchImage(benchId, 1, wsArray[i], () => {});
|