%@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 certname = "";
String certid = "";
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 areaid="";
String frameworkid="";
String nationstates="";
String yaohaidemept="";
if (operate.equals("modifyEmp")) {
HashFmlBuf buf = (HashFmlBuf)request.getAttribute("emp_info_by_empid");
HashFmlBuf buf1 = (HashFmlBuf)request.getAttribute("emp_info_by_nationstate");
int pos = 0;
nationstates= buf1.fget("dataname ",pos);
areaid = buf.fget("AREADEF ",pos);
yaohaidemept=buf.fget("yaohaidemept ",pos);
frameworkid = buf.fget("FRAMEWORKNAME ",pos);
empid = buf.fget("empid ",pos);
empname = buf.fget("empname ",pos);
certname = buf.fget("certname ",pos);
certid = buf.fget("certid ",pos);
sj = buf.fget("frameworkid ",pos);
//birthday = Common.convertNull(buf.fget("birthday ",pos)).substring(0,10);
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("DEPARTNAME ",pos);
nationstate=buf.fget("nationstate", 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";
}
%>
涉密人员查看