|  | @@ -136,6 +136,7 @@
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |      </el-aside> -->
 |  |      </el-aside> -->
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  | 
 |  | +  <htmldialog ref="htmldialogref" :isshow='isshow' @funidshow="funidshow"/>
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  <script setup>
 |  |  <script setup>
 | 
											
												
													
														|  |  import { ref, onMounted, reactive, } from "vue";
 |  |  import { ref, onMounted, reactive, } from "vue";
 | 
											
										
											
												
													
														|  | @@ -154,6 +155,7 @@ import t1 from "@/assets/img/t1.png";
 | 
											
												
													
														|  |  import t2 from "@/assets/img/t2.png";
 |  |  import t2 from "@/assets/img/t2.png";
 | 
											
												
													
														|  |  import t3 from "@/assets/img/t3.png";
 |  |  import t3 from "@/assets/img/t3.png";
 | 
											
												
													
														|  |  import t4 from "@/assets/img/t4.png";
 |  |  import t4 from "@/assets/img/t4.png";
 | 
											
												
													
														|  | 
 |  | +import htmldialog from "./htmldialog.vue"
 | 
											
												
													
														|  |  let firstshow = ref(false);
 |  |  let firstshow = ref(false);
 | 
											
												
													
														|  |  let activeNames = ref(["1",'2']);
 |  |  let activeNames = ref(["1",'2']);
 | 
											
												
													
														|  |  let tableHeight = ref(130);
 |  |  let tableHeight = ref(130);
 | 
											
										
											
												
													
														|  | @@ -161,6 +163,7 @@ let playshow=ref(true);
 | 
											
												
													
														|  |  let suspendshow=ref(false);
 |  |  let suspendshow=ref(false);
 | 
											
												
													
														|  |  let showfalse=ref(false);
 |  |  let showfalse=ref(false);
 | 
											
												
													
														|  |  let c=ref("0");
 |  |  let c=ref("0");
 | 
											
												
													
														|  | 
 |  | +let htmldialogref=ref();
 | 
											
												
													
														|  |  let pa=ref("30s");
 |  |  let pa=ref("30s");
 | 
											
												
													
														|  |  const isstop = ref(false);
 |  |  const isstop = ref(false);
 | 
											
												
													
														|  |  let noneshow=ref(false);
 |  |  let noneshow=ref(false);
 | 
											
										
											
												
													
														|  | @@ -186,6 +189,9 @@ let warnin2=ref(0);
 | 
											
												
													
														|  |  const min = ref(0);
 |  |  const min = ref(0);
 | 
											
												
													
														|  |  const max = ref(1);
 |  |  const max = ref(1);
 | 
											
												
													
														|  |  let selelist=ref();
 |  |  let selelist=ref();
 | 
											
												
													
														|  | 
 |  | +let jgSelectPointId=ref(0);
 | 
											
												
													
														|  | 
 |  | +let selobj=ref([]);
 | 
											
												
													
														|  | 
 |  | +let isshow=ref(false);
 | 
											
												
													
														|  |  const dynamicHeaders = ref([
 |  |  const dynamicHeaders = ref([
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  ]);
 |  |  ]);
 | 
											
										
											
												
													
														|  | @@ -307,6 +313,7 @@ await request(params)
 | 
											
												
													
														|  |        vtkmodel.clearModeAddJg();
 |  |        vtkmodel.clearModeAddJg();
 | 
											
												
													
														|  |        reddate(new Date());
 |  |        reddate(new Date());
 | 
											
												
													
														|  |        vtkGridRead();
 |  |        vtkGridRead();
 | 
											
												
													
														|  | 
 |  | +      jgSelect1();
 | 
											
												
													
														|  |        firstshow.value=true;
 |  |        firstshow.value=true;
 | 
											
												
													
														|  |        endtime.value= Number(res.totaltime)/Number(res.reportstep);
 |  |        endtime.value= Number(res.totaltime)/Number(res.reportstep);
 | 
											
												
													
														|  |      }else if(res.state=='-1'){
 |  |      }else if(res.state=='-1'){
 | 
											
										
											
												
													
														|  | @@ -500,27 +507,6 @@ const randomColor=()=>{
 | 
											
												
													
														|  |            console.log(color);
 |  |            console.log(color);
 | 
											
												
													
														|  |              return color;
 |  |              return color;
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -// const randerColor=()=>{
 |  | 
 | 
											
												
													
														|  | -//       let arr = [];
 |  | 
 | 
											
												
													
														|  | -//      alarmTypeLine.forEach(item=>{
 |  | 
 | 
											
												
													
														|  | -//       random(arr)
 |  | 
 | 
											
												
													
														|  | -//       })
 |  | 
 | 
											
												
													
														|  | -//       console.log(arrr);
 |  | 
 | 
											
												
													
														|  | -//       return arr;
 |  | 
 | 
											
												
													
														|  | -//     }
 |  | 
 | 
											
												
													
														|  | -//     const random=(arr)=>{
 |  | 
 | 
											
												
													
														|  | -//       let color = 'rgb(' + [
 |  | 
 | 
											
												
													
														|  | -//         Math.round(Math.random() * 255),
 |  | 
 | 
											
												
													
														|  | -//         Math.round(Math.random() * 255),
 |  | 
 | 
											
												
													
														|  | -//         Math.round(Math.random() * 255)
 |  | 
 | 
											
												
													
														|  | -//       ].join(',') + ')';
 |  | 
 | 
											
												
													
														|  | -//       if(!arr.some(i=>i==color)){
 |  | 
 | 
											
												
													
														|  | -//         arr.push(color)
 |  | 
 | 
											
												
													
														|  | -//       }else{
 |  | 
 | 
											
												
													
														|  | -//        random(arr)
 |  | 
 | 
											
												
													
														|  | -//       }
 |  | 
 | 
											
												
													
														|  | -//     }
 |  | 
 | 
											
												
													
														|  |  // 批量数据
 |  |  // 批量数据
 | 
											
												
													
														|  |  const handleDelete=(event)=>{
 |  |  const handleDelete=(event)=>{
 | 
											
												
													
														|  |   jcname.value=event.chname;
 |  |   jcname.value=event.chname;
 | 
											
										
											
												
													
														|  | @@ -554,40 +540,6 @@ const handleDelete=(event)=>{
 | 
											
												
													
														|  |        showSymbol: false,
 |  |        showSymbol: false,
 | 
											
												
													
														|  |        smooth: true,
 |  |        smooth: true,
 | 
											
												
													
														|  |        data:arr,//res.rows[i].data
 |  |        data:arr,//res.rows[i].data
 | 
											
												
													
														|  | -        //  itemStyle:{
 |  | 
 | 
											
												
													
														|  | -        //    normal:{
 |  | 
 | 
											
												
													
														|  | -        //      color: {
 |  | 
 | 
											
												
													
														|  | -        //        type: 'linear',
 |  | 
 | 
											
												
													
														|  | -        //        x: 0,
 |  | 
 | 
											
												
													
														|  | -        //        y: 0,
 |  | 
 | 
											
												
													
														|  | -        //        x2: 0,
 |  | 
 | 
											
												
													
														|  | -        //        y2: 1,
 |  | 
 | 
											
												
													
														|  | -        //       //  colorStops: [
 |  | 
 | 
											
												
													
														|  | -        //       //  {
 |  | 
 | 
											
												
													
														|  | -        //       //    offset:1, color: randomColor() // 0% 处的颜色
 |  | 
 | 
											
												
													
														|  | -        //       //  },
 |  | 
 | 
											
												
													
														|  | -        //       // //  {
 |  | 
 | 
											
												
													
														|  | -        //       // //    offset:0.7, color: randomColor() // 100% 处的颜色
 |  | 
 | 
											
												
													
														|  | -        //       // //  },
 |  | 
 | 
											
												
													
														|  | -        //       // //  {
 |  | 
 | 
											
												
													
														|  | -        //       // //    offset:0.66, color: randomColor() // 100% 处的颜色
 |  | 
 | 
											
												
													
														|  | -        //       // //  },
 |  | 
 | 
											
												
													
														|  | -        //       // //  {
 |  | 
 | 
											
												
													
														|  | -        //       // //    offset:0.2, color: randomColor()// 100% 处的颜色
 |  | 
 | 
											
												
													
														|  | -        //       // //  },
 |  | 
 | 
											
												
													
														|  | -        //       //  {
 |  | 
 | 
											
												
													
														|  | -        //       //    offset:0, color: randomColor ()// 0% 处的颜色FF7A00
 |  | 
 | 
											
												
													
														|  | -        //       //  }, 
 |  | 
 | 
											
												
													
														|  | -              
 |  | 
 | 
											
												
													
														|  | -        //       // ],
 |  | 
 | 
											
												
													
														|  | -            
 |  | 
 | 
											
												
													
														|  | -        //        global: false // 缺省为 false
 |  | 
 | 
											
												
													
														|  | -        //      }
 |  | 
 | 
											
												
													
														|  | -        //    }
 |  | 
 | 
											
												
													
														|  | -        //  },
 |  | 
 | 
											
												
													
														|  | -        //  lineStyle: {
 |  | 
 | 
											
												
													
														|  | -        //             width: 3, // 设置线条宽度
 |  | 
 | 
											
												
													
														|  | -        //         },
 |  | 
 | 
											
												
													
														|  |            })
 |  |            })
 | 
											
												
													
														|  |         }
 |  |         }
 | 
											
												
													
														|  |          const max = Math.max(...series.value[0].data);
 |  |          const max = Math.max(...series.value[0].data);
 | 
											
										
											
												
													
														|  | @@ -599,6 +551,33 @@ const handleDelete=(event)=>{
 | 
											
												
													
														|  |      });
 |  |      });
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | 
 |  | +const funidshow=(val)=>{
 | 
											
												
													
														|  | 
 |  | +  isshow.value=val;
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +// 获取点的数据
 | 
											
												
													
														|  | 
 |  | +function jgSelect1() {
 | 
											
												
													
														|  | 
 |  | +  timing2.value = setInterval(() => {
 | 
											
												
													
														|  | 
 |  | +    //定时器
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +    if (jgSelectPointId.value != vtkmodel.selectJgPointId) {
 | 
											
												
													
														|  | 
 |  | +    // console.log("pointid",vtkmodel.selectJgPointId);//选择的点数据
 | 
											
												
													
														|  | 
 |  | +      //获取点对应的Scalar
 | 
											
												
													
														|  | 
 |  | +      isshow.value=true;
 | 
											
												
													
														|  | 
 |  | +       jgSelectPointId.value = vtkmodel.selectJgPointId;
 | 
											
												
													
														|  | 
 |  | +       
 | 
											
												
													
														|  | 
 |  | +      selobj.value = [];
 | 
											
												
													
														|  | 
 |  | +      for (const key of fcon.scalar.keys()) {
 | 
											
												
													
														|  | 
 |  | +        selobj.value.push({
 | 
											
												
													
														|  | 
 |  | +          name: key,
 | 
											
												
													
														|  | 
 |  | +          value: fcon.scalar.get(key)[vtkmodel.selectJgPointId],
 | 
											
												
													
														|  | 
 |  | +        });
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +      console.log(selobj.value);
 | 
											
												
													
														|  | 
 |  | +     // msgval.value = selobj.value;
 | 
											
												
													
														|  | 
 |  | +     htmldialogref.value.getdatahtml(selobj.value);
 | 
											
												
													
														|  | 
 |  | + }
 | 
											
												
													
														|  | 
 |  | +  }, 1000);
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  |  const linedata=()=>{
 |  |  const linedata=()=>{
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  }
 |  |  }
 |