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.
DS7/DSWeb/Areas/CommMng/Viewsjs/Cookie/DsCookies.js

58 lines
955 B
JavaScript

2 years ago
/*
功能: 取得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");
}
//取得InOrgCode
function GetCookie_InOrgCode()
{
return get_cookie("InOrgCode");
}
//取得OrgCode
function GetCookie_ZbOrgCode()
{
return get_cookie("ZbOrgCode");
}
function GetCookie_LocalCurr() {
return get_cookie("LOCALCURR");
}
//取得登录组织是否有效
//有效为"1",无效为"0"
function GetCookie_OrgYwStatus()
{
return get_cookie("OrgYwStatus");
}
function GetCookie_LocalCurr() {
return get_cookie("LOCALCURR");
}