|  | @@ -22,7 +22,7 @@
 | 
	
		
			
				|  |  |                          :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  |                          max-height="350px"
 | 
	
		
			
				|  |  |                          :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }"
 | 
	
		
			
				|  |  | -                        :highlight-current-row="true"
 | 
	
		
			
				|  |  | +                      :highlight-current-row="currentrow" 
 | 
	
		
			
				|  |  |                        >
 | 
	
		
			
				|  |  |                          <el-table-column prop="pname" label="选择巷道" width="130" />
 | 
	
		
			
				|  |  |                          <el-table-column prop="site" label="位置" width="70" />
 | 
	
	
		
			
				|  | @@ -45,7 +45,7 @@
 | 
	
		
			
				|  |  |                              sdialog.dianadddialog = true;
 | 
	
		
			
				|  |  |                            "
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  | -                          <div class="btns"><span class="spantext">添加</span></div>
 | 
	
		
			
				|  |  | +                          <div class="btns" ><span class="spantext">添加</span></div>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
		
			
				|  |  |                          <div class="flex_a" @click="xiugaitable()">
 | 
	
		
			
				|  |  |                            <div class="btns"><span class="spantext">修改</span></div>
 | 
	
	
		
			
				|  | @@ -54,12 +54,10 @@
 | 
	
		
			
				|  |  |                            class="flex_a"
 | 
	
		
			
				|  |  |                            @click="
 | 
	
		
			
				|  |  |                              shanchu('1');
 | 
	
		
			
				|  |  | -                            sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  |                            "
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  |                            <div class="btns"><span class="spantext">删除</span></div>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
		
			
				|  |  | -                        <!-- <div class="flex_a"><div class="btns"><span class="spantext">确定</span></div></div> -->
 | 
	
		
			
				|  |  |                        </div>
 | 
	
		
			
				|  |  |                      </div>
 | 
	
		
			
				|  |  |                      <!--  -->
 | 
	
	
		
			
				|  | @@ -82,12 +80,12 @@
 | 
	
		
			
				|  |  |                          :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }"
 | 
	
		
			
				|  |  |                          :max-height="tableHeight"
 | 
	
		
			
				|  |  |                          @row-click="handleDelete2($event)"
 | 
	
		
			
				|  |  | -                        :highlight-current-row="true"
 | 
	
		
			
				|  |  | +                        :highlight-current-row="currentrow1" 
 | 
	
		
			
				|  |  |                        >
 | 
	
		
			
				|  |  |                          <el-table-column prop="timeline" label="时间" width="70" />
 | 
	
		
			
				|  |  |                          <el-table-column prop="val1" label="温度℃" width="70" />
 | 
	
		
			
				|  |  |                          <el-table-column prop="val2" label="污染物1浓度" width="100" />
 | 
	
		
			
				|  |  | -                        <el-table-column prop="val2" label="污染物2浓度" width="100" />
 | 
	
		
			
				|  |  | +                        <el-table-column prop="val3" label="污染物2浓度" width="100" />
 | 
	
		
			
				|  |  |                        </el-table>
 | 
	
		
			
				|  |  |                        <div class="asdis_btn">
 | 
	
		
			
				|  |  |                          <div
 | 
	
	
		
			
				|  | @@ -95,6 +93,7 @@
 | 
	
		
			
				|  |  |                            @click="
 | 
	
		
			
				|  |  |                              firinit();
 | 
	
		
			
				|  |  |                              sdialog.adddialog = true;
 | 
	
		
			
				|  |  | +                            currentrow1=false;
 | 
	
		
			
				|  |  |                            "
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  |                            <div class="btns"><span class="spantext">添加</span></div>
 | 
	
	
		
			
				|  | @@ -149,7 +148,7 @@
 | 
	
		
			
				|  |  |                          :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }"
 | 
	
		
			
				|  |  |                          @row-click="handleDelete($event)"
 | 
	
		
			
				|  |  |                          max-height="350px"
 | 
	
		
			
				|  |  | -                        :highlight-current-row="true"
 | 
	
		
			
				|  |  | +                        :highlight-current-row="currentrow" 
 | 
	
		
			
				|  |  |                        >
 | 
	
		
			
				|  |  |                          <el-table-column prop="pname" label="选择巷道" width="130" />
 | 
	
		
			
				|  |  |                          <el-table-column prop="site" label="位置" width="70" />
 | 
	
	
		
			
				|  | @@ -181,7 +180,7 @@
 | 
	
		
			
				|  |  |                            class="flex_a"
 | 
	
		
			
				|  |  |                            @click="
 | 
	
		
			
				|  |  |                              shanchu('1');
 | 
	
		
			
				|  |  | -                            sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +                        
 | 
	
		
			
				|  |  |                            "
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  |                            <div class="btns"><span class="spantext">删除</span></div>
 | 
	
	
		
			
				|  | @@ -211,7 +210,7 @@
 | 
	
		
			
				|  |  |                          :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  |                          :header-cell-style="{ background: 'rgba(13, 22, 57, 0.96) ' }"
 | 
	
		
			
				|  |  |                          @row-click="handleDelete3($event)"
 | 
	
		
			
				|  |  | -                        :highlight-current-row="true"
 | 
	
		
			
				|  |  | +                        :highlight-current-row="currentrow1" 
 | 
	
		
			
				|  |  |                        >
 | 
	
		
			
				|  |  |                          <el-table-column prop="timeline" label="时间" />
 | 
	
		
			
				|  |  |                          <el-table-column prop="val1" label="突水量(m³/s)" />
 | 
	
	
		
			
				|  | @@ -233,7 +232,7 @@
 | 
	
		
			
				|  |  |                            class="flex_a"
 | 
	
		
			
				|  |  |                            @click="
 | 
	
		
			
				|  |  |                              shanchu('2');
 | 
	
		
			
				|  |  | -                            sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +                           
 | 
	
		
			
				|  |  |                            "
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  |                            <div class="btns"><span class="spantext">删除</span></div>
 | 
	
	
		
			
				|  | @@ -273,12 +272,12 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </template>
 | 
	
		
			
				|  |  |        <div class="demo-input-suffix firsttitle magintop">
 | 
	
		
			
				|  |  | -        <el-form-item label="管道名称" :label-width="formLabelWidth5">
 | 
	
		
			
				|  |  | +        <el-form-item label="巷道名称" :label-width="formLabelWidth5">
 | 
	
		
			
				|  |  |            <el-input
 | 
	
		
			
				|  |  |              v-model="selectstr"
 | 
	
		
			
				|  |  | +            disabled
 | 
	
		
			
				|  |  |              class="w-50 m-2"
 | 
	
		
			
				|  |  | -            placeholder="管道名称"
 | 
	
		
			
				|  |  | -            :prefix-icon="Search"
 | 
	
		
			
				|  |  | +            placeholder="巷道名称"
 | 
	
		
			
				|  |  |            />
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  |          <div class="btn2">
 | 
	
	
		
			
				|  | @@ -288,11 +287,11 @@
 | 
	
		
			
				|  |  |                fireclick();
 | 
	
		
			
				|  |  |                sdialog.dialogVisiblenode = true;
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  | -            >选择管道</el-button
 | 
	
		
			
				|  |  | +            >选择巷道</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div class="btn2" style="padding-left: 10px">
 | 
	
		
			
				|  |  | -          <el-button type="primary" @click="Dclick()">3D管道选择</el-button>
 | 
	
		
			
				|  |  | +          <el-button type="primary" @click="Dclick()">3D巷道选择</el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="input">
 | 
	
	
		
			
				|  | @@ -329,7 +328,7 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
		
			
				|  |  | -    <!-- 选择管道 -->
 | 
	
		
			
				|  |  | +    <!-- 选择巷道 -->
 | 
	
		
			
				|  |  |      <el-dialog
 | 
	
		
			
				|  |  |        v-model="sdialog.dialogVisiblenode"
 | 
	
		
			
				|  |  |        width="50%"
 | 
	
	
		
			
				|  | @@ -338,7 +337,7 @@
 | 
	
		
			
				|  |  |        <template #header="{ titleId, titleClass }">
 | 
	
		
			
				|  |  |          <div class="my-header">
 | 
	
		
			
				|  |  |            <el-image :src="icon" fit="contain"></el-image>
 | 
	
		
			
				|  |  | -          <h4 :id="titleId" :class="titleClass">选择管道</h4>
 | 
	
		
			
				|  |  | +          <h4 :id="titleId" :class="titleClass">选择巷道</h4>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </template>
 | 
	
		
			
				|  |  |        <div class="demo-input-suffix firsttitle leftbgimg2">
 | 
	
	
		
			
				|  | @@ -347,8 +346,8 @@
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  |                v-model="searchtaggd"
 | 
	
		
			
				|  |  |                class="w-50 m-2"
 | 
	
		
			
				|  |  | -              placeholder="管道名称"
 | 
	
		
			
				|  |  | -              :prefix-icon="Search"
 | 
	
		
			
				|  |  | +              placeholder="巷道名称"
 | 
	
		
			
				|  |  | +              disabled 
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </el-form-item>
 | 
	
		
			
				|  |  |            <div class="asdis_btn">
 | 
	
	
		
			
				|  | @@ -439,18 +438,24 @@
 | 
	
		
			
				|  |  |        </template>
 | 
	
		
			
				|  |  |        <div>
 | 
	
		
			
				|  |  |          <el-form>
 | 
	
		
			
				|  |  | -          <el-form-item label="时间" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +          <el-form-item label="时间/s"  :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  | -              v-model="Disastersource.timeline"
 | 
	
		
			
				|  |  | +              v-model.Number="Disastersource.timeline"
 | 
	
		
			
				|  |  |                class="w-50 m-2"
 | 
	
		
			
				|  |  | -              placeholder="请输入"
 | 
	
		
			
				|  |  | +              placeholder="请输入时间秒"
 | 
	
		
			
				|  |  | +              maxlength="12"
 | 
	
		
			
				|  |  | +              step="0.01"
 | 
	
		
			
				|  |  | +              oninput ="value=value.replace(/^0|[^0-9]/g,'')" 
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </el-form-item>
 | 
	
		
			
				|  |  |            <el-form-item label="温度℃" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  | -              v-model="Disastersource.val1"
 | 
	
		
			
				|  |  | +              v-model.Number="Disastersource.val1"
 | 
	
		
			
				|  |  |                class="w-50 m-2"
 | 
	
		
			
				|  |  |                placeholder="请输入"
 | 
	
		
			
				|  |  | +              maxlength="10"
 | 
	
		
			
				|  |  | +              step="0.01"
 | 
	
		
			
				|  |  | +              oninput ="value=value.replace(/^0|[^0-9]/g,'')" 
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </el-form-item>
 | 
	
		
			
				|  |  |            <el-form-item label="污染物1浓度" :label-width="formLabelWidth6">
 | 
	
	
		
			
				|  | @@ -458,13 +463,18 @@
 | 
	
		
			
				|  |  |                v-model="Disastersource.val2"
 | 
	
		
			
				|  |  |                class="w-50 m-2"
 | 
	
		
			
				|  |  |                placeholder="请输入"
 | 
	
		
			
				|  |  | +              maxlength="10"
 | 
	
		
			
				|  |  | +              step="0.01"
 | 
	
		
			
				|  |  | +              oninput ="value=value.replace(/^0|[^0-9]/g,'')" 
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </el-form-item>
 | 
	
		
			
				|  |  |            <el-form-item label="污染物2浓度" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  | -              v-model="Disastersource.val3"
 | 
	
		
			
				|  |  | +              v-model.Number="Disastersource.val3"
 | 
	
		
			
				|  |  |                class="w-50 m-2"
 | 
	
		
			
				|  |  |                placeholder="请输入"
 | 
	
		
			
				|  |  | +              maxlength="10"
 | 
	
		
			
				|  |  | +              oninput ="value=value.replace(/^0|[^0-9]/g,'')" 
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </el-form-item>
 | 
	
		
			
				|  |  |          </el-form>
 | 
	
	
		
			
				|  | @@ -598,6 +608,8 @@ const changeModel= ()=>  {
 | 
	
		
			
				|  |  |    vtkmodel.clearJgAddMode();
 | 
	
		
			
				|  |  |    vtkmodel.renderWindow.render();
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | +let currentrow = ref(false);
 | 
	
		
			
				|  |  | +let currentrow1 = ref(false);
 | 
	
		
			
				|  |  |  const props = defineProps({
 | 
	
		
			
				|  |  |    classradio: {
 | 
	
		
			
				|  |  |      type: String,
 | 
	
	
		
			
				|  | @@ -646,11 +658,11 @@ const formLabelWidth6 = ref(120);
 | 
	
		
			
				|  |  |  let source = reactive({ pname: "", site: 0.1 });
 | 
	
		
			
				|  |  |  let Disastersource = ref({
 | 
	
		
			
				|  |  |    svid: 0,
 | 
	
		
			
				|  |  | -  timeline: "",
 | 
	
		
			
				|  |  | -  val1: "",
 | 
	
		
			
				|  |  | -  val2: "",
 | 
	
		
			
				|  |  | -  val3: "",
 | 
	
		
			
				|  |  | -  val4: "",
 | 
	
		
			
				|  |  | +  timeline:Number,
 | 
	
		
			
				|  |  | +  val1:Number,
 | 
	
		
			
				|  |  | +  val2: Number,
 | 
	
		
			
				|  |  | +  val3:Number,
 | 
	
		
			
				|  |  | +  val4:Number,
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  |  let tableobj = ref({});
 | 
	
		
			
				|  |  |  const tableData2 = ref([]);
 | 
	
	
		
			
				|  | @@ -716,6 +728,10 @@ const handledisaster = (aidval) => {
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  // 灾情源添加
 | 
	
		
			
				|  |  |  const fireadd = () => {
 | 
	
		
			
				|  |  | +  currentrow.value = false;
 | 
	
		
			
				|  |  | +  if(firepid.value==null||firepid.value==""){
 | 
	
		
			
				|  |  | +    ElMessage.error("巷道不能为空")
 | 
	
		
			
				|  |  | +  }else{
 | 
	
		
			
				|  |  |    const params = {
 | 
	
		
			
				|  |  |      transCode: "D00004",
 | 
	
		
			
				|  |  |      pid: firepid.value,
 | 
	
	
		
			
				|  | @@ -734,6 +750,7 @@ const fireadd = () => {
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
		
			
				|  |  |        ElMessage.error(err.returnMsg);
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  //添加保存
 | 
	
		
			
				|  |  |  const handleEditfire = () => {
 | 
	
	
		
			
				|  | @@ -753,13 +770,28 @@ const handleEditfire = () => {
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  //灾情源删除
 | 
	
		
			
				|  |  |  const handleDelete = (val) => {
 | 
	
		
			
				|  |  | -  console.log(val);
 | 
	
		
			
				|  |  | -  tableobj.value = val;
 | 
	
		
			
				|  |  | -  firesid.value = val.sid;
 | 
	
		
			
				|  |  |    zqname.value = val.pname;
 | 
	
		
			
				|  |  | +  tableobj.value=val;
 | 
	
		
			
				|  |  | +  currentrow.value=true;
 | 
	
		
			
				|  |  | +  shanchu.value = val;
 | 
	
		
			
				|  |  | +  sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +  firesid.value = val.sid;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    // }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  const shanchu = (val) => {
 | 
	
		
			
				|  |  | -  biaoid.value = val;
 | 
	
		
			
				|  |  | +  console.log(val)
 | 
	
		
			
				|  |  | +  if(val=='1'){
 | 
	
		
			
				|  |  | +  if (zqname.value == "") {
 | 
	
		
			
				|  |  | + ElMessage.error("你还没有选中删除的项目")
 | 
	
		
			
				|  |  | + } else {
 | 
	
		
			
				|  |  | +    sdialog.value.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +  
 | 
	
		
			
				|  |  | +    biaoid.value = val;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +  }else {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  const fundeledata = () => {
 | 
	
		
			
				|  |  |    if (biaoid.value == "1") {
 | 
	
	
		
			
				|  | @@ -786,7 +818,7 @@ const fundeledata2 = () => {
 | 
	
		
			
				|  |  |        ElMessage.error(err.returnMsg);
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  | -// 管道搜索
 | 
	
		
			
				|  |  | +// 巷道搜索
 | 
	
		
			
				|  |  |  function searchgd() {
 | 
	
		
			
				|  |  |    pipelinedata(searchtaggd.value);
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -797,6 +829,7 @@ const handleCurrentChange = (val) => {
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  //新建fire
 | 
	
		
			
				|  |  |  const newtable = () => {
 | 
	
		
			
				|  |  | +  currentrow.value=false;
 | 
	
		
			
				|  |  |    selectstr.value = "";
 | 
	
		
			
				|  |  |    firepid.value = "";
 | 
	
		
			
				|  |  |    source.site = 0;
 | 
	
	
		
			
				|  | @@ -808,9 +841,10 @@ const newtable = () => {
 | 
	
		
			
				|  |  |  const xiugaitable = () => {
 | 
	
		
			
				|  |  |    gdadd.value = "3";
 | 
	
		
			
				|  |  |    zhtext.value = "修改";
 | 
	
		
			
				|  |  | -  if (JSON.stringify(tableobj.value) == "{}") {
 | 
	
		
			
				|  |  | +  if (zqname.value == "") {
 | 
	
		
			
				|  |  |      ElMessage.error("你还没有选中修改的项目");
 | 
	
		
			
				|  |  |    } else {
 | 
	
		
			
				|  |  | +    console.log(tableobj.value)
 | 
	
		
			
				|  |  |      sdialog.value.dianadddialog = true;
 | 
	
		
			
				|  |  |      aid.value = tableobj.value.aid;
 | 
	
		
			
				|  |  |      firepid.value = tableobj.value.pid;
 | 
	
	
		
			
				|  | @@ -868,7 +902,7 @@ const projectsSelectionSelect = (selection, row) => {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    // console.log(row)
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  | -//管道数据查询
 | 
	
		
			
				|  |  | +//巷道数据查询
 | 
	
		
			
				|  |  |  const pipelinedata = (searchtag) => {
 | 
	
		
			
				|  |  |    const params = {
 | 
	
		
			
				|  |  |      transCode: "D00001",
 | 
	
	
		
			
				|  | @@ -1002,6 +1036,7 @@ const zaiyuxiugaiapi = () => {
 | 
	
		
			
				|  |  |  // 灾源突水检测添加
 | 
	
		
			
				|  |  |  //灾情检测删除
 | 
	
		
			
				|  |  |  const handleDelete2 = (val) => {
 | 
	
		
			
				|  |  | +  currentrow1.value=true;
 | 
	
		
			
				|  |  |    console.log(val);
 | 
	
		
			
				|  |  |    jiancobj.value = val;
 | 
	
		
			
				|  |  |    firesid.value = val.sid;
 | 
	
	
		
			
				|  | @@ -1009,7 +1044,7 @@ const handleDelete2 = (val) => {
 | 
	
		
			
				|  |  |    svid.value = val.svid;
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  const handleDelete3 = (val) => {
 | 
	
		
			
				|  |  | -  console.log(val);
 | 
	
		
			
				|  |  | +  currentrow1.value=true;
 | 
	
		
			
				|  |  |    jiancobj.value = val;
 | 
	
		
			
				|  |  |    firesid.value = val.sid;
 | 
	
		
			
				|  |  |    zqname.value = "检测表的一条信息";
 |