grade_manage.asp

来自「适用于网络/信息企业」· ASP 代码 · 共 123 行

ASP
123
字号
<!--#include file="../INC/Conn.asp"-->
<!--#include file="inc/Check.asp"-->
<!--#include file="inc/public.asp"-->
<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">
<%
dim Makking
Makking = Trim(Request.QueryString("Makking"))    
'---------------------------------
select case Makking
case "save"

IF Request.Form("Employee_ID") = "" or Request.Form("Grade_Causation") = "" or Request.Form("Grade_Numeric") = "" or Request.Form("Grade_Type") = "" Then

	Save_Title = "·请填写完整参数"
	Call Save_Err()

End IF

	Conn.Execute("Insert Into Grade_List (Employee_ID,Grade_Causation,Grade_Type,Grade_Numeric,DateTime) Values ('"& Request.Form("Employee_ID") &"','"& Request.Form("Grade_Causation") &"','"& Request.Form("Grade_Type") &"',"& Request.Form("Grade_Numeric") &",'"& Now() &"')")

	Save_Title = "·操作成功"
	Call Save_ok()

case ""

%>
<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">管理中心 &gt;&gt;&gt; 考评管理</span></td>
                <td width="10%" align="right">&nbsp;</td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="98%" height="88%"  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="Grade_Manage.asp?Makking=save">
              <br>
              <table width=100% border=0 align='center' cellpadding=3 
      cellspacing=1 bordercolordark=#ffffff bgcolor="#EBEBEB" class='size09'>
                <tr> 
                  <td width="30%" height="-2" align="right" bgcolor="ffffff"><font color="#FF0000">* 
                    </font>员工ID:</td>
                  <td width="70%" height="10" bgcolor="ffffff"> <input name="Employee_ID" type="text" id="Employee_ID" size="20" maxlength="50"> 
                  </td>
                </tr>
                <tr> 
                  <td width="30%" height="-1" align="right" bgcolor="ffffff"><font color="#FF0000">* 
                    </font>类型:</td>
                  <td height="11" bgcolor="ffffff"><select name="Grade_Type" id="Grade_Type">
                      <option value="在职">在职</option>
                      <option value="行为">行为</option>
                      <option value="绩效">绩效</option>
                    </select></td>
                </tr>
                <tr> 
                  <td width="30%" height="-1" align="right" bgcolor="ffffff"><font color="#FF0000">* 
                    </font>事由:</td>
                  <td height="22" bgcolor="ffffff"><input name="Grade_Causation" type="text" id="Grade_Causation"></td>
                </tr>
                <tr> 
                  <td width="30%" height="0" align="right" bgcolor="ffffff"><font color="#FF0000">* 
                    </font>分数:</td>
                  <td height="22" bgcolor="ffffff"><input name="Grade_Numeric" type="text" id="Employee_ID3" size="10" maxlength="50"></td>
                </tr>
              </table>
              <p> 
                <input name="B12" type="image" src="Images/Makking.gif" width="36" height="21" border="0">
                &nbsp; <a href="javascript:history.go(-1)"><img src="Images/back.gif" width="36" height="21" border="0"></a> 
              </p>
            </form></td>
        </tr>
      </table>
      <table width="95%"  border="0" align="center" cellpadding="5" cellspacing="0">
        <tr>
          <td align="center" valign="top" bgcolor="ffffff"> 
            <form method="get" name="form" action="My_Grade.asp">
              <table width=100% border=0 align='center' cellpadding=3 
      cellspacing=1 bordercolordark=#ffffff bgcolor="#EBEBEB" class='size09'>
                <tr> 
                  <td width="33%" height="22" align="right" bgcolor="ffffff"> 
                    查看:</td>
                  <td width="18%" height="22" align="center" bgcolor="ffffff"> 
                    <input name="Employee_ID" type="text" id="Employee_ID" size="20" maxlength="50">
                  </td>
                  <td width="49%" bgcolor="ffffff"><input name="B1" type="image" src="Images/Makking.gif" width="36" height="21" border="0"></td>
                </tr>
              </table>
              </form></td>
        </tr>
      </table>      
      
    </td>
  </tr>
</table>
<body>
<%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 + -
显示快捷键?