You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.0 KiB
JavaScript
62 lines
1.0 KiB
JavaScript
/*
|
|
功能: 取得Cookie
|
|
创建: 吴伟 2009-05-23
|
|
*/
|
|
|
|
//取得UserId
|
|
function GetCookie_UserId()
|
|
{
|
|
return get_cookie("USERID");
|
|
}
|
|
|
|
//取得UserCode
|
|
function GetCookie_UserCode()
|
|
{
|
|
return get_cookie("CODENAME");
|
|
}
|
|
|
|
//取得UserName
|
|
function GetCookie_UserName()
|
|
{
|
|
return get_cookie("SHOWNAME");
|
|
}
|
|
|
|
//取得OrgCode
|
|
function GetCookie_OrgCode()
|
|
{
|
|
return get_cookie("COMPANYCODENAME");
|
|
}
|
|
|
|
//取得OrgName
|
|
function GetCookie_OrgName()
|
|
{
|
|
return get_cookie("COMPANYNAME");
|
|
}
|
|
|
|
function GetCookie_LocalCurr() {
|
|
return get_cookie("LOCALCURR");
|
|
}
|
|
//取得InOrgCode
|
|
function GetCookie_InOrgCode()
|
|
{
|
|
return get_cookie("InOrgCode");
|
|
}
|
|
//取得OrgCode
|
|
function GetCookie_ZbOrgCode()
|
|
{
|
|
return get_cookie("ZbOrgCode");
|
|
}
|
|
|
|
//取得登录组织是否有效
|
|
//有效为"1",无效为"0"
|
|
function GetCookie_OrgYwStatus()
|
|
{
|
|
return get_cookie("OrgYwStatus");
|
|
}
|
|
|
|
function GetCookie_IsEnableCustRange() {
|
|
return get_cookie("ISENABLECUSTRANGE");
|
|
}
|
|
function GetCookie_ISFEENAMESAME() {
|
|
return get_cookie("ISFEENAMESAME");
|
|
} |