|
@@ -407,6 +407,7 @@ export default {
|
|
statecustom: "0", //自定义求解状态
|
|
statecustom: "0", //自定义求解状态
|
|
active: "",
|
|
active: "",
|
|
restime: "",
|
|
restime: "",
|
|
|
|
+ logmatter:'',
|
|
monitorHCFD: false,
|
|
monitorHCFD: false,
|
|
footerShow: true,
|
|
footerShow: true,
|
|
headMenu_2Show: false,
|
|
headMenu_2Show: false,
|
|
@@ -934,7 +935,7 @@ export default {
|
|
//新连接
|
|
//新连接
|
|
that.initWebSocket();
|
|
that.initWebSocket();
|
|
that.lockReconnect = false;
|
|
that.lockReconnect = false;
|
|
- }, 5000);
|
|
|
|
|
|
+ }, 10000);
|
|
},
|
|
},
|
|
reset() {
|
|
reset() {
|
|
//重置心跳
|
|
//重置心跳
|
|
@@ -1006,18 +1007,26 @@ export default {
|
|
this.$refs.fem.percentage = srtpnum;
|
|
this.$refs.fem.percentage = srtpnum;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- this.loadingopen();
|
|
|
|
-
|
|
|
|
|
|
+ // this.loadingopen();
|
|
// let eadata=e.data
|
|
// let eadata=e.data
|
|
|
|
+
|
|
var rdata = JSON.parse(e.data);
|
|
var rdata = JSON.parse(e.data);
|
|
|
|
+ console.log(rdata);
|
|
|
|
+ if(rdata.action== "meshSplit"){
|
|
|
|
+ this.logmatter=rdata.log+"\n" +this.logmatter
|
|
|
|
+ this.logs=this.logmatter;
|
|
|
|
+ }else{
|
|
|
|
+ this.loadingopen();
|
|
if (rdata.hasOwnProperty("img")) {
|
|
if (rdata.hasOwnProperty("img")) {
|
|
- this.loadingopen();
|
|
|
|
|
|
+ //this.loadingopen();
|
|
|
|
+ console.log(222222);
|
|
this.$refs.TFileStream.imgtupian = true;
|
|
this.$refs.TFileStream.imgtupian = true;
|
|
this.$refs.TFileStream.fetchData(rdata, null);
|
|
this.$refs.TFileStream.fetchData(rdata, null);
|
|
this.$refs.monitor.container_show = false;
|
|
this.$refs.monitor.container_show = false;
|
|
|
|
+ this.loadingend(this.loadingopen());
|
|
}
|
|
}
|
|
|
|
+
|
|
// HCFD云图的参数返回 存储
|
|
// HCFD云图的参数返回 存储
|
|
- console.log(rdata);
|
|
|
|
let rdataparamJson = JSON.parse(rdata.paramJson);
|
|
let rdataparamJson = JSON.parse(rdata.paramJson);
|
|
if (rdataparamJson.hasOwnProperty("Error")) {
|
|
if (rdataparamJson.hasOwnProperty("Error")) {
|
|
Message({
|
|
Message({
|
|
@@ -1136,9 +1145,10 @@ export default {
|
|
console.log(rdataparamJson);
|
|
console.log(rdataparamJson);
|
|
}
|
|
}
|
|
return true;
|
|
return true;
|
|
- }
|
|
|
|
- } catch (error) {
|
|
|
|
- this.loadingend(this.loadingopen());
|
|
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }catch (error) {
|
|
|
|
+ // this.loadingend(this.loadingopen());
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
},
|
|
},
|