|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userinfo.aspx.cs" Inherits="DSWeb.Users.userinfo" %>
|
|
|
|
|
|
<%@ Register assembly="DSWebComponent" namespace="DSWebComponent" tagprefix="cc1" %>
|
|
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
|
|
<head runat="server">
|
|
|
<title>用户</title>
|
|
|
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
|
|
|
<link href="../theme/page.css" type="text/css" rel="stylesheet" />
|
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
|
|
<style type="text/css">
|
|
|
.btn-content0{
|
|
|
width:100%;
|
|
|
height:30px;
|
|
|
background:url("../images/content-header.gif");
|
|
|
cursor:default;
|
|
|
}
|
|
|
</style>
|
|
|
<script src="../js/m97date/wdatepicker.js" type="text/javascript"></script>
|
|
|
<script type="text/javascript">
|
|
|
function nTabs(thisObj,Num){
|
|
|
if(thisObj.className == "active")return;
|
|
|
var tabObj = thisObj.parentNode.id;
|
|
|
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
|
|
|
for(i=0; i <tabList.length; i++)
|
|
|
{
|
|
|
if (i == Num)
|
|
|
{
|
|
|
thisObj.className = "active";
|
|
|
document.getElementById(tabObj+"_Content"+i).style.display = "block";
|
|
|
}else{
|
|
|
tabList[i].className = "normal";
|
|
|
document.getElementById(tabObj+"_Content"+i).style.display = "none";
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
//document.oncontextmenu=new Function("event.returnValue=false;"); //禁止右键功能,单击右键将无任何反应
|
|
|
//document.onselectstart=new Function("event.returnValue=false;"); //禁止先择,也就是无法复制
|
|
|
</script>
|
|
|
<!--自定义下拉框-->
|
|
|
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
|
|
|
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
|
|
|
<script type="text/javascript" src="../js/dhtmlxcommon.js"></script>
|
|
|
<script type="text/javascript" src="../js/dhtmlxcombo.js"></script>
|
|
|
<script type="text/javascript" src="../js/dhtmlxcombo_whp.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
window.dhx_globalImgPath="../images/";
|
|
|
</script>
|
|
|
<script type="text/javascript">
|
|
|
function $(id)
|
|
|
{
|
|
|
return document.getElementById(id);
|
|
|
}
|
|
|
|
|
|
var comboCUSTOMERNAME;//分公司
|
|
|
var comboDept;//分公司
|
|
|
function initComboSubcompany()//分公司-部门
|
|
|
{
|
|
|
comboSubcompany = dhtmlXComboFromSelect("list_subcompany");
|
|
|
comboSubcompany.loadXML("../FeeCodes/CompanysAdapter.aspx?mask=0&pos=0&ISDISABLE=0&ISDELETED=0");
|
|
|
//
|
|
|
comboDept = dhtmlXComboFromSelect("list_dept");
|
|
|
var strSubcompany=$("hd_comboSubcompany").value;
|
|
|
comboDept.loadXML("../FeeCodes/SysDeptAdapter.aspx?mask=0&pos=0&strSubcompany="+escape(strSubcompany));
|
|
|
}
|
|
|
function initComboSubcompany2()//分公司
|
|
|
{
|
|
|
comboSubcompany.attachEvent("onBlur", function(){
|
|
|
var s1 = comboSubcompany.getComboText().trim();
|
|
|
var s2 = s1.indexOf("|");
|
|
|
if(s1=="")
|
|
|
{
|
|
|
$("hd_comboSubcompany").value="";
|
|
|
comboSubcompany.setComboText($("hd_comboSubcompany").value);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
if(s2>0)
|
|
|
{
|
|
|
s2=s2+2;
|
|
|
}
|
|
|
var s3 = s1.substring(s2);
|
|
|
if(s2>0)
|
|
|
{
|
|
|
comboSubcompany.setComboText(s3);
|
|
|
$("hd_comboSubcompany").value=s3;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
comboSubcompany.setComboText($("hd_comboSubcompany").value);
|
|
|
}
|
|
|
}
|
|
|
// $("hd_comboDept").value="";
|
|
|
// initComboDept();
|
|
|
});
|
|
|
comboSubcompany.setComboText($("hd_comboSubcompany").value);
|
|
|
comboSubcompany.attachEvent("onKeyPressed", function(keyCode)
|
|
|
{
|
|
|
if(keyCode!="8")
|
|
|
{
|
|
|
var arrayArg = new Array();
|
|
|
setTimeout(function()
|
|
|
{
|
|
|
var filterCount = 0;
|
|
|
var is = -1;
|
|
|
var ishd = $("hd_comboSubcompany").value.trim();
|
|
|
if("" != comboSubcompany.getComboText().trim())
|
|
|
{
|
|
|
while("undefined" != typeof comboSubcompany.getOptionByIndex(filterCount))
|
|
|
{
|
|
|
var comboValue = comboSubcompany.getOptionByIndex(filterCount).text.toUpperCase();//.value;
|
|
|
var enterValue = comboSubcompany.getComboText().trim().toUpperCase();
|
|
|
$("hd_comboSubcompany").value = comboSubcompany.getComboText().trim().toUpperCase();
|
|
|
if(comboValue.indexOf(enterValue) == 0)
|
|
|
{
|
|
|
comboSubcompany.selectOption(filterCount,true,true);
|
|
|
is=filterCount;
|
|
|
break;
|
|
|
}
|
|
|
++filterCount;
|
|
|
}
|
|
|
if(is==-1)
|
|
|
{
|
|
|
$("hd_comboSubcompany").value = ishd;
|
|
|
alert("无此内容,请重新选择!");
|
|
|
}
|
|
|
}
|
|
|
},10);
|
|
|
}
|
|
|
});
|
|
|
comboSubcompany.attachEvent("onChange", function()
|
|
|
{
|
|
|
comboSubcompany.setComboText($("hd_comboSubcompany").value);
|
|
|
});
|
|
|
comboSubcompany.attachEvent("onSelectionChange", function()
|
|
|
{
|
|
|
$("hd_comboSubcompany").value = comboSubcompany.getComboText().trim();
|
|
|
//
|
|
|
var s1 = comboSubcompany.getComboText().trim();
|
|
|
var s2 = s1.indexOf("|");
|
|
|
if(s2>0)
|
|
|
{
|
|
|
s2=s2+2;
|
|
|
}
|
|
|
var s3 = s1.substring(s2);
|
|
|
if(s2>0)
|
|
|
{
|
|
|
//comboSubcompany.setComboText(s3);
|
|
|
$("hd_comboSubcompany").value=s3;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
//comboSubcompany.setComboText($("hd_comboSubcompany").value);
|
|
|
}
|
|
|
$("hd_comboDept").value="";
|
|
|
initComboDept();
|
|
|
});
|
|
|
}
|
|
|
function initComboDept()//部门
|
|
|
{
|
|
|
var strSubcompany=$("hd_comboSubcompany").value;
|
|
|
comboDept.loadXML("../FeeCodes/SysDeptAdapter.aspx?mask=0&pos=0&strSubcompany="+escape(strSubcompany));
|
|
|
comboDept.attachEvent("onBlur", function(){
|
|
|
var s1 = comboDept.getComboText().trim();
|
|
|
var s2 = s1.indexOf("|");
|
|
|
if(s1=="")
|
|
|
{
|
|
|
$("hd_comboDept").value="";
|
|
|
comboDept.setComboText($("hd_comboDept").value);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
if(s2>0)
|
|
|
{
|
|
|
s2=s2+2;
|
|
|
}
|
|
|
var s3 = s1.substring(s2);
|
|
|
if(s2>0)
|
|
|
{
|
|
|
comboDept.setComboText(s3);
|
|
|
$("hd_comboDept").value=s3;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
comboDept.setComboText($("hd_comboDept").value);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
comboDept.setComboText($("hd_comboDept").value);
|
|
|
comboDept.attachEvent("onKeyPressed", function(keyCode)
|
|
|
{
|
|
|
if(keyCode!="8")
|
|
|
{
|
|
|
var arrayArg = new Array();
|
|
|
setTimeout(function()
|
|
|
{
|
|
|
var filterCount = 0;
|
|
|
var is = -1;
|
|
|
var ishd = $("hd_comboDept").value.trim();
|
|
|
if("" != comboDept.getComboText().trim())
|
|
|
{
|
|
|
while("undefined" != typeof comboDept.getOptionByIndex(filterCount))
|
|
|
{
|
|
|
var comboValue = comboDept.getOptionByIndex(filterCount).text.toUpperCase();//.value;
|
|
|
var enterValue = comboDept.getComboText().trim().toUpperCase();
|
|
|
$("hd_comboDept").value = comboDept.getComboText().trim().toUpperCase();
|
|
|
if(comboValue.indexOf(enterValue) == 0)
|
|
|
{
|
|
|
comboDept.selectOption(filterCount,true,true);
|
|
|
is=filterCount;
|
|
|
break;
|
|
|
}
|
|
|
++filterCount;
|
|
|
}
|
|
|
if(is==-1)
|
|
|
{
|
|
|
$("hd_comboDept").value = ishd;
|
|
|
alert("无此内容,请重新选择!");
|
|
|
}
|
|
|
}
|
|
|
},10);
|
|
|
}
|
|
|
});
|
|
|
comboDept.attachEvent("onChange", function()
|
|
|
{
|
|
|
comboDept.setComboText($("hd_comboDept").value);
|
|
|
});
|
|
|
comboDept.attachEvent("onSelectionChange", function()
|
|
|
{
|
|
|
$("hd_comboDept").value = comboDept.getComboText().trim();
|
|
|
});
|
|
|
}
|
|
|
//回车键控制
|
|
|
document.onkeypress=function()
|
|
|
{
|
|
|
if(event.keyCode==13)
|
|
|
{
|
|
|
if(event.srcElement.tagName== 'TEXTAREA')
|
|
|
{
|
|
|
return true;
|
|
|
}
|
|
|
//window.event.keyCode=9;
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
function reloadParent(strBSNO)
|
|
|
{
|
|
|
//alert("strBSNO="+strBSNO);
|
|
|
var parentObj = window.parent.location;
|
|
|
var oldUrl = parentObj.href;
|
|
|
var idIndex = oldUrl.indexOf("&id");//alert(oldUrl);
|
|
|
//
|
|
|
var newUrl = "";
|
|
|
if(idIndex > 0)
|
|
|
{
|
|
|
var addfull=oldUrl.indexOf("addfull");
|
|
|
if(addfull>0)
|
|
|
{
|
|
|
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
|
|
|
newUrl = oldUrl.substring(0,handleIndex);
|
|
|
window.parent.opener.location.href = window.parent.opener.location.href;
|
|
|
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
newUrl = oldUrl.substring(0,idIndex+4);//alert(oldUrl.substring(0,idIndex));
|
|
|
window.parent.opener.location.href = window.parent.opener.location.href;
|
|
|
parentObj.href = newUrl+strBSNO;
|
|
|
}
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
|
|
|
newUrl = oldUrl.substring(0,handleIndex);
|
|
|
window.parent.opener.location.href = window.parent.opener.location.href;
|
|
|
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
|
|
|
}
|
|
|
//
|
|
|
alert("成功提交!");
|
|
|
}
|
|
|
function ShowDetailDel()
|
|
|
{
|
|
|
var asid = $("hdUserID").value;
|
|
|
if(asid == "1BEC90E1-9780-472F-90C2-0C6390C044A4")
|
|
|
{
|
|
|
if(confirm('确定删除吗?'))
|
|
|
{
|
|
|
var loaderX = dhtmlxAjax.getSync("../FeeCodes/UserAdapter.aspx?val="+newGuid()+"&isbeing="+$("hid_id").value);
|
|
|
var altX = loaderX.xmlDoc.responseText;
|
|
|
if(altX=="")
|
|
|
{
|
|
|
document.getElementById("ibDel").click();
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
altX=altX.trim().substr(0,altX.trim().length-1)+" 在相关业务模块中已经引用,禁止删除此数据!";
|
|
|
alert(altX);
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
alert("请联系系统管理员,其他人无人员删除权限!");
|
|
|
}
|
|
|
}
|
|
|
function imgDelChangePic()
|
|
|
{
|
|
|
var pic1=document.getElementById("imgDel");
|
|
|
var start=pic1.src.lastIndexOf("/");
|
|
|
var str=pic1.src.substring(start+1);
|
|
|
if(str=="remove.gif")
|
|
|
{
|
|
|
pic1.src="../images/delete.gif";
|
|
|
//pic1.alt="我是B图片";
|
|
|
}
|
|
|
else if(str=="delete.gif")
|
|
|
{
|
|
|
pic1.src="../images/icons/remove.gif";
|
|
|
//pic1.alt="我是A图片";
|
|
|
}
|
|
|
}
|
|
|
function newGuid(){
|
|
|
var guid = "";
|
|
|
for (var i = 1; i <= 32; i++){
|
|
|
var n = Math.floor(Math.random()*16.0).toString(16);
|
|
|
guid += n;
|
|
|
if((i==8)||(i==12)||(i==16)||(i==20))
|
|
|
guid += "-";
|
|
|
}
|
|
|
return guid.toUpperCase();
|
|
|
}
|
|
|
function isShowCodeName()
|
|
|
{
|
|
|
var loaderX = dhtmlxAjax.getSync("../FeeCodes/UserAdapter.aspx?val="+newGuid()+"&isbeing="+$("hid_id").value);
|
|
|
var altX = loaderX.xmlDoc.responseText;
|
|
|
if(altX=="")
|
|
|
{
|
|
|
// $("txt_codename").value = $("hdcodename").value;
|
|
|
// $("txt_showname").value = $("hdshowname").value;
|
|
|
// document.getElementById('txt_codename').disabled = "";
|
|
|
// document.getElementById('txt_showname').disabled = "";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
$("txt_codename").value = $("hdcodename").value;
|
|
|
$("txt_showname").value = $("hdshowname").value;
|
|
|
document.getElementById('txt_codename').disabled = "disabled";
|
|
|
document.getElementById('txt_showname').disabled = "disabled";
|
|
|
}
|
|
|
}
|
|
|
function setOnBlurCodename()
|
|
|
{
|
|
|
$("hdcodename").value = $("txt_codename").value;
|
|
|
}
|
|
|
function setOnBlurShowname()
|
|
|
{
|
|
|
$("hdshowname").value = $("txt_showname").value;
|
|
|
}
|
|
|
|
|
|
function printAction() {
|
|
|
|
|
|
//alert($("txt_codename").value);
|
|
|
|
|
|
var strBSNO = "";
|
|
|
var printUrl = "";
|
|
|
var companyID = "";
|
|
|
var typeName = "PrintUser";
|
|
|
var dbSourceID = "";
|
|
|
var userID = "";
|
|
|
var USERID = $("hid_id").value;
|
|
|
|
|
|
//var url = "../Reports/ReportService.aspx?handle=printquotation&bsno=" + strBSNO + "&val=" + newGuid();
|
|
|
var url = "../Reports/ReportService.aspx?handle=PrintUser&USERID=" + USERID ;
|
|
|
var loader = dhtmlxAjax.getSync(url);
|
|
|
|
|
|
var reportVal = loader.xmlDoc.responseText;
|
|
|
var reportObj = null;
|
|
|
|
|
|
if (reportVal != "") {
|
|
|
reportObj = eval('(' + reportVal + ')');
|
|
|
if (reportObj.reports.length > 0) {
|
|
|
if (reportObj.reports[0].compid != "") {
|
|
|
companyID = reportObj.reports[0].compid;
|
|
|
}
|
|
|
if (reportObj.reports[0].sourceid != "") {
|
|
|
dbSourceID = reportObj.reports[0].sourceid;
|
|
|
}
|
|
|
if (reportObj.reports[0].compid != "") {
|
|
|
userID = reportObj.reports[0].userid;
|
|
|
}
|
|
|
printUrl = "print://?comp=" + companyID + "&type=" + typeName + "&dbid=" + dbSourceID + "&uid=" + userID;//alert(printUrl);
|
|
|
window.location.href = window.location.href;
|
|
|
location.href = printUrl;
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
alert("没有要打印的报表");
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
<!--蒙板-->
|
|
|
<script type="text/javascript">
|
|
|
function dialog()
|
|
|
{
|
|
|
this.width=450;
|
|
|
this.height=360;
|
|
|
this.title_height=20;
|
|
|
this.html='';
|
|
|
this.title='';
|
|
|
var self = this;
|
|
|
var bgObj,msgObj,titleObj;
|
|
|
this.close=function()
|
|
|
{
|
|
|
document.body.removeChild(document.getElementById("bgDiv"));
|
|
|
document.getElementById("msgDiv").removeChild(document.getElementById("msgTitle"));
|
|
|
document.body.removeChild(document.getElementById("msgDiv"));
|
|
|
}
|
|
|
|
|
|
this.show=function()
|
|
|
{
|
|
|
var msgw,msgh,bordercolor;
|
|
|
msgw=self.width;
|
|
|
msgh=self.height;
|
|
|
bordercolor="#336699";
|
|
|
titlecolor="#99CCFF";
|
|
|
|
|
|
var sWidth,sHeight;
|
|
|
sWidth=document.body.offsetWidth;
|
|
|
sHeight=screen.height;
|
|
|
bgObj=document.createElement("div");
|
|
|
bgObj.setAttribute('id','bgDiv');
|
|
|
bgObj.style.position="absolute";
|
|
|
bgObj.style.top="0";
|
|
|
bgObj.style.background="#777";
|
|
|
bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
|
|
|
bgObj.style.opacity="0.6";
|
|
|
bgObj.style.left="0";
|
|
|
bgObj.style.width=sWidth + "px";
|
|
|
bgObj.style.height=sHeight + "px";
|
|
|
bgObj.style.zIndex = "10000";
|
|
|
document.body.appendChild(bgObj);
|
|
|
|
|
|
msgObj=document.createElement("div")
|
|
|
msgObj.setAttribute("id","msgDiv");
|
|
|
msgObj.setAttribute("align","center");
|
|
|
msgObj.style.background="white";
|
|
|
msgObj.style.border="1px solid " + bordercolor;
|
|
|
msgObj.style.position = "absolute";
|
|
|
msgObj.style.left = "50%";
|
|
|
msgObj.style.top = "30%";
|
|
|
msgObj.style.font="12px/1.6em Verdana, Geneva, Arial, Helvetica, sans-serif";
|
|
|
msgObj.style.marginLeft = "-225px" ;
|
|
|
msgObj.style.marginTop = -75+document.documentElement.scrollTop+"px";
|
|
|
msgObj.style.width = msgw + "px";
|
|
|
msgObj.style.height =msgh + "px";
|
|
|
msgObj.style.textAlign = "center";
|
|
|
msgObj.style.lineHeight ="25px";
|
|
|
msgObj.style.zIndex = "10001";
|
|
|
|
|
|
titleObj=document.createElement("h4");
|
|
|
titleObj.setAttribute("id","msgTitle");
|
|
|
titleObj.setAttribute("align","center");
|
|
|
titleObj.style.margin="0";
|
|
|
titleObj.style.padding="3px";
|
|
|
titleObj.style.background=bordercolor;
|
|
|
titleObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100);";
|
|
|
titleObj.style.opacity="0.75";
|
|
|
titleObj.style.border="1px solid " + bordercolor;
|
|
|
titleObj.style.height=self.title_height+"px";
|
|
|
titleObj.style.font="12px Verdana, Geneva, Arial, Helvetica, sans-serif";
|
|
|
titleObj.style.color="white";
|
|
|
titleObj.style.cursor="pointer";
|
|
|
titleObj.innerHTML=self.title;
|
|
|
//titleObj.onclick=function(){self.close();}
|
|
|
document.body.appendChild(msgObj);
|
|
|
document.getElementById("msgDiv").appendChild(titleObj);
|
|
|
var txt=document.createElement("div");
|
|
|
txt.style.margin="1em 0"
|
|
|
txt.setAttribute("id","msgTxt");
|
|
|
txt.innerHTML=self.html;
|
|
|
document.getElementById("msgDiv").appendChild(txt);
|
|
|
}
|
|
|
}
|
|
|
function msgBox()
|
|
|
{
|
|
|
var dg=new dialog();
|
|
|
dg.html="程序正在提交,请稍等!";
|
|
|
//dg.html+="<input type=button onclick='new dialog().close();' value='确定'>";
|
|
|
dg.width=200;
|
|
|
dg.height=100;
|
|
|
dg.title="标题";
|
|
|
dg.show();
|
|
|
}
|
|
|
</script>
|
|
|
<style type="text/css">
|
|
|
*{ margin:0; padding:0;}
|
|
|
html,body{ width:100%; height:100%; overflow:hidden;}
|
|
|
.containercss{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
|
|
|
.topcss{ width:100%; position:absolute; top:0; left:0;}
|
|
|
.boxcss{ height:610px;}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body onload="initComboSubcompany2();initComboDept();isShowCodeName();" style="background-color: #ECF2FF">
|
|
|
<form id="form1" runat="server" style="background-color: #ECF2FF">
|
|
|
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
|
|
|
<p class="topcss">
|
|
|
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
|
|
|
<div class="btn-blank"></div>
|
|
|
<div class="xbtn-img">
|
|
|
<asp:ImageButton ID="ibAdd" runat="server" onclick="ibAdd_Click" ToolTip="添加" ImageUrl="~/images/icons/btnAdd.gif" CssClass="btnimg"/>
|
|
|
</div>
|
|
|
<div class="xbtn-img">
|
|
|
<asp:ImageButton ID="ibFullAdd" runat="server" onclick="ibFullAdd_Click" ToolTip="复制添加" ImageUrl="~/images/cmd-copy.gif" CssClass="btnimg"/>
|
|
|
</div>
|
|
|
<div class="xbtn-img">
|
|
|
<div class="btnimg"><img id="ibPrint" src="../images/icons/print.gif" style="width:16px;" title="打印" onclick="printAction()"/></div>
|
|
|
</div>
|
|
|
<div class="xbtn-img">
|
|
|
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
|
|
|
<ContentTemplate>
|
|
|
<asp:ImageButton ID="ibEnter" runat="server" onclick="ibEnter_Click" OnClientClick="msgBox()" ToolTip="保存" ImageUrl="~/images/icons/save.gif" CssClass="btnimg"/>
|
|
|
</ContentTemplate>
|
|
|
<Triggers>
|
|
|
<asp:PostBackTrigger ControlID="ibEnter" />
|
|
|
</Triggers>
|
|
|
</asp:UpdatePanel>
|
|
|
</div>
|
|
|
<div class="xbtn-img">
|
|
|
<img id="imgDel" src="../images/icons/remove.gif" onclick="ShowDetailDel();" class="btnimg" alt="删除" onmouseover="imgDelChangePic();" onMouseOut="imgDelChangePic();"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</p>
|
|
|
<div class="containercss" style="float:left; width:100%;height:500px; overflow-y:scroll; overflow-x:hidden;background-color: #ECF2FF;">
|
|
|
<div id="myTab0_Content0" style="background-color: #ECF2FF">
|
|
|
<table id="user_signinfo" width="100%" height="450" border="1">
|
|
|
<tr>
|
|
|
<td colspan="5" height="5"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5"><div id="dvUserName" style="font-weight:800" class="cssfont">用户信息</div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" align="center" height="10"><hr /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td width="12%"><div style="float:left" class="cssfont">代码名:</div></td>
|
|
|
<td width="35%"><input type="text" id="txt_codename" runat="server" class="txtTab" maxlength="6" title="登录名" onblur="setOnBlurCodename();" /></td>
|
|
|
<td width="10px"></td>
|
|
|
<td width="12%" align="left"><div class="cssfont">姓名:</div></td>
|
|
|
<td width="35%"><input type="text" id="txt_showname" runat="server" class="txtTab" title="显示名" onblur="setOnBlurShowname();" maxlength="150"/></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td width="10%" align="left"><div class="cssfont">英文名:</div></td>
|
|
|
<td width="35%"><input type="text" id="txt_username" runat="server" class="txtTab" maxlength="150" /></td>
|
|
|
<td></td>
|
|
|
<td align="left"><div class="cssfont">办公电话:</div></td>
|
|
|
<td><input type="text" id="txt_officenum" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">传真:</div></td>
|
|
|
<td><input type="text" id="txt_faxnum" runat="server" class="txtTab" maxlength="50"/></td>
|
|
|
<td></td>
|
|
|
<td align="left"><div class="cssfont">邮件地址1:</div></td>
|
|
|
<td><input type="text" id="txt_email1" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">QQ:</div></td>
|
|
|
<td><input type="text" id="txt_QQ" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
<td></td>
|
|
|
<td><div style="float:left" class="cssfont">邮件地址2:</div></td>
|
|
|
<td><input type="text" id="txt_email2" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">MSN:</div></td>
|
|
|
<td><input type="text" id="txt_MSN" runat="server" class="txtTab" maxlength="100" /></td>
|
|
|
<td></td>
|
|
|
<td align="left"><div class="cssfont">移动电话:</div></td>
|
|
|
<td><input type="text" id="txt_mobilenum" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">财务软件代码:</div></td>
|
|
|
<td><input type="text" id="txt_FINANCESOFTCODE" runat="server" class="txtTab" maxlength="20" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">合同日期:</div></td>
|
|
|
<td class="style3">
|
|
|
<asp:TextBox ID="txt_CONTRACTDATE" runat="server" Width="100px" CssClass="txtTab" ToolTip="例:‘2018-01-01’" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});" ReadOnly="False"></asp:TextBox>
|
|
|
</td>
|
|
|
<td></td>
|
|
|
<td align="left"><div class="cssfont">试用期:</div></td>
|
|
|
<td><input type="text" id="txt_TRIALTIME" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">身份证号:</div></td>
|
|
|
<td><input type="text" id="txt_IDNUM" runat="server" class="txtTab" maxlength="100" /></td>
|
|
|
<td></td>
|
|
|
<td align="left"><div class="cssfont">学历:</div></td>
|
|
|
<td><input type="text" id="txt_EDURECORD" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">年假:</div></td>
|
|
|
<td><input type="text" id="txt_ANNUALLEAVE" runat="server" class="txtTab" maxlength="100" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">签名:</div></td>
|
|
|
<td colspan="4" height="40px" valign="bottom">
|
|
|
<img alt="签名" id="imgSIGNATUREURL" src="../images/signature/noImage.gif" width="75" height="30" runat="server"/>
|
|
|
|
|
|
<asp:FileUpload ID="fuSIGNATUREURL" runat="server" Width=300px onchange="document.getElementById('imgSIGNATUREURL').src=this.value" CssClass="btncss"/>
|
|
|
(75 * 35 为最佳)
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">头像:</div></td>
|
|
|
<td colspan="4" height="40px" valign="bottom">
|
|
|
<br />
|
|
|
<asp:Image ID="imgIMAGEURL" runat="server" width="60" height="60" />
|
|
|
|
|
|
<asp:FileUpload ID="fuIMAGEURL" runat="server" Width=300px onchange="document.getElementById('imgIMAGEURL').src=this.value" CssClass="btncss"/>
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" height="10"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5"><div id="dvCompanyInfo" style="font-weight:800" class="cssfont">组织信息</div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" align="center" height="10"><hr /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><div style="float:left" class="cssfont">所属分公司:</div></td>
|
|
|
<td><select id="list_subcompany" class="txtTab4" runat="server"></select></td>
|
|
|
<td></td>
|
|
|
<td align="left"><div class="cssfont">所属部门:</div></td>
|
|
|
<td><select id="list_dept" class="txtTab4"></select></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" height="10"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5"><div id="dvEmergencyInfo" style="font-weight:800" class="cssfont">紧急联系信息</div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" align="center" height="10"><hr /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td align="left"><div class="cssfont">家庭电话:</div></td>
|
|
|
<td><input type="text" id="txt_homenum" runat="server" class="txtTab" /></td>
|
|
|
<td></td>
|
|
|
<td><div style="float:left" class="cssfont">家庭地址</div></td>
|
|
|
<td><input type="text" id="txt_homeaddr" runat="server" class="txtTab" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td align="left"><div class="cssfont">紧急联系人:</div></td>
|
|
|
<td><input type="text" id="txt_emergencyuser" runat="server" class="txtTab" maxlength="100" /></td>
|
|
|
<td></td>
|
|
|
<td><div style="float:left" class="cssfont">紧急联系电话:</div></td>
|
|
|
<td><input type="text" id="txt_emergencycall" runat="server" class="txtTab" maxlength="50" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" height="10"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5"><div id="dvBaseInfo" style="font-weight:800" class="cssfont">人员属性</div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" align="center" height="10"><hr /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td width="20%" align="left" valign="top"><div class="cssfont">相关属性:</div></td>
|
|
|
<td width="30%" colspan="4">
|
|
|
<div style="float:left; width:100%" id="dvAttrCheck">
|
|
|
<div style="float:left;width:100%">
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_isdisable" runat="server"/>是否停用</div>
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_isoperator" runat="server"/>是否操作</div>
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_issaleman" runat="server"/>是否销售</div>
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_iscustomsservice" runat="server"/>是否客服</div>
|
|
|
</div>
|
|
|
<div style="float:left;width:100%">
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_isdocument" runat="server"/>是否单证</div>
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_isdriver" runat="server"/>是否司机</div>
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_iscustomsdeclarer" runat="server"/>是否报关员</div>
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_isfinancialstaff" runat="server"/>是否财务</div>
|
|
|
</div>
|
|
|
<div style="float:left;width:100%">
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_isusesystem" runat="server"/>是否允许使用本系统</div>
|
|
|
<div style="float:left; width:20%;"><input type="checkbox" class="chkAttr" id="chk_isvehiclesdispatcher" runat="server"/>是否派车调度人员</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
<div>
|
|
|
<table width="100%" border="1">
|
|
|
<tr>
|
|
|
<td colspan="5" height="10"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5"><div id="Div1" style="font-weight:800" class="cssfont">系统信息(允许使用本系统选择之后则显示此页面)</div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" align="center" height="10"><hr /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td width="15%"><div style="float:left" class="cssfont">系统登陆密码:</div></td>
|
|
|
<td width="30%"><asp:TextBox ID="txt_password" runat="server" CssClass="txtTab" MaxLength="150" TextMode=Password></asp:TextBox></td>
|
|
|
<td width="10px"></td>
|
|
|
<td colspan=2 align="left">
|
|
|
<input type="checkbox" class="chkAttr" id="Checkbox1" runat="server" disabled=disabled/>是否允许重复登陆
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5" height="10"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5"><div id="Div2" style="font-weight:800" class="cssfont">系统登陆安全策略</div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td width="15%"><div style="float:left"><input type="checkbox" class="chkAttr" id="Checkbox2" runat="server" disabled=disabled/>限制系统特征码</div></td>
|
|
|
<td width="30%"><input type="text" id="Text1" runat="server" class="txtTab" disabled=disabled/></td>
|
|
|
<td></td>
|
|
|
<td width="15%"><div style="float:left"><input type="checkbox" class="chkAttr" id="Checkbox3" runat="server" disabled=disabled/>限制公网IP地址</div></td>
|
|
|
<td width="30%"><input type="text" id="Text2" runat="server" class="txtTab" disabled=disabled/></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="float:left; width:100%">
|
|
|
<input id="hd_comboSubcompany" type="hidden" runat="server"/>
|
|
|
<input id="hd_comboDept" type="hidden" runat="server"/>
|
|
|
<input type="hidden" id="hdUserID" name="hdUserID" runat="server"/>
|
|
|
<input type="hidden" id="hid_id" name="hid_id" runat="server"/>
|
|
|
<input type="hidden" id="hdcodename" name="hdcodename" runat="server"/>
|
|
|
<input type="hidden" id="hdshowname" name="hdshowname" runat="server"/>
|
|
|
<input type="hidden" id="hdIMAGEURL" runat="server"/>
|
|
|
<input type="hidden" id="hdSIGNATUREURL" runat="server"/>
|
|
|
<input type="hidden" id="hdSIGNATURE" runat="server"/>
|
|
|
|
|
|
<asp:ImageButton ID="ibDel" runat="server" onclick="ibDel_Click" ToolTip="删除" ImageUrl="~/images/icons/remove.gif" OnClientClick="return confirm('确定删除吗?')" CssClass="btnimg" style="display:none"/>
|
|
|
</div>
|
|
|
<div style="height:100%"></div>
|
|
|
</form>
|
|
|
</body>
|
|
|
</html>
|