|  | @@ -820,7 +820,7 @@
 | 
											
												
													
														|  |                <div class="dialog-footer">
 |  |                <div class="dialog-footer">
 | 
											
												
													
														|  |                  
 |  |                  
 | 
											
												
													
														|  |                  <el-button @click="dialog.echartLinedialog = false">取消</el-button>
 |  |                  <el-button @click="dialog.echartLinedialog = false">取消</el-button>
 | 
											
												
													
														|  | -                <el-button type="primary" @click="selectshujuto2();dialog.echartLinedialog = false">
 |  | 
 | 
											
												
													
														|  | 
 |  | +                <el-button type="primary" @click="selectshujuto();dialog.echartLinedialog = false">
 | 
											
												
													
														|  |                    确定
 |  |                    确定
 | 
											
												
													
														|  |                  </el-button>
 |  |                  </el-button>
 | 
											
												
													
														|  |                </div>
 |  |                </div>
 | 
											
										
											
												
													
														|  | @@ -1361,6 +1361,8 @@
 | 
											
												
													
														|  |                    </div>
 |  |                    </div>
 | 
											
												
													
														|  |                    <!-- 可视化开始 -->
 |  |                    <!-- 可视化开始 -->
 | 
											
												
													
														|  |                    <div class="conter_mian classtable echartcont" v-show="echartzongshow">
 |  |                    <div class="conter_mian classtable echartcont" v-show="echartzongshow">
 | 
											
												
													
														|  | 
 |  | +                    <tablelist ref="tablelistref" v-show="tablelistshow" :tablelistshow="tablelistshow" 
 | 
											
												
													
														|  | 
 |  | +                        :tabledataliebiao="datatotabledata" :tableHeaders="datatotableheader"/>
 | 
											
												
													
														|  |                      <echartarea ref="arearef" v-show="areashow" :areashow="areashow"/>
 |  |                      <echartarea ref="arearef" v-show="areashow" :areashow="areashow"/>
 | 
											
												
													
														|  |                      <bargraph ref="bargraphref" v-show="bargraphshow" :bargraphshow="bargraphshow"/>
 |  |                      <bargraph ref="bargraphref" v-show="bargraphshow" :bargraphshow="bargraphshow"/>
 | 
											
												
													
														|  |                      <echartLine ref="echartLineref" v-show="echartLineshow" :echartLineshow="echartLineshow"/>
 |  |                      <echartLine ref="echartLineref" v-show="echartLineshow" :echartLineshow="echartLineshow"/>
 | 
											
										
											
												
													
														|  | @@ -1633,6 +1635,7 @@ import sixchine from './demo/chine.vue'
 | 
											
												
													
														|  |  import vuefindex from './vuetree/index.vue'
 |  |  import vuefindex from './vuetree/index.vue'
 | 
											
												
													
														|  |  import Sidebar from './vuetree/Sidebar.vue'
 |  |  import Sidebar from './vuetree/Sidebar.vue'
 | 
											
												
													
														|  |  // 可视化echart
 |  |  // 可视化echart
 | 
											
												
													
														|  | 
 |  | +import tablelist from './echart/tablelist.vue'
 | 
											
												
													
														|  |  import echartarea from './echart/area.vue'
 |  |  import echartarea from './echart/area.vue'
 | 
											
												
													
														|  |  import bargraph from './echart/bargraph.vue'
 |  |  import bargraph from './echart/bargraph.vue'
 | 
											
												
													
														|  |  import echartLine from './echart/echartLine.vue'
 |  |  import echartLine from './echart/echartLine.vue'
 | 
											
										
											
												
													
														|  | @@ -1712,6 +1715,7 @@ let flowshow = ref(true);
 | 
											
												
													
														|  |  let jiankong = ref(false);
 |  |  let jiankong = ref(false);
 | 
											
												
													
														|  |  let echartshow = ref(false);
 |  |  let echartshow = ref(false);
 | 
											
												
													
														|  |  let echartshow2 = ref(false);
 |  |  let echartshow2 = ref(false);
 | 
											
												
													
														|  | 
 |  | +let tablelistshow = ref(false);
 | 
											
												
													
														|  |  let areashow = ref(false);
 |  |  let areashow = ref(false);
 | 
											
												
													
														|  |  let echartLineshow = ref(false);
 |  |  let echartLineshow = ref(false);
 | 
											
												
													
														|  |  let BarChartshow = ref(false);
 |  |  let BarChartshow = ref(false);
 | 
											
										
											
												
													
														|  | @@ -1730,18 +1734,8 @@ let scatterref = ref();
 | 
											
												
													
														|  |  let echartzongshow = ref(false);
 |  |  let echartzongshow = ref(false);
 | 
											
												
													
														|  |  const router = useRouter();
 |  |  const router = useRouter();
 | 
											
												
													
														|  |  const route = useRoute();
 |  |  const route = useRoute();
 | 
											
												
													
														|  | -let youhua = ref({
 |  | 
 | 
											
												
													
														|  | -  algorithm: 'GA',
 |  | 
 | 
											
												
													
														|  | -  popsize: 100,
 |  | 
 | 
											
												
													
														|  | -  epoch: 100,
 |  | 
 | 
											
												
													
														|  | -  probcrossover: 0.1,
 |  | 
 | 
											
												
													
														|  | -  probmut: 0.1,
 |  | 
 | 
											
												
													
														|  | -  proboperator: 'SBX交叉',
 |  | 
 | 
											
												
													
														|  | -  probscale: 1,
 |  | 
 | 
											
												
													
														|  | -  strategy: '最佳保留策略',
 |  | 
 | 
											
												
													
														|  | -  operator: '倒位变异',
 |  | 
 | 
											
												
													
														|  | -  gpu: 'YES'
 |  | 
 | 
											
												
													
														|  | -})
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +let tablelistref = ref();
 | 
											
												
													
														|  |  let echartdata = ref(null);
 |  |  let echartdata = ref(null);
 | 
											
												
													
														|  |  let optmonitor1 = ref();
 |  |  let optmonitor1 = ref();
 | 
											
												
													
														|  |  let processMonitor1ref = ref()
 |  |  let processMonitor1ref = ref()
 | 
											
										
											
												
													
														|  | @@ -2269,7 +2263,7 @@ const handleClick = (tab, event) => {
 | 
											
												
													
														|  |    // 可视化标签页
 |  |    // 可视化标签页
 | 
											
												
													
														|  |    if (tabactive.value == 'Config') {
 |  |    if (tabactive.value == 'Config') {
 | 
											
												
													
														|  |      echartzongshow.value = true;
 |  |      echartzongshow.value = true;
 | 
											
												
													
														|  | -    // curveLine();
 |  | 
 | 
											
												
													
														|  | 
 |  | +    curveLine4();
 | 
											
												
													
														|  |    } else {
 |  |    } else {
 | 
											
												
													
														|  |      echartzongshow.value = false;
 |  |      echartzongshow.value = false;
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
										
											
												
													
														|  | @@ -2717,13 +2711,20 @@ const dialogbolen = () => {
 | 
											
												
													
														|  |      case "折线图":
 |  |      case "折线图":
 | 
											
												
													
														|  |        dialog.value.echartLinedialog = true;
 |  |        dialog.value.echartLinedialog = true;
 | 
											
												
													
														|  |        echatsfunc();
 |  |        echatsfunc();
 | 
											
												
													
														|  | -      curveLine4();
 |  | 
 | 
											
												
													
														|  | 
 |  | +      // curveLine4();
 | 
											
												
													
														|  | 
 |  | +      nextTick(() => {
 | 
											
												
													
														|  | 
 |  | +        initListSe();
 | 
											
												
													
														|  | 
 |  | +      });
 | 
											
												
													
														|  | 
 |  | +      
 | 
											
												
													
														|  |        break;
 |  |        break;
 | 
											
												
													
														|  |      case "散点图":
 |  |      case "散点图":
 | 
											
												
													
														|  |        // logsget();
 |  |        // logsget();
 | 
											
												
													
														|  |        dialog.value.scatterdialog = true;
 |  |        dialog.value.scatterdialog = true;
 | 
											
												
													
														|  |        echatsfunc();
 |  |        echatsfunc();
 | 
											
												
													
														|  | -      curveLine4();
 |  | 
 | 
											
												
													
														|  | 
 |  | +      // curveLine4();
 | 
											
												
													
														|  | 
 |  | +      nextTick(() => {
 | 
											
												
													
														|  | 
 |  | +        initListSe();
 | 
											
												
													
														|  | 
 |  | +      });
 | 
											
												
													
														|  |        break;
 |  |        break;
 | 
											
												
													
														|  |      case "横条图":
 |  |      case "横条图":
 | 
											
												
													
														|  |        echatsfunc();
 |  |        echatsfunc();
 | 
											
										
											
												
													
														|  | @@ -2765,7 +2766,19 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |    //echartzongshow.value=true;
 |  |    //echartzongshow.value=true;
 | 
											
												
													
														|  |    // echartclear();
 |  |    // echartclear();
 | 
											
												
													
														|  |    switch (tabactive.value) {
 |  |    switch (tabactive.value) {
 | 
											
												
													
														|  | 
 |  | +    case "列表":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = true;
 | 
											
												
													
														|  | 
 |  | +      areashow.value = false;
 | 
											
												
													
														|  | 
 |  | +      bargraphshow.value = false;
 | 
											
												
													
														|  | 
 |  | +      echartLineshow.value = false;
 | 
											
												
													
														|  | 
 |  | +      BarChartshow.value = false;
 | 
											
												
													
														|  | 
 |  | +      radarshow.value = false;
 | 
											
												
													
														|  | 
 |  | +      scattershow.value = false;
 | 
											
												
													
														|  | 
 |  | +      pieshow = false;
 | 
											
												
													
														|  | 
 |  | +      paretoshow =false;
 | 
											
												
													
														|  | 
 |  | +      break;
 | 
											
												
													
														|  |      case "面积图":
 |  |      case "面积图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = true;
 |  |        areashow.value = true;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -2776,6 +2789,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow =false;
 |  |        paretoshow =false;
 | 
											
												
													
														|  |        break;
 |  |        break;
 | 
											
												
													
														|  |      case "柱状图":
 |  |      case "柱状图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = true;
 |  |        bargraphshow.value = true;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -2786,6 +2800,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow = false;
 |  |        paretoshow = false;
 | 
											
												
													
														|  |        break;
 |  |        break;
 | 
											
												
													
														|  |      case "饼状图":
 |  |      case "饼状图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -2796,6 +2811,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow = false;
 |  |        paretoshow = false;
 | 
											
												
													
														|  |        break;
 |  |        break;
 | 
											
												
													
														|  |      case "折线图":
 |  |      case "折线图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = true;
 |  |        echartLineshow.value = true;
 | 
											
										
											
												
													
														|  | @@ -2806,6 +2822,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow = false;
 |  |        paretoshow = false;
 | 
											
												
													
														|  |        break;
 |  |        break;
 | 
											
												
													
														|  |      case "散点图":
 |  |      case "散点图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -2816,6 +2833,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow = false;
 |  |        paretoshow = false;
 | 
											
												
													
														|  |        break
 |  |        break
 | 
											
												
													
														|  |      case "横条图":
 |  |      case "横条图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -2826,6 +2844,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow = false;
 |  |        paretoshow = false;
 | 
											
												
													
														|  |        break
 |  |        break
 | 
											
												
													
														|  |      case "雷达图":
 |  |      case "雷达图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -2836,6 +2855,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow = false;
 |  |        paretoshow = false;
 | 
											
												
													
														|  |        break
 |  |        break
 | 
											
												
													
														|  |      case "帕雷托图":
 |  |      case "帕雷托图":
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -2846,6 +2866,7 @@ const echatsfunc = () => {
 | 
											
												
													
														|  |        paretoshow = true;
 |  |        paretoshow = true;
 | 
											
												
													
														|  |        break
 |  |        break
 | 
											
												
													
														|  |      default:
 |  |      default:
 | 
											
												
													
														|  | 
 |  | +      tablelistshow.value = false;
 | 
											
												
													
														|  |        areashow.value = false;
 |  |        areashow.value = false;
 | 
											
												
													
														|  |        bargraphshow.value = false;
 |  |        bargraphshow.value = false;
 | 
											
												
													
														|  |        echartLineshow.value = false;
 |  |        echartLineshow.value = false;
 | 
											
										
											
												
													
														|  | @@ -3066,8 +3087,8 @@ const curveLine4 = () => {
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |        console.log("表格数据:", datatotabledata.value);
 |  |        console.log("表格数据:", datatotabledata.value);
 | 
											
												
													
														|  |        console.log("表头数据:", datatotableheader.value);
 |  |        console.log("表头数据:", datatotableheader.value);
 | 
											
												
													
														|  | -      emitter.emit('update:datatotableheader', datatotableheader.value);
 |  | 
 | 
											
												
													
														|  | -      emitter.emit('update:datatotabledata', datatotabledata.value);
 |  | 
 | 
											
												
													
														|  | 
 |  | +      // emitter.emit('update:datatotableheader', datatotableheader.value);
 | 
											
												
													
														|  | 
 |  | +      // emitter.emit('update:datatotabledata', datatotabledata.value);
 | 
											
												
													
														|  |        // scatterref.value.getshuju(datatotableheader.value,datatotabledata.value);
 |  |        // scatterref.value.getshuju(datatotableheader.value,datatotabledata.value);
 | 
											
												
													
														|  |        // echartLineref.value.getshuju(datatotableheader.value,datatotabledata.value);
 |  |        // echartLineref.value.getshuju(datatotableheader.value,datatotabledata.value);
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
										
											
												
													
														|  | @@ -3075,6 +3096,12 @@ const curveLine4 = () => {
 | 
											
												
													
														|  |        ElMessage.error(err.returnMsg)
 |  |        ElMessage.error(err.returnMsg)
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +const initListSe = () => {
 | 
											
												
													
														|  | 
 |  | +  emitter.emit('update:datatotableheader', datatotableheader.value);
 | 
											
												
													
														|  | 
 |  | +  emitter.emit('update:datatotabledata', datatotabledata.value);
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  let datatotableheader = ref([]);
 |  |  let datatotableheader = ref([]);
 | 
											
												
													
														|  |  let datatotabledata = ref([]);
 |  |  let datatotabledata = ref([]);
 | 
											
												
													
														|  |  // 解析数据到表格
 |  |  // 解析数据到表格
 | 
											
										
											
												
													
														|  | @@ -3143,6 +3170,7 @@ const datatotable = (vars, vals) => {
 | 
											
												
													
														|  |  let listcbval = ref([]);
 |  |  let listcbval = ref([]);
 | 
											
												
													
														|  |  let listcbval2 = ref([]);
 |  |  let listcbval2 = ref([]);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +// 选择框值更新
 | 
											
												
													
														|  |  const handleUpdate = (name, value) => {
 |  |  const handleUpdate = (name, value) => {
 | 
											
												
													
														|  |    if (name === 'listcbval') {
 |  |    if (name === 'listcbval') {
 | 
											
												
													
														|  |      listcbval.value = value;
 |  |      listcbval.value = value;
 | 
											
										
											
												
													
														|  | @@ -3153,14 +3181,14 @@ const handleUpdate = (name, value) => {
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +// 列表,散点,折线图选择数据==>曲线绘制
 | 
											
												
													
														|  |  const selectshujuto = () => {
 |  |  const selectshujuto = () => {
 | 
											
												
													
														|  | -  console.log("选择数据");
 |  | 
 | 
											
												
													
														|  | -  scatterref.value.selectshuju(listcbval.value,listcbval2.value,datatotableheader.value,datatotabledata.value);
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -const selectshujuto2 = () => {
 |  | 
 | 
											
												
													
														|  | -  console.log("选择数据");
 |  | 
 | 
											
												
													
														|  | -  echartLineref.value.selectshuju(listcbval.value,listcbval2.value,datatotableheader.value,datatotabledata.value);
 |  | 
 | 
											
												
													
														|  | 
 |  | +  console.log("确认:",tabactive.value);
 | 
											
												
													
														|  | 
 |  | +  if(tabactive.value === '散点图'){
 | 
											
												
													
														|  | 
 |  | +    scatterref.value.selectshuju(listcbval.value,listcbval2.value,datatotableheader.value,datatotabledata.value);
 | 
											
												
													
														|  | 
 |  | +  }else if(tabactive.value === '折线图'){
 | 
											
												
													
														|  | 
 |  | +    echartLineref.value.selectshuju(listcbval.value,listcbval2.value,datatotableheader.value,datatotabledata.value);
 | 
											
												
													
														|  | 
 |  | +  }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -3782,7 +3810,7 @@ const scdelete = (index, row) => {
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | -// 表格
 |  | 
 | 
											
												
													
														|  | 
 |  | +// 用于实时更新表格数据
 | 
											
												
													
														|  |  function tablefun(vars, vals) {
 |  |  function tablefun(vars, vals) {
 | 
											
												
													
														|  |      console.log('表格更新');
 |  |      console.log('表格更新');
 | 
											
												
													
														|  |      
 |  |      
 | 
											
										
											
												
													
														|  | @@ -3801,7 +3829,7 @@ function tablefun(vars, vals) {
 | 
											
												
													
														|  |      // 更新表格数据
 |  |      // 更新表格数据
 | 
											
												
													
														|  |      tableDatalieb.value.push(rowData);
 |  |      tableDatalieb.value.push(rowData);
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +// 用于更新表格数据
 | 
											
												
													
														|  |  const tablefun1 = (vars, vals) => {
 |  |  const tablefun1 = (vars, vals) => {
 | 
											
												
													
														|  |    console.log('表格更新');
 |  |    console.log('表格更新');
 | 
											
												
													
														|  |    
 |  |    
 |