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