|
@@ -57,6 +57,10 @@
|
|
|
<span>{{ undmodel }}</span>
|
|
|
<el-select v-model="undmodel" class="no-border headersele" :suffix-icon="CaretBottom">
|
|
|
<el-option v-for="item in options4" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ <div style="display: flex; align-items: center;">
|
|
|
+ <img :src="item.icon" style="width: 20px; height: 20px; margin-right: 10px;" />
|
|
|
+ <span>{{ item.label }}</span>
|
|
|
+ </div>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
@@ -897,7 +901,7 @@
|
|
|
<template #header="{ titleId, titleClass }">
|
|
|
<div class="my-header ">
|
|
|
<el-image :src="getImgPath('xuek9.png')" fit="contain"></el-image>
|
|
|
- <h4 :id="titleId" :class="titleClass">Xfiol</h4>
|
|
|
+ <h4 :id="titleId" :class="titleClass">Xfoil</h4>
|
|
|
</div>
|
|
|
</template>
|
|
|
<Xfoil/>
|
|
@@ -1789,6 +1793,9 @@ import y2 from "@/assets/img/y2.png"
|
|
|
import nos from "@/assets/img/nos.png"
|
|
|
import zy from "@/assets/img/zy.png"
|
|
|
import zy2 from "@/assets/img/zy2.png"
|
|
|
+import xuek10 from '@/assets/flowimg/xuek10.png'
|
|
|
+import xuek11 from '@/assets/flowimg/xuek11.png'
|
|
|
+import xuek12 from '@/assets/flowimg/xuek12.png'
|
|
|
import optmonitor from './echart/optimize_monitor.vue'
|
|
|
import echartindex from './echart/index.vue'
|
|
|
import sixtop from './echart/six_top.vue'
|
|
@@ -1841,9 +1848,9 @@ let optiongroup1 = ref([
|
|
|
{ label: '优化问题', value: '优化问题' }
|
|
|
])
|
|
|
let options4 = ref([
|
|
|
- { label: '进化优化器', value: '进化优化器' },
|
|
|
- { label: '代理优化器', value: '代理优化器' },
|
|
|
- { label: '梯度优化器', value: '梯度优化器' },
|
|
|
+ { label: '进化优化器', value: '进化优化器', icon:xuek10 },
|
|
|
+ { label: '代理优化器', value: '代理优化器', icon:xuek11 },
|
|
|
+ { label: '梯度优化器', value: '梯度优化器', icon:xuek12 },
|
|
|
])
|
|
|
let formLabelWidth3=ref(100)
|
|
|
let formLabelWidth200=ref(200)
|
|
@@ -2504,7 +2511,7 @@ const optimizerfalse = (val) => {
|
|
|
activeadf.value='ADflow';
|
|
|
dialog.value.isADflow = true;
|
|
|
// dialog.value. = true;
|
|
|
- }else if(val == 'Xfiol'){
|
|
|
+ }else if(val == 'Xfoil'){
|
|
|
// activeadf.value='Xfiol';
|
|
|
dialog.value.Xfiol = true;
|
|
|
}else if(val == 'TACS'){
|