⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frm_well_basic.asp

📁 一套石油公司内部的运营管理系统
💻 ASP
字号:
<!--#include virtual="/include/DBCon.inc"-->
<html>
<head>
 
<title>油田采油工艺综合管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/css/oil.css" type="text/css">
<SCRIPT LANGUAGE="javascript" src="/include/calender.js"></SCRIPT>
<SCRIPT LANGUAGE=javascript>
<!--
function showText(id) {
	var divId="t"+id;
	var currentElement = document.getElementById(divId);
	currentElement.style.visibility = "visible";
}

function subcheck() {
	form1.action="frm_well_modify.asp";
	form1.submit();
}
-->
</SCRIPT>

</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
	<%
	wellIdText=request("well_id")
	wellIdCombo=request("well")
	dim well_id
	if wellIdText="" then
		well_id=wellIdCombo
	else
		well_id=wellIdText
	end if
	Set Rs = Server.CreateObject("ADODB.RecordSet")
	SQL="select well_id,well_finish_date,well_type,d.dict_value,b.block_name,well_finish_method,well_distance,well_depth,well_layer,well_slope_depth,well_maxslope_depth,well_maxslope_slope,well_maxslope_fw,well_hori_distance,well_tube_outer,well_tube_inner,well_tube_depth,well_gj_snfs,well_gj_sbjy,well_gj_time,well_gj_sbjya from oil.oil_well w,oil.oil_dict d,oil.oil_block b where well_id='" &well_id& "' and d.dict_type='area' and well_area=d.dict_code and b.block_id=well_block and b.area_id=well_area"
	rs.open SQL,conn,1,1
	dim well(21)
	well(0)=rs("well_id")
	well(1)=rs("well_finish_date")
	well(2)=rs("dict_value")
	well(3)=rs("block_name")
	well(4)=rs("well_finish_method")
	well(5)=rs("well_distance")
	well(6)=rs("well_depth")
	well(7)=rs("well_layer")
	well(8)=rs("well_slope_depth")
	well(9)=rs("well_maxslope_depth")
	well(10)=rs("well_maxslope_slope")
	well(11)=rs("well_maxslope_fw")
	well(12)=rs("well_hori_distance")
	well(13)=rs("well_tube_outer")
	well(14)=rs("well_tube_inner")
	well(15)=rs("well_tube_depth")
	well(16)=rs("well_gj_snfs")
	well(17)=rs("well_gj_sbjy")
	well(18)=rs("well_gj_time")
	well(19)=rs("well_gj_sbjya")
	well(20)=rs("well_type")
	rs.close
	%>
	<span class="subject">
	<%
	if well(20)="0" then
		response.write "油"
	else
		response.write "水"
	end if
	%>井<%=well(0)%>基本数据</span> 
	<hr size="1" class=hr width="98%" align="center">
	<br>
	<form action="" method=post name=form1>
	<table border="1" cellpadding="1" cellspacing="0" align="center" class="table2" 
	  bordercolor="#000000" bordercolordark="#F8EDEB" width="90%">
	  <tr height="18">
	   <td class="title" align=center colspan=2>完井日期</td>
	   <td align="center"><%=well(1)%></td>
	   <td align=center width=5%>
		   <input type=button name=bt1 value="修改" class="button" onClick="showText(1)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t1 style="WIDTH: 14px;visibility:hidden">
		   <table width=200 border=0>
			<tr>
				<td align=center>
				<input type=text name=text1 size=16 class=text>
				<input type=button value=".." class=button onclick="fPopCalendar(text1,text1); return false" alt="按此选时">
				</td>
			<tr>
		   </table>
		   </DIV>
	   </td>
	  </tr> 

	  <tr height="18">
	   <td class="title" align=center colspan=2>完成方法</td>
	   <td align="center"><%=well(4)%></td>
	   <td align=center width=5%>
		   <input type=button name=bt2 value="修改" class="button" onClick="showText(2)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t2 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text2 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title" width=20% align=center>造斜点</td>
	   <td align="center" width=20% class=title2>深度</td>
	   <td align="center" width=20%><%=well(8)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt3 value="修改" class="button" onClick="showText(3)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t3 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text3 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title" align=center colspan=2>套补距</td>
	   <td align="center"><%=well(5)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt4 value="修改" class="button" onClick="showText(4)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t4 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text4 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title" align=center colspan=2>完钻井深</td>
	   <td align="center"><%=well(6)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt5 value="修改" class="button" onClick="showText(5)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t5 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text5 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title" rowspan=3 align=center>最大井斜</td>
	   <td align="center" class=title2>深度</td>
	   <td align="center"><%=well(9)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt6 value="修改" class="button" onClick="showText(6)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t6 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text6 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td align="center" class=title2>斜度</td>
	   <td align="center"><%=well(10)%>度</td>
	   <td align=center width=5%>
		   <input type=button name=bt7 value="修改" class="button" onClick="showText(7)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t7 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text7 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td align="center" class=title2>方位</td>
	   <td align="center"><%=well(11)%>度</td>
	   <td align=center width=5%>
		   <input type=button name=bt8 value="修改" class="button" onClick="showText(8)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t8 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text8 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title" align=center colspan=2>完钻层位</td>
	   <td align="center"><%=well(7)%></td>
	   <td align=center width=5%>
		   <input type=button name=bt9 value="修改" class="button" onClick="showText(9)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t9 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text9 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title" align=center colspan=2>总水平位移</td>
	   <td align="center"><%=well(12)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt10 value="修改" class="button" onClick="showText(10)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t10 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text10 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title" rowspan=3 align=center>套管规范</td>
	   <td align="center" class=title2>外径</td>
	   <td align="center"><%=well(13)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt11 value="修改" class="button" onClick="showText(11)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t11 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text11 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td align="center" class=title2>内径</td>
	   <td align="center"><%=well(14)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt12 value="修改" class="button" onClick="showText(12)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t12 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text12 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td align="center" class=title2>下入深度</td>
	   <td align="center"><%=well(15)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt13 value="修改" class="button" onClick="showText(13)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t13 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text13 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td class="title"  rowspan=4 align=center>固井质量</td>
	   <td align="center" class=title2>水泥返深</td>
	   <td align="center"><%=well(16)%>米</td>
	   <td align=center width=5%>
		   <input type=button name=bt14 value="修改" class="button" onClick="showText(14)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t14 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text14 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td align="center" class=title2>试泵加压</td>
	   <td align="center"><%=well(17)%>帕斯卡</td>
	   <td align=center width=5%>
		   <input type=button name=bt15 value="修改" class="button" onClick="showText(15)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t15 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text15 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td align="center" class=title2>时间</td>
	   <td align="center"><%=well(18)%>分</td>
	   <td align=center width=5%>
		   <input type=button name=bt16 value="修改" class="button" onClick="showText(16)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t16 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text16 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>

	  <tr height="18">
	   <td align="center" class=title2>降压</td>
	   <td align="center"><%=well(19)%>帕斯卡</td>
	   <td align=center width=5%>
		   <input type=button name=bt17 value="修改" class="button" onClick="showText(17)">
	   </td>
	   <td align=center width=35%>
		   <DIV id=t17 style="WIDTH: 14px;visibility:hidden">
				<input type=text name=text17 size=20 class=text>
		   </DIV>
	   </td>
	  </tr>
	</table> 
	<br>
    <table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
		<tr>
			<td align=center>
				<input type="button" name="Submit32" value="查看油层及射孔情况" class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_well_layer.asp?wellId=<%=well_id%>");'> 
				<input type="button" name="Submit32" value="查看套管完好情况" class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_well_tube.asp?wellId=<%=well_id%>");'> 
			</td>
		</tr>
	</table>
	<hr size="1" class=hr width="98%" align="center">
	  <br>
	  <table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
		<tr align="center"> 
		  <td> 
			<input type=hidden name=wellId value=<%=well_id%>>
			<input type="button" name="Submit1" value=" 更新 " onclick=subcheck() class=button> 
			<input type="button" name="Submit32" value=" 返回 " class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_well_basic_form.asp");'>
		  </td>
		</tr>
	  </table>
	</form>

</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -