<template>
  <div class="imgzong">
        <div class="item1 diyi"  >
      
          <el-dropdown trigger="click">
        <el-tooltip class="item tupian" effect="dark" content="导入" placement="bottom">
          <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>
        <el-dropdown-item>通用CAD接口（作为提导入）</el-dropdown-item>
        <el-dropdown-item>Parasolid</el-dropdown-item>
        <el-dropdown-item>ACIS</el-dropdown-item>
        <el-dropdown-item >IGES</el-dropdown-item>
         <el-dropdown-item>VDAFS</el-dropdown-item>
      </el-dropdown-menu>
    </el-dropdown>  
       </div>
       <div class="item1 diyi"  >
          <el-dropdown trigger="click">
        <el-tooltip class="item tupian" effect="dark" content="导出" placement="bottom">
          <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>
        <el-dropdown-item>通用CAD接口（作为提导入）</el-dropdown-item>
        <el-dropdown-item>Parasolid</el-dropdown-item>
        <el-dropdown-item>ACIS</el-dropdown-item>
        <el-dropdown-item >IGES</el-dropdown-item>
         <el-dropdown-item>VDAFS</el-dropdown-item>
      </el-dropdown-menu>
    </el-dropdown>  
       </div>
       <div class="item1"  @click="dialog.dialogVisible = true" >
                <el-tooltip class="item" effect="dark" content="重新编号" placement="bottom">
                    <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>   <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" >
        <el-dropdown-item  v-for="(itemlist,index) in lenlist"  :key="'info1-'+ index" :command='index' :class="{red:i === index}">{{itemlist.name}}</el-dropdown-item>
    
      </el-dropdown-menu>
    </el-dropdown>  
       </div>
  <el-checkbox v-model="checked" class="baoshi"> 栅格</el-checkbox>
                 <el-checkbox v-model="checked1" class="baoshi"> 坐标系</el-checkbox>
            <span class="shu">|</span>
            <div class="item1"  v-for="(itemcj,index) in cjlist"  :key="'info1-'+ index" :class="{activeOrange:active==index}" @click="clickgeometry(index)">
                <el-tooltip class="item" effect="dark" :content="itemcj.titlie" placement="bottom">
                    <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>
                <div class="item1"  v-for="(itemcj,index) in czlist"  :key="'info2-'+ index"    @click="operationclick(index)">
                <el-tooltip class="item" effect="dark" :content="itemcj.titlie" placement="bottom">
                    <el-image :src="itemcj.img" fit="cover" /> 
            </el-tooltip>
            </div>
            <span class="shu">|</span>
                <div class="item1"  v-for="(itemcj,index) in bjlist"  :key="'info3-'+ index">
                <el-tooltip class="item" effect="dark" :content="itemcj.titlie" placement="bottom">
                    <el-image :src="itemcj.img" fit="cover" /> 
            </el-tooltip>
              
            </div>
   <!--弹出框-->
   <!-- 重新编号 -->
   <el-dialog
  title="重新编号"
  :visible.sync="dialog.dialogVisible"
   :modal='false'
  custom-class='dialoglocation dialog_color'

  :close-on-click-modal='false'
  width="20%">
  <div slot="title" class=dialog_header>
     <el-image :src="jic3" fit="cover" />
     <span>重新编号</span>

  </div>
  <div class="heigeinput">
  <el-form :model="form">
    <el-form-item label="开始编号" :label-width="formLabelWidth">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
        <el-form-item label="编号间隔" :label-width="formLabelWidth">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    <div class="line">
      <div class="linetext">编号范围</div>
    </div>  
  </el-form>
   <el-form :model="form" class="titleinput">
     <div class="itemlist"   v-for="(item,i) in form.itemlists" :key='i'>
    <el-form-item :label="item.lable" :label-width="formLabelWidth">
      <el-input v-model="form.val" autocomplete="off"></el-input>
    </el-form-item>
    <el-row>
      <!-- @input.native="change($event,index)" -->
   <el-button plain  >全部</el-button>
    <el-button plain >列表</el-button>
    </el-row>
    </div>
 
    <div class="line">
      <div class="linetext">编号方向</div>
    </div> 
    <div class="fangxiang">
     <el-row>
   <el-button plain  class="btnyiban" >方向</el-button>
    <el-button plain class="btnyiban" >始/终点</el-button>
    </el-row>
    <div class="input3">
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </div>
       </div> 
       <div class="itemlist"  >
    <el-form-item label="节点" :label-width="formLabelWidth">
      <el-input v-model="form.val" autocomplete="off"></el-input>
    </el-form-item>
    <el-row>
      <!-- @input.native="change($event,index)" -->
   <el-button plain  >全部</el-button>
    <el-button plain >列表</el-button>
    </el-row>
    </div>
       <div class="itemlist"  >
    <el-form-item label="单元" :label-width="formLabelWidth">
      <el-input v-model="form.val" autocomplete="off"></el-input>
    </el-form-item>
    <el-row>
   <el-button plain  >全部</el-button>
    <el-button plain >列表</el-button>
    </el-row>
    </div>
  </el-form>
  </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogVisible = false">清 除</el-button>
    <el-button type="primary" @click="dialog.dialogVisible = false">OK</el-button>
  </span>
</el-dialog>
<!-- 信息框 -->

        <!--几何点  -->
 <el-dialog
 v-if="activeobj.tabindex=='0'"
  :visible.sync="dialog.dialogVisible2"
  :modal='false'
  custom-class='dialoglocation dialog_color'
  :close-on-click-modal='false'
  width="385px">

  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>几何点</span>

  </div>
  <div class="heigeinput">
  <el-form :model="form" >
    
        <el-form-item label="坐标">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
          <el-button plain >添加</el-button>
        </div>  
    </el-form-item>
    <div class="yiinpu">
    <el-form-item label="几何点列表" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">删除</el-button>
    </el-form-item>
 </div>
  <el-form-item label=" 编号" :label-width="formLabelWidth4">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
  <el-form-item label="坐标">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
          <el-button plain >编辑</el-button>
        </div>  
    </el-form-item>
     <el-form-item label=" 编号" :label-width="formLabelWidth4">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
 <el-form-item label="坐标">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
          <el-button plain >显示</el-button>
        </div>  
    </el-form-item>
    <div class="line">
      <div class="linetext">两点间的添加</div>
    </div>  
    <el-form-item label="点1坐标">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
    <el-form-item label="点2坐标">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
       <div class="btntext">添加</div>
  </el-form>
  </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>
  </span>
