link_task_state.asp
来自「适用于网络/信息企业」· ASP 代码 · 共 97 行
ASP
97 行
<!--#include file="../INC/Conn.asp"-->
<!--#include file="inc/Check.asp"-->
<!--#include file="inc/public.asp"-->
<%
dim Makking
Makking = Trim(Request.QueryString("Makking"))
'---------------------------------
select case Makking
case "save"
Conn.Execute("upDate Link_Task Set Link_Task_State = '"& Request.Form("Link_Task_State") &"',State_Time = '"& Now() &"' Where Link_Task_ID = '"& Request.QueryString("ID") &"' AND Employee_ID = '"& Session("Eboer_CRM_Employee_ID") &"'")
Response.Write "<script>window.opener.location.reload();window.close();</script>"
Response.End
case ""
Set Rs = Conn.Execute("Select * From Link_Task Where Link_Task_ID='"& Request.QueryString("ID") &"'")
IF Not(Rs.Bof AND Rs.eof) Then
Link_Task_State = Rs("Link_Task_State")
End if
Rs.Close
Set Rs = Nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>亿博尔-客户关系管理系统</title>
</head>
<link href="Images/Admin.css" rel="stylesheet" type="text/css">
<body>
<table width="98%" height="40" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#D8D8D8">
<tr>
<td height="30" align="left" bgcolor="ffffff"><table width="100%" height="100%" border="0" cellpadding="3" cellspacing="0">
<tr bgcolor="eeeeee">
<td width="5%" align="center"><img src="Images/1.gif" width="13" height="12"></td>
<td width="85%"><span class="style2">管理中心 >>> 更改任务状态</span></td>
<td width="10%" align="right"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" height="80%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D8D8D8">
<tr>
<td valign="top" bgcolor="ffffff"><table width="95%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td align="center" valign="top" bgcolor="ffffff">
<form method='POST' name="form" action="Link_Task_State.asp?Makking=save&ID=<%=Request.QueryString("ID")%>">
<br>
<table width=100% border=0 align='center' cellpadding=5
cellspacing=1 bordercolordark=#ffffff bgcolor="#EBEBEB" class='size09'>
<tr>
<td width="25%" height="25" align="right" bgcolor="ffffff">状态:</td>
<td height="25" bgcolor="ffffff">
<select name="Link_Task_State">
<option value="等待" <%IF Link_Task_State = "等待" Then%>selected<%End IF%>>等待</option>
<option value="完成" <%IF Link_Task_State = "完成" Then%>selected<%End IF%>>完成</option>
<option value="取消" <%IF Link_Task_State = "取消" Then%>selected<%End IF%>>取消</option>
</select> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td> </td>
</tr>
</table>
<p>
<input name="B1" type="image" src="Images/edit.gif" width="36" height="21" border="0">
<a href=""><img src="Images/back.gif" width="36" height="21" border="0" onClick="javascript:window.close()"></a></p>
</form></td>
</tr>
</table>
</td>
</tr>
</table>
<%end select
Conn.Close
Set Conn = Nothing
%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="6"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?