|
|
|
@ -784,6 +784,13 @@ export default {
|
|
|
|
|
window.clearInterval(this.timer);
|
|
|
|
|
this.timer = null;
|
|
|
|
|
this.i = 0;
|
|
|
|
|
this.sampLoading = false;
|
|
|
|
|
this.sampSetLoading = false;
|
|
|
|
|
this.upperLoading = false;
|
|
|
|
|
this.upperSetLoading = false;
|
|
|
|
|
this.idLoading = false;
|
|
|
|
|
this.idSetLoading = false;
|
|
|
|
|
this.statusLoading = false;
|
|
|
|
|
console.log("终止轮询");
|
|
|
|
|
// && res.data.result == 255
|
|
|
|
|
console.log(JSON.parse(res.data.data));
|
|
|
|
@ -813,13 +820,6 @@ export default {
|
|
|
|
|
message: "信息已更新",
|
|
|
|
|
type: "success",
|
|
|
|
|
});
|
|
|
|
|
this.sampLoading = false;
|
|
|
|
|
this.sampSetLoading = false;
|
|
|
|
|
this.upperLoading = false;
|
|
|
|
|
this.upperSetLoading = false;
|
|
|
|
|
this.idLoading = false;
|
|
|
|
|
this.idSetLoading = false;
|
|
|
|
|
this.statusLoading = false;
|
|
|
|
|
} else if (this.i > 9) {
|
|
|
|
|
window.clearInterval(this.timer);
|
|
|
|
|
this.timer = null;
|
|
|
|
|