|
@@ -446,7 +446,24 @@
|
|
|
:label="$t('HCFD.tool.unitConversion')"
|
|
|
name="six"
|
|
|
>
|
|
|
- <div class="imgzong">
|
|
|
+ <div class="imgzong">
|
|
|
+ <div
|
|
|
+ class="listitem lbg_color3 bkcolor3"
|
|
|
+ v-for="(item,index) in unitlist"
|
|
|
+ :key="'six-'+ index"
|
|
|
+ :class="{activeOrange:active=='six-'+ index}"
|
|
|
+ @click="clickgeometry($event,index,'six-'+ index)"
|
|
|
+ >
|
|
|
+ <div class="item2 ">
|
|
|
+ <el-image
|
|
|
+ :src="item.icon"
|
|
|
+ fit="cover"
|
|
|
+ />
|
|
|
+ <span>{{item.titlie}}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="imgzong">
|
|
|
<div
|
|
|
class="item1"
|
|
|
v-for="(item,index) in unitlist "
|
|
@@ -466,7 +483,7 @@
|
|
|
/>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
@@ -5748,7 +5765,30 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
geometryup() {
|
|
|
- // this.$parent.startimg("init",'loaddata');
|
|
|
+ this.$parent.startimg("init",'geometryFileShow');
|
|
|
+ // this.$parent.startimg("init",'geometryFileShow');
|
|
|
+ //this.loaddataaction('geometryFileShow');
|
|
|
+ },
|
|
|
+ // 文件上传成功调用几何接口
|
|
|
+ loaddataaction(action) {
|
|
|
+ this.solverConfigid=sessionStorage.getItem('solverConfigid');
|
|
|
+ console.log(this.solverConfigid);
|
|
|
+ let that = this;
|
|
|
+ let params = {
|
|
|
+ transCode: "AFT001", // 服务器渲染实例接口创建推流
|
|
|
+ pid: this.project.projectId,
|
|
|
+ solverConfigId: this.solverConfigid,
|
|
|
+ action: action,
|
|
|
+ paramJson: "",
|
|
|
+ };
|
|
|
+ request(params)
|
|
|
+ .then((res) => {})
|
|
|
+ .catch((err) => {
|
|
|
+ // Message({
|
|
|
+ // type: "info",
|
|
|
+ // message: "请上传文件",
|
|
|
+ // });
|
|
|
+ });
|
|
|
},
|
|
|
// 上传文件,加载图片
|
|
|
runugrid() {
|
|
@@ -6016,7 +6056,15 @@ export default {
|
|
|
})
|
|
|
.catch((err) => {});
|
|
|
},
|
|
|
- handleClick(tab, event) {},
|
|
|
+ handleClick(tab, event) {
|
|
|
+ console.log(this.activeName);
|
|
|
+ if(this.activeName=='one'){
|
|
|
+ // this.$parent.startimg("init",'geometryFileShow');
|
|
|
+ this.loaddataaction('geometryFileShow');
|
|
|
+ }else if(this.activeName=='twos'){
|
|
|
+ this.$parent.startimg("init",'loaddata');
|
|
|
+ }
|
|
|
+ },
|
|
|
activecleer() {
|
|
|
this.active = 11;
|
|
|
},
|
|
@@ -6246,7 +6294,6 @@ export default {
|
|
|
.catch((err) => {});
|
|
|
},
|
|
|
//
|
|
|
-
|
|
|
//模块选择
|
|
|
clickgeometry(e, index, key) {
|
|
|
var e = e || window.Event;
|