|  | @@ -105,7 +105,7 @@
 | 
	
		
			
				|  |  |                            class="flex_a"
 | 
	
		
			
				|  |  |                            @click="
 | 
	
		
			
				|  |  |                              shanchu('2');
 | 
	
		
			
				|  |  | -                            sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +                            //sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  |                            "
 | 
	
		
			
				|  |  |                          >
 | 
	
		
			
				|  |  |                            <div class="btns"><span class="spantext">删除</span></div>
 | 
	
	
		
			
				|  | @@ -908,6 +908,7 @@
 | 
	
		
			
				|  |  |        v-model="sdialog.adddwater"
 | 
	
		
			
				|  |  |        :append-to-body="true"
 | 
	
		
			
				|  |  |        width="400"
 | 
	
		
			
				|  |  | +      align-center
 | 
	
		
			
				|  |  |        class="dialog_class bgcolor tianjia"
 | 
	
		
			
				|  |  |      >
 | 
	
		
			
				|  |  |        <template #header="{ titleId, titleClass }">
 | 
	
	
		
			
				|  | @@ -962,7 +963,8 @@
 | 
	
		
			
				|  |  |      <el-dialog
 | 
	
		
			
				|  |  |        v-model="sdialog.dialogsgdelect"
 | 
	
		
			
				|  |  |        :append-to-body="true"
 | 
	
		
			
				|  |  | -      width="400"
 | 
	
		
			
				|  |  | +      width="300"
 | 
	
		
			
				|  |  | +      align-center
 | 
	
		
			
				|  |  |        class="dialog_class bgcolor tianjia"
 | 
	
		
			
				|  |  |      >
 | 
	
		
			
				|  |  |        <template #header="{ titleId, titleClass }">
 | 
	
	
		
			
				|  | @@ -996,6 +998,7 @@
 | 
	
		
			
				|  |  |      <!-- 瓦斯的删除 -->
 | 
	
		
			
				|  |  |      <el-dialog
 | 
	
		
			
				|  |  |        v-model="Gassdialog.wsdelete"
 | 
	
		
			
				|  |  | +      align-center
 | 
	
		
			
				|  |  |        :append-to-body="true"
 | 
	
		
			
				|  |  |        width="400"
 | 
	
		
			
				|  |  |        class="dialog_class bgcolor tianjia"
 | 
	
	
		
			
				|  | @@ -1235,6 +1238,7 @@ const handledisaster = (aidval) => {
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          tableDatawat.value = res.rows;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +       tableobj.value={};
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
		
			
				|  |  |        ElMessage.error(err.returnMsg);
 | 
	
	
		
			
				|  | @@ -1243,6 +1247,7 @@ const handledisaster = (aidval) => {
 | 
	
		
			
				|  |  |  // 灾情源添加
 | 
	
		
			
				|  |  |  const fireadd = () => {
 | 
	
		
			
				|  |  |    currentrow.value = false;
 | 
	
		
			
				|  |  | +  tableobj.value={};
 | 
	
		
			
				|  |  |    if(firepid.value==null||firepid.value==""){
 | 
	
		
			
				|  |  |      ElMessage.error("巷道不能为空")
 | 
	
		
			
				|  |  |    }else{
 | 
	
	
		
			
				|  | @@ -1291,11 +1296,12 @@ const handleEditfire = () => {
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  //灾情源删除
 | 
	
		
			
				|  |  |  const handleDelete = (val) => {
 | 
	
		
			
				|  |  | +  console.log("我执行了")
 | 
	
		
			
				|  |  |    zqname.value = val.pname;
 | 
	
		
			
				|  |  | -  tableobj.value=val;
 | 
	
		
			
				|  |  | + tableobj.value=val;
 | 
	
		
			
				|  |  |    currentrow.value=true;
 | 
	
		
			
				|  |  |    shanchu.value = val;
 | 
	
		
			
				|  |  | -  sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  | + sdialog.dialogsgdelect = true;
 | 
	
		
			
				|  |  |    firesid.value = val.sid;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // }
 | 
	
	
		
			
				|  | @@ -1304,14 +1310,22 @@ const shanchu = (val) => {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    biaoid.value = val;
 | 
	
		
			
				|  |  |    if(val=='1'){
 | 
	
		
			
				|  |  | -  if (zqname.value == "") {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  if (JSON.stringify(tableobj.value) == "{}") {
 | 
	
		
			
				|  |  |   ElMessage.error("你还没有选中删除的项目")
 | 
	
		
			
				|  |  |   } else {
 | 
	
		
			
				|  |  |      sdialog.value.dialogsgdelect = true;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }else {
 | 
	
		
			
				|  |  | -    sdialog.value.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +    if (JSON.stringify(jiancobj.value) == "{}") {
 | 
	
		
			
				|  |  | +      ElMessage.error("你还没有选中删除的项目")
 | 
	
		
			
				|  |  | + } else {
 | 
	
		
			
				|  |  | +  sdialog.value.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +  //sdialog.value.dialogsgdelect = true;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +  //  sdialog.value.dialogsgdelect = true;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  const fundeledata = () => {
 | 
	
	
		
			
				|  | @@ -1360,6 +1374,7 @@ const newtable = (e) => {
 | 
	
		
			
				|  |  |    styX.value.left = e.clientX + "px";
 | 
	
		
			
				|  |  |    console.log(styX.value.left);
 | 
	
		
			
				|  |  |    currentrow.value=false;
 | 
	
		
			
				|  |  | +  tableobj.value={};
 | 
	
		
			
				|  |  |    selectstr.value = "";
 | 
	
		
			
				|  |  |    firepid.value = "";
 | 
	
		
			
				|  |  |    source.site = 0;
 | 
	
	
		
			
				|  | @@ -1423,7 +1438,9 @@ const projectsSelectionSelect = (selection, row) => {
 | 
	
		
			
				|  |  |    if (selection.length > 1) {
 | 
	
		
			
				|  |  |      multipleTableRef.value.clearSelection();
 | 
	
		
			
				|  |  |      multipleTableRef.value.toggleRowSelection(row, true);
 | 
	
		
			
				|  |  | -    multipleSelection.value = selection[1];
 | 
	
		
			
				|  |  | +    let arrp=[];
 | 
	
		
			
				|  |  | +        arrp.push(selection[1])
 | 
	
		
			
				|  |  | +        multipleSelection.value = arrp;
 | 
	
		
			
				|  |  |      return;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    if (selection.length == 1) {
 | 
	
	
		
			
				|  | @@ -1474,6 +1491,7 @@ const getinquire = () => {
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          tableData4.value = res.rows;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +      jiancobj.value={};
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {});
 | 
	
		
			
				|  |  |  };
 | 
	
	
		
			
				|  | @@ -1518,6 +1536,8 @@ const firinit = () => {
 | 
	
		
			
				|  |  |    Disastersource.value.val3 = "";
 | 
	
		
			
				|  |  |    Disastersource.value.val4 = "";
 | 
	
		
			
				|  |  |    zhtext.value = "添加";
 | 
	
		
			
				|  |  | +  currentrow1.value=false;
 | 
	
		
			
				|  |  | +  jiancobj.value={};
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  //瓦斯爆炸查询
 | 
	
		
			
				|  |  |  const Gassgetdata=(aidval)=>{
 | 
	
	
		
			
				|  | @@ -1530,6 +1550,7 @@ const Gassgetdata=(aidval)=>{
 | 
	
		
			
				|  |  |    request(params)
 | 
	
		
			
				|  |  |      .then((res) => {
 | 
	
		
			
				|  |  |        tableDataws.value=res.rows;
 | 
	
		
			
				|  |  | +      tableobj.value={};
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
		
			
				|  |  |        ElMessage.error(err.returnMsg);
 | 
	
	
		
			
				|  | @@ -1542,8 +1563,8 @@ const wanewadd=()=>{
 | 
	
		
			
				|  |  |    firepid.value = "";
 | 
	
		
			
				|  |  |    zhtext.value = "添加";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -//  currentrow.value=false;
 | 
	
		
			
				|  |  | -//  tableobj.value={};
 | 
	
		
			
				|  |  | + currentrow.value=false;
 | 
	
		
			
				|  |  | + tableobj.value={};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -1652,7 +1673,7 @@ const wsblastget=()=>{
 | 
	
		
			
				|  |  |    request(params)
 | 
	
		
			
				|  |  |      .then((res) => {
 | 
	
		
			
				|  |  |        gtableData.value=res.rows;
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | +      wasi.value.blastdata={}
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
	
		
			
				|  | @@ -1691,6 +1712,7 @@ const wsbalastadd=()=>{
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |        Gassdialog.value.wsaddarea= false;
 | 
	
		
			
				|  |  |        wsblastget();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
	
		
			
				|  | @@ -1763,7 +1785,7 @@ const wsblastdelete1=()=>{
 | 
	
		
			
				|  |  |    request(params)
 | 
	
		
			
				|  |  |      .then((res) => {
 | 
	
		
			
				|  |  |        gjtableData.value=res.rows;
 | 
	
		
			
				|  |  | -    
 | 
	
		
			
				|  |  | +      wasi.value.gatherdata={};
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
		
			
				|  |  |        ElMessage.error(err.returnMsg);
 |