</el-dialog>
<!-- 实体 -->
<el-dialog
v-if="activeobj.tabindex=='1'"
  :visible.sync="dialog.dialogVisible3"
  :modal='false'
  custom-class='dialoglocation dialog_color'
  :close-on-click-modal='false'
  width="385px">
  <div slot="title" class=dialog_header>
     <el-image :src="cj2" fit="cover" />
     <span>实体</span>
  </div>
  <div class="selecr">
     <el-form>
       <el-form-item label=" 实体类型" :label-width="formLabelWidth2">
      <el-select  @change="changest" v-model="selval"  placeholder="请选择">
    <el-option
      v-for="item in optsel"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
    </el-form>
    </div>
      <el-form>
        <div v-if="selval=='1'">
    <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>
    </div>
     <div v-if="selval=='2'">
    <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=" 第一个圆半径" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
     <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="第二个圆半径" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    </div>
    <div v-if="selval=='3'">
      <div class="heigeinput">
     <el-form-item label="棱柱基础坐标" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
      </div>
      <div class="heigeinput liangf">
       <el-form-item label="棱柱轴坐标" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="棱柱半径" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
     <div class="heigeinput">
     <el-form-item label="棱柱边数" :label-width="formLabelWidth5" class="inputwithd">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
    </div>
     <div v-if="selval=='4'">
      <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="球半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    </div>
    <div v-if="selval=='5'">
    <div class="heigeinput">
     <el-form-item label="圆环中心坐标" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
      <div class="heigeinput liangf">
       <el-form-item label="圆环中心半径" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="小圆半径" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    
   </div>
    </div>
      </el-form>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogVisible3 = false">清 除</el-button>
    <el-button type="primary" @click="dialog.dialogVisible3 = false">OK</el-button>
  </span>
</el-dialog>
<!-- 曲线 -->
<el-dialog
v-if="activeobj.tabindex=='3'"
   :visible.sync="dialog.dialogcurve"
  :modal='false'
  custom-class='dialoglocation dialog_color'
  :close-on-click-modal='false'
  width="385px">
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>曲线</span>

  </div>
  <div class="container">
    <div class="selecr">
     <el-form>
       <el-form-item label=" 曲线类型" :label-width="formLabelWidth2">
      <el-select  @change="changest" v-model="selcure"  placeholder="请选择">
    <el-option
      v-for="item in optcurvelist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
    <div class="heigeinput" v-if="selcure=='0'">
      <el-form-item label="两几何点编号">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
          <el-button plain >添加</el-button>
        </div>  
    </el-form-item>
    </div>
      <div class="yiinpu heigeinput" v-if="selcure=='1'">
    <el-form-item label="几何点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">添加</el-button>
    </el-form-item>
 </div>
  <div class="yiinpu heigeinput" v-if="selcure=='2'">
    <el-form-item label="几何点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">添加</el-button>
    </el-form-item>
 </div>
   <div class="heigeinput"  v-if="selcure=='3'">
    <el-form-item label="NUBB点数量" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    <el-form-item label="NUBB曲线顺序" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    <el-form-item label="NURB点" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
  </div>
  <div class="heigeinput"  v-if="selcure=='4'">
  <el-form-item label="坐标1" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
    <el-form-item label="坐标2" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
     <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu"><i class="el-icon-plus"></i>添加坐标</el-button>
    </div>
      </div>
    <div class="yiinpu heigeinput" v-if="selcure=='5'">
    <el-form-item label="列表" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">添加</el-button>
    </el-form-item>
 </div>
 <div  v-if="selcure=='6'">
  <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="切点" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
      <div class="btntext">添加</div>
      </div>
       <div  class="heigeinput" v-if="selcure=='7'">
  <div class="liangf">
       <el-form-item label="编号1" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="编号2" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
     <el-form-item label="半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
      <div class="btntext">添加</div>
      </div>
      <div  class="heigeinput" v-if="selcure=='8'">
  <div class="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="第一个曲线编号" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
     <el-form-item label="曲线点列表" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
      <div class="btntext">添加</div>
      </div>
          <div  class="heigeinput" v-if="selcure=='9'">
         <el-form-item label="圆心坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
     <el-form-item label="半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
  <div class="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="终止角度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
   
      <div class="btntext">添加</div>
      </div>
        <div  class="heigeinput" v-if="selcure=='10'">
         <el-form-item label="圆心坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
    <el-form-item label="点1坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
  <el-form-item label="点2坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
   
      <div class="btntext">添加</div>
      </div>
        <div  class="heigeinput" v-if="selcure=='11'">
         <el-form-item label="圆心坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
    <el-form-item label="点1坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
   <el-form-item label="终止角度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
      <div class="btntext">添加</div>
      </div>
        <div  class="heigeinput" v-if="selcure=='12'">
         <el-form-item label="点1坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
    <el-form-item label="点2坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
  <el-form-item label="点3坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
   
      <div class="btntext">添加</div>
      </div>
       <div class="heigeinput" v-if="selcure=='13'">
             <el-form-item label=" 切点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
  <div class="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="终止角度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
      <div class="btntext">添加</div>
       </div>
       <div  class="heigeinput" v-if="selcure=='14'">
         <el-form-item label="圆心坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
     <el-form-item label="半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
      <div class="btntext">添加</div>
      </div>
             <div  class="heigeinput" v-if="selcure=='15'">
         <el-form-item label="圆心坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
       <el-form-item label="点1坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
      <div class="btntext">添加</div>
      </div>
         <div  class="heigeinput" v-if="selcure=='16'">
         <el-form-item label="点1坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
       <el-form-item label="点2坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
     <el-form-item label="点3坐标" :label-width="formLabelWidth2">
         <div class="saninput titleinput"> 
      <el-input v-model="form.name" autocomplete="off"></el-input>
       <el-input v-model="form.name" autocomplete="off"></el-input>
        <el-input v-model="form.name" autocomplete="off"></el-input>
        </div>  
    </el-form-item>
      <div class="btntext">添加</div>
      </div>
    <!-- 公共部分 -->
      <div class="line">
      <div class="linetext">曲线操作</div>
    </div>  
    <div class="yiinpu heigeinput">
    <el-form-item label="曲线编号列表" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">删除</el-button>
    </el-form-item>
 </div>
    <div class="heigeinput">
     <el-form-item label="需要编辑的曲线编号" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
     <div class="heigeinput">
      <el-form-item label="需要编辑的点编号" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     </div>
  <div class="yiinpu heigeinput">
    <el-form-item label="新的点编号" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">编辑</el-button>
    </el-form-item>
 </div>
  <div class="heigeinput">
    <el-form-item label="曲线编号" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
  </div>
      <div class="yiinpu heigeinput">
    <el-form-item label="曲线信息" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">显示</el-button>
    </el-form-item>
 </div>
    </el-form>
    </div>
  </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogcurve = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialogcurve = false">OK</el-button>
  </span>
