示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     VerifyPage("", false);
     litRoleTree.Text = GetRoleTree();
     if (CurrentUser != null)
     {
         ECommerce.Admin.Model.OrgEmployees orgEmpl = _orgEmployeesDal.GetModel(int.Parse(CurrentUser.EmplId.ToString()));
         litUserName.Text = orgEmpl.EmplName;
         litTitle.Text    = "地图出版社管理系统";
     }
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     VerifyPage("", false);
     litRoleTree.Text = GetRoleTree();
     if (CurrentUser != null)
     {
         ECommerce.Admin.Model.OrgEmployees orgEmpl = _orgEmployeesDal.GetModel(int.Parse(CurrentUser.EmplId.ToString()));
         litUserName.Text = orgEmpl.EmplName;
         var title = "";
         if (CurrentUser.Type == 1)
         {
             title = "企业测评诊断与提升服务系统";
         }
         else
         {
             var emp = _orgEmployeesDal.GetModel(Convert.ToInt32(CurrentUser.EmplId));
             var org = _orgOrganizeDal.GetModel(Convert.ToInt64(emp.OrgId));
             title = "企业测评诊断与提升服务系统";
         }
         litTitle.Text = title;
     }
 }