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

📄 frm_tccq.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>
<!--
function	subcheck(act) {
	if (act==0) 
		form1.action="frm_tccq_remove.asp";
	else if (act==1)
		form1.action="frm_tccq_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 wellId
	if wellIdText="" then
		wellId=wellIdCombo
	else
		wellId=wellIdText
	end if
	sdate=request("date")
	datest=cdate(sdate & "-1-1")
	dateed=cdate(sdate & "-12-31")
	Set Rs = Server.CreateObject("ADODB.RecordSet")
	SQL="select * from oil.oil_tccq where tccq_well_id='" &wellId& "'"
	rs.open SQL,conn,1,1
	dim tccq(),tccqCount
	tccqCount=0
	do while not rs.eof
		tdate=cdate(rs("tccq_csrq"))
		if tdate>=datest and tdate<=dateed then
			tccqCount=tccqCount+1
			redim preserve tccq(tccqCount)
			tccq(tccqCount-1)=""
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_id") 
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_csrq")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_csnr")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_cjd")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_cjh")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_qj")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_pxfp")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_xb")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_dym")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_cs")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_rcy")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_rco")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_ljyl")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_ljol")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_ljsl")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_sc_cl")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_tch_rcy")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_tch_rco")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_tch_hs")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_tch_dym")
			tccq(tccqCount-1)=tccq(tccqCount-1)& "@" & rs("tccq_memo")
		end if
		rs.movenext
	loop
	rs.close
	%>
	<span class="subject">
		<%=sdate%>年度井<%=wellId%>的排液及抽汲投产初期情况
	</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=1340>
	  <tr height="20">
	   <td class="title" rowspan=2 align=center width=20>&nbsp</td>
	   <td class="title" rowspan=2 align=center width=60>井号</td>
	   <td class="title" rowspan=2 align=center width=100>措施日期</td>
	   <td class="title" rowspan=2 align=center width=100>措施方式</td>
	   <td class="title" colspan=5 align=center>排液方式</td>
	   <td class="title" colspan=8 align=center>试抽抽汲情况</td>
	   <td class="title" colspan=4 align=center>投产后生产情况(一个月平均)</td>
	   <td class="title" rowspan=2 align=center width=100>备注</td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center width=60>抽汲单</td>
	   <td class="title" align=center width=60>抽汲合</td>
	   <td class="title" align=center width=60>气举</td>
	   <td class="title" align=center width=60>泡洗返排</td>
	   <td class="title" align=center width=60>下泵</td>
	   <td class="title" align=center width=60>动液面</td>
	   <td class="title" align=center width=60>抽深</td>
	   <td class="title" align=center width=60>日产液</td>
	   <td class="title" align=center width=60>日产油</td>
	   <td class="title" align=center width=60>累计液量</td>
	   <td class="title" align=center width=60>累计油量</td>
	   <td class="title" align=center width=60>累计水量</td>
	   <td class="title" align=center width=60>CL-</td>
	   <td class="title" align=center width=60>日产液</td>
	   <td class="title" align=center width=60>日产油</td>
	   <td class="title" align=center width=60>含水</td>
	   <td class="title" align=center width=60>动液面</td>
	  </tr> 
	  <%for i=0 to tccqCount-1%>
	  <tr height="20" align=center>
	   <td>&nbsp<input type=checkbox name=chtccq value=<%=split(tccq(i),"@")(1)%>></td>
	   <td>&nbsp<%=wellId%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(2)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(3)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(4)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(5)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(6)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(7)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(8)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(9)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(10)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(11)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(12)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(13)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(14)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(15)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(16)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(17)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(18)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(19)%></td>
	   <td>&nbsp<%=split(tccq(i),"@")(20)%></td>
	   <td>&nbsp<textarea rows=2 cols=25 class=text><%=split(tccq(i),"@")(21)%></textarea></td>
	  </tr> 
	  <%next%>
	</table>
	<br>
    <table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
		<tr>
			<td align=center>
				<input type="button" name="bt1" value="添加新数据" class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_tccq_add.asp?wellId=<%=wellId%>&sdate=<%=sdate%>");'> 
				<input type="button" name="bt1" value="修改选中的数据" class=button LANGUAGE=javascript onclick=subcheck(1)> 
				<input type="button" name="bt1" value="删除选中的数据" class=button LANGUAGE=javascript onclick=subcheck(0)> 
				<input type=hidden name=wellId value=<%=wellId%>>
				<input type=hidden name=sdate value=<%=sdate%>>
			</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="button" name="Submit32" value=" 返回 " class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_tccq_form.asp");'>
		  </td>
		</tr>
	  </table>
	</form>

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

⌨️ 快捷键说明

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