</el-dialog>
<!-- 实体 -->
<el-dialog
v-if="activeobj.tabindex=='4'"
  :visible.sync="dialog.piece"
  :modal='false'
  custom-class='dialoglocation dialog_color'
  :close-on-click-modal='false'
  width="385px">
  <div slot="title" class=dialog_header>
     <el-image :src="cj2" fit="cover" />
     <span>片体</span>
  </div>
  <div class="selecr">
     <el-form>
       <el-form-item label=" 片体类型" :label-width="formLabelWidth2">
      <el-select  @change="changest" v-model="pval"  placeholder="请选择">
    <el-option
      v-for="item in piecelist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
    </el-form>
    </div>
      <el-form>
        <div v-if="selval=='0'">
    <div class="heigeinput liangf">
       <el-form-item label=" 点1坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label=" 点2坐标" :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="点3坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="点4坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    </div>
     <div v-if="selval=='1'">
    <div class="heigeinput liangf">
       <el-form-item label="点1坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label=" 点2坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
       <div class="heigeinput">
     <el-form-item label="棱柱边数" :label-width="formLabelWidth2" class="inputwithd">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
    </div>
    <div v-if="selval=='2'">
      <div class="heigeinput">
     <el-form-item label="原点坐标" :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="矩形长度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="矩形宽度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    </div>
     <div v-if="selval=='3'">
      <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="圆半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    </div>
    <div v-if="selval=='4'">
    <div class="heigeinput">
     <el-form-item label="中心坐标" :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="半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="边数" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    
   </div>
    </div>
     <div v-if="selval=='5'">
    <div class="heigeinput">
     <el-form-item label="第一个点坐标" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
      <div class="heigeinput">
     <el-form-item label="下一个点坐标" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
     <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu"> <i class="el-icon-plus"></i>添加坐标</el-button>
    </div>
    </div>
      </el-form>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.piece = false">清 除</el-button>
    <el-button type="primary" @click="dialog.piece = false">OK</el-button>
  </span>
</el-dialog>
<!-- 曲面 -->
<el-dialog
v-if="activeobj.tabindex=='5'"
  :visible.sync="dialog.dialogsurface"
  :modal='false'
  custom-class='dialoglocation dialog_color'
  :close-on-click-modal='false'
  width="385px">
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span> 曲面</span>
  </div>
   <div class="selecr">
     <el-form>
       <el-form-item label=" 曲面类型" :label-width="formLabelWidth2">
      <el-select  @change="changest" v-model="sval"  placeholder="请选择">
    <el-option
      v-for="item in surfacelist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
    </el-form>
    </div>
      <el-form>
     <div class="heigeinput" v-if="sval=='0'">
     <el-form-item label="几何点列表" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <div v-if="sval=='1'" >
    <div class="heigeinput liangf">
       <el-form-item label="U点数量" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="V点数量" :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="点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
   </div>
       <div class="heigeinput" v-if="sval=='2'">
     <el-form-item label="驱动曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="路径曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
   <div v-if="sval=='3'" >
    <div class="heigeinput liangf">
       <el-form-item label="U点数量" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="V点数量" :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="U阶次" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="V阶次" :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="点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
   </div>
   <div class="heigeinput" v-if="sval=='4'">
     <el-form-item label="第一曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="第二曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
     <div class="heigeinput" v-if="sval=='5'">
     <el-form-item label="球心坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="球半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <div class="heigeinput" v-if="sval=='6'">
     <el-form-item label="第一个圆心坐标" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="第一个圆半径" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
      <el-form-item label="第二个圆心坐标" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="第二个圆半径" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
      <div class="heigeinput" v-if="sval=='7'">
     <el-form-item label="扫掠曲线" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="扫掠步数" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <div v-if="sval=='8'" >
    <div class="heigeinput liangf">
       <el-form-item label="U点数量" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="V点数量" :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="点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="点编号" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
   </div>
   </div>
 <div class="heigeinput" v-if="sval=='9'">
     <el-form-item label="第一曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="第二曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    <el-form-item label="第三曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="第四曲线编号" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <div class="heigeinput" v-if="sval=='10'">
     <el-form-item label="曲线列表" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <div class="heigeinput" v-if="sval=='11'">
     <el-form-item label="采样点表面原点" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="第一方向点一" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    <el-form-item label="第二方向点二" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="点列表" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <!-- 公共部分 -->
    <div class="heigeinput btnringth">
        <el-button  plain class="anniu">修剪</el-button>
    </div>
      </el-form>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogsurface = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialogsurface = false">OK</el-button>
  </span>
</el-dialog>
<!-- 线体 -->
<el-dialog
v-if="activeobj.tabindex=='6'"
  :visible.sync="dialog.dialogline"
  :modal='false'
  custom-class='dialoglocation dialog_color'
  :close-on-click-modal='false'
  width="385px">
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>线体</span>
  </div>
     <div class="selecr">
     <el-form>
       <el-form-item label=" 曲面类型" :label-width="formLabelWidth2">
      <el-select  @change="changest" v-model="lineval"  placeholder="请选择">
    <el-option
      v-for="item in linelists"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
    </el-form>
    </div>
    <el-form>
    <div v-if="lineval=='0'" >
    <div class="heigeinput liangf">
       <el-form-item label="点1坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="点2坐标" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
 </div>
  <div v-if="lineval=='1'" >
    <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="圆半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
 </div>
  <div v-if="lineval=='2'" >
    <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="圆半径" :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="起始角度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="终止角度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
 </div>
   </el-form>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogline = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialogline = false">OK</el-button>
  </span>
