|  | @@ -128,6 +128,7 @@
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  |              </el-collapse-item>
 | 
	
		
			
				|  |  |            </el-collapse>
 | 
	
		
			
				|  |  | +        <!-- <Fengmen ref='Fengmenref' :aid='aid'></Fengmen> -->
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </el-aside>
 | 
	
		
			
				|  |  |      </div>
 | 
	
	
		
			
				|  | @@ -419,7 +420,6 @@
 | 
	
		
			
				|  |  |        </el-aside>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <!-- 瓦斯爆炸 -->
 | 
	
		
			
				|  |  | -     <!--火灾左侧栏-->
 | 
	
		
			
				|  |  |       <div class="common-layout " style="margin: 0" v-show="sour.Gass">
 | 
	
		
			
				|  |  |        <el-aside     width="2.125rem" class="L_aside L_aside1 asideg asidegbg leftbgimg1">
 | 
	
		
			
				|  |  |          <div class="demo-collapse">
 | 
	
	
		
			
				|  | @@ -468,9 +468,7 @@
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  |                            <div class="btns" :class="{tabactive: isActive === 4}" @click="changeClass(4)"><span class="spantext">添加</span></div>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
		
			
				|  |  | -                        <!-- <div class="flex_a" @click="wsxiugai()">
 | 
	
		
			
				|  |  | -                          <div class="btns" :class="{tabactive: isActive === 5}" @click="changeClass(5)"><span class="spantext">修改</span></div>
 | 
	
		
			
				|  |  | -                        </div> -->
 | 
	
		
			
				|  |  | +                      
 | 
	
		
			
				|  |  |                          <div
 | 
	
		
			
				|  |  |                            class="flex_a"
 | 
	
		
			
				|  |  |                            @click="wsdelete()
 | 
	
	
		
			
				|  | @@ -621,6 +619,182 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </el-aside>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  | +    <!-- 一维瓦斯爆炸 -->
 | 
	
		
			
				|  |  | +    <div class="common-layout" style="margin: 0" v-show="sour.collGass1">
 | 
	
		
			
				|  |  | +      <el-aside width="2.125rem" class="L_aside L_aside1 asideg asidegbg leftbgimg1">
 | 
	
		
			
				|  |  | +        <div class="demo-collapse">
 | 
	
		
			
				|  |  | +          <el-collapse v-model="coolactiveName1" accordion @change="handleChangecollapse ">
 | 
	
		
			
				|  |  | +            <el-collapse-item name="1" class="imgneon">
 | 
	
		
			
				|  |  | +              <template #title>
 | 
	
		
			
				|  |  | +                <el-icon class="iconimg Frame3" fit="contain"></el-icon>
 | 
	
		
			
				|  |  | +                一维瓦斯灾源
 | 
	
		
			
				|  |  | +              </template>
 | 
	
		
			
				|  |  | +              <div class="asides_content">
 | 
	
		
			
				|  |  | +                <div class="jc_content tablecolor">
 | 
	
		
			
				|  |  | +                  <div class="jc_padding">
 | 
	
		
			
				|  |  | +                    <div class="xian btncolor tablefocus">
 | 
	
		
			
				|  |  | +                      <el-table
 | 
	
		
			
				|  |  | +                        :data="yiweitable"
 | 
	
		
			
				|  |  | +                        @row-click="yiweihandle($event)"
 | 
	
		
			
				|  |  | +                        :header-cell-style="{ background: 'rgba(13, 22, 57, 0)' }"
 | 
	
		
			
				|  |  | +                      :highlight-current-row="currentrow" 
 | 
	
		
			
				|  |  | +                        style="width: 100%"
 | 
	
		
			
				|  |  | +                        :max-height="tableHeight"
 | 
	
		
			
				|  |  | +                        :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  | +                      >
 | 
	
		
			
				|  |  | +                      <template  v-slot:empty>
 | 
	
		
			
				|  |  | +                        <p>暂无数据</p>
 | 
	
		
			
				|  |  | +                      </template>
 | 
	
		
			
				|  |  | +                        <el-table-column prop="pname" label="选择巷道" />
 | 
	
		
			
				|  |  | +                        <el-table-column prop="ssite" label="开始位置" />
 | 
	
		
			
				|  |  | +                        <el-table-column prop="esite" label="结束位置" />
 | 
	
		
			
				|  |  | +                        <el-table-column prop="gasdensity" label="瓦斯爆炸区浓度" />
 | 
	
		
			
				|  |  | +                      </el-table>
 | 
	
		
			
				|  |  | +                      <div class="asdis_btn">
 | 
	
		
			
				|  |  | +                        <div
 | 
	
		
			
				|  |  | +                          class="flex_a"
 | 
	
		
			
				|  |  | +                          @click="
 | 
	
		
			
				|  |  | +                            yiweiadd($event);
 | 
	
		
			
				|  |  | +                            sdialog.yiweidialog = true;
 | 
	
		
			
				|  |  | +                          "
 | 
	
		
			
				|  |  | +                        >
 | 
	
		
			
				|  |  | +                          <div class="btns" ><span class="spantext">添加</span></div>
 | 
	
		
			
				|  |  | +                        </div>
 | 
	
		
			
				|  |  | +                        <div class="flex_a" @click="yiweixiugai()">
 | 
	
		
			
				|  |  | +                          <div class="btns"><span class="spantext">修改</span></div>
 | 
	
		
			
				|  |  | +                        </div>
 | 
	
		
			
				|  |  | +                        <div
 | 
	
		
			
				|  |  | +                          class="flex_a"
 | 
	
		
			
				|  |  | +                          @click="yiweidelete()
 | 
	
		
			
				|  |  | +                          "
 | 
	
		
			
				|  |  | +                        >
 | 
	
		
			
				|  |  | +                          <div class="btns"><span class="spantext">删除</span></div>
 | 
	
		
			
				|  |  | +                        </div>
 | 
	
		
			
				|  |  | +                      </div>
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  | +                  
 | 
	
		
			
				|  |  | +                  </div>
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +              </div>
 | 
	
		
			
				|  |  | +            </el-collapse-item>
 | 
	
		
			
				|  |  | +          </el-collapse>
 | 
	
		
			
				|  |  | +        <!-- <Fengmen ref='Fengmenref' :aid='aid'></Fengmen> -->
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </el-aside>
 | 
	
		
			
				|  |  | +    </div>
 | 
	
		
			
				|  |  | +    <!--  一维添加 -->
 | 
	
		
			
				|  |  | +    <el-dialog
 | 
	
		
			
				|  |  | +      v-model="sdialog.yiweidialog"
 | 
	
		
			
				|  |  | +      width="400"
 | 
	
		
			
				|  |  | +      align-center
 | 
	
		
			
				|  |  | +      :modal="false"
 | 
	
		
			
				|  |  | +      :append-to-body="true"
 | 
	
		
			
				|  |  | +      :z-index='1000'
 | 
	
		
			
				|  |  | +      :close-on-click-modal="false"
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      :fullscreen="false"
 | 
	
		
			
				|  |  | +      :modal-append-to-body="false"
 | 
	
		
			
				|  |  | +      modal-class="summary-dlg"
 | 
	
		
			
				|  |  | +      class="dialog_class bgcolor tianjia"
 | 
	
		
			
				|  |  | +      draggable
 | 
	
		
			
				|  |  | +      @close='closeDialog'
 | 
	
		
			
				|  |  | +    >
 | 
	
		
			
				|  |  | +      <template #header="{ titleId, titleClass }">
 | 
	
		
			
				|  |  | +        <div class="my-header">
 | 
	
		
			
				|  |  | +          <el-image :src="icon" fit="contain"></el-image>
 | 
	
		
			
				|  |  | +          <h4 :id="titleId" :class="titleClass">{{ zhtext }}</h4>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </template>
 | 
	
		
			
				|  |  | +      <div class="demo-input-suffix firsttitle magintop">
 | 
	
		
			
				|  |  | +        <el-form-item label="巷道名称" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +          <el-input
 | 
	
		
			
				|  |  | +            v-model="selectstr"
 | 
	
		
			
				|  |  | +            disabled
 | 
	
		
			
				|  |  | +            class="w-50 m-2"
 | 
	
		
			
				|  |  | +            placeholder="巷道名称"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  | +        <div class="btn2">
 | 
	
		
			
				|  |  | +          <el-button
 | 
	
		
			
				|  |  | +            type="primary"
 | 
	
		
			
				|  |  | +            @click="
 | 
	
		
			
				|  |  | +              fireclick();
 | 
	
		
			
				|  |  | +              sdialog.dialogVisiblenode = true;
 | 
	
		
			
				|  |  | +            "
 | 
	
		
			
				|  |  | +            >选择巷道</el-button
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <div class="btn2" style="padding-left: 10px">
 | 
	
		
			
				|  |  | +          <el-button type="primary" @click="Dclick()">3D巷道选择</el-button>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +      <div class="input">
 | 
	
		
			
				|  |  | +        <el-form-item label="开始位置" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +          <el-input-number
 | 
	
		
			
				|  |  | +            v-model="yiweiobj.ssite"
 | 
	
		
			
				|  |  | +            :min="0"
 | 
	
		
			
				|  |  | +            :max="1"
 | 
	
		
			
				|  |  | +            :precision="2"
 | 
	
		
			
				|  |  | +            :step="0.1"
 | 
	
		
			
				|  |  | +            controls-position="right"
 | 
	
		
			
				|  |  | +            class="w-50 m-2"
 | 
	
		
			
				|  |  | +            placeholder="开始位置"
 | 
	
		
			
				|  |  | +            @change="inputnuberChange"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +      <div class="input">
 | 
	
		
			
				|  |  | +        <el-form-item label="结束位置" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +          <el-input-number
 | 
	
		
			
				|  |  | +            v-model="yiweiobj.esite"
 | 
	
		
			
				|  |  | +            :min="0"
 | 
	
		
			
				|  |  | +            :max="1"
 | 
	
		
			
				|  |  | +            :precision="2"
 | 
	
		
			
				|  |  | +            :step="0.1"
 | 
	
		
			
				|  |  | +            controls-position="right"
 | 
	
		
			
				|  |  | +            class="w-50 m-2"
 | 
	
		
			
				|  |  | +            placeholder="结束位置"
 | 
	
		
			
				|  |  | +            @change="inputnuberChange"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +      <div class="input">
 | 
	
		
			
				|  |  | +        <el-form-item label="瓦斯爆炸区浓度" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +          <el-input-number
 | 
	
		
			
				|  |  | +          v-model="yiweiobj.gasdensity"
 | 
	
		
			
				|  |  | +            :min="0"
 | 
	
		
			
				|  |  | +            :max="1"
 | 
	
		
			
				|  |  | +            :precision="2"
 | 
	
		
			
				|  |  | +            :step="0.1"
 | 
	
		
			
				|  |  | +            controls-position="right"
 | 
	
		
			
				|  |  | +            class="w-50 m-2"
 | 
	
		
			
				|  |  | +            placeholder="浓度"
 | 
	
		
			
				|  |  | +            @change="inputnuberChange"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +      <!-- <el-form-item label="瓦斯爆炸区浓度" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +            <el-input v-model="yiweiobj.gasdensity"  maxlength="10" oninput ="value=value.replace(/[^0-9.]/g,'')" class="w-50 m-2"  placeholder="请输入" />
 | 
	
		
			
				|  |  | +        </el-form-item> -->
 | 
	
		
			
				|  |  | +      <div class="dialog-footer footer_div l_btn">
 | 
	
		
			
				|  |  | +        <div class="footerbtn flex1">
 | 
	
		
			
				|  |  | +          <div class="borderimg">
 | 
	
		
			
				|  |  | +            <el-button @click="closeDialog(); sdialog.yiweidialog = false">取消</el-button>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <div class="footerbtn flex1">
 | 
	
		
			
				|  |  | +          <div class="borderimg">
 | 
	
		
			
				|  |  | +            <el-button
 | 
	
		
			
				|  |  | +              @click="yehandleEdit();
 | 
	
		
			
				|  |  | +              
 | 
	
		
			
				|  |  | +              "
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  | +              确定
 | 
	
		
			
				|  |  | +            </el-button>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +    </el-dialog>
 | 
	
		
			
				|  |  |      <!--  瓦斯的添加-->
 | 
	
		
			
				|  |  |      <el-dialog
 | 
	
		
			
				|  |  |        v-model="Gassdialog.wsaddshow"
 | 
	
	
		
			
				|  | @@ -1432,7 +1606,7 @@ import {
 | 
	
		
			
				|  |  |  } from "element-plus";
 | 
	
		
			
				|  |  |  import zhCn from 'element-plus/es/locale/lang/zh-cn'
 | 
	
		
			
				|  |  |  import { Calendar, Search } from "@element-plus/icons-vue";
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +import Fengmen from "./Fengmen.vue";
 | 
	
		
			
				|  |  |  import InfoBoundary from "./InfoBoundary.vue";
 | 
	
		
			
				|  |  |  import { c } from "@kitware/vtk.js/macros2";
 | 
	
		
			
				|  |  |  import { vtkmodel } from "@/control/vtkModel.js";;
 | 
	
	
		
			
				|  | @@ -1453,12 +1627,14 @@ const changeModel= ()=>  {
 | 
	
		
			
				|  |  |    vtkmodel.clearJgAddMode();
 | 
	
		
			
				|  |  |    vtkmodel.renderWindow.render();
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | +let yiweitable=ref();
 | 
	
		
			
				|  |  |  let timing = ref(null);
 | 
	
		
			
				|  |  |  let styX=ref({left: ""})
 | 
	
		
			
				|  |  |  let vueupshow=ref(false);
 | 
	
		
			
				|  |  |  const gfx=ref();
 | 
	
		
			
				|  |  |  const inp=ref();
 | 
	
		
			
				|  |  |  let tableDatpump=ref();
 | 
	
		
			
				|  |  | +let Fengmenref=ref();
 | 
	
		
			
				|  |  |  let gid=ref("");
 | 
	
		
			
				|  |  |  let wsid=ref("");
 | 
	
		
			
				|  |  |  let gfid=ref("");
 | 
	
	
		
			
				|  | @@ -1540,6 +1716,7 @@ const sdialog = ref({
 | 
	
		
			
				|  |  |    addline:false,
 | 
	
		
			
				|  |  |    linetable:false,
 | 
	
		
			
				|  |  |    deletedata:false,
 | 
	
		
			
				|  |  | +  yiweidialog:false,
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  |  let selectstr = ref("");
 | 
	
		
			
				|  |  |  const currentPage4 = ref(1);
 | 
	
	
		
			
				|  | @@ -1551,7 +1728,16 @@ const sour = ref({
 | 
	
		
			
				|  |  |    collfire: false,
 | 
	
		
			
				|  |  |    collwater: false,
 | 
	
		
			
				|  |  |    Gass:false,
 | 
	
		
			
				|  |  | +  collGass1:false
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  | +// 一维参数 
 | 
	
		
			
				|  |  | +let yiweiobj =ref({
 | 
	
		
			
				|  |  | +  ssite:null,
 | 
	
		
			
				|  |  | +  esite:null,
 | 
	
		
			
				|  |  | +  gasdensity:null,
 | 
	
		
			
				|  |  | +  gid:'',
 | 
	
		
			
				|  |  | +  nreobj:{}
 | 
	
		
			
				|  |  | +})
 | 
	
		
			
				|  |  |  let jiancobj = ref({});
 | 
	
		
			
				|  |  |  let firepid = ref("");
 | 
	
		
			
				|  |  |  let svid = ref("");
 | 
	
	
		
			
				|  | @@ -1593,29 +1779,36 @@ const tableData4 = ref([]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const accident3 = (key) => {
 | 
	
		
			
				|  |  |    console.log(key);
 | 
	
		
			
				|  |  | -  if (key == "1"||key == "2"||key == "3") {
 | 
	
		
			
				|  |  | +  if (key == "1"||key == "2"||key == "3"||key=='5') {
 | 
	
		
			
				|  |  |      console.log(props.classradio )
 | 
	
		
			
				|  |  |      if (props.classradio == "Fire") {
 | 
	
		
			
				|  |  |        sour.value.collfire = true;
 | 
	
		
			
				|  |  |        sour.value.collwater = false;
 | 
	
		
			
				|  |  |        sour.value.Gass = false;
 | 
	
		
			
				|  |  | +      sour.value.collGass1=false
 | 
	
		
			
				|  |  |      } else if (props.classradio == "Water") {
 | 
	
		
			
				|  |  |       
 | 
	
		
			
				|  |  |        sour.value.collwater = true;
 | 
	
		
			
				|  |  |        sour.value.collfire = false;
 | 
	
		
			
				|  |  |        sour.value.Gass = false;
 | 
	
		
			
				|  |  | -      console.log(sour.value.collwater );
 | 
	
		
			
				|  |  | -      console.log(222333)
 | 
	
		
			
				|  |  | -   
 | 
	
		
			
				|  |  | +      sour.value.collGass1=false
 | 
	
		
			
				|  |  |      }else if(props.classradio == "Gass"){
 | 
	
		
			
				|  |  |        sour.value.collwater = false;
 | 
	
		
			
				|  |  |        sour.value.collfire = false;
 | 
	
		
			
				|  |  |        sour.value.Gass = true;
 | 
	
		
			
				|  |  | +      sour.value.collGass1=false
 | 
	
		
			
				|  |  | +    }else if(props.classradio == "Gass1"){
 | 
	
		
			
				|  |  | +      sour.value.collwater = false;
 | 
	
		
			
				|  |  | +      sour.value.collfire = false;
 | 
	
		
			
				|  |  | +      sour.value.Gass = false;
 | 
	
		
			
				|  |  | +      sour.value.collGass1=true;
 | 
	
		
			
				|  |  | +      yiweiget()
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    } else {
 | 
	
		
			
				|  |  |      sour.value.collwater = false;
 | 
	
		
			
				|  |  |      sour.value.collfire = false;
 | 
	
		
			
				|  |  |      sour.value.Gass = false;
 | 
	
		
			
				|  |  | +    sour.value.collGass1=false;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  // 3D数据显示
 | 
	
	
		
			
				|  | @@ -1635,6 +1828,7 @@ const Dclick = () => {
 | 
	
		
			
				|  |  |  //灾情源查询列表
 | 
	
		
			
				|  |  |  const handledisaster = (aidval) => {
 | 
	
		
			
				|  |  |    aid.value = aidval;
 | 
	
		
			
				|  |  | +  //Fengmenref.value.getrequest();
 | 
	
		
			
				|  |  |    const params = {
 | 
	
		
			
				|  |  |      transCode: "D00005",
 | 
	
		
			
				|  |  |      aid: aid.value,
 | 
	
	
		
			
				|  | @@ -2622,7 +2816,10 @@ if(deltext.value=='性能'){
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |  }else if(deltext.value=='水泵'){
 | 
	
		
			
				|  |  |    getshuidel()
 | 
	
		
			
				|  |  | -}else{
 | 
	
		
			
				|  |  | +} else if(deltext.value=='一维瓦斯'){
 | 
	
		
			
				|  |  | +  delyiwei();
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +else{
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -2637,10 +2834,124 @@ const delline=()=>{
 | 
	
		
			
				|  |  |    
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | +//一维查询
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +const yiweiget=()=>{
 | 
	
		
			
				|  |  | +  const params = {
 | 
	
		
			
				|  |  | +    transCode:"D30001",
 | 
	
		
			
				|  |  | +    aid: aid.value,
 | 
	
		
			
				|  |  | + 
 | 
	
		
			
				|  |  | +  };
 | 
	
		
			
				|  |  | +  request(params)
 | 
	
		
			
				|  |  | +    .then((res) => {
 | 
	
		
			
				|  |  | +      yiweitable.value=res.row;
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    .catch((err) => {
 | 
	
		
			
				|  |  | +      ElMessage.error(err.returnMsg);
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +// 添加清空
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +const yiweiadd=()=>{
 | 
	
		
			
				|  |  | +  var e = e || window.Event;
 | 
	
		
			
				|  |  | +  styX.value.left = e.clientX + "px";
 | 
	
		
			
				|  |  | +  currentrow.value=false;
 | 
	
		
			
				|  |  | +  zhtext.value = "添加";
 | 
	
		
			
				|  |  | +  tishi.value =zhtext.value;
 | 
	
		
			
				|  |  | +  yiweiobj.value.ssite=null;
 | 
	
		
			
				|  |  | +  yiweiobj.value.esite=null;
 | 
	
		
			
				|  |  | +  yiweiobj.value.gasdensity=null;
 | 
	
		
			
				|  |  | +  firepid.value=null;
 | 
	
		
			
				|  |  | +  selectstr.value=null;
 | 
	
		
			
				|  |  | +  yiweiobj.value.nreobj={};
 | 
	
		
			
				|  |  | +  yiweiobj.value.gid='';
 | 
	
		
			
				|  |  | +  vtkmodel.clearJgAddMode() ;
 | 
	
		
			
				|  |  | +  vtkmodel.selectPipes();
 | 
	
		
			
				|  |  | +  dialogtrue.value.jgSelect();
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +// 修改
 | 
	
		
			
				|  |  | +const yiweixiugai=()=>{
 | 
	
		
			
				|  |  | +  zhtext.value = "修改";
 | 
	
		
			
				|  |  | +  tishi.value =zhtext.value;
 | 
	
		
			
				|  |  | +  if (JSON.stringify(yiweiobj.value.nreobj) == "{}") {
 | 
	
		
			
				|  |  | +    ElMessage.error("你还没有选中修改的项目");
 | 
	
		
			
				|  |  | +  } else {
 | 
	
		
			
				|  |  | +    sdialog.value.yiweidialog=true;
 | 
	
		
			
				|  |  | +    currentrow.value=true;
 | 
	
		
			
				|  |  | +    yiweiobj.value.ssite=yiweiobj.value.nreobj.ssite;
 | 
	
		
			
				|  |  | +  yiweiobj.value.esite=yiweiobj.value.nreobj.esite;
 | 
	
		
			
				|  |  | +  yiweiobj.value.gasdensity=yiweiobj.value.nreobj.gasdensity;
 | 
	
		
			
				|  |  | +  selectstr.value=yiweiobj.value.nreobj.pname;
 | 
	
		
			
				|  |  | +  firepid.value=yiweiobj.value.nreobj.pid;
 | 
	
		
			
				|  |  | +  yiweiobj.value.gid=yiweiobj.value.nreobj.pid;
 | 
	
		
			
				|  |  | +  vtkmodel.clearJgAddMode() ;
 | 
	
		
			
				|  |  | +  vtkmodel.selectPipes();
 | 
	
		
			
				|  |  | +  dialogtrue.value.jgSelect();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +const yiweihandle = (val) => {
 | 
	
		
			
				|  |  | +  yiweiobj.value.nreobj=val;
 | 
	
		
			
				|  |  | +  currentrow.value=true;
 | 
	
		
			
				|  |  | +    // }
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +// 一维灾情源添加
 | 
	
		
			
				|  |  | +const yehandleEdit=()=>{
 | 
	
		
			
				|  |  | +  const params = {
 | 
	
		
			
				|  |  | +    transCode:"D30002",
 | 
	
		
			
				|  |  | +    pid: firepid.value,
 | 
	
		
			
				|  |  | +    aid: aid.value,
 | 
	
		
			
				|  |  | +    ssite:yiweiobj.value.ssite,
 | 
	
		
			
				|  |  | +    esite:yiweiobj.value.esite,
 | 
	
		
			
				|  |  | +    gasdensity:parseFloat(yiweiobj.value.gasdensity),
 | 
	
		
			
				|  |  | +  };
 | 
	
		
			
				|  |  | +  request(params)
 | 
	
		
			
				|  |  | +    .then((res) => {
 | 
	
		
			
				|  |  | +      console.log(res);
 | 
	
		
			
				|  |  | +      ElMessage({
 | 
	
		
			
				|  |  | +        message:  tishi.value+"一维灾情源",
 | 
	
		
			
				|  |  | +        type: "success",
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +      yiweiget();
 | 
	
		
			
				|  |  | +      sdialog.value.yiweidialog=false;
 | 
	
		
			
				|  |  | +      dialogtrue.value.timintclaer();
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    .catch((err) => {
 | 
	
		
			
				|  |  | +      ElMessage.error(err.returnMsg);
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +// 删除
 | 
	
		
			
				|  |  | +const yiweidelete=()=>{
 | 
	
		
			
				|  |  | +deltext.value='一维瓦斯';
 | 
	
		
			
				|  |  | +sdialog.value.deletedata = true;
 | 
	
		
			
				|  |  | +zqname.value=yiweiobj.value.nreobj.pname;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +const  delyiwei=()=>{
 | 
	
		
			
				|  |  | +  if (JSON.stringify(yiweiobj.value.nreobj) == "{}") {
 | 
	
		
			
				|  |  | +    ElMessage.error("你还没有选中修改的项目");
 | 
	
		
			
				|  |  | +  } else {
 | 
	
		
			
				|  |  | +  const params = {
 | 
	
		
			
				|  |  | +    transCode: "D30003",
 | 
	
		
			
				|  |  | +    gid:yiweiobj.value.nreobj.gid
 | 
	
		
			
				|  |  | +  };
 | 
	
		
			
				|  |  | +  request(params)
 | 
	
		
			
				|  |  | +    .then((res) => {
 | 
	
		
			
				|  |  | +      ElMessage({
 | 
	
		
			
				|  |  | +        message: "删除成功",
 | 
	
		
			
				|  |  | +        type: "success",
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +      yiweiget()
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    .catch((err) => {
 | 
	
		
			
				|  |  | +      ElMessage.error(err.returnMsg);
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  onMounted(() => {
 | 
	
		
			
				|  |  |    
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  | -defineExpose({ sour, accident3, handledisaster,changeModel,Gassgetdata,getrequest});
 | 
	
		
			
				|  |  | +defineExpose({ sour, accident3, handledisaster,changeModel,Gassgetdata,getrequest,});
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 |