|
@@ -1,10 +1,15 @@
|
|
|
<template>
|
|
|
<div class="imgzong">
|
|
|
<div class="item1 diyi" >
|
|
|
+
|
|
|
<el-dropdown trigger="click">
|
|
|
<el-tooltip class="item tupian" effect="dark" content="导入" placement="bottom">
|
|
|
- <div> <el-image :src="jic" fit="cover" />
|
|
|
- <i class="el-icon-arrow-down el-icon--right"></i> </div>
|
|
|
+ <div>
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-Dditu"></use>
|
|
|
+ </svg>
|
|
|
+ <i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
+ </div>
|
|
|
</el-tooltip>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
<el-dropdown-item>Marc输入</el-dropdown-item>
|
|
@@ -19,8 +24,10 @@
|
|
|
<div class="item1 diyi" >
|
|
|
<el-dropdown trigger="click">
|
|
|
<el-tooltip class="item tupian" effect="dark" content="导出" placement="bottom">
|
|
|
- <div> <el-image :src="jic2" fit="cover" />
|
|
|
- <i class="el-icon-arrow-down el-icon--right"></i> </div>
|
|
|
+ <div> <svg class="icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-d1"></use>
|
|
|
+ </svg>
|
|
|
+ <i class="el-icon-arrow-down el-icon--right"></i> </div>
|
|
|
</el-tooltip>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
<el-dropdown-item>Marc输入</el-dropdown-item>
|
|
@@ -34,13 +41,17 @@
|
|
|
</div>
|
|
|
<div class="item1" @click="dialog.dialogVisible = true" >
|
|
|
<el-tooltip class="item" effect="dark" content="重新编号" placement="bottom">
|
|
|
- <el-image :src="jic3" fit="cover" />
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-ts-d"></use>
|
|
|
+ </svg>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
<div class="item1 diyi" >
|
|
|
<el-dropdown trigger="click" @command="handleCommand">
|
|
|
<el-tooltip class="item tupian" effect="dark" content="长度单位" placement="bottom">
|
|
|
- <div> <el-image :src="jic4" fit="cover" />
|
|
|
+ <div> <svg class="icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-DGlasses"></use>
|
|
|
+ </svg>
|
|
|
<i class="el-icon-arrow-down el-icon--right"></i> </div>
|
|
|
</el-tooltip>
|
|
|
<el-dropdown-menu slot="dropdown" >
|
|
@@ -54,7 +65,10 @@
|
|
|
<span class="shu">|</span>
|
|
|
<div class="item1" v-for="(itemcj,index) in cjlist" :key="'info1-'+ index" @click="clickgeometry(index)">
|
|
|
<el-tooltip class="item" effect="dark" :content="itemcj.titlie" placement="bottom">
|
|
|
- <el-image :src="itemcj.img" fit="cover" />
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
+ <use :xlink:href="`#${itemcj.icon}`" />
|
|
|
+ </svg>
|
|
|
+ <!-- <span class="iconfont">{{itemcj.icon}}</span> -->
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
<span class="shu">|</span>
|
|
@@ -75,6 +89,9 @@
|
|
|
<el-dialog
|
|
|
title="重新编号"
|
|
|
:visible.sync="dialog.dialogVisible"
|
|
|
+ :modal='false'
|
|
|
+ custom-class='dialoglocation'
|
|
|
+ :close-on-click-modal='false'
|
|
|
width="20%">
|
|
|
<div slot="title" class=dialog_header>
|
|
|
<el-image :src="jic3" fit="cover" />
|
|
@@ -145,10 +162,16 @@
|
|
|
<el-button type="primary" @click="dialog.dialogVisible = false">OK</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+<!-- 信息框 -->
|
|
|
+
|
|
|
<!--几何点 -->
|
|
|
- <el-dialog
|
|
|
+ <el-dialog
|
|
|
:visible.sync="dialog.dialogVisible2"
|
|
|
- width="20%">
|
|
|
+ :modal='false'
|
|
|
+ custom-class='dialoglocation'
|
|
|
+ :close-on-click-modal='false'
|
|
|
+ width="385px">
|
|
|
+
|
|
|
<div slot="title" class=dialog_header>
|
|
|
<el-image :src="cj" fit="cover" />
|
|
|
<span>几何点</span>
|
|
@@ -220,6 +243,9 @@
|
|
|
<!-- 实体 -->
|
|
|
<el-dialog
|
|
|
:visible.sync="dialog.dialogVisible3"
|
|
|
+ :modal='false'
|
|
|
+ custom-class='dialoglocation'
|
|
|
+ :close-on-click-modal='false'
|
|
|
width="385px">
|
|
|
<div slot="title" class=dialog_header>
|
|
|
<el-image :src="cj2" fit="cover" />
|
|
@@ -228,12 +254,13 @@
|
|
|
<div class="selecr">
|
|
|
<el-form>
|
|
|
<el-form-item label=" 实体类型" :label-width="formLabelWidth2">
|
|
|
- <el-select v-model="form.selval" @change="xuzeChange" placeholder="请选择">
|
|
|
+ <el-select v-model="form.selval" @change="changest(id)" placeholder="请选择">
|
|
|
<el-option
|
|
|
v-for="item in optsel"
|
|
|
:key="item.value"
|
|
|
:label="item.name"
|
|
|
- :value="item.value">
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -241,13 +268,20 @@
|
|
|
</div>
|
|
|
<el-form>
|
|
|
<div class="heigeinput liangf">
|
|
|
-
|
|
|
<el-form-item label=" 原点坐标" :label-width="formLabelWidth2">
|
|
|
<el-input v-model="form.name" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label=" X方向长度" :label-width="formLabelWidth2">
|
|
|
<el-input v-model="form.name" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
+ </div>
|
|
|
+ <div class="heigeinput liangf">
|
|
|
+ <el-form-item label=" Y方向长度" :label-width="formLabelWidth2">
|
|
|
+ <el-input v-model="form.name" autocomplete="off"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label=" Z方向长度" :label-width="formLabelWidth2">
|
|
|
+ <el-input v-model="form.name" autocomplete="off"></el-input>
|
|
|
+ </el-form-item>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -257,7 +291,7 @@
|
|
|
</el-dialog>
|
|
|
<!-- 曲线 -->
|
|
|
<el-dialog
|
|
|
- :visible.sync="dialog.dialogVisible2"
|
|
|
+ :visible.sync="dialog.dialogVisible4"
|
|
|
width="20%">
|
|
|
<div slot="title" class=dialog_header>
|
|
|
<el-image :src="cj" fit="cover" />
|
|
@@ -265,8 +299,8 @@
|
|
|
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialog.dialogVisible2 = false">清 除</el-button>
|
|
|
- <el-button type="primary" @click="dialog.dialogVisible2 = false">OK</el-button>
|
|
|
+ <el-button @click="dialog.dialogVisible4 = false">清 除</el-button>
|
|
|
+ <el-button type="primary" @click="dialog.dialogVisible4 = false">OK</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -313,7 +347,8 @@ export default {
|
|
|
dialog:{
|
|
|
dialogVisible:false,
|
|
|
dialogVisible2:false,
|
|
|
- dialogVisible3:true,
|
|
|
+ dialogVisible3:false,
|
|
|
+ dialogVisible2:false
|
|
|
},
|
|
|
|
|
|
i:'1',
|
|
@@ -378,13 +413,13 @@ export default {
|
|
|
{img:jic4, titlie:'长度单位'},
|
|
|
],
|
|
|
cjlist:[
|
|
|
- { img:cj, titlie:'几何点'},
|
|
|
- {img:cj2, titlie:'实体'},
|
|
|
- { img:cj3, titlie:'清除几何体'},
|
|
|
- {img:cj4, titlie:'曲线'},
|
|
|
- {img:cj5, titlie:'实体'},
|
|
|
- { img:cj6, titlie:'清除几何体'},
|
|
|
- {img:cj7, titlie:'曲线'},
|
|
|
+ { icon:"icon-Flattd-Fridge", titlie:'几何点'},
|
|
|
+ {icon:"icon-Flattd-Wallet", titlie:'实体'},
|
|
|
+ { icon:"icon-d-modelling", titlie:'清除几何体'},
|
|
|
+ {icon:"icon-d-programming", titlie:'曲线'},
|
|
|
+ {icon:"icon-FSX_P3Dtuzhuangfabuqu", titlie:'实体'},
|
|
|
+ { icon:"icon-3D", titlie:'清除几何体'},
|
|
|
+ {icon:"icon-a-3Dlujingditu", titlie:'曲线'},
|
|
|
],
|
|
|
czlist:[
|
|
|
{ img:cz, titlie:' 关联'},
|
|
@@ -447,7 +482,6 @@ methods:{
|
|
|
},
|
|
|
//模块选择
|
|
|
clickgeometry(index){
|
|
|
- console.log(typeof index)
|
|
|
switch(index){
|
|
|
case 0:
|
|
|
this.dialog.dialogVisible2=true;
|
|
@@ -458,10 +492,13 @@ methods:{
|
|
|
|
|
|
}
|
|
|
},
|
|
|
- xuzeChange(id){
|
|
|
- console.log(id);
|
|
|
+ // 实体的下拉选择
|
|
|
+ changest(val){
|
|
|
+ console.log(1111);
|
|
|
+ console.log(this.form.selval);
|
|
|
+
|
|
|
+ },
|
|
|
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
@@ -617,4 +654,9 @@ display:flex;
|
|
|
.liangf{
|
|
|
display: flex;
|
|
|
}
|
|
|
+ .dialoglocation{
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+
|
|
|
+ }
|
|
|
</style>
|