</el-dialog>
<!-- 操作 -->
<!-- 关联 -->
<el-dialog
v-if="activeobj.czindex=='0'"
  :visible.sync="dialog.dialorelevance"
  :modal='false'
  custom-class='dialoglocation dialog_color'
  :close-on-click-modal='false'
  width="385px">
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>关联</span>
  </div>
     <div class="selecr">
     <el-form>
       <div class="liangf">
       <div class="dan">  
          <el-radio v-model="radio" label="1">指定方向</el-radio></div>
           <div class="dan"> <el-radio v-model="radio" label="2">最近</el-radio></div>
       </div>
       <div class="liangf">
       <div class="dan  dancentent">  
            <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu">方向</el-button>
    </div>
         </div>
           <div class="dan heigeinput inputtext">
              <el-input v-model="form.name" autocomplete="off"></el-input>
              <el-input v-model="form.name" autocomplete="off"></el-input>
              <el-input v-model="form.name" autocomplete="off"></el-input>
              </div>
       </div>
       <div class="line">
      <div class="linetext">限定</div>
    </div>  
      <el-checkbox v-model="checked"> 开</el-checkbox>
        <div class="heigeinput">
     <el-form-item label="距离" :label-width="formLabelWidth4">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
      <div class="line">
      <div class="linetext">关联</div>
    </div>  
         <div class="btntext">节点→几何点</div>
          <div class="btntext">单元边→曲线</div>
        <div class="btntext">单元边→曲面</div>
        <div class="btntext">单元→曲线</div>
        <div class="btntext">单元→曲面</div>
          <div class="line">
      <div class="linetext">去除关联</div>
    </div> 
    <div class="listbtn"> 
       <el-button plain class="anniu">节点</el-button>
        <el-button plain class="anniu">单元边</el-button>
         <el-button plain class="anniu">单元面</el-button>
      </div> 
      <el-row>
         <div class="btntext">单元</div>
          <div class="btntext">从实体得到网络</div>
        <div class="btntext">从实体得到的小平面几何</div>
        <div class="btntext" @click="dialog.setdialog=true">投影设置</div>
      </el-row>

   </el-form>
     </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialorelevance = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialorelevance = false">OK</el-button>
  </span>
</el-dialog>
<!-- 投影设置 -->
<el-dialog
  :visible.sync="dialog.setdialog"
  width="20%">
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>投影设置</span>
  </div>
     <div class="selecr">
     <el-form>
    <el-form-item label=" 曲面类型" :label-width="formLabelWidth2">
      <el-select  @change="changest" v-model="tyval"  placeholder="请选择">
    <el-option
      v-for="item in tylist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
    <div class="heigeinput" v-if="tyval=='0'">
     <el-form-item label="容差" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="分割数" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
<div class="heigeinput" v-if="tyval=='1'">
     <el-form-item label="分割数" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="容差" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
         <el-form-item label="最大迭代次数" :label-width="formLabelWidth5">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
   </el-form>
     </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.setdialog = false">取 消</el-button>
    <el-button type="primary" @click="dialog.setdialog = false">OK</el-button>
  </span>
</el-dialog>
<!-- 特征消除 -->
<el-dialog
 v-if="activeobj.czindex=='1'"
  :visible.sync="dialog.dialogremove"
  :modal='false'
  custom-class='dialoglocation dialog_color'
   width="385px"
  :close-on-click-modal='false'>
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>消除特征</span>
  </div>
     <div class="selecr">
     <el-form>
    <el-form-item label=" 特征" :label-width="formLabelWidth2">
      <el-select  @change="changest" v-model="kval"  placeholder="请选择">
    <el-option
      v-for="item in konglist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
    <div v-if="kval=='0'">
    <div class="yiinpu heigeinput">
    <el-form-item label="探测出的孔/凹槽" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">清除</el-button>
    </el-form-item>
 </div>
    <div class="line">
      <div class="linetext">探测</div>
    </div> 
    <div class="heigeinput" >
     <el-form-item label="最小半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="最大半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
       <div class="dan  dancentent">  
            <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu">寻找</el-button>
    </div>
         </div>
         </div>
             <div v-if="kval=='1'">
    <div class="yiinpu heigeinput">
    <el-form-item label="探测出的倒圆角/桥接曲面" >
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">清除</el-button>
    </el-form-item>
 </div>
    <div class="line">
      <div class="linetext">探测</div>
    </div> 
    <div class="heigeinput" >
     <el-form-item label="最小半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="最大半径" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
       <div class="dan  dancentent">  
            <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu">寻找</el-button>
    </div>
         </div>
         </div>
             <div v-if="kval=='2'">
    <div class="yiinpu heigeinput">
    <el-form-item label="探测出的倒角" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">清除</el-button>
    </el-form-item>
 </div>
    <div class="line">
      <div class="linetext">探测</div>
    </div> 
    <div class="heigeinput" >
     <el-form-item label="最小宽度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="最大宽度" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
       <div class="dan  dancentent">  
            <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu">寻找</el-button>
    </div>
         </div>
         </div>
             <div v-if="kval=='3'">
    <div class="yiinpu heigeinput">
    <el-form-item label="探测出的小面" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">清除</el-button>
    </el-form-item>
 </div>
    <div class="line">
      <div class="linetext">探测</div>
    </div> 
    <div class="heigeinput" >
     <el-form-item label="最小面积" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="最大面积" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
       <div class="dan  dancentent">  
            <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu">寻找</el-button>
    </div>
         </div>
         </div>
             <div v-if="kval=='4'">
    <div class="yiinpu heigeinput">
    <el-form-item label="探测出的小体" :label-width="formLabelWidth6">
      <el-input v-model="form.name" autocomplete="off"></el-input>
         <el-button plain class="anniu">清除</el-button>
    </el-form-item>
 </div>
    <div class="line">
      <div class="linetext">探测</div>
    </div> 
    <div class="heigeinput" >
     <el-form-item label="最小体积" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
     <el-form-item label="最大体积" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
       <div class="dan  dancentent">  
            <div class="yiinpu " style="text-align: center;" >
         <el-button plain class="anniu">寻找</el-button>
    </div>
         </div>
         </div>
       <div v-if="kval=='5'">
    <div class="btntext">寻找缺陷</div>
         </div>
         <!-- <div class="line">
      <div class="linetext">修改</div>
    </div>  -->
   </el-form>
     </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogremove = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialogremove = false">OK</el-button>
  </span>
