|
@@ -39,6 +39,10 @@
|
|
|
<span>{{ f4ce }}</span>
|
|
|
<el-select v-model="f4ce" class="no-border headersele" :suffix-icon="CaretBottom">
|
|
|
<el-option v-for="item in optiongroup1" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ <div style="display: flex; align-items: center;">
|
|
|
+ <img :src="getflowImgPath(item.img)" style="width: 20px; height: 20px; margin-right: 10px;" />
|
|
|
+ <span>{{ item.label }}</span>
|
|
|
+ </div>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
@@ -46,10 +50,12 @@
|
|
|
<el-image :src="getImgPath('tow2.png')" fit="cover" />
|
|
|
<span>{{ modelban }}</span>
|
|
|
<el-select v-model="modelban" class="no-border headersele" :suffix-icon="CaretBottom">
|
|
|
- <el-option-group v-for="group in optiongroup" :key="group.label" :label="group.label">
|
|
|
- <el-option v-for="item in group.options" :key="item.value" :label="item.label"
|
|
|
- :value="item.value" />
|
|
|
- </el-option-group>
|
|
|
+ <el-option v-for="item in optiongroup" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ <div style="display: flex; align-items: center;">
|
|
|
+ <img :src="getflowImgPath(item.img)" style="width: 20px; height: 20px; margin-right: 10px;" />
|
|
|
+ <span>{{ item.label }}</span>
|
|
|
+ </div>
|
|
|
+ </el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="item2 margr" @click="clickgeometry($event, index, 'Role-' + '2', undmodel)">
|
|
@@ -1140,7 +1146,7 @@
|
|
|
|
|
|
<template #header="{ titleId, titleClass }">
|
|
|
<div class="my-header ">
|
|
|
- <el-image :src="getImgPath('t2.png')" fit="contain"></el-image>
|
|
|
+ <!-- <el-image :src="getImgPath('t2.png')" fit="contain"></el-image> -->
|
|
|
<h4 :id="titleId" :class="titleClass">优化算法:</h4>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -1308,7 +1314,7 @@
|
|
|
<!--left菜单栏 -->
|
|
|
<Sidebar ref="Sidebarref" />
|
|
|
<!-- 放图形 -->
|
|
|
- <div class="main_container">
|
|
|
+ <div class="right_container">
|
|
|
<div class="main_model">
|
|
|
<div class="jindutiao" v-show="progressshow">
|
|
|
<span style="width: 150px;">运行进度</span>
|
|
@@ -1697,7 +1703,7 @@ let f4ce = ref("优化问题组件");
|
|
|
let modelban = ref("学科分析组件");
|
|
|
let undmodel=ref('优化器组件');
|
|
|
let optiongroup1 = ref([
|
|
|
- { label: '优化问题', value: '优化问题' }
|
|
|
+ { label: '优化问题', value: '优化问题',img:'wen.png' }
|
|
|
])
|
|
|
let options4 = ref([
|
|
|
{ label: '进化优化器', value: '进化优化器', icon:xuek10 },
|
|
@@ -2143,39 +2149,23 @@ let tasklist = ref([
|
|
|
{ label: '噪声', value: '噪声' },
|
|
|
])
|
|
|
|
|
|
-const optiongroup = [
|
|
|
- {
|
|
|
- label: '大飞机',
|
|
|
- options: [
|
|
|
- {
|
|
|
- value: '气动优化',
|
|
|
- label: '气动优化',
|
|
|
- },
|
|
|
- {
|
|
|
- value: '气弹优化',
|
|
|
- label: '气弹优化',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- label: '直升机',
|
|
|
- options: [
|
|
|
- {
|
|
|
- value: '气动优化1',
|
|
|
- label: '气动优化',
|
|
|
- },
|
|
|
- {
|
|
|
- value: '气弹优化2',
|
|
|
- label: '气弹优化',
|
|
|
- },
|
|
|
- {
|
|
|
- value: '气动噪声优化',
|
|
|
- label: '气动噪声优化',
|
|
|
- },
|
|
|
-
|
|
|
- ],
|
|
|
- },
|
|
|
-]
|
|
|
+const optiongroup = ref([
|
|
|
+ { label: 'CST', value: 'CST', img:'xuek0.png' },
|
|
|
+ { label: 'FFD', value: 'FFD', img:'ffd.png' },
|
|
|
+ { label: 'Xfoil', value: 'Xfoil', img:'xuek9.png' },
|
|
|
+ { label: 'ADflow', value: 'ADflow', img:'ADflow.png' },
|
|
|
+ { label: 'TACS', value: 'TACS', img:'TACS.png' },
|
|
|
+ { label: 'CATIA', value: 'CATIA', img:'xuek1.png' },
|
|
|
+ { label: 'Python', value: 'Python', img:'xuek8.png' },
|
|
|
+ { label: 'Excel', value: 'Excel', img:'xuek2.png' },
|
|
|
+ { label: 'Feko', value: 'Feko', img:'xuek3.png' },
|
|
|
+ { label: 'Fluent', value: 'Fluent', img:'xuek4.png' },
|
|
|
+ { label: 'HCFD', value: 'HCFD', img:'xuek5.png' },
|
|
|
+ { label: 'Matlab', value: 'Matlab', img:'xuek6.png' },
|
|
|
+ { label: 'Nastran', value: 'Nastran', img:'xuek7.png' },
|
|
|
+ { label: 'FUM to FEM', value: 'FSI', img:'fsi.png' },
|
|
|
+ { label: 'Flight', value: 'Flight', img:'flight.png' },
|
|
|
+])
|
|
|
const eloptimize = ref([])
|
|
|
const tableData = ref([])
|
|
|
const designtable = ref([])
|
|
@@ -2212,6 +2202,10 @@ let num = ref(1)
|
|
|
const getImgPath = (url) => {
|
|
|
return new URL(`../assets/img/${url}`, import.meta.url).href
|
|
|
}
|
|
|
+const getflowImgPath = (url) => {
|
|
|
+ return new URL(`../assets/flowimg/${url}`, import.meta.url).href
|
|
|
+}
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
//console.log( Sidebarref.value.datatree);
|
|
|
|
|
@@ -2940,7 +2934,7 @@ const runok = () => {
|
|
|
})
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- ElMessage.error(err.returnMsg)
|
|
|
+ ElMessage.error('运行失败')
|
|
|
})
|
|
|
}
|
|
|
const tableKey = ref(0);
|
|
@@ -4419,7 +4413,7 @@ const lbjkheaderCellClassName = ({ columnIndex }) => {
|
|
|
font-family: 'Microsoft YaHei';
|
|
|
font-size: 16px;
|
|
|
color: rgba(51, 51, 51, 1);
|
|
|
- line-height: 24px;
|
|
|
+ /* line-height: 24px; */
|
|
|
text-align: left;
|
|
|
font-style: normal;
|
|
|
text-transform: none;
|
|
@@ -4442,7 +4436,7 @@ color: rgba(51, 51, 51, 0.8);
|
|
|
}
|
|
|
|
|
|
.custom-tree1>.el-tree-node>.el-tree-node__content>div img {
|
|
|
- display: none;
|
|
|
+ /* display: none; */
|
|
|
/* 隐藏一级节点复选框 */
|
|
|
}
|
|
|
|
|
@@ -4578,7 +4572,7 @@ color: #2267B1;
|
|
|
|
|
|
.classtable .el-table th .cell {
|
|
|
/* background: #fff; */
|
|
|
- /* line-height: 31px; */
|
|
|
+ line-height: 31px;
|
|
|
}
|
|
|
|
|
|
.classtable .el-table td.el-table__cell, .classtable .el-table th.el-table__cell{
|