|
@@ -557,7 +557,6 @@ linezhexian(num){
|
|
|
|
|
|
}
|
|
|
}else{
|
|
|
- console.log(2222)
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
@@ -567,14 +566,22 @@ linezhexian(num){
|
|
|
// 调用求解过程日志
|
|
|
fun(){
|
|
|
if( this.state=='1'){
|
|
|
+ console.log(111)
|
|
|
this.$refs.monitor.getwebsocket();
|
|
|
}else{
|
|
|
this.$refs.hcfd.hcfdrun();
|
|
|
+
|
|
|
}
|
|
|
this.$refs.monitor.container_show=true;
|
|
|
this.monitorHCFD=this.$refs.monitor.container_show
|
|
|
this.$refs.TFileStream.imgtupian=false;
|
|
|
},
|
|
|
+ funagain(){
|
|
|
+ this.$refs.monitor.getwebsocket();
|
|
|
+ this.$refs.monitor.container_show=true;
|
|
|
+ this.monitorHCFD=this.$refs.monitor.container_show
|
|
|
+ this.$refs.TFileStream.imgtupian=false;
|
|
|
+ },
|
|
|
// 工具栏的显示隐藏
|
|
|
changehcfd(pare){
|
|
|
this.$refs.monitor.getwebsocket();
|
|
@@ -632,6 +639,7 @@ let params = {
|
|
|
this.loading = true;
|
|
|
request(params)
|
|
|
.then((res) => {
|
|
|
+ this.logs='HCFD'
|
|
|
if(res.returnCode=='000000000'){
|
|
|
this.startimgloaddata(action2)
|
|
|
}else{
|
|
@@ -690,7 +698,7 @@ let params = {
|
|
|
// // loading.close();
|
|
|
// }, 3000);
|
|
|
console.log(e);
|
|
|
- console.log(111);
|
|
|
+
|
|
|
// if(e==){
|
|
|
|
|
|
// }else{
|
|
@@ -701,7 +709,14 @@ let params = {
|
|
|
// }
|
|
|
try{
|
|
|
const redata = JSON.parse(e.data);
|
|
|
+
|
|
|
if(redata.hasOwnProperty("img")){
|
|
|
+ if(redata.img=''||redata.img==null||redata.img==undefined||redata.img==false){
|
|
|
+ console.log(11111)
|
|
|
+
|
|
|
+ }else{
|
|
|
+ console.log(2222)
|
|
|
+ }
|
|
|
this.$refs.TFileStream.imgtupian=true;
|
|
|
this.$refs.TFileStream.fetchData(redata);
|
|
|
this.$refs.monitor.container_show=false;
|