|
@@ -2515,30 +2515,6 @@ hcfdparam(){
|
|
|
.catch((err) => {
|
|
|
})
|
|
|
},
|
|
|
- //清除相关信息
|
|
|
-
|
|
|
- clearAll() {
|
|
|
- this.showUgridflag = false; //ugrid 是否显示过
|
|
|
- this.showSurfaceflag = false; //surface 是否显示过
|
|
|
- this.showVolumeflage = false; //Volume 是否显示过
|
|
|
- this.showMonitorflage = false;
|
|
|
- this.islogload = true;
|
|
|
-
|
|
|
- this.logs = "";
|
|
|
- this.project = {
|
|
|
- projectId: "",
|
|
|
- projectName: "",
|
|
|
- projectType: "hcfd",
|
|
|
- projectDesc: "",
|
|
|
- fileType: "ascii",
|
|
|
- solverfiles: [],
|
|
|
- solverVolumUrls: [],
|
|
|
- solverBoundaryUrls: [],
|
|
|
- loadfils: [],
|
|
|
- converge: "",
|
|
|
- };
|
|
|
- },
|
|
|
-
|
|
|
handleClick(tab, event) {
|
|
|
if(this.activeName=='five'){
|
|
|
let params = {
|
|
@@ -2702,7 +2678,6 @@ this.styX.left=e.clientX+'px';
|
|
|
// this.selectProjectOK();
|
|
|
}
|
|
|
this.missType=true
|
|
|
- // this.changeRendererSize();
|
|
|
},
|
|
|
|
|
|
logtime(){
|
|
@@ -2772,29 +2747,11 @@ this.styX.left=e.clientX+'px';
|
|
|
}
|
|
|
getLog();
|
|
|
},
|
|
|
- // setBoundaryScalars(scalars) {
|
|
|
- // this.boundaryScalars = scalars;
|
|
|
- // },
|
|
|
+
|
|
|
setVolumScalars(scalars) {
|
|
|
console.log(scalars)
|
|
|
this.volumScalars = scalars;
|
|
|
},
|
|
|
- changeRendererSize() {
|
|
|
- let allHight = this.$refs.all_w.offsetHeight;
|
|
|
- let allwidth = this.$refs.all_w.offsetWidth;
|
|
|
- this.$nextTick(() => {
|
|
|
- if (!this.headMenu_2Show) {
|
|
|
- this.renderer_hight = allHight - 61 - 149 - 13;
|
|
|
- this.renderer_width = allwidth - 300;
|
|
|
- this.$refs.transform.changeCssBig();
|
|
|
- } else if (this.headMenu_2Show) {
|
|
|
- this.renderer_hight = allHight - 61 - 207 - 149 - 6;
|
|
|
- this.renderer_width = allwidth - 300;
|
|
|
- this.$refs.transform.changeCssSmall();
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
-
|
|
|
// 工具栏的点击事件
|
|
|
yCalchange() {
|
|
|
this.Yvisiable = true;
|
|
@@ -2931,7 +2888,7 @@ this.styX.left=e.clientX+'px';
|
|
|
param.append("transCode", "A00102");
|
|
|
param.append("file", params.file);
|
|
|
param.append("projectId", this.project.projectId);
|
|
|
- uploadFile(param)
|
|
|
+ uploadFile(param)
|
|
|
.then((res) => {
|
|
|
// console.log(res);
|
|
|
// this.fileId = res.fileId
|