📄 am_fm_stm.asp
字号:
<!--#INCLUDE FILE="z_common.asp"-->
<html>
<head>
<title>修改流程状态</title>
<style type="text/css">
<!-- @import url(../common.css); -->
</style>
</head>
<body>
<p>
<table cellspacing=0 cellpadding=0 align=center border=0 width=400>
<tr><td class=noborder><% MenuIndex %></td></tr>
</table>
<%
MyDBConnect
strSQL="select stat_id,stat_name from t_flow a,t_flow_stat b "
strSQL=strSQL & " where a.flow_stat=b.stat_id and flow_id=" & Request.QueryString("fid")
DBQuery(strSQL)
stid=oRs("stat_id")
%>
<p align=center> 当前流程状态为<b><%=oRs("stat_name")%></b>
<form method="post" action="am_fm_stmr.asp?fid=<%=Request.QueryString("fid")%>">
<table cellspacing=0 cellpadding=0 align=center border=1 width=400 class=tblDashed>
<tr><td class=tblTitle>修 改 流 程 状 态</td></tr>
<tr height=30px><td class=noborder align=center>当前流程状态为<b><%=oRs("stat_name")%></b></td></tr>
<tr height=30px><td class=noborder align=center>
选择修改状态操作: <select name="stat_op" style="width:80px">
<%
If stid=2 Then
'decide if there's steps in the flow
strSQL="select count(*) num from t_flow_step where flow_id=" & Request.QueryString("fid")
DBQuery(strSQL)
If oRs("num")>0 Then
%>
<option value=1>启动流程</option>
<%
End If
ElseIf stid=1 Then
%>
<option value=2>暂停流程</option>
<%
Else
'do nothing
End If
%>
<option value=3>终止流程</option>
</select></td></tr>
<tr height=50px><td class=noborder align=center><input type=submit value="确认修改" class=FlatBtn> <input type=button value="放弃修改" class=FlatBtn onclick=javascript:history.go(-1)></td></tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -