|
@@ -1728,43 +1728,6 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <!-- <el-form-item :label=" $t('HCFD.results.scalar') " :label-width="formLabelWidth2">
|
|
|
- <el-select size="mini" v-model="bScalar" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="scalar in boundaryScalars"
|
|
|
- :key="scalar"
|
|
|
- :label="scalar"
|
|
|
- :value="scalar"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item> -->
|
|
|
- <!-- <div>
|
|
|
- <el-form-item :label=" $t('HCFD.results.contour')" :label-width="formLabelWidth2">
|
|
|
- <el-input-number v-model="Surfacenum" @change="SurfaceChange" :min="1" :max="10" label="描述文字"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- <li class="disflex lheig34 liitem">
|
|
|
- <span class="span100 marb5 formLabelWidth15">{{ $t("HCFD.results.vector")}} </span>
|
|
|
- <el-checkbox checked>Velocity</el-checkbox>
|
|
|
- </li>
|
|
|
- <li class="disflex lheig34 liitem">
|
|
|
- <span class='span100 marb5 formLabelWidth15' >{{ $t("HCFD.results.show")}} </span>
|
|
|
- <el-checkbox-group v-model="belementCheckeds" style="display:flex">
|
|
|
- <el-checkbox label="Mesh" @change="Contourval('Mesh')"
|
|
|
- ></el-checkbox>
|
|
|
- <el-checkbox label="Contour" @change="Contourval('Contour')"
|
|
|
- ></el-checkbox>
|
|
|
- </el-checkbox-group>
|
|
|
- </li>
|
|
|
- </div> -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="primary"
|
|
|
- style="margin:30px 0 30px 40%"
|
|
|
- @click="boundaryShow()"
|
|
|
-
|
|
|
- > {{ $t("HCFD.results.Surface")}} </el-button> -->
|
|
|
-
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -2373,16 +2336,26 @@
|
|
|
<div class="line">
|
|
|
<div class="linetext">动画</div>
|
|
|
</div>
|
|
|
+ <div class="listbtn anbtn">
|
|
|
+ <el-button plain class="anniu" @click="animationclick()">轮廓显示</el-button>
|
|
|
+ <el-button plain class="anniu" @click="animationclick()">线</el-button>
|
|
|
+ <el-button plain class="anniu" @click="animationclick()">矢量</el-button>
|
|
|
+ <el-button plain class="anniu" @click="animationclick()">实体表面</el-button>
|
|
|
+ </div>
|
|
|
+ <div class="yiinpu loadclass" >
|
|
|
+ <el-button plain class="anniu">Lode</el-button>
|
|
|
+ <el-progress :percentage="50" :stroke-width="5" ></el-progress>
|
|
|
+ </div>
|
|
|
<el-form-item label="第一步" :label-width="formLabelWidth2" >
|
|
|
- <el-input value="PingYi" autocomplete="off"></el-input>
|
|
|
+ <el-input v-model="animationobj.firststep" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="最后一步" :label-width="formLabelWidth2" >
|
|
|
- <el-input value="PingYi" autocomplete="off"></el-input>
|
|
|
+ <el-input v-model="animationobj.laststep" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="当前步" :label-width="formLabelWidth2" >
|
|
|
- <el-input value="PingYi" autocomplete="off"></el-input>
|
|
|
+ <el-input v-model="animationobj.currentstep" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
- <div class="timeanmiantion">
|
|
|
+ <!-- <div class="timeanmiantion">
|
|
|
<ul>
|
|
|
<li>Time<span>1</span></li>
|
|
|
<li style="flex:2;">
|
|
@@ -2400,14 +2373,14 @@
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div class="line">
|
|
|
<div class="linetext">通用场景</div>
|
|
|
</div>
|
|
|
<div class="block1" style="dispaly:flex">
|
|
|
<div class="listbtn">
|
|
|
<el-button plain class="anniu">low</el-button>
|
|
|
- <el-slider v-model="value1" style="width:50%"></el-slider>
|
|
|
+ <el-slider v-model="value1" style="width:50%;margin: 0 10px 0 15px;"></el-slider>
|
|
|
<el-button plain class="anniu">Quick</el-button>
|
|
|
</div>
|
|
|
<div class="listbtn anbtn">
|
|
@@ -2861,6 +2834,11 @@ export default {
|
|
|
nameTypes:'',
|
|
|
scalarmax:'',
|
|
|
},
|
|
|
+ animationobj:{
|
|
|
+ firststep:'',
|
|
|
+ laststep:'',
|
|
|
+ currentstep:'',
|
|
|
+ },
|
|
|
colorobj:{
|
|
|
R:'0',
|
|
|
G:'0',
|
|
@@ -3952,7 +3930,7 @@ setpnum(){
|
|
|
request(params)
|
|
|
.then((res) => {
|
|
|
let steps= res.steps.split(',');
|
|
|
- this.boundaryStep=steps;
|
|
|
+ this.boundaryStep=steps;
|
|
|
this.volumStep=steps;
|
|
|
})
|
|
|
}
|
|
@@ -4274,6 +4252,9 @@ this.styX.left=e.clientX+'px';
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
+ },
|
|
|
+ animationclick(){
|
|
|
+
|
|
|
},
|
|
|
//清除相关信息
|
|
|
clearAll() {
|
|
@@ -4506,7 +4487,11 @@ bStepChange(val){
|
|
|
message: "请选择setp有效值",
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+ this.animationobj.firststep= this.boundaryStep[0];
|
|
|
+ this.animationobj.laststep= this.boundaryStep[this.boundaryStep.length -1];
|
|
|
+ this.animationobj.currentstep=this.bStep;
|
|
|
+ console.log( this.animationobj);
|
|
|
+ console.log(333333);
|
|
|
},
|
|
|
//选择step
|
|
|
vStepChange(val){
|
|
@@ -4517,6 +4502,9 @@ vStepChange(val){
|
|
|
message: "请选择setp有效值",
|
|
|
});
|
|
|
}
|
|
|
+ this.animationobj.firststep= this.volumStep[0];
|
|
|
+ this.animationobj.laststep= this.volumStep[this.volumStep.length -1];
|
|
|
+ this.animationobj.currentstep=val;
|
|
|
},
|
|
|
// 表面加载
|
|
|
SurfaceChange(value){// 选择色条个数
|
|
@@ -4583,8 +4571,8 @@ VolumenumChange(value){// 选择色条个数
|
|
|
projectId: this.project.projectId,
|
|
|
lesseeId: this.$store.getters.lesseeId
|
|
|
};
|
|
|
- console.log(this.parameterObj.nmlParam.a_u);
|
|
|
- console.log(this.parameterObj);
|
|
|
+ // console.log(this.parameterObj.nmlParam.a_u);
|
|
|
+ // console.log(this.parameterObj);
|
|
|
await request(params)
|
|
|
.then((res) => {
|
|
|
this.solverState = res.solverState;
|
|
@@ -5371,6 +5359,16 @@ html,body{
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+.loadclass{
|
|
|
+ margin-bottom:10px;
|
|
|
+ display: flex;
|
|
|
+ .el-button{
|
|
|
+ margin-right:10px;
|
|
|
+ }
|
|
|
+ .el-progress{
|
|
|
+ width:100%;
|
|
|
+ }
|
|
|
+}
|
|
|
.ulist ul{
|
|
|
display: flex;
|
|
|
margin: 0;
|