|
@@ -45,7 +45,7 @@
|
|
:class="{ activeOrange: active == 'Role11' + index }"
|
|
:class="{ activeOrange: active == 'Role11' + index }"
|
|
@click="clickgeometry($event, index, 'Role11' + index, item.titlie)">
|
|
@click="clickgeometry($event, index, 'Role11' + index, item.titlie)">
|
|
<el-image :src="getImgPath(item.url)" fit="cover" />
|
|
<el-image :src="getImgPath(item.url)" fit="cover" />
|
|
- <el-color-picker v-model="color1" @change="colorpicker()" />
|
|
|
|
|
|
+ <el-color-picker v-model="color1" @change="colorpicker()" :class="{'is-show-panel': showTrigger}" />
|
|
<span>{{ item.titlie }}</span>
|
|
<span>{{ item.titlie }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -797,19 +797,47 @@
|
|
<!-- 放图形 -->
|
|
<!-- 放图形 -->
|
|
<div class="main_container">
|
|
<div class="main_container">
|
|
<div class="main_model">
|
|
<div class="main_model">
|
|
- <vuefindex ref="vuefval" :optimizer="dialog.optimizer" @optimizerfalse="optimizerfalse()" ></vuefindex>
|
|
|
|
|
|
+
|
|
|
|
+ <vuefindex v-if="activeName=='Role'" ref="vuefval" :optimizer="dialog.optimizer" @optimizerfalse="optimizerfalse()" ></vuefindex>
|
|
<div class="maxh221">
|
|
<div class="maxh221">
|
|
-
|
|
|
|
- <!-- 右侧边栏开始 -->
|
|
|
|
- <!-- 优化监控echarts -->
|
|
|
|
- <div class="opt_moitor" v-if="tabactive=='优化监控'">
|
|
|
|
- <optmonitor />
|
|
|
|
|
|
+ <!-- 中间部分 -->
|
|
|
|
+ <div class="conter_mian classtable " v-if="activeName=='Three'&&tabactive=='列表监控'">
|
|
|
|
+ <el-table :data="tableDatalieb" border style="display: flex; flex: 1; overflow: auto;" max-height="600">
|
|
|
|
+ <el-table-column type="index" width="30" />
|
|
|
|
+ <el-table-column prop="x1" label="x1" />
|
|
|
|
+ <el-table-column prop="x2" label="x2" />
|
|
|
|
+ <el-table-column prop="x3" label="x3" />
|
|
|
|
+ <el-table-column prop="x4" label="x4" />
|
|
|
|
+ <el-table-column prop="x5" label="x5" />
|
|
|
|
+ <el-table-column prop="x6" label="x6" />
|
|
|
|
+ <el-table-column prop="x7" label="x7" />
|
|
|
|
+ <el-table-column prop="x8" label="x8" />
|
|
|
|
+ <el-table-column prop="x9" label="x9" />
|
|
|
|
+ <el-table-column prop="x10" label="x10" />
|
|
|
|
+ <el-table-column prop="x11" label="x11" />
|
|
|
|
+ <el-table-column prop="x12" label="x12" />
|
|
|
|
+ <el-table-column prop="x13" label="x13" />
|
|
|
|
+ <el-table-column prop="x14" label="x14" />
|
|
|
|
+ <el-table-column prop="x15" label="x15" />
|
|
|
|
+ <el-table-column prop="cd" label="cd/cl" />
|
|
|
|
+ </el-table>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 曲线监控 -->
|
|
|
|
+ <div class="conter_mian classtable " v-if="activeName=='Three'&&tabactive=='曲线监控'">
|
|
|
|
+ <el-form-item label="" >
|
|
|
|
+ <el-select v-model="quval" :suffix-icon="CaretBottom" placeholder="请选择">
|
|
|
|
+ <el-option v-for="item in quxian" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <optmonitor :selval="quval"/>
|
|
</div>
|
|
</div>
|
|
- <div class="opt_moitor" v-if="tabactive=='可视化'">
|
|
|
|
- <sixtop />
|
|
|
|
- <sixbottom/>
|
|
|
|
-
|
|
|
|
|
|
+ <!-- 过程监控 -->
|
|
|
|
+ <div class="conter_mian classtable conter_flex" v-if="activeName=='Three'&&tabactive=='过程监控'">
|
|
|
|
+ <div class="echart_left ech">left</div>
|
|
|
|
+ <div class="echart_right ech">right</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <!-- 右侧边栏开始 -->
|
|
<!-- 结束 -->
|
|
<!-- 结束 -->
|
|
</div>
|
|
</div>
|
|
<el-footer
|
|
<el-footer
|
|
@@ -1031,6 +1059,7 @@
|
|
import gc3 from "@/assets/img/gc3.png"
|
|
import gc3 from "@/assets/img/gc3.png"
|
|
import wen from "@/assets/img/wen.png"
|
|
import wen from "@/assets/img/wen.png"
|
|
import optmonitor from './echart/optimize_monitor.vue'
|
|
import optmonitor from './echart/optimize_monitor.vue'
|
|
|
|
+ import echartindex from './echart/index.vue'
|
|
import sixtop from './echart/six_top.vue'
|
|
import sixtop from './echart/six_top.vue'
|
|
import sixbottom from './echart/six_bottom.vue'
|
|
import sixbottom from './echart/six_bottom.vue'
|
|
import sixindex from './demo/index.vue'
|
|
import sixindex from './demo/index.vue'
|
|
@@ -1046,9 +1075,22 @@
|
|
let tabName=ref("one")
|
|
let tabName=ref("one")
|
|
const tabs = ['信息栏', '优化问题'];
|
|
const tabs = ['信息栏', '优化问题'];
|
|
const listli = ['设计变量', '约束条件', '优化目标'];
|
|
const listli = ['设计变量', '约束条件', '优化目标'];
|
|
|
|
+ // let quxian=ref([{
|
|
|
|
+ // val:'1',name:"设计变量",
|
|
|
|
+ // val:'2',name:"约束条件",
|
|
|
|
+ // val:'3',name:"约束条件",
|
|
|
|
+ // }])
|
|
|
|
+ // let quval=ref('1')
|
|
|
|
+ let quxian = ref([
|
|
|
|
+ { label: '设计变量', value: '设计变量' },
|
|
|
|
+ { label: '约束条件', value: '约束条件' },
|
|
|
|
+ { label: '优化目标', value: '优化目标' },
|
|
|
|
+])
|
|
|
|
+let quval = ref("设计变量")
|
|
const activeIndex = ref(0);
|
|
const activeIndex = ref(0);
|
|
const activeIndex2 = ref(0);
|
|
const activeIndex2 = ref(0);
|
|
- const color1 = ref('')
|
|
|
|
|
|
+ const color1 = ref('');
|
|
|
|
+ let showTrigger=ref(false);
|
|
const datatree = ref([
|
|
const datatree = ref([
|
|
{
|
|
{
|
|
id:1,
|
|
id:1,
|
|
@@ -1301,6 +1343,7 @@ let options3=ref([
|
|
let yslist = ref([
|
|
let yslist = ref([
|
|
{ label: 'GA遗传算法', value: 'GA遗传算法' },
|
|
{ label: 'GA遗传算法', value: 'GA遗传算法' },
|
|
{ label: 'PSO', value: 'PSO' },
|
|
{ label: 'PSO', value: 'PSO' },
|
|
|
|
+ { label: 'NSGA2', value: 'NSGA2' },
|
|
])
|
|
])
|
|
let addval1=ref("概率相乘法")
|
|
let addval1=ref("概率相乘法")
|
|
let addlist1 = ref([
|
|
let addlist1 = ref([
|
|
@@ -1437,7 +1480,43 @@ let options3=ref([
|
|
|
|
|
|
},
|
|
},
|
|
])
|
|
])
|
|
-
|
|
|
|
|
|
+ let tableDatalieb=ref([
|
|
|
|
+ {
|
|
|
|
+ x1:"02",
|
|
|
|
+ x2: '33456833',
|
|
|
|
+ x3:"02",
|
|
|
|
+ x4: '20160503',
|
|
|
|
+ x5:"02",
|
|
|
|
+ x6: '20160503',
|
|
|
|
+ x7:"02",
|
|
|
|
+ x8: '20160503',
|
|
|
|
+ x9:"02",
|
|
|
|
+ x10: '20160503',
|
|
|
|
+ x11:"02",
|
|
|
|
+ x12: '20160503',
|
|
|
|
+ x13:"02",
|
|
|
|
+ x14: '20160503',
|
|
|
|
+ x15: '20160503',
|
|
|
|
+ cd: '20160503',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ x1:"02",
|
|
|
|
+ x2: '33456833',
|
|
|
|
+ x3:"02",
|
|
|
|
+ x4: '20160503',
|
|
|
|
+ x5:"02",
|
|
|
|
+ x6: '20160503',
|
|
|
|
+ x7:"02",
|
|
|
|
+ x8: '20160503',
|
|
|
|
+ x9:"02",
|
|
|
|
+ x10: '20160503',
|
|
|
|
+ x11:"02",
|
|
|
|
+ x12: '20160503',
|
|
|
|
+ x13:"02",
|
|
|
|
+ x14: '20160503',
|
|
|
|
+ cd: '20160503',
|
|
|
|
+ },
|
|
|
|
+ ])
|
|
let name = ref("1")
|
|
let name = ref("1")
|
|
let num = ref(1)
|
|
let num = ref(1)
|
|
const getImgPath = (url) => {
|
|
const getImgPath = (url) => {
|
|
@@ -1532,6 +1611,7 @@ let options3=ref([
|
|
dialog.value.guanli = true;
|
|
dialog.value.guanli = true;
|
|
break;
|
|
break;
|
|
case "选择连线颜色":
|
|
case "选择连线颜色":
|
|
|
|
+ showTrigger.value= true;
|
|
break;
|
|
break;
|
|
case "逻辑流连线":
|
|
case "逻辑流连线":
|
|
vuefval.value.linestrokeWidth(1);
|
|
vuefval.value.linestrokeWidth(1);
|
|
@@ -1612,6 +1692,13 @@ let options3=ref([
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+ .conter_flex{
|
|
|
|
+ display: flex;
|
|
|
|
+ .ech{
|
|
|
|
+ flex: 1;
|
|
|
|
+ border: 1px solid;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
//有子节点 且未展开
|
|
//有子节点 且未展开
|
|
.left_main_content :deep(.el-icon svg) {
|
|
.left_main_content :deep(.el-icon svg) {
|
|
display: block;
|
|
display: block;
|
|
@@ -1761,4 +1848,16 @@ border: 1px solid #2267B1;
|
|
.classtable .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf,.eldesign{
|
|
.classtable .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf,.eldesign{
|
|
/* border: 1px solid #000000; */
|
|
/* border: 1px solid #000000; */
|
|
}
|
|
}
|
|
|
|
+/* .el-color-picker__trigger {
|
|
|
|
+ //display: none;
|
|
|
|
+} */
|
|
|
|
+
|
|
|
|
+/* 使颜色选择器的触发器可点击,但不显示 */
|
|
|
|
+.el-color-picker__trigger.is-show-panel {
|
|
|
|
+ display: block;
|
|
|
|
+}
|
|
|
|
+.conter_mian{
|
|
|
|
+ padding: 1px;
|
|
|
|
+}
|
|
|
|
+
|
|
</style>
|
|
</style>
|