</el-dialog>
<!-- 相交 -->
<el-dialog
  :visible.sync="dialog.dialogintersect"
  v-if="activeobj.czindex=='2'"
  :modal='false'
  custom-class='dialoglocation dialog_color'
   width="385px"
  :close-on-click-modal='false'
 >
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>相交</span>
  </div>
     <div class="selecr">
     <el-form>
    <div class="heigeinput">
     <el-form-item label="容差" :label-width="formLabelWidth2">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    <div>
      <el-checkbox label="全局"></el-checkbox>
    <el-checkbox label="剪裁 1"></el-checkbox>
    <el-checkbox label="剪裁 2"></el-checkbox>
    </div>
        <div class="btntext">曲线/曲线</div>
        <div class="btntext">曲线→曲面</div>
        <div class="btntext">曲面→曲面</div>
    </div>
     <div class="line">
      <div class="linetext">剪裁</div>
    </div> 
     <div class="btntext">剪裁出轮廓线</div>
        <div class="btntext">剪裁出圆廓线</div>
        <div class="btntext">剪裁出盒廓线</div>
          <div class="line">
      <div class="linetext">相交/延长</div>
    </div> 
    <div class="btntext">延长曲线</div>
   </el-form>
     </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogintersect = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialogintersect = false">OK</el-button>
  </span>
</el-dialog>
<!-- 实体运算 -->
<el-dialog
  :visible.sync="dialog.dialogentity"
  v-if="activeobj.czindex=='3'"
  :modal='false'
  custom-class='dialoglocation dialog_color'
   width="385px"
  :close-on-click-modal='false'
 >
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>实体运算</span>
  </div>
     <div class="selecr ">
     <el-form>
         <div class="btntext">重新命名实体</div>
          <div class="line">
      <div class="linetext">颜色</div>
    </div> 
      <div class="listbtn"> 
         <span class="anniu text_color" >实体</span>
        <el-color-picker v-model="color">颜色选择</el-color-picker>
         <el-button plain class="anniu">清空</el-button>
      </div> 
       <div class="listbtn" style="margin: 5px 0;"> 
         <span class="anniu text_color" >实体面</span>
        <el-color-picker v-model="color">颜色选择</el-color-picker>
         <el-button plain class="anniu">清空</el-button>
      </div> 
       <div class="listbtn"> 
         <span class="anniu text_color" >实体边</span>
        <el-color-picker v-model="color">颜色选择</el-color-picker>
         <el-button plain class="anniu">清空</el-button>
      </div> 
       <div class="line">
      <div class="linetext">布尔运算</div>
    </div> 
        <div class="listbtn"> 
        <el-button plain class="anniu">合并</el-button>
        <el-button plain class="anniu">相减</el-button>
        <el-button plain class="anniu">相加</el-button>
      </div> 
       <div class="line">
      <div class="linetext">倒圆角</div>
    </div> 
      <div class="heigeinput">
     <el-form-item label="半径" :label-width="formLabelWidth4">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <div  class="listbtn">
      <div class="anniu">
            <el-checkbox v-model="checked">滚动</el-checkbox>
      </div>
        <el-button plain class="anniu">边</el-button>
    </div>
       <div class="line">
      <div class="linetext">倒圆角</div>
    </div> 
    <div class="heigeinput">
     <el-form-item label="距离" :label-width="formLabelWidth4">
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </el-form-item>
    </div>
    <div  class="listbtn">
      <div class="anniu">
            <el-checkbox v-model="checked">滚动</el-checkbox>
      </div>
        <el-button plain class="anniu">边</el-button>
    </div>
    <div class="line">
      <div class="linetext">转换</div>
    </div> 
      <div class="btntext">实体面到曲面</div>
      <div class="btntext">实体边到曲线</div>
      <div class="btntext">实体顶点到几何点</div>
      <div class="btntext">裁剪曲面到实体面</div>
      <div class="line">
      <div class="linetext">特殊</div> 
    </div> 
     <div class="listbtn"> 
        <el-button plain class="anniu">分离</el-button>
        <el-button plain class="anniu">旋转实体面</el-button>
      </div>
       <div class="listbtn"> 
        <el-button plain class="anniu">扩展实体面</el-button>
        <el-button plain class="anniu">分割实体面</el-button>
      </div>
       <div class="listbtn"> 
        <el-button plain class="anniu">检查对象</el-button>
        <el-button plain class="anniu">检查日志</el-button>
      </div>
       <div class="listbtn"> 
        <el-button plain class="anniu">检查实体面</el-button>
        <el-button plain class="anniu">检查实体边</el-button>
      </div>
        <div class="listbtn"> 
       <el-button plain class="anniu">清除对象</el-button>
      </div> 
   </el-form>
     </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogentity = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialogentity = false">OK</el-button>
  </span>
