|
@@ -1208,10 +1208,10 @@
|
|
<el-form-item label="时间步增量" :label-width="formLabelWidth5">
|
|
<el-form-item label="时间步增量" :label-width="formLabelWidth5">
|
|
<el-input v-model="parameterObj.dt_str.value" autocomplete="off"></el-input>
|
|
<el-input v-model="parameterObj.dt_str.value" autocomplete="off"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="写出频率" :label-width="formLabelWidth5">
|
|
|
|
|
|
+ <el-form-item label="输出频率" :label-width="formLabelWidth5">
|
|
<el-input v-model="parameterObj.freq.value" autocomplete="off"></el-input>
|
|
<el-input v-model="parameterObj.freq.value" autocomplete="off"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="写出格式" :label-width="formLabelWidth5">
|
|
|
|
|
|
+ <el-form-item label="输出格式" :label-width="formLabelWidth5">
|
|
<el-select @change="changest" v-model="parameterObj.sort.value" placeholder="请选择">
|
|
<el-select @change="changest" v-model="parameterObj.sort.value" placeholder="请选择">
|
|
<el-option
|
|
<el-option
|
|
v-for="item in jlialist4"
|
|
v-for="item in jlialist4"
|
|
@@ -1628,7 +1628,7 @@
|
|
<el-button @click="dialog.Solid_Surface= false"
|
|
<el-button @click="dialog.Solid_Surface= false"
|
|
>{{ $t("HCFD.file.cancel")}}</el-button
|
|
>{{ $t("HCFD.file.cancel")}}</el-button
|
|
>
|
|
>
|
|
- <el-button type="primary" @click="colorsolid(); "
|
|
|
|
|
|
+ <el-button type="primary" @click="colorsolid();dialog.Solid_Surface= false"
|
|
>{{ $t("HCFD.file.ok")}}</el-button
|
|
>{{ $t("HCFD.file.ok")}}</el-button
|
|
>
|
|
>
|
|
<!-- <el-button type="primary" @click="dialog.Solid_Surface = false"
|
|
<!-- <el-button type="primary" @click="dialog.Solid_Surface = false"
|
|
@@ -1679,9 +1679,9 @@
|
|
<el-button type="primary" @click=" liceOK();"
|
|
<el-button type="primary" @click=" liceOK();"
|
|
>{{ $t("HCFD.file.ok")}}</el-button
|
|
>{{ $t("HCFD.file.ok")}}</el-button
|
|
>
|
|
>
|
|
- <el-button type="primary" @click="dialog.Slice_Surface = false"
|
|
|
|
|
|
+ <!-- <el-button type="primary" @click="dialog.Slice_Surface = false"
|
|
>Apply</el-button
|
|
>Apply</el-button
|
|
- >
|
|
|
|
|
|
+ > -->
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<!-- Stream流线 -->
|
|
<!-- Stream流线 -->
|
|
@@ -2406,10 +2406,10 @@ export default {
|
|
],
|
|
],
|
|
|
|
|
|
jlialist4:[
|
|
jlialist4:[
|
|
- {value:'0',name:'1'},
|
|
|
|
- {value:'1',name:'2'},
|
|
|
|
|
|
+ {value:'1',name:'1'},
|
|
|
|
+ {value:'2',name:'2'},
|
|
],
|
|
],
|
|
- jliaval4:'0',
|
|
|
|
|
|
+ jliaval4:'1',
|
|
cjalist:[
|
|
cjalist:[
|
|
{value:'0',name:'静力分析'},
|
|
{value:'0',name:'静力分析'},
|
|
{value:'1',name:'模态分析'},
|
|
{value:'1',name:'模态分析'},
|
|
@@ -2648,9 +2648,6 @@ vectordata(){
|
|
this.vectorobj.dataUarr=datau.split(",");
|
|
this.vectorobj.dataUarr=datau.split(",");
|
|
this.vectorobj.dataVarr=datav.split(",");
|
|
this.vectorobj.dataVarr=datav.split(",");
|
|
this.vectorobj.dataWarr=dataw.split(",");
|
|
this.vectorobj.dataWarr=dataw.split(",");
|
|
- // this.vectorobj.dataU=this.vectorobj.dataUarr[0]
|
|
|
|
- // this.vectorobj.dataV=this.vectorobj.dataVarr[0]
|
|
|
|
- // this.vectorobj.dataW=this.vectorobj.dataWarr[0]
|
|
|
|
this.vectorobj.scaleFactor=vectorparam.scaleFactor;
|
|
this.vectorobj.scaleFactor=vectorparam.scaleFactor;
|
|
|
|
|
|
},
|
|
},
|
|
@@ -2664,10 +2661,7 @@ vectorOK(){
|
|
//add的参数
|
|
//add的参数
|
|
// 添加div
|
|
// 添加div
|
|
addTab(targetName) {
|
|
addTab(targetName) {
|
|
- setTimeout(function(){
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- this.femaddparam();
|
|
|
|
|
|
+
|
|
this.target= targetName;
|
|
this.target= targetName;
|
|
let newTabName = ++this.tabIndex + '';
|
|
let newTabName = ++this.tabIndex + '';
|
|
this.bStepok("SliceDisplayAdd",newTabName)
|
|
this.bStepok("SliceDisplayAdd",newTabName)
|
|
@@ -2691,17 +2685,13 @@ vectorOK(){
|
|
|
|
|
|
this.editableTabsValue = newTabName;
|
|
this.editableTabsValue = newTabName;
|
|
console.log( this.editableTabs);
|
|
console.log( this.editableTabs);
|
|
- },300)
|
|
|
|
},
|
|
},
|
|
femaddparam(){
|
|
femaddparam(){
|
|
- console.log(333444);
|
|
|
|
let dataslicedisplay=JSON.parse(sessionStorage.getItem("dataslicedisplay"));
|
|
let dataslicedisplay=JSON.parse(sessionStorage.getItem("dataslicedisplay"));
|
|
let data=JSON.parse(dataslicedisplay);
|
|
let data=JSON.parse(dataslicedisplay);
|
|
let that=this;
|
|
let that=this;
|
|
that.variableNamearr=data.variableName.split(",");
|
|
that.variableNamearr=data.variableName.split(",");
|
|
let arr=this.editableTabs;
|
|
let arr=this.editableTabs;
|
|
- console.log(arr);
|
|
|
|
-
|
|
|
|
that.$nextTick(()=>{
|
|
that.$nextTick(()=>{
|
|
for(var i = 0; i < arr.length; i++){
|
|
for(var i = 0; i < arr.length; i++){
|
|
arr[i].position_x=data.position_x;
|
|
arr[i].position_x=data.position_x;
|
|
@@ -2716,14 +2706,11 @@ femaddparam(){
|
|
})
|
|
})
|
|
},
|
|
},
|
|
updata(){
|
|
updata(){
|
|
- this.bStepok("SliceDisplayUpdate",'');
|
|
|
|
- this.updataparam();
|
|
|
|
-
|
|
|
|
|
|
+ this.bStepok("SliceDisplayUpdate",'');
|
|
},
|
|
},
|
|
//updata的参数
|
|
//updata的参数
|
|
-updataparam(){
|
|
|
|
- console.log(1122333);
|
|
|
|
- let updateparam=JSON.parse(sessionStorage.getItem("updateparam"));
|
|
|
|
|
|
+updataparam(val){
|
|
|
|
+ let updateparam=JSON.parse(val);
|
|
let edarr=this.editableTabs;
|
|
let edarr=this.editableTabs;
|
|
let updatadata=JSON.parse(updateparam);
|
|
let updatadata=JSON.parse(updateparam);
|
|
let updatarr=updatadata.update_param;
|
|
let updatarr=updatadata.update_param;
|
|
@@ -2788,7 +2775,7 @@ updataparam(){
|
|
},
|
|
},
|
|
liceOK(){
|
|
liceOK(){
|
|
let paramJson=JSON.stringify(this.editableTabs)
|
|
let paramJson=JSON.stringify(this.editableTabs)
|
|
- this.paramJson=paramJson;
|
|
|
|
|
|
+ this.streamparae=paramJson;
|
|
this.bStepok("SliceDisplayApply",'');
|
|
this.bStepok("SliceDisplayApply",'');
|
|
this.dialog.Slice_Surface= false;
|
|
this.dialog.Slice_Surface= false;
|
|
|
|
|
|
@@ -3024,13 +3011,11 @@ this.styX.left=e.clientX+'px';
|
|
async getLogs() {
|
|
async getLogs() {
|
|
//打印日志
|
|
//打印日志
|
|
var self = this;
|
|
var self = this;
|
|
- console.log(self.pid);
|
|
|
|
function getLog() {
|
|
function getLog() {
|
|
let params = {
|
|
let params = {
|
|
transCode: "C00006",
|
|
transCode: "C00006",
|
|
pid:self.pid
|
|
pid:self.pid
|
|
};
|
|
};
|
|
- console.log(params);
|
|
|
|
request(params)
|
|
request(params)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
console.log(res);
|
|
console.log(res);
|
|
@@ -3129,6 +3114,7 @@ this.styX.left=e.clientX+'px';
|
|
},
|
|
},
|
|
websocketonmessage(e) {
|
|
websocketonmessage(e) {
|
|
//数据接收
|
|
//数据接收
|
|
|
|
+ console.log(e);
|
|
try{
|
|
try{
|
|
const redata = JSON.parse(e.data);
|
|
const redata = JSON.parse(e.data);
|
|
if(redata.type == "log"){
|
|
if(redata.type == "log"){
|