|  | @@ -2,21 +2,35 @@
 | 
	
		
			
				|  |  |    <!-- 所有弹出框 -->
 | 
	
		
			
				|  |  |    <div class="l_Dialog">
 | 
	
		
			
				|  |  |      <!-- 推演结果 -->
 | 
	
		
			
				|  |  | -    <el-aside width="278px" class="L_aside asideg asidegbg leftbgimg " v-show="monitor">
 | 
	
		
			
				|  |  | +    <el-aside width="278px" class="L_aside asideg asidegbg leftbgimg" v-show="monitor">
 | 
	
		
			
				|  |  |        <div class="result result1">
 | 
	
		
			
				|  |  | -        <el-tabs v-model="resultactiveName" type="card" class="demo-tabs" @tab-click="handleClick">
 | 
	
		
			
				|  |  | +        <el-tabs
 | 
	
		
			
				|  |  | +          v-model="resultactiveName"
 | 
	
		
			
				|  |  | +          type="card"
 | 
	
		
			
				|  |  | +          class="demo-tabs"
 | 
	
		
			
				|  |  | +          @tab-click="handleClick"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  |            <el-tab-pane label="当前时间" name="first">
 | 
	
		
			
				|  |  |              <div class="newtime">{{ newtime }}</div>
 | 
	
		
			
				|  |  |            </el-tab-pane>
 | 
	
		
			
				|  |  |            <el-tab-pane label="指定时间" name="second">
 | 
	
		
			
				|  |  |              <div class="newtime">
 | 
	
		
			
				|  |  | -              <el-date-picker v-model="zdtime" type="datetime" placeholder="Select date and time"
 | 
	
		
			
				|  |  | -                @change="zdtimechange" />
 | 
	
		
			
				|  |  | +              <el-date-picker
 | 
	
		
			
				|  |  | +                v-model="zdtime"
 | 
	
		
			
				|  |  | +                type="datetime"
 | 
	
		
			
				|  |  | +                placeholder="Select date and time"
 | 
	
		
			
				|  |  | +                @change="zdtimechange"
 | 
	
		
			
				|  |  | +              />
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </el-tab-pane>
 | 
	
		
			
				|  |  |            <el-tab-pane label="动画演示" name="third">
 | 
	
		
			
				|  |  |              <div class="animation_s">
 | 
	
		
			
				|  |  | -              <el-slider :max="endtime" :min="starttime" v-model="count" @change="sliderchange">
 | 
	
		
			
				|  |  | +              <el-slider
 | 
	
		
			
				|  |  | +                :max="endtime"
 | 
	
		
			
				|  |  | +                :min="starttime"
 | 
	
		
			
				|  |  | +                v-model="count"
 | 
	
		
			
				|  |  | +                @change="sliderchange"
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |                </el-slider>
 | 
	
		
			
				|  |  |                <!-- <el-progress type="line" :percentage="percentage" :color="customColor" :stroke-width="4"/> -->
 | 
	
		
			
				|  |  |                <div class="tanniu">
 | 
	
	
		
			
				|  | @@ -46,15 +60,26 @@
 | 
	
		
			
				|  |  |      </el-aside>
 | 
	
		
			
				|  |  |      <!-- 监测点 -->
 | 
	
		
			
				|  |  |      <!-- 监测点 -->
 | 
	
		
			
				|  |  | -    <div class="demo-collapse jiancedian asideg1 jc_header  collapseeion jianstyle" v-show="monitor">
 | 
	
		
			
				|  |  | +    <div
 | 
	
		
			
				|  |  | +      class="demo-collapse jiancedian asideg1 jc_header collapseeion jianstyle"
 | 
	
		
			
				|  |  | +      v-show="monitor"
 | 
	
		
			
				|  |  | +    >
 | 
	
		
			
				|  |  |        <el-collapse accordion v-model="activeNames">
 | 
	
		
			
				|  |  |          <el-collapse-item name="1">
 | 
	
		
			
				|  |  |            <template #title>
 | 
	
		
			
				|  |  |              <div class="he_pading color1">
 | 
	
		
			
				|  |  | -              <el-form-item label="物理量:" v-if="props.classradio=='Fire'">
 | 
	
		
			
				|  |  | -                <el-select v-model="formInline.region" @change="regionchange" placeholder="请选择">
 | 
	
		
			
				|  |  | -                  <el-option v-for="item in strResultFormatlist" :key="item.id" :label="item.name"
 | 
	
		
			
				|  |  | -                    :value="item.value"></el-option>
 | 
	
		
			
				|  |  | +              <el-form-item label="物理量:" v-if="props.classradio == 'Fire'">
 | 
	
		
			
				|  |  | +                <el-select
 | 
	
		
			
				|  |  | +                  v-model="formInline.region"
 | 
	
		
			
				|  |  | +                  @change="regionchange"
 | 
	
		
			
				|  |  | +                  placeholder="请选择"
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                  <el-option
 | 
	
		
			
				|  |  | +                    v-for="item in strResultFormatlist"
 | 
	
		
			
				|  |  | +                    :key="item.id"
 | 
	
		
			
				|  |  | +                    :label="item.name"
 | 
	
		
			
				|  |  | +                    :value="item.value"
 | 
	
		
			
				|  |  | +                  ></el-option>
 | 
	
		
			
				|  |  |                  </el-select>
 | 
	
		
			
				|  |  |                </el-form-item>
 | 
	
		
			
				|  |  |                <div class="woter" v-else>
 | 
	
	
		
			
				|  | @@ -65,23 +90,32 @@
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |            <div class="jc_content tablecolor">
 | 
	
		
			
				|  |  |              <div class="jc_padding">
 | 
	
		
			
				|  |  | -              <div class="xian"  v-if="props.classradio=='Fire'">
 | 
	
		
			
				|  |  | -                <el-table :data="tableData2" style="width: 100%" @current-change="handleCurrentChange"
 | 
	
		
			
				|  |  | -                  :row-class-name="tableRowClassName" :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }">
 | 
	
		
			
				|  |  | +              <div class="xian" v-if="props.classradio == 'Fire'">
 | 
	
		
			
				|  |  | +                <el-table
 | 
	
		
			
				|  |  | +                  :data="tableData2"
 | 
	
		
			
				|  |  | +                  style="width: 100%"
 | 
	
		
			
				|  |  | +                  @current-change="handleCurrentChange"
 | 
	
		
			
				|  |  | +                  :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  | +                  :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }"
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  |                    <el-table-column prop="name" label="监测点名称" width="120" />
 | 
	
		
			
				|  |  |                    <el-table-column prop="value" :label="formInline.region" />
 | 
	
		
			
				|  |  |                  </el-table>
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  | -              <div class="xian"  v-else>
 | 
	
		
			
				|  |  | -                <el-table :data="tableData2" style="width: 100%" @current-change="handleCurrentChange"
 | 
	
		
			
				|  |  | -                  :row-class-name="tableRowClassName" :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }">
 | 
	
		
			
				|  |  | +              <div class="xian" v-else>
 | 
	
		
			
				|  |  | +                <el-table
 | 
	
		
			
				|  |  | +                  :data="tableData2"
 | 
	
		
			
				|  |  | +                  style="width: 100%"
 | 
	
		
			
				|  |  | +                  @current-change="handleCurrentChange"
 | 
	
		
			
				|  |  | +                  :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  | +                  :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }"
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  |                    <el-table-column prop="name" label="水位" width="120" />
 | 
	
		
			
				|  |  |                    <el-table-column prop="value" label="流量" />
 | 
	
		
			
				|  |  |                  </el-table>
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  | -     
 | 
	
		
			
				|  |  |          </el-collapse-item>
 | 
	
		
			
				|  |  |        </el-collapse>
 | 
	
		
			
				|  |  |      </div>
 | 
	
	
		
			
				|  | @@ -101,12 +135,11 @@ import t2 from "@/assets/img/t2.png";
 | 
	
		
			
				|  |  |  import t3 from "@/assets/img/t3.png";
 | 
	
		
			
				|  |  |  import t4 from "@/assets/img/t4.png";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -import { vtkmodel } from "@/control/vtkModel.js"
 | 
	
		
			
				|  |  | -import { createFireControl } from "@/control/fireControl.js"
 | 
	
		
			
				|  |  | +import { vtkmodel } from "@/control/vtkModel.js";
 | 
	
		
			
				|  |  | +import { createFireControl } from "@/control/fireControl.js";
 | 
	
		
			
				|  |  |  import vtkDataArray from "@kitware/vtk.js/Common/Core/DataArray.js";
 | 
	
		
			
				|  |  | -let labelval=ref('SOS');
 | 
	
		
			
				|  |  | -const activeNames = ref(['1'])
 | 
	
		
			
				|  |  | +let labelval = ref("SOS");
 | 
	
		
			
				|  |  | +const activeNames = ref(["1"]);
 | 
	
		
			
				|  |  |  let emit = defineEmits([]);
 | 
	
		
			
				|  |  |  const props = defineProps({
 | 
	
		
			
				|  |  |    classradio: {
 | 
	
	
		
			
				|  | @@ -115,7 +148,7 @@ const props = defineProps({
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -let newcount =ref(0);
 | 
	
		
			
				|  |  | +let newcount = ref(0);
 | 
	
		
			
				|  |  |  const count = ref(0);
 | 
	
		
			
				|  |  |  const isstop = ref(false);
 | 
	
		
			
				|  |  |  const monitor = ref(false);
 | 
	
	
		
			
				|  | @@ -129,7 +162,7 @@ let starttime = ref(1);
 | 
	
		
			
				|  |  |  let endtime = ref(60);
 | 
	
		
			
				|  |  |  let timenum = ref(2);
 | 
	
		
			
				|  |  |  let aid = ref();
 | 
	
		
			
				|  |  | -let timing = ref(null)
 | 
	
		
			
				|  |  | +let timing = ref(null);
 | 
	
		
			
				|  |  |  const percentage = ref(20);
 | 
	
		
			
				|  |  |  const customColor = ref("#409eff");
 | 
	
		
			
				|  |  |  const tableRowClassName = ({ row, rowIndex }) => {
 | 
	
	
		
			
				|  | @@ -236,7 +269,7 @@ function zdtimechange() {
 | 
	
		
			
				|  |  |    getMonitor();
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  function regionchange() {
 | 
	
		
			
				|  |  | -  console.log(22222)
 | 
	
		
			
				|  |  | +  console.log(22222);
 | 
	
		
			
				|  |  |    for (let index = 0; index < cocodes.value.length; index++) {
 | 
	
		
			
				|  |  |      if (formInline.value.region == cocodes.value[index].cocode) {
 | 
	
		
			
				|  |  |        cocodeIndex.value = index + 1;
 | 
	
	
		
			
				|  | @@ -298,18 +331,24 @@ const accident5 = (val) => {
 | 
	
		
			
				|  |  |    cocodeIsInit.value = false;
 | 
	
		
			
				|  |  |    //获取任务信息
 | 
	
		
			
				|  |  |    readJob();
 | 
	
		
			
				|  |  | +  if (resultactiveName.value == "first") {
 | 
	
		
			
				|  |  | +    timing.value = setInterval(() => {
 | 
	
		
			
				|  |  | +      const timestamp = new Date().getTime();
 | 
	
		
			
				|  |  | +      newtime.value = timestampToTime(timestamp);
 | 
	
		
			
				|  |  | +      // reddate(new Date());
 | 
	
		
			
				|  |  | +    }, 1000);
 | 
	
		
			
				|  |  | +  } else {
 | 
	
		
			
				|  |  | +    timing.value = setInterval(() => {
 | 
	
		
			
				|  |  | +      const timestamp = new Date().getTime();
 | 
	
		
			
				|  |  | +      newtime.value = timestampToTime(timestamp);
 | 
	
		
			
				|  |  | +    }, 1000);
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    // fireRead()
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -const init = () => { };
 | 
	
		
			
				|  |  | -onMounted(() => {
 | 
	
		
			
				|  |  | -  init();
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  | -});
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  const fcon = createFireControl();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  //监测点数据获取
 | 
	
		
			
				|  |  |  async function getMonitor() {
 | 
	
		
			
				|  |  |    const params = {
 | 
	
	
		
			
				|  | @@ -320,7 +359,6 @@ async function getMonitor() {
 | 
	
		
			
				|  |  |    await request(params)
 | 
	
		
			
				|  |  |      .then((res) => {
 | 
	
		
			
				|  |  |        if (res.returnCode == "000000000") {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          chvals.value = res.chvals;
 | 
	
		
			
				|  |  |          tableData2.value = [];
 | 
	
		
			
				|  |  |          for (let i = 0; i < chvals.value.length; i++) {
 | 
	
	
		
			
				|  | @@ -332,7 +370,7 @@ async function getMonitor() {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          //监测点类型初始化
 | 
	
		
			
				|  |  |          if (!cocodeIsInit.value) {
 | 
	
		
			
				|  |  | -          console.log(2222)
 | 
	
		
			
				|  |  | +          console.log(2222);
 | 
	
		
			
				|  |  |            cocodeIsInit.value = true;
 | 
	
		
			
				|  |  |            cocodes.value = res.cocodes;
 | 
	
		
			
				|  |  |            formInline.value.region = cocodes.value[0].cocode;
 | 
	
	
		
			
				|  | @@ -347,7 +385,7 @@ async function getMonitor() {
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  | -          regionchange();
 | 
	
		
			
				|  |  | +          // regionchange();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          ElMessage({
 | 
	
	
		
			
				|  | @@ -356,11 +394,11 @@ async function getMonitor() {
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  | -    .catch((err) => { });
 | 
	
		
			
				|  |  | +    .catch((err) => {});
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  //获取任务信息
 | 
	
		
			
				|  |  |  async function readJob() {
 | 
	
		
			
				|  |  | -  vtkmodel.clearModeAddJg();//隐藏模版显示结果
 | 
	
		
			
				|  |  | +  vtkmodel.clearModeAddJg(); //隐藏模版显示结果
 | 
	
		
			
				|  |  |    const params = {
 | 
	
		
			
				|  |  |      transCode: "D10017",
 | 
	
		
			
				|  |  |      aid: aid.value,
 | 
	
	
		
			
				|  | @@ -380,7 +418,7 @@ async function readJob() {
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  | -    .catch((err) => { });
 | 
	
		
			
				|  |  | +    .catch((err) => {});
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  //获取当前时间最近的步数 读取文件
 | 
	
		
			
				|  |  |  //当前时间=开始时间+输出步长*输出次数
 | 
	
	
		
			
				|  | @@ -399,9 +437,8 @@ function reddate(date) {
 | 
	
		
			
				|  |  |      fcon.step = fcon.stepsum;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    count.value = fcon.step;
 | 
	
		
			
				|  |  | - newcount.value = count.value;
 | 
	
		
			
				|  |  | +  newcount.value = count.value;
 | 
	
		
			
				|  |  |    console.log(newcount.value);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function vtkGridRead() {
 | 
	
	
		
			
				|  | @@ -412,7 +449,7 @@ function vtkGridRead() {
 | 
	
		
			
				|  |  |        console.log(fcon.polydata);
 | 
	
		
			
				|  |  |        vtkScalarRead();
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  | -    .catch((err) => { });
 | 
	
		
			
				|  |  | +    .catch((err) => {});
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  function vtkScalarRead() {
 | 
	
		
			
				|  |  |    fcon
 | 
	
	
		
			
				|  | @@ -426,10 +463,10 @@ function vtkScalarRead() {
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  function vtkShow() {
 | 
	
		
			
				|  |  | -  console.log("执行了")
 | 
	
		
			
				|  |  | -  const scalarBarActor= vtkmodel.scalarBarActor;
 | 
	
		
			
				|  |  | -  const mapper =vtkmodel.jgMapper;
 | 
	
		
			
				|  |  | -  const actor =vtkmodel.jgActor;
 | 
	
		
			
				|  |  | +  console.log("执行了");
 | 
	
		
			
				|  |  | +  const scalarBarActor = vtkmodel.scalarBarActor;
 | 
	
		
			
				|  |  | +  const mapper = vtkmodel.jgMapper;
 | 
	
		
			
				|  |  | +  const actor = vtkmodel.jgActor;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    console.log(formInline.value.region);
 | 
	
		
			
				|  |  |    const scalarArray = fcon.scalar.get(formInline.value.region);
 | 
	
	
		
			
				|  | @@ -441,7 +478,7 @@ function vtkShow() {
 | 
	
		
			
				|  |  |    console.log(dataArray);
 | 
	
		
			
				|  |  |    dataArray.setData(scalarArray);
 | 
	
		
			
				|  |  |    fcon.polydata.getPointData().setScalars(dataArray);
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    mapper.setInputData(fcon.polydata);
 | 
	
		
			
				|  |  |    getMinMax(scalarArray);
 | 
	
		
			
				|  |  |    mapper.setScalarRange(min.value, max.value); //设置范围
 | 
	
	
		
			
				|  | @@ -450,7 +487,6 @@ function vtkShow() {
 | 
	
		
			
				|  |  |    mapper.clearColorArrays(); //强制重建颜色
 | 
	
		
			
				|  |  |    actor.getProperty().setOpacity(count.value); //设置错误的透明度使得页面重新加载  不设置不刷新页面
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    vtkmodel.renderer.resetCamera();
 | 
	
		
			
				|  |  |    vtkmodel.renderWindow.render();
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -471,46 +507,35 @@ function getMinMax(scalars) {
 | 
	
		
			
				|  |  |    // console.log("max,min:", max.value, min.value);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -const handleClick = (Tab,val) => {
 | 
	
		
			
				|  |  | +const handleClick = (Tab, val) => {
 | 
	
		
			
				|  |  |    console.log(Tab.props.name);
 | 
	
		
			
				|  |  | -if(Tab.props.name=='first'){
 | 
	
		
			
				|  |  | -  timing.value = setInterval(() => {
 | 
	
		
			
				|  |  | -    const timestamp = new Date().getTime();
 | 
	
		
			
				|  |  | -    newtime.value = timestampToTime(timestamp);
 | 
	
		
			
				|  |  | -    reddate(new Date());
 | 
	
		
			
				|  |  | -  }, 1000);
 | 
	
		
			
				|  |  | -}else if(Tab.props.name=='second'){
 | 
	
		
			
				|  |  | -  clearInterval(timing.value);
 | 
	
		
			
				|  |  | -}else if(Tab.props.name=='third'){
 | 
	
		
			
				|  |  | -  clearInterval(timing.value);
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | +  if (Tab.props.name == "first") {
 | 
	
		
			
				|  |  | +    timing.value = setInterval(() => {
 | 
	
		
			
				|  |  | +      const timestamp = new Date().getTime();
 | 
	
		
			
				|  |  | +      newtime.value = timestampToTime(timestamp);
 | 
	
		
			
				|  |  | +      reddate(new Date());
 | 
	
		
			
				|  |  | +    }, 1000);
 | 
	
		
			
				|  |  | +  } else if (Tab.props.name == "second") {
 | 
	
		
			
				|  |  | +    clearInterval(timing.value);
 | 
	
		
			
				|  |  | +  } else if (Tab.props.name == "third") {
 | 
	
		
			
				|  |  | +    clearInterval(timing.value);
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  |  onBeforeUnmount(() => {
 | 
	
		
			
				|  |  |    clearInterval(timing.value);
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  | -onMounted(() => {
 | 
	
		
			
				|  |  | - if(resultactiveName.value=="first"){
 | 
	
		
			
				|  |  | -  timing.value = setInterval(() => {
 | 
	
		
			
				|  |  | -    const timestamp = new Date().getTime();
 | 
	
		
			
				|  |  | -    newtime.value = timestampToTime(timestamp);
 | 
	
		
			
				|  |  | -    reddate(new Date());
 | 
	
		
			
				|  |  | -  }, 1000);
 | 
	
		
			
				|  |  | - }else{
 | 
	
		
			
				|  |  | -  timing.value = setInterval(() => {
 | 
	
		
			
				|  |  | -    const timestamp = new Date().getTime();
 | 
	
		
			
				|  |  | -    newtime.value = timestampToTime(timestamp);
 | 
	
		
			
				|  |  | -  }, 1000);
 | 
	
		
			
				|  |  | - }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -});
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -watch(newcount,(newVal,oldVal) => {
 | 
	
		
			
				|  |  | -  console.log('值改变了',newVal,oldVal)
 | 
	
		
			
				|  |  | -      fcon.step = newVal;
 | 
	
		
			
				|  |  | -      vtkScalarRead();
 | 
	
		
			
				|  |  | -      getMonitor();
 | 
	
		
			
				|  |  | -},{deep:true})//深度监视
 | 
	
		
			
				|  |  | +onMounted(() => {});
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +watch(
 | 
	
		
			
				|  |  | +  newcount,
 | 
	
		
			
				|  |  | +  (newVal, oldVal) => {
 | 
	
		
			
				|  |  | +    console.log("值改变了", newVal, oldVal);
 | 
	
		
			
				|  |  | +    fcon.step = newVal;
 | 
	
		
			
				|  |  | +    vtkScalarRead();
 | 
	
		
			
				|  |  | +    getMonitor();
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +  { deep: true }
 | 
	
		
			
				|  |  | +); //深度监视
 | 
	
		
			
				|  |  |  defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -601,7 +626,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    text-align: left;
 | 
	
		
			
				|  |  |    padding: 0 20px;
 | 
	
		
			
				|  |  |    // border-bottom: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -633,7 +659,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |    border: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .dialog_class {
 | 
	
	
		
			
				|  | @@ -643,7 +670,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |      text-align: left;
 | 
	
		
			
				|  |  |      padding: 0 20px;
 | 
	
		
			
				|  |  |      border-bottom: 1px solid;
 | 
	
		
			
				|  |  | -    border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +    border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48))
 | 
	
		
			
				|  |  | +      1 1;
 | 
	
		
			
				|  |  |      box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |      border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -714,7 +742,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    background: rgba(104, 173, 255, 0.3);
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    /* border: 1px solid rgba(31, 107, 255, 1); */
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    border-radius: 4px;
 | 
	
		
			
				|  |  |    display: flex;
 | 
	
	
		
			
				|  | @@ -728,10 +757,14 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    background: rgba(104, 173, 255, 0.3);
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    /* border: 1px solid rgba(31, 107, 255, 1); */
 | 
	
		
			
				|  |  | -  -o-border-image: linear-gradient(180deg,
 | 
	
		
			
				|  |  | +  -o-border-image: linear-gradient(
 | 
	
		
			
				|  |  | +      180deg,
 | 
	
		
			
				|  |  |        rgba(31, 107, 255, 1),
 | 
	
		
			
				|  |  | -      rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +      rgba(31, 107, 255, 0.48)
 | 
	
		
			
				|  |  | +    )
 | 
	
		
			
				|  |  | +    1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |    border-radius: 4px;
 | 
	
		
			
				|  |  |    display: flex;
 | 
	
		
			
				|  |  |    display: inline-block;
 | 
	
	
		
			
				|  | @@ -750,7 +783,6 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .asides_content {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    //     background: rgba(13,22,57,0.4);
 | 
	
		
			
				|  |  |    // box-shadow: inset 0px 0px 17px 5px rgba(12,97,197,0.2);
 | 
	
		
			
				|  |  |    // border-radius: 0px 0px 0px 0px;
 | 
	
	
		
			
				|  | @@ -788,7 +820,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    margin-top: 25px;
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |    border-top: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    h4 {
 | 
	
	
		
			
				|  | @@ -852,7 +885,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    border-radius: 4px 4px 4px 4px;
 | 
	
		
			
				|  |  |    border: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  </style>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -861,7 +895,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |  .bgcolor {
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |    border: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -905,7 +940,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    background: rgba(104, 173, 255, 0.3);
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    /* border: 1px solid rgba(31, 107, 255, 1); */
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    border-radius: 4px;
 | 
	
		
			
				|  |  |    display: flex;
 | 
	
	
		
			
				|  | @@ -953,7 +989,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |    border: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .el-table td.el-table__cell,
 | 
	
	
		
			
				|  | @@ -961,7 +998,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    /* box-shadow: inset 0px 0px 17px 5px rgba(12,97,197,0.2); */
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |    border-bottom: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .oddRow {
 | 
	
	
		
			
				|  | @@ -990,7 +1028,7 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    background-color: rgba(red, green, blue, 0) !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
 | 
	
		
			
				|  |  | +.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
 | 
	
		
			
				|  |  |    background-color: rgba(104, 173, 255, 0) !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1002,7 +1040,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    border-radius: 4px 4px 4px 4px;
 | 
	
		
			
				|  |  |    border: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .el-input__wrapper {
 | 
	
	
		
			
				|  | @@ -1011,7 +1050,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2) !important;
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |    border: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .ddd_div .el-input__inner {
 | 
	
	
		
			
				|  | @@ -1069,8 +1109,6 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    background-image: url(../../assets/img/Group10.png) !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  .jc_tile {
 | 
	
		
			
				|  |  |    padding-left: 20px;
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -1133,7 +1171,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
		
			
				|  |  |    border-radius: 4px 4px 4px 4px;
 | 
	
		
			
				|  |  |    border-bottom: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  #textarea_id {
 | 
	
	
		
			
				|  | @@ -1213,9 +1252,9 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    text-transform: none;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.el-tabs--card>.el-tabs__header,
 | 
	
		
			
				|  |  | -.el-tabs--card>.el-tabs__header,
 | 
	
		
			
				|  |  | -.el-tabs--card>.el-tabs__header .el-tabs__nav {
 | 
	
		
			
				|  |  | +.el-tabs--card > .el-tabs__header,
 | 
	
		
			
				|  |  | +.el-tabs--card > .el-tabs__header,
 | 
	
		
			
				|  |  | +.el-tabs--card > .el-tabs__header .el-tabs__nav {
 | 
	
		
			
				|  |  |    border: none !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1345,7 +1384,8 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2) !important;
 | 
	
		
			
				|  |  |    border-radius: 0px 0px 0px 0px;
 | 
	
		
			
				|  |  |    border: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .delecttitle {
 | 
	
	
		
			
				|  | @@ -1356,14 +1396,15 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |  .collapseeion .el-select .el-input__inner {
 | 
	
		
			
				|  |  |    color: #fff;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -.el-collapse-item__wrap{
 | 
	
		
			
				|  |  | +.el-collapse-item__wrap {
 | 
	
		
			
				|  |  |    border-bottom: 1px solid;
 | 
	
		
			
				|  |  | -  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
		
			
				|  |  | +  border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1
 | 
	
		
			
				|  |  | +    1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -.el-collapse{
 | 
	
		
			
				|  |  | -  --el-collapse-border-color:rgba(31, 107, 255, 0.48);
 | 
	
		
			
				|  |  | +.el-collapse {
 | 
	
		
			
				|  |  | +  --el-collapse-border-color: rgba(31, 107, 255, 0.48);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | - .jc_header .el-collapse-item__header{
 | 
	
		
			
				|  |  | +.jc_header .el-collapse-item__header {
 | 
	
		
			
				|  |  |    width: 100%;
 | 
	
		
			
				|  |  |    height: 52px;
 | 
	
		
			
				|  |  |    line-height: 52px;
 | 
	
	
		
			
				|  | @@ -1372,16 +1413,16 @@ defineExpose({ monitor, accident5 });
 | 
	
		
			
				|  |  |    background-position: center;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  .jianstyle .el-collapse-item__arrow {
 | 
	
		
			
				|  |  | -    margin: 0 8px 0 auto;
 | 
	
		
			
				|  |  | -    font-weight: 800;
 | 
	
		
			
				|  |  | -    color: #fff !important;
 | 
	
		
			
				|  |  | -    font-weight: bold !important;
 | 
	
		
			
				|  |  | -    font-size: 20px !important;
 | 
	
		
			
				|  |  | +  margin: 0 8px 0 auto;
 | 
	
		
			
				|  |  | +  font-weight: 800;
 | 
	
		
			
				|  |  | +  color: #fff !important;
 | 
	
		
			
				|  |  | +  font-weight: bold !important;
 | 
	
		
			
				|  |  | +  font-size: 20px !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -.woter{
 | 
	
		
			
				|  |  | +.woter {
 | 
	
		
			
				|  |  |    margin-top: -15px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -.result1 .el-collapse-item__content{
 | 
	
		
			
				|  |  | -  padding:0 !important;
 | 
	
		
			
				|  |  | +.result1 .el-collapse-item__content {
 | 
	
		
			
				|  |  | +  padding: 0 !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  </style>
 |