</el-dialog>
<!--移动  -->
<el-dialog
  :visible.sync="dialog.yddialog"
  v-if="activeobj.czindex=='5'"
  :modal='false'
  custom-class='dialoglocation dialog_color'
   width="385px"
  :close-on-click-modal='false'
 >
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>移动</span>
  </div>
     <div class="selecr">
     <el-form>
           <el-form-item label=" 移动" :label-width="formLabelWidth">
      <el-select  @change="changest" v-model="ydval"  placeholder="请选择">
    <el-option
      v-for="item in yilist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
    </el-form-item>
        <el-form-item label="模态" :label-width="formLabelWidth">
      <el-select  @change="changest" v-model="mval"  placeholder="请选择">
    <el-option
      v-for="item in mtlist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
 </el-form-item>
  <div class="line" v-if="mval!='5'">
      <div class="linetext">设置</div>
    </div>  
    <div v-if="mval=='0' ||mval=='4'">
     <div class="listbtn"> 
        <el-button plain class="anniu">平移</el-button>
         <el-button plain class="anniu">从/到</el-button>
      </div> 
      <div class="heigeinput input3">
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </div>
    </div>
      <div v-if="mval=='1'||mval=='2' ||mval=='4'">
          <div class="btntext">中心点</div>
   <div class="heigeinput input3">
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </div>
     </div>
       <div v-if="mval=='1'||mval=='4'">
      <div class="btntext">旋转角度（度）</div>
      <div class="heigeinput input3">
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </div>
   </div>
    <div v-if="mval=='2'||mval=='4'">
      <div class="btntext">比例系数</div>
      <div class="heigeinput input3">
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </div>
    </div>
     <div v-if="mval=='3'||mval=='4'">
      <div class="btntext">公式</div>
      <div class="heigeinput juli">
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </div>
    </div>
    <div  v-if="ydval !='1' ">
      <div v-if="mval=='5' "> 
       <div class="line" >
      <div class="linetext">原始坐标系构造</div>
    </div> 
     <el-form-item label="定义的方法为" :label-width="formLabelWidth5">
      <el-select  @change="changest" v-model="dval"  placeholder="请选择">
    <el-option
      v-for="item in definglist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
 </el-form-item>
 <div class="ulist text_color heigeinput" v-if="dval=='0'">
 <ul >
    <li> </li>
   <li>位置A、B、</li>
    <li>X</li>
    <li>Y</li>
    <li>Z</li>
 </ul>
 <ul v-for="(item,index) in ullist" :key="index">
   <li>{{item.id}}</li>
    <li> <el-input v-model="item.name" autocomplete="off"></el-input></li>
    <li>  <el-input v-model="item.valx" autocomplete="off"></el-input></li>
    <li> <el-input v-model="item.valy" autocomplete="off"></el-input></li>
    <li> <el-input v-model="item.valz" autocomplete="off"></el-input></li>
 </ul>
 </div>
 <div v-if="dval=='1'">
 <div class="listbtn"> 
       <el-button plain class="anniu" @click="dialog.tiele=true">坐标系</el-button>
        <el-button plain class="anniu">选取</el-button>
      </div> 
      <div><el-input v-model="form.name" autocomplete="off"></el-input></div>
 </div>
    </div>
    </div>
    <div   v-if="ydval !='1' ">
  <div class="line">
      <div class="linetext">动作</div>
    </div>  
     <div class="btntext">移动模型</div>
     <div class="img"></div>
     </div>
     <!-- 几何点 -->
     <div>
          <div  v-if="ydval=='1'&&mval=='5' ">
       <div class="line">
      <div class="linetext">投影方法</div>
       </div> 
     <el-form-item label="方法" :label-width="formLabelWidth">
      <el-select  @change="changest" v-model="fafval"  placeholder="请选择">
    <el-option
      v-for="item in faflist"
      :key="item.value"
      :label="item.name"
      :value="item.value"
      >
    </el-option>
  </el-select>
  </el-form-item>
  <div v-if="fafval=='1'">
      <div class="btntext">方向</div>
      <div class="heigeinput input3">
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
      <el-input v-model="form.name" autocomplete="off"></el-input>
    </div>
  </div>
     <el-checkbox v-model="checked">距离极限</el-checkbox>
          <div class="btntext">高级投影设置</div>
      <div class="line">
      <div class="linetext">将点移到</div>
    </div> 
       <div class="listbtn"> 
       <el-button plain class="anniu">曲线</el-button>
        <el-button plain class="anniu">表面</el-button>
      </div> 
            <div class="btntext">两个曲面相交</div>
         </div>
</div>
   </el-form>
     </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.yddialog = false">取 消</el-button>
    <el-button type="primary" @click="dialog.yddialog = false">OK</el-button>
  </span>
</el-dialog>

<!--  -->
<el-dialog
  :visible.sync="dialog.dialog"
  v-if="activeobj.czindex=='4'"
  :modal='false'
  custom-class='dialoglocation dialog_color'
   width="385px"
  :close-on-click-modal='false'
 >
  <div slot="title" class=dialog_header>
     <el-image :src="cj" fit="cover" />
     <span>实体运算</span>
  </div>
     <div class="selecr">
     <el-form>
   
   </el-form>
     </div>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialog.dialogline = false">取 消</el-button>
    <el-button type="primary" @click="dialog.dialogline = false">OK</el-button>
  </span>
</el-dialog>
<!-- 自己写的提示框开始 -->
<div class="tiele" v-show="dialog.tiele">
<div class="heder">当前定义的坐标系</div>
  <div class="tiele_content">
    <el-checkbox v-model="checked">坐标1</el-checkbox>
    <el-checkbox v-model="checked">坐标2</el-checkbox>
    <el-checkbox v-model="checked">坐标3</el-checkbox>
  <el-checkbox v-model="checked">坐标4</el-checkbox>
  <el-checkbox v-model="checked">坐标5</el-checkbox>
  </div>
  <p> <el-button type="primary"  class="anniu"  @click=" dialog.tiele= false">OK</el-button></p>
 

</div>

<!-- 自己写的提示框结束 -->
  </div>
  
</template>

<script>
// 边界条件
import jic from '@/assets/icon/u214.png'
import jic2 from '@/assets/icon/u215.png'
import jic3 from '@/assets/icon/u213.png'
import jic4 from '@/assets/icon/u212.png'
import cj from '@/assets/icon/u216.png'
import cj2 from '@/assets/icon/u217.png'
import cj3 from '@/assets/icon/u219.png'
import cj4 from '@/assets/icon/u218.png'
import cj5 from '@/assets/icon/u766.png'
import cj6 from '@/assets/icon/u220.png'
import cj7 from '@/assets/icon/u791.png'
import cz from '@/assets/icon/u221.png'
import cz2 from '@/assets/icon/u224.png'
import cz3 from '@/assets/icon/u227.png'
import cz4 from '@/assets/icon/u231.png'
import cz5 from '@/assets/icon/u234.png'
import cz6 from '@/assets/icon/u229.png'
import cz7 from '@/assets/icon/u222.png'
import cz8 from '@/assets/icon/u225.png'
import cz9 from '@/assets/icon/u228.png'
import cz10 from '@/assets/icon/u232.png'
import cz11 from '@/assets/icon/u235.png'
import cz12 from '@/assets/icon/u223.png'
import cz13 from '@/assets/icon/u226.png'
import cz14 from '@/assets/icon/u230.png'
import cz15 from '@/assets/icon/u233.png'
import cz16 from '@/assets/icon/u236.png'
import bj1 from '@/assets/icon/u237.png'
import bj2 from '@/assets/icon/u238.png'
 import elColorPicker from 'el-color-picker'

