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

📄 empmain_work_addnew.asp

📁 欢迎大家分享本系统为bs架构的asp+access版本。<br>包含:员工信息
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT"%> 
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%call fnCheckRight("work","2")%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>工作动态</title>
<link rel="stylesheet" href="CSS/SellWellWeb.css" type="text/css">
<script language="javascript" src="js_Lib/fnCheckForm.js"></script>
<script language="javascript" src="Js_Lib/Calendar.js"></script>
<script>
//==============================??????????==================================
	function fnAddNewComm(varItemName){
        objOrg = eval(varItemName+"NewComm");
        TmpObj = eval(varItemName+"TmpNewComm");
		var newEle=objOrg.appendChild(TmpObj.cloneNode(true));
		newEle.id="";
		newEle.style.display="";
	}
//==============================??????????==================================	
	function fnDelNewComm(){
		var ele=window.event.srcElement;
		while(ele){
			if(ele.type){
				if(ele.type=="NewComm"){				
					break;
				}
			}
			ele=ele.parentElement;
		}
		ele.parentElement.removeChild(ele);
	}

//====================???????===================
	function fnDelOrgComm()
	{
	
		var ele=window.event.srcElement;
		while(ele)
		{
			if(ele.type)
			{
				if(ele.type=="Comm")
				{
					break;
				}
			}
			ele=ele.parentElement;
		}
		ele.parentElement.removeChild(ele);
	}
</script>
</head>

<body class="body">
<form method="POST" action="EmpMain_work_AddNew_Process.asp"  name="form1">
  <fieldset style="padding: 2" class="fiedset"> <legend>工作动态</legend> 
  <table  width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
    <tbody id="FileNewComm">
      <tr> 
        <td width="20%" align="center" nowrap class="listTitle">开始日期</td>
        <td width="20%" align="center" nowrap class="listTitle">结束日期</td>
        <td width="20%" align="center" nowrap class="listTitle">部门</td>
        <td width="28%" align="center" nowrap class="listTitle">职务</td>
        <td width="12%" align="center" nowrap class="listTitle"  style="cursor:hand" onclick="fnAddNewComm('File')">新增</td>
      </tr>
      <tr class="ListValueWhite" id="FileTmpNewComm" style="display:none" type="NewComm"> 
        <td><input name="DMStartDate" type="text" class="Text" id="DMStartDate" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
        <td><input name="DMEndDate" type="text" class="Text" id="DMEndDate" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
        <td><select name="DMDep" size="1" class="select" id="select2">
    <%=createSel("Bumen","")%> 
          </select></td>
        <td><select name="DMTitle" size="1" class="select" id="DMTitle" Need="1">
<%=createSel("zhiwei","")%> 
          </select></td>
        <td><div align="center" onclick="fnDelNewComm()" style="cursor:hand">删除</div></td>
      </tr>
      <tr class="ListValueWhite" id="FileorgComm" type="Comm"> 
        <td><input name="DMStartDate" type="text" class="Text" id="DMStartDate" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
        <td><input name="DMEndDate" type="text" class="Text" id="DMEndDate" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
        <td><select name="DMDep" size="1" class="select" id="DMDep" Need="1">
           <%=createSel("BuMen","")%> 
          </select></td>
        <td><select name="DMTitle" size="1" class="select" id="DMTitle" Need="1">
	<%=createSel("zhiwei","")%> 
          </select></td>
        <td onclick="fnDelOrgComm()" style="cursor:hand"><div align="center">删除</div></td>
      </tr>
    </tbody>
  </table>
  </fieldset> 
  <div align="right">
    <input type="hidden" name="EmpID" value="<%=request.form("EmpID")%>">
    <input type="submit" value="添加" name="B1" class="button">
	<input type="button" value="返回" name="B1" class="button" onclick="window.history.back()">
  </div>
</form>

</body>

</html>

⌨️ 快捷键说明

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