|
@@ -1,4 +1,5 @@
|
|
|
<template>
|
|
|
+<div class="leading fem">
|
|
|
<div class="scal">
|
|
|
<div class="toolbar-part-detail lbg_color1 ">
|
|
|
<!-- 工具栏 -->
|
|
@@ -7,30 +8,540 @@
|
|
|
|
|
|
<el-tab-pane label="几何建模" name="one"><geometry></geometry></el-tab-pane>
|
|
|
<el-tab-pane label="网格划分" name="twos"> <meshindex></meshindex></el-tab-pane>
|
|
|
- <!-- 通用设置 -->
|
|
|
- <el-tab-pane :label="$t('HCFD.geneal.geneal')" name="two">
|
|
|
+ <!-- 集合定义 -->
|
|
|
+ <el-tab-pane label="集合定义" name="two">
|
|
|
<div class="imgzong">
|
|
|
- femFooter
|
|
|
- <!-- <div class="item1" v-for="(itemcj,index) in twolist" :key="'two-'+ index" :class="{activeOrange:active=='two-'+ index}" @click="clickgeometry($event,index,'two-'+ index)">
|
|
|
+ <div class="item1" v-for="(itemcj,index) in jihlist" :key="'two-'+ index" :class="{activeOrange:active=='two-'+ index}" @click="clickgeometry($event,index,'two-'+ index)">
|
|
|
<el-tooltip class="item" effect="dark" :content="itemcj.titlie" placement="bottom">
|
|
|
<el-image :src="itemcj.icon" fit="cover" />
|
|
|
</el-tooltip>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
+ <!-- 属性设置 -->
|
|
|
+ <el-tab-pane label="属性设置" name="three">
|
|
|
+ <div class="imgzong">
|
|
|
+ <div class="item1" v-for="(item,index) in shxlist" :key="'three-'+ index" :class="{activeOrange:active=='three-'+ index}" @click="clickgeometry($event,index,'three-'+ index)">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.titlie" placement="bottom">
|
|
|
+ <el-image :src="item.icon" fit="cover" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <!-- 载荷边界 -->
|
|
|
+ <el-tab-pane label="载荷边界" name="four">
|
|
|
+ <div class="imgzong">
|
|
|
+ <div class="item1" v-for="(item,index) in zhlist" :key="'four-'+ index" :class="{activeOrange:active=='four-'+ index}" @click="clickgeometry($event,index,'four-'+ index)">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.titlie" placement="bottom">
|
|
|
+ <el-image :src="item.icon" fit="cover" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ <span class="shu">|</span>
|
|
|
+ <div class="item1" v-for="(item,index) in zhlist2" :key="'four1-'+ index" :class="{activeOrange:active=='four1-'+ index}" @click="clickgeometry($event,index,'four1-'+ index)">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.titlie" placement="bottom">
|
|
|
+ <el-image :src="item.icon" fit="cover" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ <span class="shu">|</span>
|
|
|
+ <div class="item1" v-for="(item,index) in zhlist3" :key="'four2-'+ index" :class="{activeOrange:active=='four2-'+ index}" @click="clickgeometry($event,index,'four2-'+ index)">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.titlie" placement="bottom">
|
|
|
+ <el-image :src="item.icon" fit="cover" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ <span class="shu">|</span>
|
|
|
+ <div class="item1" v-for="(item,index) in zhlist4" :key="'four3-'+ index" :class="{activeOrange:active=='four3-'+ index}" @click="clickgeometry($event,index,'four3-'+ index)">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.titlie" placement="bottom">
|
|
|
+ <el-image :src="item.icon" fit="cover" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <!-- 求解控制 -->
|
|
|
+ <el-tab-pane label="求解控制" name="five">
|
|
|
+ <div class="imgzong">
|
|
|
+ <div class="item1" v-for="(item,index) in shxlist" :key="'three-'+ index" :class="{activeOrange:active=='three-'+ index}" @click="clickgeometry($event,index,'three-'+ index)">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.titlie" placement="bottom">
|
|
|
+ <el-image :src="item.icon" fit="cover" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="结果查看" name="six"> <result></result></el-tab-pane>
|
|
|
+ <el-tab-pane label="工具箱" name="seven"><toolindex></toolindex></el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!-- 弹出框 创建集合-->
|
|
|
+ <el-dialog
|
|
|
+ v-if="active=='two-0'"
|
|
|
+ :visible.sync="dialog.create_visiable"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ @close='activecleer()'
|
|
|
+ class="dialog"
|
|
|
+ :modal='false'
|
|
|
+ custom-class='dialoglocation dialog_color'
|
|
|
+ width="385px"
|
|
|
+ :style="styX"
|
|
|
+ >
|
|
|
+ <div slot="title" class=dialog_header>
|
|
|
+ <el-image class="imge" :src="c1" fit="cover" />
|
|
|
+ <span class="text-color">创建集合</span>
|
|
|
+ </div>
|
|
|
+ <div class="selecr">
|
|
|
+ <el-form>
|
|
|
+ <el-form-item label="集合类型" :label-width="formLabelWidth2">
|
|
|
+ <el-select @change="changest" v-model="jhval" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in jhlist"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <div class="line">
|
|
|
+ <div class="linetext">点集合</div>
|
|
|
+ </div>
|
|
|
+ <el-form-item label="集合名称" :label-width="formLabelWidth2">
|
|
|
+ <el-input v-model="form.name" autocomplete="off"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <div class="btnaniu">
|
|
|
+ <el-button plain class="cj">创建</el-button>
|
|
|
+ <el-button plain class="cj">清除</el-button>
|
|
|
+ <el-button plain class="cj">编辑</el-button>
|
|
|
+ <el-button plain class="cj">保存</el-button>
|
|
|
+ </div>
|
|
|
+ <el-form-item label="集合列表" :label-width="formLabelWidth2">
|
|
|
+ <el-select @change="changest" v-model="jhval2" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in jhlist2"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="info" @click="dialog.create_visiable = false">取消</el-button>
|
|
|
+ <el-button type="primary" @click="dialog.create_visiable = false"
|
|
|
+ >确定</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <!-- 单元属性-->
|
|
|
+ <el-dialog
|
|
|
+ v-if="active=='three-0'"
|
|
|
+ :visible.sync="dialog.attribute_visiable"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ @close='activecleer()'
|
|
|
+ class="dialog"
|
|
|
+ :modal='false'
|
|
|
+ custom-class='dialoglocation dialog_color'
|
|
|
+ width="385px"
|
|
|
+ :style="styX"
|
|
|
+ >
|
|
|
+ <div slot="title" class=dialog_header>
|
|
|
+ <el-image class="imge" :src="shx" fit="cover" />
|
|
|
+ <span class="text-color">单元属性</span>
|
|
|
+ </div>
|
|
|
+ <div class="selecr">
|
|
|
+ <el-form>
|
|
|
+ <el-form-item label="单元类型" :label-width="formLabelWidth2">
|
|
|
+ <el-select @change="changest" v-model="jhval3" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in jhlist3"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="单元阶次" :label-width="formLabelWidth2">
|
|
|
+ <el-select @change="changest" v-model="jhval4" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in jhlist4"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="info" @click="dialog.attribute_visiable = false">取消</el-button>
|
|
|
+ <el-button type="primary" @click="dialog.attribute_visiable = false"
|
|
|
+ >确定</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <!-- 材料属性 -->
|
|
|
+ <el-dialog
|
|
|
+ v-if="active=='three-1'"
|
|
|
+ :visible.sync="dialog.materials_visiable"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ @close='activecleer()'
|
|
|
+ class="dialog"
|
|
|
+ :modal='false'
|
|
|
+ custom-class='dialoglocation dialog_color'
|
|
|
+ width="385px"
|
|
|
+ :style="styX"
|
|
|
+ >
|
|
|
+ <div slot="title" class=dialog_header>
|
|
|
+ <el-image class="imge" :src="shx2" fit="cover" />
|
|
|
+ <span class="text-color">材料属性</span>
|
|
|
+ </div>
|
|
|
+ <div class="selecr">
|
|
|
+ <el-form>
|
|
|
+ <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-checkbox v-model="checked">温度相关</el-checkbox>
|
|
|
+ <div class="line">
|
|
|
+ <div class="linetext">弹性</div>
|
|
|
+ </div>
|
|
|
+ <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 class="line">
|
|
|
+ <div class="linetext">塑性</div>
|
|
|
+ </div>
|
|
|
+ <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 class="line">
|
|
|
+ <div class="linetext">热</div>
|
|
|
+ </div>
|
|
|
+ <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="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>
|
|
|
+ </div>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="info" @click="dialog.materials_visiable= false">取消</el-button>
|
|
|
+ <el-button type="primary" @click="dialog.materials_visiable = false"
|
|
|
+ >确定</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <!-- 截面属性-->
|
|
|
+ <el-dialog
|
|
|
+ v-if="active=='three-2'"
|
|
|
+ :visible.sync="dialog.cross_visiable"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ @close='activecleer()'
|
|
|
+ class="dialog"
|
|
|
+ :modal='false'
|
|
|
+ custom-class='dialoglocation dialog_color'
|
|
|
+ width="385px"
|
|
|
+ :style="styX"
|
|
|
+ >
|
|
|
+ <div slot="title" class=dialog_header>
|
|
|
+ <el-image class="imge" :src="shx3" fit="cover" />
|
|
|
+ <span class="text-color">截面属性</span>
|
|
|
+ </div>
|
|
|
+ <div class="selecr">
|
|
|
+ <el-form>
|
|
|
+ <el-form-item label="类型" :label-width="formLabelWidth2">
|
|
|
+ <el-select @change="changest" v-model="femval" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in femlist"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <div v-if="femval!='2'">
|
|
|
+ <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" v-if="femval=='1'">
|
|
|
+ <el-input v-model="form.name" autocomplete="off"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="材料" :label-width="formLabelWidth2">
|
|
|
+ <el-select @change="changest" v-model="femval2" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in femlist2"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="区域" :label-width="formLabelWidth2">
|
|
|
+ <el-select @change="changest" v-model="femval3" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in femlist3"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="info" @click="dialog.cross_visiable = false">取消</el-button>
|
|
|
+ <el-button type="primary" @click="dialog.cross_visiable = false"
|
|
|
+ >确定</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import geometry from '../geometry/index.vue'
|
|
|
import meshindex from '../meshindex/index.vue'
|
|
|
+import result from '../result/index.vue'
|
|
|
+import toolindex from '../tool/index.vue'
|
|
|
+import c1 from '@/assets/icon/u9667.png'
|
|
|
+import shx from '@/assets/icon/u9689.png'
|
|
|
+import shx2 from '@/assets/icon/u9690.png'
|
|
|
+import shx3 from '@/assets/icon/u9694.png'
|
|
|
+
|
|
|
+import shx4 from '@/assets/icon/u3085.png'
|
|
|
+import shx5 from '@/assets/icon/u9840.png'
|
|
|
+import shx6 from '@/assets/icon/u9811.png'
|
|
|
+import shx7 from '@/assets/icon/u9847.png'
|
|
|
+import shx8 from '@/assets/icon/u9843.png'
|
|
|
+
|
|
|
+import shx9 from '@/assets/icon/u9838.png'
|
|
|
+import shx10 from '@/assets/icon/u9820.png'
|
|
|
+import shx11 from '@/assets/icon/u9846.png'
|
|
|
+import shx12 from '@/assets/icon/u9848.png'
|
|
|
+import shx13 from '@/assets/icon/u9843.png'
|
|
|
+import shx14 from '@/assets/icon/u9921.png'
|
|
|
+
|
|
|
+import shx15 from '@/assets/icon/u9838.png'
|
|
|
+import shx16 from '@/assets/icon/u9843.png'
|
|
|
+import shx17 from '@/assets/icon/u9840.png'
|
|
|
+import shx19 from '@/assets/icon/u9849.png'
|
|
|
+import shx20 from '@/assets/icon/u9842.png'
|
|
|
+
|
|
|
+import shx21 from '@/assets/icon/u9850.png'
|
|
|
+import shx22 from '@/assets/icon/u9852.png'
|
|
|
+import shx23 from '@/assets/icon/u9851.png'
|
|
|
+
|
|
|
export default {
|
|
|
- components:{geometry,meshindex},
|
|
|
+ components:{geometry,meshindex,result,toolindex},
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
+ checked:false,
|
|
|
+ c1,shx,shx2,shx3,
|
|
|
+ shx4,
|
|
|
+ shx5,
|
|
|
+ shx6,
|
|
|
+ shx7,
|
|
|
+ shx8,
|
|
|
+ shx9,
|
|
|
+ shx10,
|
|
|
+ shx11,
|
|
|
+ shx12,
|
|
|
+ shx13,
|
|
|
+ shx14,
|
|
|
+ shx15,
|
|
|
+ shx16,
|
|
|
+ shx17,
|
|
|
+ shx19,
|
|
|
+ shx20,
|
|
|
+ shx21,
|
|
|
+ shx22,
|
|
|
+ shx23,
|
|
|
+
|
|
|
+ activeName: 'one',
|
|
|
+ active:'',
|
|
|
+ styX:{
|
|
|
+ left:''
|
|
|
+ },
|
|
|
+ formLabelWidth: '60px',
|
|
|
+ formLabelWidth2:'73px',
|
|
|
+ formLabelWidth4:'37px',
|
|
|
+ formLabelWidth5:'100px',
|
|
|
+ formLabelWidth6:'120px',
|
|
|
+ formLabelWidth7:'170px',
|
|
|
+
|
|
|
+ form: {
|
|
|
+ name: '',
|
|
|
+ region: '',
|
|
|
+ date1: '',
|
|
|
+ date2: '',
|
|
|
+ delivery: false,
|
|
|
+ type: [],
|
|
|
+ resource: '',
|
|
|
+ desc: '',
|
|
|
+
|
|
|
+ },
|
|
|
+ dialog:{
|
|
|
+ create_visiable:false,
|
|
|
+ attribute_visiable:false,
|
|
|
+ materials_visiable:false,
|
|
|
+ cross_visiable:false,
|
|
|
+
|
|
|
+ },
|
|
|
+ jihlist:[
|
|
|
+ { icon:c1, titlie:'创建集合'},
|
|
|
+ ],
|
|
|
+ shxlist:[
|
|
|
+ { icon:shx, titlie:'单元属性'},
|
|
|
+ { icon:shx2, titlie:'材料属性'},
|
|
|
+ { icon:shx3, titlie:'截面属性'},
|
|
|
+ ],
|
|
|
+ zhlist:[
|
|
|
+ { icon:shx4, titlie:'节点类-位移约束力'},
|
|
|
+ { icon:shx5, titlie:'节点类-速度'},
|
|
|
+ { icon:shx6, titlie:'节点类-集中力'},
|
|
|
+ { icon:shx7, titlie:'节点类-加速度'},
|
|
|
+ { icon:shx8, titlie:'节点类-温度约束'},
|
|
|
+ ],
|
|
|
+ zhlist2:[
|
|
|
+ { icon:shx9, titlie:'单元类-位移'},
|
|
|
+ { icon:shx10, titlie:'单元类-惯性力'},
|
|
|
+ { icon:shx11, titlie:'单元类-压力'},
|
|
|
+ { icon:shx12, titlie:'单元类-均布力'},
|
|
|
+ { icon:shx13, titlie:'单元类-温度'},
|
|
|
+ { icon:shx14, titlie:'单元类-重力'},
|
|
|
+ ],
|
|
|
+ zhlist3:[
|
|
|
+ { icon:shx15, titlie:'初始条件-位移'},
|
|
|
+ { icon:shx16, titlie:'初始条件-温度'},
|
|
|
+ { icon:shx17, titlie:'初始条件-速度'},
|
|
|
+ { icon:shx19, titlie:'初始条件-塑性应变'},
|
|
|
+ { icon:shx20, titlie:'初始条件-应力'},
|
|
|
+ ],
|
|
|
+ zhlist4:[
|
|
|
+ { icon:shx21, titlie:'接触体-变形体'},
|
|
|
+ { icon:shx22, titlie:'接触体-接触属性'},
|
|
|
+ { icon:shx23, titlie:'接触体-接触对'},
|
|
|
+ ],
|
|
|
+ jhlist:[
|
|
|
+ {value:'0',name:'节点集合'},
|
|
|
+ {value:'1',name:'单元集合'},
|
|
|
+ {value:'2',name:'表面集合'},
|
|
|
+ ],
|
|
|
+ jhval:'0',
|
|
|
+ jhlist2:[
|
|
|
+ {value:'0',name:'集合1'},
|
|
|
+ {value:'1',name:'集合2'},
|
|
|
+ ],
|
|
|
+ jhval2:'0',
|
|
|
+ jhlist3:[
|
|
|
+ {value:'0',name:'显示分析单元'},
|
|
|
+ {value:'1',name:'隐式分新单元'},
|
|
|
+ {value:'2',name:'传热单元'},
|
|
|
+ ],
|
|
|
+ jhval3:'0',
|
|
|
+ jhlist4:[
|
|
|
+ {value:'0',name:'一阶'},
|
|
|
+ {value:'1',name:'二阶'},
|
|
|
+ ],
|
|
|
+ jhval4:'0',
|
|
|
+ femlist:[
|
|
|
+ {value:'0',name:'实体截面'},
|
|
|
+ {value:'1',name:'板壳截面'},
|
|
|
+ {value:'2',name:'梁截面'},
|
|
|
+ ],
|
|
|
+ femval:'0',
|
|
|
+ femlist2:[
|
|
|
+ {value:'0',name:'选择已定义的材料'},
|
|
|
+
|
|
|
+ ],
|
|
|
+ femval2:'0',
|
|
|
+ femlist3:[
|
|
|
+ {value:'0',name:'选择单元几何名称'},
|
|
|
+ ],
|
|
|
+ femval3:'0',
|
|
|
}
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+ //
|
|
|
+ changest(){
|
|
|
+
|
|
|
+ },
|
|
|
+ handleClick(tab, event) {
|
|
|
+ this.activecleer();
|
|
|
+ },
|
|
|
+ activecleer(){
|
|
|
+ this.active=11;
|
|
|
+ },
|
|
|
+ //模块选择
|
|
|
+ clickgeometry(e,index,key){
|
|
|
+var e=e||window.Event
|
|
|
+this.styX.left=e.clientX+'px';
|
|
|
+ this.active=key;
|
|
|
+ console.log(key)
|
|
|
+ switch(key){
|
|
|
+ case 'two-0':
|
|
|
+ this.dialog.create_visiable=true;
|
|
|
+ break;
|
|
|
+ case 'three-0':
|
|
|
+ this.dialog.attribute_visiable =true;
|
|
|
+ break;
|
|
|
+ case 'three-1':
|
|
|
+ this.dialog.materials_visiable=true;
|
|
|
+ break;
|
|
|
+ case 'three-2':
|
|
|
+ this.dialog.cross_visiable =true;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
}
|
|
|
+
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style>
|
|
|
+
|
|
|
+.leading .el-input__inner{
|
|
|
+height: 30px;
|
|
|
+line-height: 30px;
|
|
|
}
|
|
|
-</script>
|
|
|
+</style>
|
|
|
+<style lang="scss" scoped>
|
|
|
+@import '@/styles/variables.scss';
|
|
|
+@import '@/styles/mixin.scss';
|
|
|
+.btnaniu{
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
+.cj{
|
|
|
+ height: 20px;
|
|
|
+ line-height: 0px;
|
|
|
+ font-size: 12px;
|
|
|
+ padding: 10px 13px;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|