export default {
   components:{elColorPicker},
  data(){
      return{
          color: "#e0e0e0",
          checked:'',
          checked1:'',
          dialog:{
            dialog:false,
             dialogVisible:false,
             dialogVisible2:false,
             dialogVisible3:false,
             dialogcurve:false,
             piece:false,
             dialogsurface:false,
             dialogline:false,
             dialogremove:false,
            //  操作弹框
            dialorelevance:false,
            setdialog:false,
            dialogintersect:false,
            dialogentity:false,
            yddialog:false,
            tiele:false
          },
         
          i:'1',
          lenlist:[
            {id:'1',name:'微米'},
            {id:'2',name:'毫米'},
             {id:'3',name:'厘米'},
            {id:'4',name:'米'},
             {id:'5',name:'千米'},
            {id:'6',name:'微英寸'},
             {id:'7',name:'密耳'},
            {id:'8',name:'英寸'},
             {id:'9',name:'英尺'},
            {id:'10',name:'码'},
             {id:'11',name:'英里'},
          ],
          optsel:[
            {value:'1',name:'块 (3D空间)'},
            {value:'2',name:'圆柱 (3D空间)'},
             {value:'3',name:'棱柱 (3D空间)'},
            {value:'4',name:'球 (3D空间)'},
            {value:'5',name:'圆环 (3D空间)'},
          ],
           selval:'1',
           optcurvelist:[
              {value:'0',name:'直线'},
            {value:'1',name:'贝塞尔曲线'},
             {value:'2',name:'三次样条曲线'},
            {value:'3',name:'非均匀有理B样条'},
            {value:'4',name:'多折线'},
             {value:'5',name:'内插线'},
            {value:'6',name:'切线'},
             {value:'7',name:'倒圆角'},
            {value:'8',name:'采样点'},
            {value:'9',name:'圆弧（圆心/半经/角度/角度）'},
             {value:'10',name:'圆弧（圆心/点/点）'},
            {value:'11',name:'圆弧（圆心/点/角度）'},
             {value:'12',name:'圆弧（点/点/点'},
            {value:'13',name:'圆弧（切点/半径/角度'},
            {value:'14',name:'圆（圆心/半径）'},
            {value:'15',name:'圆（圆心/点）'},
            {value:'16',name:'圆（点/点/点）'},
           ],
           selcure:"0",
              piecelist:[
              {value:'0',name:'四边形（3D空间）'},
            {value:'1',name:'三角形（平行于坐标平面）'},
             {value:'2',name:'矩形（平行于坐标平）'},
            {value:'3',name:'圆（平行于坐标平面）'},
            {value:'4',name:'规则多边形（平行于坐标平面）'},
             {value:'5',name:'任意多边形（平息于坐标平面）'},
           ],
           pval:"0",
              surfacelist:[
                {value:'0',name:'四边形'},
            {value:'1',name:'贝塞尔曲线'},
             {value:'2',name:'曲线驱动'},
            {value:'3',name:'非均匀有理B样条'},
            {value:'4',name:'两条曲线'},
             {value:'5',name:'球'},
            {value:'6',name:'圆柱'},
             {value:'7',name:'扫掠'},
            {value:'8',name:'内插'},
            {value:'9',name:'孔斯面'},
             {value:'10',name:'蒙皮'},
             {value:'11',name:'采样点'},
           ],
           sval:"0",
            
             linelists:[
            {value:'0',name:'直线（3D空间）'},
            {value:'1',name:'圆（平行于坐标平面）'},
             {value:'2',name:'圆弧（平行于坐标平面'},
           ],
           lineval:"0",
          //  操作
            radio: '1',
          checked: true,
          tylist:[
            {value:'0',name:'对分法'},
            {value:'1',name:'牛顿法'},
           ],
           tyval:"0",
           konglist:[
            {value:'0',name:'孔/凹槽'},
            {value:'1',name:'倒圆角/桥接曲面'},
            {value:'2',name:'倒角'},
            {value:'3',name:'小面'},
            {value:'4',name:'小体'},
            {value:'5',name:'缺陷'},
           ],
            kval:"0",
             tyval:"0",
           yilist:[
            {value:'0',name:'模型'},
            {value:'1',name:'几何点'},
            {value:'2',name:'曲线'},
            {value:'3',name:'曲面'},
            {value:'4',name:'实体'},
            {value:'5',name:'多种类型实体'},
           ],
           ydval:'0',
           mtlist:[
            {value:'0',name:'平移'},
            {value:'1',name:'旋转'},
            {value:'2',name:'比例'},
            {value:'3',name:'通过公式移动'},
            {value:'4',name:'一般移动'},
            {value:'5',name:'与局部坐标对齐'},
           ],
            mval:'0',
            definglist:[
            {value:'0',name:'位置'},
            {value:'1',name:'坐标系'},
           ],
           dval:'0',
           ullist:[
            { id:"A",name:"原点",valx:"1",valy:"2",valz:"2"},
            { id:"B",name:"原点",valx:"1",valy:"2",valz:"2"},
            { id:"C",name:"原点",valx:"1",valy:"2",valz:"2"}
           ],
           
            faflist:[
            {value:'0',name:'最近的'},
            {value:'1',name:'指定方向'},
           ],
           fafval:'0',
           active:'',
           activeobj:{
                  tabindex:'',
                  czindex:'',
           },
      
           // 边界条件
       //  几何基础
        jic,
        jic2,
        jic3,
        jic4,
        // 几何创建
        cj,
        cj2,
        cj3,
        cj4,
        cj5,
        cj6,
        cj7,
        //  操作
        cz,
        cz2,
        cz3,
        cz4,
        cz5,
        cz6,
        cz7,
        cz8,
        cz9,
        cz10,
        cz11,
        cz12,
        cz13,
        cz14,
        cz15,
        cz16,
        bj1,
        bj2,
          jiclist:[
            { img:jic, titlie:'导入几何'},
            {img:jic2, titlie:'导出几何'},
            { img:jic3, titlie:'重新编号'},
            {img:jic4, titlie:'长度单位'},  
        ],
        cjlist:[
           { 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:' 关联'},
            {img:cz2, titlie:'特征消除'},
            { img:cz3, titlie:'相交'},
            {img:cz4, titlie:'实体运营'},  
            {img:cz5, titlie:'布尔运算'},
            { img:cz6, titlie:'移动'},
            {img:cz7, titlie:'检查'}, 
              { img:cz8, titlie:'复制'},
            {img:cz9, titlie:'印痕'},
            { img:cz10, titlie:'消除重复'},
            {img:cz11, titlie:'拉伸'},  
            {img:cz12, titlie:'转换'},
            { img:cz13, titlie:'扩展'},
            {img:cz14, titlie:'旋转'},   
            { img:cz15, titlie:'对称'},
            {img:cz16, titlie:'扫略'}, 
              { img:bj1, titlie:'新建'},
        ],
          bjlist:[
           { img:bj1, titlie:'新建'},
            {img:bj2, titlie:'模版文件'},
          
        ],
    
        formLabelWidth: '60px',
        formLabelWidth2:'73px',
        formLabelWidth4:'37px',
        formLabelWidth5:'100px',
         formLabelWidth6:'120px',
      
          form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: '',
          val0:'1',
          val1:'2',
          val2:'3',
          val3:'4',
          val4:'5',
          val5:'6',
            itemlists:[
           {id:'1',lable:'节点'},
           {id:'2',lable:'单元'},
           {id:'3',lable:'几何点'},
           {id:'4',lable:'曲线'},
           {id:'5',lable:'曲面'},
           {id:'6',lable:'实体'},
        ],
        },
      }
      
  },
