|  | @@ -5,7 +5,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          <!--火灾左侧栏-->
 | 
	
		
			
				|  |  |          <div class="common-layout " style="margin: 0;">
 | 
	
		
			
				|  |  | -            <el-aside width="591px" class="L_aside asideg asidegbg leftbgimg2 " v-show="boun.collfire">
 | 
	
		
			
				|  |  | +            <el-aside width="591px" class="L_aside L_aside1 asideg asidegbg leftbgimg2 " v-show="boun.collfire">
 | 
	
		
			
				|  |  |                  <div class="demo-collapse">
 | 
	
		
			
				|  |  |                      <el-collapse v-model="coolactiveName1" accordion>
 | 
	
		
			
				|  |  |                          <el-collapse-item name="1">
 | 
	
	
		
			
				|  | @@ -19,26 +19,29 @@
 | 
	
		
			
				|  |  |                                  <div class="jc_content tablecolor">
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                                      <div class="jc_padding font12">
 | 
	
		
			
				|  |  | -                                        <div class="xian btncolor">
 | 
	
		
			
				|  |  | +                                        <div class="xian btncolor tablefocus bmar">
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                                              <el-table :data="ftableData" style="width: 100%"
 | 
	
		
			
				|  |  | -                                                @current-change="handleCurrentChange" :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  | +                                               :max-height="tableHeight"
 | 
	
		
			
				|  |  | +                                                :highlight-current-row="true"
 | 
	
		
			
				|  |  | +                                                 :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  | +                                                 @row-click="handleDelete($event)"
 | 
	
		
			
				|  |  |                                                  :header-cell-style="{ 'background': 'rgba(13, 22, 57, 0.96) ' }">
 | 
	
		
			
				|  |  | -                                                <el-table-column prop="date" label="节点选择" />
 | 
	
		
			
				|  |  | -                                                <el-table-column prop="name" label="边界类型" />
 | 
	
		
			
				|  |  | -                                                <el-table-column prop="date" label="流量(m³/s)" width="80" />
 | 
	
		
			
				|  |  | -                                                <el-table-column prop="name" label="压强(pa)" width="70" />
 | 
	
		
			
				|  |  | -                                                <el-table-column prop="date" label="温度(℃)" />
 | 
	
		
			
				|  |  | -                                                <el-table-column prop="name" label="污染物1浓度" width="95" />
 | 
	
		
			
				|  |  | -                                                <el-table-column prop="date" label="污染物2浓度" width="95" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="nid" label="节点选择" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="type" label="边界类型" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="flow" label="流量(m³/s)" width="80" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="pressure" label="压强(pa)" width="70" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="temperature" label="温度(℃)" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="polcon1" label="污染物1浓度" width="95" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="polcon2" label="污染物2浓度" width="95" />
 | 
	
		
			
				|  |  |                                              </el-table>
 | 
	
		
			
				|  |  |                                              <div class="asdis_btn">
 | 
	
		
			
				|  |  |                                                  <div class="flex_a">
 | 
	
		
			
				|  |  | -                                                    <div class="btns" @click="addboundary(); dialog.dialogVisible = true;">
 | 
	
		
			
				|  |  | +                                                    <div class="btns" @click="bounadd();dialog.dialogVisible = true;">
 | 
	
		
			
				|  |  |                                                          <span class="spantext">添加</span></div>
 | 
	
		
			
				|  |  |                                                  </div>
 | 
	
		
			
				|  |  |                                                  <div class="flex_a">
 | 
	
		
			
				|  |  | -                                                    <div class="btns"><span class="spantext">删除</span></div>
 | 
	
		
			
				|  |  | +                                                    <div class="btns"  @click="sdialog.dialogsgdelect=true"><span class="spantext">删除</span></div>
 | 
	
		
			
				|  |  |                                                  </div>
 | 
	
		
			
				|  |  |                                                  <div class="flex_a">
 | 
	
		
			
				|  |  |                                                      <div class="btns"><span class="spantext">确认</span></div>
 | 
	
	
		
			
				|  | @@ -58,6 +61,57 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              </el-aside>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <!-- 突水 -->
 | 
	
		
			
				|  |  | +        <div class="common-layout " style="margin: 0;">
 | 
	
		
			
				|  |  | +            <el-aside width="231px" class="L_aside L_aside1 asideg asidegbg leftbgimg0 " v-show="boun.collwater">
 | 
	
		
			
				|  |  | +                <div class="demo-collapse">
 | 
	
		
			
				|  |  | +                    <el-collapse v-model="coolactiveName1" accordion>
 | 
	
		
			
				|  |  | +                        <el-collapse-item name="2">
 | 
	
		
			
				|  |  | +                            <template #title>
 | 
	
		
			
				|  |  | +                                <el-icon class="iconimg Frame3" fit="contain"></el-icon>
 | 
	
		
			
				|  |  | +                               突水<el-icon class="header-icon">
 | 
	
		
			
				|  |  | +                                    <info-filled />
 | 
	
		
			
				|  |  | +                                </el-icon>
 | 
	
		
			
				|  |  | +                            </template>
 | 
	
		
			
				|  |  | +                            <div class="asides_content">
 | 
	
		
			
				|  |  | +                                <div class="jc_content tablecolor">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                                    <div class="jc_padding font12">
 | 
	
		
			
				|  |  | +                                        <div class="xian btncolor tablefocus bmar">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                                            <el-table :data="ftableData" style="width: 100%"
 | 
	
		
			
				|  |  | +                                               :max-height="tableHeight"
 | 
	
		
			
				|  |  | +                                                :highlight-current-row="true"
 | 
	
		
			
				|  |  | +                                                 :row-class-name="tableRowClassName"
 | 
	
		
			
				|  |  | +                                                 @row-click="handleDelete($event)"
 | 
	
		
			
				|  |  | +                                                :header-cell-style="{ 'background': 'rgba(13, 22, 57, 0.96) ' }">
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="nid" label="节点选择" />
 | 
	
		
			
				|  |  | +                                                <el-table-column prop="type" label="边界类型" />
 | 
	
		
			
				|  |  | +                                            </el-table>
 | 
	
		
			
				|  |  | +                                        </div>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  | +                                    <div class="asdis_btn">
 | 
	
		
			
				|  |  | +                                                <div class="flex_a">
 | 
	
		
			
				|  |  | +                                                    <div class="btns" @click="bounadd();dialog.dialogVisible = true;">
 | 
	
		
			
				|  |  | +                                                        <span class="spantext">添加</span></div>
 | 
	
		
			
				|  |  | +                                                </div>
 | 
	
		
			
				|  |  | +                                                <div class="flex_a">
 | 
	
		
			
				|  |  | +                                                    <div class="btns"  @click="sdialog.dialogsgdelect=true"><span class="spantext">删除</span></div>
 | 
	
		
			
				|  |  | +                                                </div>
 | 
	
		
			
				|  |  | +                                            </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                                </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                            </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        </el-collapse-item>
 | 
	
		
			
				|  |  | +                    </el-collapse>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            </el-aside>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <!-- 添加 -->
 | 
	
		
			
				|  |  |          <el-dialog v-model="dialog.dialogVisible" width="482" :modal="false" :close-on-click-modal="false" draggable
 | 
	
	
		
			
				|  | @@ -71,12 +125,13 @@
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |              <div class="addye">
 | 
	
		
			
				|  |  | -                <el-form class="demo-form-inline" :inline="true" :model="formInline">
 | 
	
		
			
				|  |  | +                <div class="fireclass" v-if="props.classradio=='Fire'">
 | 
	
		
			
				|  |  | +                    <el-form class="demo-form-inline" :inline="true" :model="bformInline">
 | 
	
		
			
				|  |  |                      <div class="l_padding input" style="padding:20px 20px 20px 24px; ">
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                          <div class="demo-input-suffix firsttitle magintop">
 | 
	
		
			
				|  |  | -                            <el-form-item label="节点选择" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | -                                <el-input v-model="selectstr" class="w-50 m-2" placeholder="节点选择" />
 | 
	
		
			
				|  |  | +                            <el-form-item label="节点名称" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +                                <el-input v-model="bformInline.nname" class="w-50 m-2" placeholder="节点名称" />
 | 
	
		
			
				|  |  |                              </el-form-item>
 | 
	
		
			
				|  |  |                              <div class="btn2">
 | 
	
		
			
				|  |  |                                  <el-button type="primary"
 | 
	
	
		
			
				|  | @@ -84,34 +139,58 @@
 | 
	
		
			
				|  |  |                              </div>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
		
			
				|  |  |                          <el-form-item label="边界类型" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | -                            <el-select v-model="formInline.region" placeholder="请选择">
 | 
	
		
			
				|  |  | -                                <el-option v-for="item in formInline.options" :key="item.id" :label="item.label"
 | 
	
		
			
				|  |  | +                            <el-select v-model="bformInline.type" placeholder="请选择">
 | 
	
		
			
				|  |  | +                                <el-option v-for="item in bformInline.options" :key="item.id" :label="item.label"
 | 
	
		
			
				|  |  |                                      :value="item.value"></el-option>
 | 
	
		
			
				|  |  |                              </el-select>
 | 
	
		
			
				|  |  |                          </el-form-item>
 | 
	
		
			
				|  |  |                          <el-form-item label="流量(m³/s)"  :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | -                    <el-input  v-model="formInline.user" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  | +                    <el-input  v-model="bformInline.flow" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  |                      </el-form-item>
 | 
	
		
			
				|  |  |                      <el-form-item label="压强(pa)"  :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | -                        <el-input  v-model="formInline.user" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  | +                        <el-input  v-model="bformInline.pressure" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  |                          </el-form-item>
 | 
	
		
			
				|  |  |                          <el-form-item label="温度(℃)"  :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | -                        <el-input  v-model="formInline.user" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  | +                        <el-input  v-model="bformInline.temperature" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  |                          </el-form-item>
 | 
	
		
			
				|  |  |                          <el-form-item label="污染物1浓度"  :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | -                        <el-input  v-model="formInline.user" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  | +                        <el-input  v-model="bformInline.polcon1" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  |                          </el-form-item>
 | 
	
		
			
				|  |  |                          <el-form-item label="污染物2浓度"  :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | -                        <el-input  v-model="formInline.user" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  | +                        <el-input  v-model="bformInline.polcon2" class="w-50 m-2"  placeholder="请输入"  />
 | 
	
		
			
				|  |  | +                        </el-form-item>
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  | +                </el-form>
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +                <div class="Waterclass" v-else>
 | 
	
		
			
				|  |  | +                    <el-form class="demo-form-inline" :inline="true" :model="bformInline">
 | 
	
		
			
				|  |  | +                    <div class="l_padding input" style="padding:20px 20px 20px 24px; ">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        <div class="demo-input-suffix firsttitle magintop">
 | 
	
		
			
				|  |  | +                            <el-form-item label="节点名称" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +                                <el-input v-model="bformInline.nname" 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>
 | 
	
		
			
				|  |  | +                        <el-form-item label="边界类型" :label-width="formLabelWidth6">
 | 
	
		
			
				|  |  | +                            <el-select v-model="bformInline.type" placeholder="请选择">
 | 
	
		
			
				|  |  | +                                <el-option v-for="item in bformInline.options2" :key="item.id" :label="item.label"
 | 
	
		
			
				|  |  | +                                    :value="item.value"></el-option>
 | 
	
		
			
				|  |  | +                            </el-select>
 | 
	
		
			
				|  |  |                          </el-form-item>
 | 
	
		
			
				|  |  |                      </div>
 | 
	
		
			
				|  |  |                  </el-form>
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +              
 | 
	
		
			
				|  |  |                  <div class="dialog-footer footer_div l_btn">
 | 
	
		
			
				|  |  |                      <div class="footerbtn flex1">
 | 
	
		
			
				|  |  |                          <div class="borderimg"><el-button @click="dialog.dialogVisible = false">取消</el-button></div>
 | 
	
		
			
				|  |  |                      </div>
 | 
	
		
			
				|  |  |                      <div class="footerbtn flex1">
 | 
	
		
			
				|  |  | -                        <div class="borderimg"><el-button @click="accidentboun()">
 | 
	
		
			
				|  |  | +                        <div class="borderimg"><el-button @click="accidentboun();dialog.dialogVisible = false">
 | 
	
		
			
				|  |  |                                  确定
 | 
	
		
			
				|  |  |                              </el-button></div>
 | 
	
		
			
				|  |  |                      </div>
 | 
	
	
		
			
				|  | @@ -161,7 +240,7 @@
 | 
	
		
			
				|  |  |                              <div class="borderimg"><el-button @click=" sdialog.dialogVisiblenode = false">取消</el-button></div>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
		
			
				|  |  |                          <div class="footerbtn flex1">
 | 
	
		
			
				|  |  | -                            <div class="borderimg"><el-button @click="selectfun(); sdialog.dialogVisiblenode = false">
 | 
	
		
			
				|  |  | +                            <div class="borderimg"><el-button @click="selectfun();">
 | 
	
		
			
				|  |  |                                      确定
 | 
	
		
			
				|  |  |                                  </el-button></div>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
	
		
			
				|  | @@ -169,7 +248,23 @@
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |              </el-dialog>
 | 
	
		
			
				|  |  |          </el-dialog>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | + <!-- 删除 -->
 | 
	
		
			
				|  |  | +        <el-dialog v-model="sdialog.dialogsgdelect" width="400"  class="dialog_class bgcolor tianjia">
 | 
	
		
			
				|  |  | +                <template #header="{titleId, titleClass }">
 | 
	
		
			
				|  |  | +                <div class="my-header ">
 | 
	
		
			
				|  |  | +                    <el-image :src="icon" fit="contain" ></el-image>
 | 
	
		
			
				|  |  | +                    <h4 :id="titleId" :class="titleClass">删除框</h4>
 | 
	
		
			
				|  |  | +                
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +                </template>
 | 
	
		
			
				|  |  | +                    <h4 class="delecttitle"> 是否确认删除 <span class="spanclad">{{zqname }}</span></h4>
 | 
	
		
			
				|  |  | +                <div class="dialog-footer footer_div l_btn">
 | 
	
		
			
				|  |  | +                    <div class="footerbtn flex1"><div class="borderimg"><el-button @click="sdialog.dialogsgdelect=false">取消</el-button></div></div>
 | 
	
		
			
				|  |  | +                    <div class="footerbtn flex1"><div class="borderimg"><el-button  @click="fundeledata();sdialog.dialogsgdelect=false">
 | 
	
		
			
				|  |  | +                确定
 | 
	
		
			
				|  |  | +                    </el-button></div></div>
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +            </el-dialog>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  <script setup >
 | 
	
	
		
			
				|  | @@ -186,24 +281,34 @@ const props = defineProps({
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  |  let sdialog = ref({
 | 
	
		
			
				|  |  |      dialogVisiblenode: false,
 | 
	
		
			
				|  |  | +    dialogsgdelect:false,
 | 
	
		
			
				|  |  |  })
 | 
	
		
			
				|  |  |  const strResultFormatlist = reactive(
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      { id: 0, name: "灾情演化", value: ".vtk" },
 | 
	
		
			
				|  |  |      { id: 1, name: "演化过程", value: ".mesh" }
 | 
	
		
			
				|  |  |  );
 | 
	
		
			
				|  |  | +let zqname=ref('');
 | 
	
		
			
				|  |  | +let tableHeight=ref(400)
 | 
	
		
			
				|  |  |  const multipleTableRef = ref()
 | 
	
		
			
				|  |  |  const multipleSelection = ref([])
 | 
	
		
			
				|  |  |  const formLabelWidth5 = ref(77);
 | 
	
		
			
				|  |  |  const formLabelWidth6 = ref(120);
 | 
	
		
			
				|  |  |  let tableData2=ref([]);
 | 
	
		
			
				|  |  | -let selectstr = ref('');
 | 
	
		
			
				|  |  |  let searchtaggd = ref("");
 | 
	
		
			
				|  |  |  let total = ref(1);
 | 
	
		
			
				|  |  | -let firepid=ref("");
 | 
	
		
			
				|  |  |  const currentPage4 = ref(1);
 | 
	
		
			
				|  |  |  const pageSize4 = ref(5)
 | 
	
		
			
				|  |  | -let formInline = reactive({
 | 
	
		
			
				|  |  | +let nid=ref();
 | 
	
		
			
				|  |  | +let bid=ref();
 | 
	
		
			
				|  |  | +let bformInline = ref({
 | 
	
		
			
				|  |  | +    nname:'',
 | 
	
		
			
				|  |  | +    type:'Pressure',
 | 
	
		
			
				|  |  | +    flow:'',
 | 
	
		
			
				|  |  | +    pressure:'',
 | 
	
		
			
				|  |  | +    temperature:'',
 | 
	
		
			
				|  |  | +    polcon1:'',
 | 
	
		
			
				|  |  | +    polcon2:'',
 | 
	
		
			
				|  |  |      user: '11',
 | 
	
		
			
				|  |  |      nodesel: '1',
 | 
	
		
			
				|  |  |      nodesselect: [
 | 
	
	
		
			
				|  | @@ -220,15 +325,19 @@ let formInline = reactive({
 | 
	
		
			
				|  |  |      options: [
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              value: 'massflow',
 | 
	
		
			
				|  |  | -            label: '压力入口',
 | 
	
		
			
				|  |  | +            label: '流量入口',
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              value: 'Pressure',
 | 
	
		
			
				|  |  | -            label: '流量入口',
 | 
	
		
			
				|  |  | +            label: ' 压力入口',
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +    ],
 | 
	
		
			
				|  |  | +    region: 'Pressure',
 | 
	
		
			
				|  |  | +    options2: [
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            value: 'Pressure',
 | 
	
		
			
				|  |  | +            label: ' 压力入口',
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      ]
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  })
 | 
	
	
		
			
				|  | @@ -270,17 +379,19 @@ const pipelinedata = (searchtag) => {
 | 
	
		
			
				|  |  |              total.value = res.total;
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          .catch((err) => {
 | 
	
		
			
				|  |  | +            ElMessage.error(err.returnMsg)
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  const selectfun = () => {
 | 
	
		
			
				|  |  | -    selectstr.value = '';
 | 
	
		
			
				|  |  | +    sdialog.value.dialogVisiblenode = false;
 | 
	
		
			
				|  |  | +    bformInline.value.nname= '';
 | 
	
		
			
				|  |  |      currentPage4.value = 1;
 | 
	
		
			
				|  |  |      console.log()
 | 
	
		
			
				|  |  |      if (multipleSelection.value.length != 0) {
 | 
	
		
			
				|  |  | -        firepid.value = multipleSelection.value[0].id;
 | 
	
		
			
				|  |  | -        selectstr.value = multipleSelection.value[0].name;
 | 
	
		
			
				|  |  | +        nid.value = multipleSelection.value[0].id;
 | 
	
		
			
				|  |  | +        bformInline.value.nname= multipleSelection.value[0].name;
 | 
	
		
			
				|  |  |      } else {
 | 
	
		
			
				|  |  | -        selectstr.value = '';
 | 
	
		
			
				|  |  | +        bformInline.value.nname = '';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -300,23 +411,81 @@ const projectsSelectionSelect = (selection, row) => {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // console.log(row)
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -// 火灾边界数据的查询
 | 
	
		
			
				|  |  | -const addboundary = () => {
 | 
	
		
			
				|  |  | +//边界添加前清空
 | 
	
		
			
				|  |  | +const  bounadd=()=>{
 | 
	
		
			
				|  |  | +    bformInline.value.nname='';
 | 
	
		
			
				|  |  | +    bformInline.value.type='Pressure',
 | 
	
		
			
				|  |  | +    bformInline.value.flow='';
 | 
	
		
			
				|  |  | +    bformInline.value.pressure='';
 | 
	
		
			
				|  |  | +    bformInline.value.temperature='';
 | 
	
		
			
				|  |  | +    bformInline.value.polcon1='';
 | 
	
		
			
				|  |  | +    bformInline.value.polcon2='';
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +//边界的添加
 | 
	
		
			
				|  |  | +const  accidentboun=()=>{
 | 
	
		
			
				|  |  |      const params = {
 | 
	
		
			
				|  |  | -        transCode: 'D10007',
 | 
	
		
			
				|  |  | +        transCode: 'D10008',
 | 
	
		
			
				|  |  | +        nid:nid.value,
 | 
	
		
			
				|  |  | +        nname:bformInline.value.nname,
 | 
	
		
			
				|  |  | +        type:bformInline.value.type,
 | 
	
		
			
				|  |  |          aid: props.aid,
 | 
	
		
			
				|  |  | +        flow:bformInline.value.flow,
 | 
	
		
			
				|  |  | +        pressure:bformInline.value.pressure,
 | 
	
		
			
				|  |  | +        temperature:bformInline.value.temperature,
 | 
	
		
			
				|  |  | +        polcon1:bformInline.value.polcon1,
 | 
	
		
			
				|  |  | +        polcon2:bformInline.value.polcon2,
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    request(params)
 | 
	
		
			
				|  |  | +        .then((res) => {
 | 
	
		
			
				|  |  | +         addboundary();
 | 
	
		
			
				|  |  | +          
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +        .catch((err) => {
 | 
	
		
			
				|  |  | +            ElMessage.error(err.returnMsg)
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +// 边界数据的查询
 | 
	
		
			
				|  |  | +const addboundary = (valaid) => {
 | 
	
		
			
				|  |  | +    const params = {
 | 
	
		
			
				|  |  | +        transCode: 'D10007',
 | 
	
		
			
				|  |  | +        aid:props.aid,
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      request(params)
 | 
	
		
			
				|  |  |          .then((res) => {
 | 
	
		
			
				|  |  | -            if (props.classradio == 'Fire') {
 | 
	
		
			
				|  |  |                  ftableData.value = res.rows;
 | 
	
		
			
				|  |  | -            } else {
 | 
	
		
			
				|  |  | -                tableData4.value = res.rows
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +           
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          .catch((err) => {
 | 
	
		
			
				|  |  | +            ElMessage.error(err.returnMsg)
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | + //火灾边界条件删除
 | 
	
		
			
				|  |  | + const handleDelete=(val)=>{
 | 
	
		
			
				|  |  | +      console.log(val);
 | 
	
		
			
				|  |  | +      bid.value=val.bid;
 | 
	
		
			
				|  |  | +      zqname.value=val.nname;
 | 
	
		
			
				|  |  | +  
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +  const fundeledata=()=>{
 | 
	
		
			
				|  |  | +    const params = {
 | 
	
		
			
				|  |  | +            transCode: 'D10009',
 | 
	
		
			
				|  |  | +            bid:bid.value,
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            console.log(params);
 | 
	
		
			
				|  |  | +            request(params)
 | 
	
		
			
				|  |  | +              .then((res) => { 
 | 
	
		
			
				|  |  | +                ElMessage({
 | 
	
		
			
				|  |  | +                message: '删除成功',
 | 
	
		
			
				|  |  | +                type: 'success',
 | 
	
		
			
				|  |  | +              })
 | 
	
		
			
				|  |  | +              addboundary();
 | 
	
		
			
				|  |  | +              })
 | 
	
		
			
				|  |  | +              .catch((err) => {
 | 
	
		
			
				|  |  | +                ElMessage.error(err.returnMsg)
 | 
	
		
			
				|  |  | +              
 | 
	
		
			
				|  |  | +              })
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +// 表格变色
 | 
	
		
			
				|  |  |  const tableRowClassName = ({ row, rowIndex }) => {
 | 
	
		
			
				|  |  |      if (rowIndex % 2 != 0) {
 | 
	
		
			
				|  |  |          return 'evenRow';
 | 
	
	
		
			
				|  | @@ -324,20 +493,37 @@ const tableRowClassName = ({ row, rowIndex }) => {
 | 
	
		
			
				|  |  |      return 'oddRow';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -const accident4 = (val) => {
 | 
	
		
			
				|  |  | -    if (props.classradio == "Fire") {
 | 
	
		
			
				|  |  | +// 弹出框
 | 
	
		
			
				|  |  | +const accident4 = (key) => {
 | 
	
		
			
				|  |  | +    if(key=='2'){
 | 
	
		
			
				|  |  | +        if (props.classradio == "Fire") {
 | 
	
		
			
				|  |  |          boun.value.collfire = true;
 | 
	
		
			
				|  |  | -        addboundary();
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -    } else if (props.classradio == "Water") {
 | 
	
		
			
				|  |  | -        boun.value.collwater = true;
 | 
	
		
			
				|  |  | +        } else if (props.classradio == "Water") {
 | 
	
		
			
				|  |  | +            boun.value.collwater = true;
 | 
	
		
			
				|  |  | +        }else{
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    }else{
 | 
	
		
			
				|  |  | +        boun.value.collfire = false;
 | 
	
		
			
				|  |  | +        boun.value.collwater = false;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +   
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  onMounted(() => {
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  | -defineExpose({ boun, accident4 });
 | 
	
		
			
				|  |  | +defineExpose({ boun, accident4,addboundary });
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  | -<style lang="scss" scoped> .jc_padding .el-table tr {
 | 
	
		
			
				|  |  | +<style lang="scss" scoped> 
 | 
	
		
			
				|  |  | +.bounclass .flex_a{
 | 
	
		
			
				|  |  | +    display: flex;
 | 
	
		
			
				|  |  | +    justify-content: center;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +.bmar .el-table__header{
 | 
	
		
			
				|  |  | +    margin: 0 !important;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +.jc_padding .el-table tr {
 | 
	
		
			
				|  |  |       height: 30px !important;
 | 
	
		
			
				|  |  |       background: rgba(104, 173, 255, 0.3);
 | 
	
		
			
				|  |  |       box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
 | 
	
	
		
			
				|  | @@ -684,7 +870,11 @@ defineExpose({ boun, accident4 });
 | 
	
		
			
				|  |  |      background-size: cover;
 | 
	
		
			
				|  |  |      background-position-x: center !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +.leftbgimg0 .el-collapse-item__header {
 | 
	
		
			
				|  |  | +    background-image: url(../../assets/img/b0.png) !important;
 | 
	
		
			
				|  |  | +    background-size: cover;
 | 
	
		
			
				|  |  | +    background-position-x: center !important;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  .xian {
 | 
	
		
			
				|  |  |      border: 1px solid;
 | 
	
		
			
				|  |  |      -o-border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
 | 
	
	
		
			
				|  | @@ -707,7 +897,7 @@ defineExpose({ boun, accident4 });
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .asideg .el-collapse-item__wrap {
 | 
	
		
			
				|  |  | -    height: calc(100vh - 120px);
 | 
	
		
			
				|  |  | +    /* height: calc(100vh - 120px); */
 | 
	
		
			
				|  |  |      background: rgba(13, 22, 57, 0.4);
 | 
	
		
			
				|  |  |      /* //border: 1px solid; */
 | 
	
		
			
				|  |  |      border-bottom: 1px solid;
 | 
	
	
		
			
				|  | @@ -730,7 +920,16 @@ defineExpose({ boun, accident4 });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | +.leftbgimg0 .el-table tr {
 | 
	
		
			
				|  |  | +    height: 30px !important;
 | 
	
		
			
				|  |  | +    background: rgba(104, 173, 255, 0.3);
 | 
	
		
			
				|  |  | +    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;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  .font12 .el-table .cell {
 | 
	
		
			
				|  |  |      font-size: 12px !important;
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -774,4 +973,13 @@ defineExpose({ boun, accident4 });
 | 
	
		
			
				|  |  |  .addye .footer_div {
 | 
	
		
			
				|  |  |      height: auto;
 | 
	
		
			
				|  |  |      padding-bottom: 30px;
 | 
	
		
			
				|  |  | -}</style>
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | + .Frame3{
 | 
	
		
			
				|  |  | +        background-image: url(../../assets/img/Frame3.png);
 | 
	
		
			
				|  |  | +        background-repeat: no-repeat;
 | 
	
		
			
				|  |  | +        background-position: center;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +.guand_1   .asdis_btn{
 | 
	
		
			
				|  |  | +        margin-top: -9px !important;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +</style>
 |