|  | @@ -300,9 +300,9 @@
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  |                            <div class="btns" :class="{tabactive: isActive === 4}" @click="changeClass(4)"><span class="spantext">添加</span></div>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
		
			
				|  |  | -                        <div class="flex_a" @click="wsxiugai()">
 | 
	
		
			
				|  |  | +                        <!-- <div class="flex_a" @click="wsxiugai()">
 | 
	
		
			
				|  |  |                            <div class="btns" :class="{tabactive: isActive === 5}" @click="changeClass(5)"><span class="spantext">修改</span></div>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | +                        </div> -->
 | 
	
		
			
				|  |  |                          <div
 | 
	
		
			
				|  |  |                            class="flex_a"
 | 
	
		
			
				|  |  |                            @click="wsdelete()
 | 
	
	
		
			
				|  | @@ -442,9 +442,9 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </el-aside>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  | -    <!--瓦斯的 文件上传 -->
 | 
	
		
			
				|  |  | +    <!--  瓦斯的添加-->
 | 
	
		
			
				|  |  |      <el-dialog
 | 
	
		
			
				|  |  | -      v-model="Gassdialog.wsaddflie"
 | 
	
		
			
				|  |  | +      v-model="Gassdialog.wsaddshow"
 | 
	
		
			
				|  |  |        width="400"
 | 
	
		
			
				|  |  |        align-center
 | 
	
		
			
				|  |  |        :modal="false"
 | 
	
	
		
			
				|  | @@ -459,53 +459,42 @@
 | 
	
		
			
				|  |  |        <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">{{zhtext}}</h4>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </template>
 | 
	
		
			
				|  |  | -         <div class=" btncolor tablefocus">
 | 
	
		
			
				|  |  | -                      <vue-uploader
 | 
	
		
			
				|  |  | -                      ref="gfx"
 | 
	
		
			
				|  |  | -                      :projectId="aid"
 | 
	
		
			
				|  |  | -                      :solverType="'fem'"
 | 
	
		
			
				|  |  | -                      :accept="'.x'"
 | 
	
		
			
				|  |  | -                      :upId="'1'"
 | 
	
		
			
				|  |  | -                      :gfname="gfname"
 | 
	
		
			
				|  |  | -                      :name="'网格文件上传'"
 | 
	
		
			
				|  |  | -                      @handfiles="handfiles"
 | 
	
		
			
				|  |  | -                      @Gassaddgfid="Gassaddgfid"
 | 
	
		
			
				|  |  | -                      style="margin: 20px 0 0 0"
 | 
	
		
			
				|  |  | -                    >
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -                  </vue-uploader>
 | 
	
		
			
				|  |  | -                  <vue-uploader
 | 
	
		
			
				|  |  | -                      ref="inp"
 | 
	
		
			
				|  |  | -                      :projectId="aid"
 | 
	
		
			
				|  |  | -                      :solverType="'fem'"
 | 
	
		
			
				|  |  | -                      :accept="'.inp'"
 | 
	
		
			
				|  |  | -                      :name="'边界文件'"
 | 
	
		
			
				|  |  | -                      :upId="'2'"
 | 
	
		
			
				|  |  | -                      :gfname="bfname"
 | 
	
		
			
				|  |  | -                      @handfiles="handfiles"
 | 
	
		
			
				|  |  | -                      @Gassaddbfid="Gassaddbfid"
 | 
	
		
			
				|  |  | -                      style="margin: 20px 0 0 0"
 | 
	
		
			
				|  |  | -                    >
 | 
	
		
			
				|  |  | -                  </vue-uploader>
 | 
	
		
			
				|  |  | -                  <!--  @handfiles="handfiles"
 | 
	
		
			
				|  |  | -                      @upoK='upDisOk'
 | 
	
		
			
				|  |  | -                      style="margin: 20px 0 0 0"
 | 
	
		
			
				|  |  | -                      @runstatezt1="runstatezt($event)" -->
 | 
	
		
			
				|  |  | -                    </div>
 | 
	
		
			
				|  |  | +      <div class="demo-input-suffix firsttitle magintop">
 | 
	
		
			
				|  |  | +        <el-form-item label="巷道名称" :label-width="formLabelWidth5">
 | 
	
		
			
				|  |  | +          <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="dialog-footer footer_div l_btn">
 | 
	
		
			
				|  |  |          <div class="footerbtn flex1">
 | 
	
		
			
				|  |  |            <div class="borderimg">
 | 
	
		
			
				|  |  | -            <el-button @click="fileboolen('cancel');">取消</el-button>
 | 
	
		
			
				|  |  | +            <el-button @click="Gassdialog.wsaddshow=false">取消</el-button>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div class="footerbtn flex1">
 | 
	
		
			
				|  |  |            <div class="borderimg">
 | 
	
		
			
				|  |  |              <el-button
 | 
	
		
			
				|  |  | -              @click="fileboolen('confirm');
 | 
	
		
			
				|  |  | -              "
 | 
	
		
			
				|  |  | +             @click="Gassadd();"
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  |                确定
 | 
	
		
			
				|  |  |              </el-button>
 | 
	
	
		
			
				|  | @@ -1079,6 +1068,7 @@ const changeModel= ()=>  {
 | 
	
		
			
				|  |  |    vtkmodel.renderWindow.render();
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  let styX=ref({left: ""})
 | 
	
		
			
				|  |  | +let vueupshow=ref(false);
 | 
	
		
			
				|  |  |  const gfx=ref();
 | 
	
		
			
				|  |  |  const inp=ref();
 | 
	
		
			
				|  |  |  let gid=ref("");
 | 
	
	
		
			
				|  | @@ -1123,6 +1113,7 @@ let bfname=ref("");
 | 
	
		
			
				|  |  |  let dialogtrue = ref();
 | 
	
		
			
				|  |  |  let zhtext = ref("");
 | 
	
		
			
				|  |  |  const Gassdialog=ref({
 | 
	
		
			
				|  |  | +  wsaddflie:false,
 | 
	
		
			
				|  |  |    wsaddflie:false,
 | 
	
		
			
				|  |  |    wsaddarea:false,
 | 
	
		
			
				|  |  |    wsdelete:false,
 | 
	
	
		
			
				|  | @@ -1546,35 +1537,23 @@ const Gassgetdata=(aidval)=>{
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  // 瓦斯爆炸的添加
 | 
	
		
			
				|  |  |  const wanewadd=()=>{
 | 
	
		
			
				|  |  | -  Gassdialog.value.wsaddflie= true;
 | 
	
		
			
				|  |  | +  Gassdialog.value.wsaddshow= true;
 | 
	
		
			
				|  |  | +  selectstr.value = "";
 | 
	
		
			
				|  |  | +  firepid.value = "";
 | 
	
		
			
				|  |  |    zhtext.value = "添加";
 | 
	
		
			
				|  |  | - gfname.value="";
 | 
	
		
			
				|  |  | - bfname.value="";
 | 
	
		
			
				|  |  | - currentrow.value=false;
 | 
	
		
			
				|  |  | - tableobj.value={};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | - gfid.value='';
 | 
	
		
			
				|  |  | - bfid.value='';
 | 
	
		
			
				|  |  | - gid.value='';
 | 
	
		
			
				|  |  | - nextTick(()=>{
 | 
	
		
			
				|  |  | -  gfx.value.files=[];
 | 
	
		
			
				|  |  | - inp.value.files=[];
 | 
	
		
			
				|  |  | - })
 | 
	
		
			
				|  |  | +//  currentrow.value=false;
 | 
	
		
			
				|  |  | +//  tableobj.value={};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -const Gassaddgfid=(gf)=>{
 | 
	
		
			
				|  |  | -  gfid.value=gf;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -const Gassaddbfid=( bf)=>{
 | 
	
		
			
				|  |  | -  bfid.value=bf;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  const Gassadd=()=>{
 | 
	
		
			
				|  |  | +  Gassdialog.value.wsaddshow=false;
 | 
	
		
			
				|  |  | +  console.log(firepid.value);
 | 
	
		
			
				|  |  |    const params = {
 | 
	
		
			
				|  |  |      transCode: "D10021",
 | 
	
		
			
				|  |  |      gid:gid.value,
 | 
	
		
			
				|  |  | -    gfid:gfid.value,
 | 
	
		
			
				|  |  | -    bfid:bfid.value,
 | 
	
		
			
				|  |  | +    pid:firepid.value,
 | 
	
		
			
				|  |  |      aid:aid.value
 | 
	
		
			
				|  |  |    };
 | 
	
		
			
				|  |  |  console.log(params);
 | 
	
	
		
			
				|  | @@ -1593,10 +1572,9 @@ console.log(params);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  // 瓦斯选中一行
 | 
	
		
			
				|  |  |  const handlews=(row)=>{
 | 
	
		
			
				|  |  | +  console.log(row);
 | 
	
		
			
				|  |  |    currentrow.value=true;
 | 
	
		
			
				|  |  |    tableobj.value=row;
 | 
	
		
			
				|  |  | -  gfname.value= tableobj.value.gfname
 | 
	
		
			
				|  |  | -  bfname.value= tableobj.value.bfname
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  // 瓦斯的修改
 | 
	
	
		
			
				|  | @@ -1605,20 +1583,9 @@ const wsxiugai= ()=>{
 | 
	
		
			
				|  |  |      ElMessage.error("你还没有选中修改的项目");
 | 
	
		
			
				|  |  |    } else {
 | 
	
		
			
				|  |  |    zhtext.value = "修改";
 | 
	
		
			
				|  |  | -  Gassdialog.value.wsaddflie= true;
 | 
	
		
			
				|  |  | -  gid.value=tableobj.value.gid;
 | 
	
		
			
				|  |  | -  Gassaddgfid(tableobj.value.gfid);
 | 
	
		
			
				|  |  | -  Gassaddbfid(tableobj.value.bfid);
 | 
	
		
			
				|  |  | -  nextTick(()=>{
 | 
	
		
			
				|  |  | -  gfx.value.files=[];
 | 
	
		
			
				|  |  | - inp.value.files=[];
 | 
	
		
			
				|  |  | - })
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  // console.log( gfx.value);
 | 
	
		
			
				|  |  | -  // gfx.value.gfid=tableobj.value.gfid;
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  | -  // inp.value.bfid=tableobj.value.bfid;
 | 
	
		
			
				|  |  | -  // aid.value=tableobj.value
 | 
	
		
			
				|  |  | +  Gassdialog.value.wsaddshow= true;
 | 
	
		
			
				|  |  | +  // selectstr.value = "";
 | 
	
		
			
				|  |  | +  // firepid.value = "";
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  // 瓦斯删除
 | 
	
	
		
			
				|  | @@ -1755,20 +1722,6 @@ const handleblastxg=(data)=>{
 | 
	
		
			
				|  |  |    wasi.value.blastdata=data;
 | 
	
		
			
				|  |  |    currentrow1.value=true;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -//判断文件是否上传
 | 
	
		
			
				|  |  | -const fileboolen=(val)=>{
 | 
	
		
			
				|  |  | -  let msg=gfx.value.msg;
 | 
	
		
			
				|  |  | -  let msg2=inp.value.msg;
 | 
	
		
			
				|  |  | -  if(msg=="上传中"||msg2=="上传中"){
 | 
	
		
			
				|  |  | -    ElMessage.error("上传中不能关闭");
 | 
	
		
			
				|  |  | -  }else{
 | 
	
		
			
				|  |  | -    Gassdialog.value.wsaddflie=false;
 | 
	
		
			
				|  |  | -    if(val=='confirm'&&msg=="已上传"||val=='confirm'&&msg2=="已上传"){
 | 
	
		
			
				|  |  | -    Gassadd();
 | 
	
		
			
				|  |  | -  }
 | 
	
		
			
				|  |  | -  }
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  // 爆炸区域删除
 | 
	
		
			
				|  |  |  const wsblastdelete=()=>{
 | 
	
	
		
			
				|  | @@ -1934,12 +1887,6 @@ const fundeledata3 = () => {
 | 
	
		
			
				|  |  |        ElMessage.error(err.returnMsg);
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  | -//文件上传的方法
 | 
	
		
			
				|  |  | -const handfiles = (file) => {
 | 
	
		
			
				|  |  | -      files.value = "";
 | 
	
		
			
				|  |  | -     files.value = file;
 | 
	
		
			
				|  |  | -     console.log( files.value);
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  |      const runstatezt=(res)=>{
 | 
	
		
			
				|  |  |        //  this.disabledok=res;
 | 
	
		
			
				|  |  |      }
 |