methods:{
  handleCommand(command){
 this.i = command
  },
  //模块选择
  clickgeometry(index){
    this.activeobj.czindex='';
   this.activeobj.tabindex=index;
  switch(index){
    case 0:
      this.dialog.dialogVisible2=true;
      break;
    case 1:
      this.dialog.dialogVisible3=true;
      break; 
    case 2:
      break;
    case 3:
      this.dialog.dialogcurve=true;
      break;
      case 4:
        this.dialog.piece=true;
       break;
      case 5:
        this.dialog.dialogsurface=true;
       break;
      case 6:
        this.dialog.dialogline=true;
       break;

  }
  },
  //操作
  operationclick(index){
       this.activeobj.tabindex='';
    this.activeobj.czindex=index;
 switch(index){
    case 0:
      this.dialog.dialorelevance=true;
      break;
    case 1:
      this.dialog.dialogremove=true;
      break; 
    case 2:
      this.dialog.dialogintersect=true;
      break;
    case 3:
       this.dialog.dialogentity=true;
      break;
      case 4:
       
       break;
      case 5:
           this.dialog.yddialog=true;
       break;
      case 6:
      
       break;

  }
  } ,

  // 实体的下拉选择
  changest(val){
    this.selval=val;

  },

}
}
</script>
<style lang="scss" scoped>
.diyi i{
  font-size: 14px;
  color: #C0C4CC;
}
.el-input__inner{
height: 30px;
line-height: 30px;
}
.tupian{
  display: flex;
  justify-content: center;
  align-items: center;
}
 .red{
  color: red;
 }
 .dialog_header{
   align-items: center;
    display: flex;
}

</style>
<style lang="scss">
@import '@/styles/variables.scss';
@import '@/styles/mixin.scss';
.heigeinput 
{
.el-input__inner{
height: 25px;
line-height: 25px;
}
 .el-form-item{
  margin-bottom: 5px;
}
.el-form-item__label{
  font-size: 12px;
 line-height: 25px;
}
.el-form-item__content{
      line-height: 25px;
        font-size: 12px;
}
}
.el-dialog__body{
  padding: 10px 20px 10px 20px;
} 
.line{
  width: 100%;
  height: 1px;
  background-color: #999;
  position: relative;
  margin: 30px 0;
  .linetext{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffff;
    padding: 5px;
    font-size: 12px;
    top: -10px;
    font-weight: 700;
    
  }
 
}
.ulist ul{
  display: flex;
  margin: 0;
  padding: 0;
  li{
    flex: 1;
    border: 1px solid #666;
  }
  
}
.inputwithd  .el-input__inner{
  width: 74px;
}
.inputtext .el-input{
  margin-top: 5px;
}
.dancentent{
  display: flex;
  justify-content:center;
  align-items: center;
}
 .titleinput .el-input{
    width: 100px;
  }
  .itemlist{
    display: flex;
  
  }
  .listbtn{
  display: flex;
  margin-bottom: 5px;
  .anniu{
    flex: 1;
  }
  }
  .anniu{
    padding: 5px 28px;
    font-size: 12px;
      margin: 0;
    
  }
 .titleinput{
  .el-row{
      padding-left: 10px;
   }
     .el-button{
    padding: 5px 28px;
    font-size: 12px;
    }
    .el-button+.el-button{
      margin: 0;
    }
    }
    .tiele{
      width: 324px;
      background-color: #fff;
      position: fixed;
      top: 50%;
       left: 50%;
      z-index: 9999;
      padding: 20px;
      .heder{
        width: 100%;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        padding: 0 20px;
        border-bottom: 1px solid #eee;
      }
      .tiele_content{
        padding: 20px 20px;
        .el-checkbox{
          display: block;
        }
      }
      p{
        text-align: center;
      }
      
      
    }
  .btntext{
    text-align: center;
    background-color: #757070;
    color:#d5d5d5 ;
    font-size: 12px;
    padding: 4px 0;
    margin: 5px 0;
    border-radius: 5px;
  }
  .btnyiban{
    width: 50%;
    background-color: #757070;
    color:#d5d5d5 ;
  }
  .fangxiang .el-row{
    display: flex;
    padding-bottom: 10px;
  }

  .input3{
    display: flex;
     flex-wrap:nowrap;
     justify-content: space-around;
     padding-bottom: 5px;

    .el-input{
    width: 30%;
    }
  }
.yiinpu .el-form-item__content{
display:flex;
.el-input{
  margin-right: 5px;
}
}
  .saninput{
   display: flex;
     flex-wrap:nowrap;
     justify-content: space-around;
    .el-input{
   margin-right: 5px;
    }
    .el-form-item__label{
        text-align: left;
    }  
  }
  // select样式
  .selecr{
    font-size: 12px;
    .el-select{
      width: 100%;
      .el-input__inner{
    height: 25px;
    line-height: 25px;  
    
    }
    }
    
  }
  .activeOrange{
    background-color:rgba($color: #fff, $alpha: 0.3);
  }
  .liangf{
    display: flex;
  }
  .liangf .dan{
    flex: 1;
    text-align: center;
  }
  .dialoglocation{
    position: absolute;
    right: 0;

  }
  .btnringth{
    text-align: right;
  }
  .juli .el-input__inner{
    margin-bottom: 5px;
  }
</style>