%@page import="com.zky.para.Para"%>
<%@include file="/auth.jsp"%>
<%@page import="java.util.Date"%>
<%@page language="java" pageEncoding="utf-8" %>
<%
String nationstate1="";
String operate = (String)request.getParameter("operate");
String empid = "";
String empname = "";
String sj = Common.convertNull(request.getParameter("sj"));
String sex = "";
String birthday = "";
String empcontaddr = "";
String empcontphone = "";
String empcontmobphone = "";
String empfaxnum = "";
String empidbegindate = "";
String empidenddate = "";
String empemail = "";
String qj = Common.convertNull(request.getParameter("qj"));
String school="";
String readonly = "";
String nationstate="";
String submitbtn="";
String empage="";
String emphabby="";
String empjob="";
String empeducational="";
String empfamname="";
String empfamage="";
String empfamrelate="";
String empfamjob="";
String empschool="";
String emppolitics="";
String emphomeAddress="";
String nationstates="";
String yaohaidemept="";
String pary="";
String samyuan="";
if (operate.equals("modifyEmp")) {
HashFmlBuf buf = (HashFmlBuf)request.getAttribute("emp_info_by_empid");
int pos = 0;
yaohaidemept= buf.fget("yaohaidemept",pos);
empid = buf.fget("empid",pos);
empname = buf.fget("empname",pos);
sj = buf.fget("frameworkid ",pos);
//birthday = Common.convertNull(buf.fget("birthday ",pos)).substring(0,10);
// empcontaddr = buf.fget("empcontaddr ",pos);
birthday = buf.fget("birthday ",pos);
sex = buf.fget("sex ",pos);
empcontaddr = buf.fget("empcontaddr ",pos);
empcontphone = buf.fget("empcontphone ",pos);
empcontmobphone = buf.fget("empcontmobphone",pos);
empfaxnum = buf.fget("empfaxnum ",pos);
empidbegindate = Common.convertNull(buf.fget("empidbegindate ",pos)).substring(0,10);
empidenddate = Common.convertNull(buf.fget("empidenddate ",pos)).substring(0,10);
empemail = buf.fget("empemail",pos);
qj = buf.fget("areaid ",pos);
school = buf.fget("departid ",pos);
nationstate=buf.fget("nationstate", pos);
pary=buf.fget("part", pos);
samyuan=buf.fget("sanyuan", pos);
empage=buf.fget("empage", pos);
emphabby=buf.fget("emphabby", pos);
empjob=buf.fget("empjob", pos);
empeducational=buf.fget("empeducational", pos);
empfamname=buf.fget("empfamname", pos);
empfamage=buf.fget("empfamage", pos);
empfamrelate=buf.fget("empfamrelate", pos);
empfamjob=buf.fget("empfamjob", pos);
empschool=buf.fget("empschool", pos);
emppolitics=buf.fget("emppolitics", pos);
emphomeAddress=buf.fget("emphomeAddress", pos);
readonly="readonly";
} else {
empidbegindate = DateTime.DateToStr(new Date());
empidenddate = "2050-12-31";
}
%>
<%
HashFmlBuf buf = (HashFmlBuf)request.getAttribute("emp_info_by_empid");
int pos = 0;
String empj="";
if(buf.fget("empjob", pos).equals("核心涉密岗位")){
empj="0";
}else if(buf.fget("empjob", pos).equals("重要涉密岗位")){
empj="1";
}else{
empj="2";
}
String empsc="";
if(buf.fget("empschool", pos).equals("核心")){
empj="0";
}else if(buf.fget("empschool", pos).equals("重要")){
empj="1";
}else{
empj="2";
}
%>
涉密人员管理