|
@@ -95,7 +95,7 @@
|
|
|
</el-collapse-item>
|
|
|
</el-collapse>
|
|
|
<el-collapse accordion v-model="activeNames" class="bganimation">
|
|
|
- <el-collapse-item name="1" class="imgneon">
|
|
|
+ <el-collapse-item name="2" class="imgneon">
|
|
|
<template #title>
|
|
|
<el-icon class="iconimg Frame3" fit="contain"></el-icon>
|
|
|
动画展示
|
|
@@ -114,9 +114,9 @@
|
|
|
<!-- <el-progress type="line" :percentage="percentage" :color="customColor" :stroke-width="4"/> -->
|
|
|
<div class="tanniu">
|
|
|
<div><el-image :src="t1" fit="contain" @click="Prev" ></el-image></div>
|
|
|
- <div><el-image :src="t2" fit="contain" v-show="suspendshow" @click="play(500)" ></el-image></div>
|
|
|
- <div><el-image :src="t4" fit="contain" v-show="playshow" @click="play(500)" ></el-image></div>
|
|
|
- <div><el-image :src="t3" fit="contain" @click="increment"></el-image></div>
|
|
|
+ <div v-show="suspendshow"><el-image :src="t2" fit="contain" @click="play(500)" ></el-image></div>
|
|
|
+ <div v-show="playshow"><el-image :src="t3" fit="contain" @click="play(500)" ></el-image></div>
|
|
|
+ <div><el-image :src="t4" fit="contain" @click="increment"></el-image></div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
@@ -153,9 +153,9 @@ import bt2 from "@/assets/img/Group1396.png"
|
|
|
import t1 from "@/assets/img/t1.png";
|
|
|
import t2 from "@/assets/img/t2.png";
|
|
|
import t3 from "@/assets/img/t3.png";
|
|
|
-import t4 from "@/assets/img/bt.png";
|
|
|
+import t4 from "@/assets/img/t4.png";
|
|
|
let firstshow = ref(false);
|
|
|
-let activeNames = ref(["1"]);
|
|
|
+let activeNames = ref(["1",'2']);
|
|
|
let tableHeight = ref(130);
|
|
|
let playshow=ref(true);
|
|
|
let suspendshow=ref(false);
|
|
@@ -307,13 +307,16 @@ await request(params)
|
|
|
vtkmodel.clearModeAddJg();
|
|
|
reddate(new Date());
|
|
|
vtkGridRead();
|
|
|
+ firstshow.value=true;
|
|
|
endtime.value= Number(res.totaltime)/Number(res.reportstep);
|
|
|
}else if(res.state=='-1'){
|
|
|
+ firstshow.value=false;
|
|
|
ElMessage({
|
|
|
message: " 求解失败",
|
|
|
type: 'error',
|
|
|
});
|
|
|
}else if(res.state=='0'){
|
|
|
+ firstshow.value=false;
|
|
|
ElMessage({ message: "求解未完成", type: 'error',
|
|
|
});
|
|
|
}
|
|
@@ -468,9 +471,9 @@ const play =(time)=>{
|
|
|
console.log(count.value)
|
|
|
timer(time);
|
|
|
}else{
|
|
|
+ isstop.value = false;//暂停
|
|
|
playshow.value=true;
|
|
|
suspendshow.value=false;
|
|
|
- isstop.value = false;//暂停
|
|
|
}
|
|
|
}
|
|
|
function sliderchange(val) {
|
|
@@ -750,7 +753,11 @@ console.log("值改变了", newVal, oldVal);
|
|
|
getMonitor();
|
|
|
vtkScalarRead();
|
|
|
// vtkScalarRead();
|
|
|
-
|
|
|
+if( newVal>=endtime.value){
|
|
|
+ playshow.value=true;
|
|
|
+ suspendshow.value=false;
|
|
|
+ isstop.value = false;
|
|
|
+}
|
|
|
},
|
|
|
{ deep: true }
|
|
|
); //深度监视
|