📄 frm_zsz_device_add_confirm.asp
字号:
<!--#include virtual="/include/DBCon.inc"-->
<%
dvType=request.form("dvtype")
tarea=request.form("tarea")
tzsz=request.form("tzsz")
zszId=request.form("zsz")
if dvType=0 then
text1=request.form("text1")
text2=request.form("text2")
text3=request.form("text3")
text4=request.form("text4")
text5=request.form("text5")
text6=request.form("text6")
text7=request.form("text7")
text8=request.form("text8")
text9=request.form("text9")
text10=request.form("text10")
text11=request.form("text11")
elseif dvType=1 then
text1=request.form("text1")
text2=request.form("text2")
text3=request.form("text3")
text4=request.form("text4")
text5=request.form("text5")
text6=request.form("text6")
text7=request.form("text7")
text8=request.form("text8")
text9=request.form("text9")
text10=request.form("text10")
text11=request.form("text11")
text12=request.form("text12")
text13=request.form("text13")
text14=request.form("text14")
text15=request.form("text15")
text16=request.form("text16")
text17=request.form("text17")
text18=request.form("text18")
text19=request.form("text19")
text20=request.form("text20")
text21=request.form("text21")
text22=request.form("text22")
elseif dvType=2 then
text1=request.form("text1")
text2=request.form("text2")
text3=request.form("text3")
text4=request.form("text4")
text5=request.form("text5")
text6=request.form("text6")
text7=request.form("text7")
text8=request.form("text8")
text9=request.form("text9")
elseif dvType=3 then
text1=request.form("text1")
text2=request.form("text2")
text3=request.form("text3")
text4=request.form("text4")
text5=request.form("text5")
text6=request.form("text6")
text7=request.form("text7")
text8=request.form("text8")
text9=request.form("text9")
text10=request.form("text10")
text11=request.form("text11")
text12=request.form("text12")
end if
'以下从数据库取出注水站
dim zsz(1)
Set Rs = Server.CreateObject("ADODB.RecordSet")
SQL="select * from oil.oil_zsz where zsz_id='" &zszId& "'"
rs.open SQL,conn,1,1
if rs.eof and rs.bof then
response.redirect "/profile/errorpage.asp?title=注水站&msg=数据库里没有注水站信息"
else
zsz(0)=rs("zsz_name") & "-" & rs("zsz_id")
end if
%>
<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>
<!--
-->
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
<form method=post name=form1>
<span class="subject">
<%
if dvType=0 then
response.write "添加注水站注水设备"
elseif dvType=1 then
response.write "添加注水站水处理设备"
elseif dvType=2 then
response.write "添加注水站储水设备"
elseif dvType=3 then
response.write "添加注水站加药设备"
end if
%>
</span>
<hr size="1" class=hr width="98%" align="center">
<table width=80% border=0 cellspacing="0" cellpadding="0">
<tr>
<td align=left height=40>
新数据成功添加
</td>
</tr>
</table>
<table border="1" cellpadding="1" cellspacing="0" align="center" class="table2"
bordercolor="#000000" bordercolordark="#F8EDEB" width="90%">
<tr height="20">
<td class="title" align=center colspan=2>注水站</td>
<td align=left width=70%>  <%=split(zsz(0),"-")(0)%></td>
</tr>
<%if dvType=0 then%>
<tr height="20">
<td class="title" align=center colspan=2>设备名称</td>
<td align=left width=70%>  
<%=text1%>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>设备编号</td>
<td align=left width=70%>  
<%=text2%>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>设备型号</td>
<td align=left width=70%>  
<%=text3%>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>数量</td>
<td align=left width=70%>  
<%=text4%>
</td>
</tr>
<tr height="20">
<td class="title" align=center rowspan=2 width=10%>基本参数</td>
<td class="title" align=center width=20%>额定压力</td>
<td align=left width=70%>  
<%=text5%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>额定排量</td>
<td align=left width=70%>  
<%=text6%>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>投运时间</td>
<td align=left width=70%>  
<%=text7%>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>注入水质</td>
<td align=left width=70%>  
<%=text8%>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>实际徘量</td>
<td align=left width=70%>  
<%=text9%>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>目前运行状况及问题</td>
<td align=left width=70%>  
<textarea cols=30 rows=3 class=text><%=text10%></textarea>
</td>
</tr>
<tr height="20">
<td class="title" align=center colspan=2>备注</td>
<td align=left width=70%>  
<textarea cols=30 rows=3 class=text><%=text11%></textarea>
</td>
</tr>
<%elseif dvType=1 then '--------------------------------------------------------%>
<tr height="20">
<td class="title" align=center rowspan=5 width=10%>过滤器</td>
<td class="title" align=center width=20%>投运时间</td>
<td align=left width=70%>  
<%=text1%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>型号</td>
<td align=left width=70%>  
<%=text2%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>数量</td>
<td align=left width=70%>  
<%=text3%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>日处理量</td>
<td align=left width=70%>  
<%=text4%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>运行状况</td>
<td align=left width=70%>  
<%=text5%>
</td>
</tr>
<tr height="20">
<td class="title" align=center rowspan=8 width=10%>过滤增压泵</td>
<td class="title" align=center width=20%>编号</td>
<td align=left width=70%>  
<%=text6%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>型号</td>
<td align=left width=70%>  
<%=text7%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>排量</td>
<td align=left width=70%>  
<%=text8%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>扬程</td>
<td align=left width=70%>  
<%=text9%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>电机功率</td>
<td align=left width=70%>  
<%=text10%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>投用时间</td>
<td align=left width=70%>  
<%=text11%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>运行状况</td>
<td align=left width=70%>  
<textarea cols=30 rows=3 class=text><%=text12%></textarea>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>备注</td>
<td align=left width=70%>  
<textarea cols=30 rows=3 class=text><%=text13%></textarea>
</td>
</tr>
<tr height="20">
<td class="title" align=center rowspan=9 width=10%>空气压缩机</td>
<td class="title" align=center width=20%>编号</td>
<td align=left width=70%>  
<%=text14%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>型号</td>
<td align=left width=70%>  
<%=text15%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>排量</td>
<td align=left width=70%>  
<%=text16%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>扬程</td>
<td align=left width=70%>  
<%=text17%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>泵出口压力</td>
<td align=left width=70%>  
<%=text18%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>电机功率</td>
<td align=left width=70%>  
<%=text19%>
</td>
</tr>
<tr height="20">
<td class="title" align=center width=20%>投用时间</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -