|
@@ -686,7 +686,8 @@ export default {
|
|
timerIdMap: { num: 0 },
|
|
timerIdMap: { num: 0 },
|
|
timerId: 0,
|
|
timerId: 0,
|
|
autoPlanResultInterval: 0,
|
|
autoPlanResultInterval: 0,
|
|
- remoteBenchList: []
|
|
|
|
|
|
+ remoteBenchList: [],
|
|
|
|
+ waterdotrefresh: false
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -784,7 +785,8 @@ export default {
|
|
that.timerId = that.myInterval((count) => {
|
|
that.timerId = that.myInterval((count) => {
|
|
// console.log(count)
|
|
// console.log(count)
|
|
this.$store.dispatch("benchList/fetchBenchList");
|
|
this.$store.dispatch("benchList/fetchBenchList");
|
|
- if (count % 5 == 0) {
|
|
|
|
|
|
+ if (!this.waterdotrefresh) {
|
|
|
|
+ this.waterdotrefresh = true;
|
|
window.getsqlData(window.sdkInstance, window.uwbInstance)
|
|
window.getsqlData(window.sdkInstance, window.uwbInstance)
|
|
}
|
|
}
|
|
this.refreshBenchStatus()
|
|
this.refreshBenchStatus()
|
|
@@ -792,7 +794,19 @@ export default {
|
|
console.log("end");
|
|
console.log("end");
|
|
that.clearMyInterval(that.timerId);
|
|
that.clearMyInterval(that.timerId);
|
|
}
|
|
}
|
|
- }, 3000);
|
|
|
|
|
|
+ }, 10000);
|
|
|
|
+
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$store.dispatch("benchList/fetchBenchList");
|
|
|
|
+ if (!this.waterdotrefresh) {
|
|
|
|
+ window.getsqlData(window.sdkInstance, window.uwbInstance)
|
|
|
|
+ }
|
|
|
|
+ this.refreshBenchStatus()
|
|
|
|
+ if (count > 30000) {
|
|
|
|
+ console.log("end");
|
|
|
|
+ that.clearMyInterval(that.timerId);
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
|
|
this.$store.dispatch("issueList/fetchIssueList", {
|
|
this.$store.dispatch("issueList/fetchIssueList", {
|
|
bench_id: null,
|
|
bench_id: null,
|