Ejemplo n.º 1
0
        protected override void BindOtherValue()
        {
            foreach (var user in UserServices.GetList(new[] { 6, 9 }))
            {
                NguoiKy.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName.ToUpper());
            }

            ChuyenVienTheoDoi.BindData(UserServices.GetList(new[] { 10 }).ToList <object>(), "UserID", "FullName", "DepartmentName");
            DonViThucHien.BindData(DepartmentServices.GetList().ToList <object>(), "DepartmentID", "DepartmentName", "DepartmentGroupName");
        }
Ejemplo n.º 2
0
        protected override void BindOtherValue()
        {
            foreach (var user in UserServices.GetList(new[] { UserRole.LanhDaoUBNDTinh, UserRole.LanhDaoVPUBNDTinh }))
            {
                NguoiKy.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName?.ToUpper());
            }

            ChuyenVienTheoDoi.BindData(UserServices.GetList(new[] { 5 }).ToList <object>(), "UserID", "FullName", "DepartmentName");
            DonViThucHien.BindData(AgencyServices.GetList().ToList <object>(), "AgencyID", "AgencyName", "AgencyGroupName");
        }
Ejemplo n.º 3
0
        protected override void BindValueToPageControls()
        {
            foreach (var user in UserServices.GetList(new[] { UserRole.LanhDaoDonVi, UserRole.LanhDaoVP }))
            {
                LanhDaoYeuCau.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName?.ToUpper());
            }

            foreach (var user in UserServices.GetList())
            {
                NguoiThucHien.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName + " .");
            }

            ChuyenVienTheoDoi.BindData(UserServices.GetList(new[] { UserRole.ChuyenVienVP, UserRole.ChuyenVien, UserRole.TruongPhongBan, UserRole.Administrator, UserRole.LanhDaoVP }).ToList <object>(), "UserID", "FullName", "DepartmentName");
            DonViThucHien.BindData(DepartmentServices.GetList().ToList <object>(), "DepartmentID", "DepartmentName", "DepartmentGroupName");
        }
Ejemplo n.º 4
0
 protected override void BindOtherValue()
 {
     NguoiKy.BindData(UserServices.GetList(new[] { 3, 4 }).ToList <object>(), "UserID", "FullName", "DepartmentName");
     ChuyenVienTheoDoi.BindData(UserServices.GetList(new[] { 5 }).ToList <object>(), "UserID", "FullName", "DepartmentName");
     DonViThucHien.BindData(AgencyServices.GetList().ToList <object>(), "AgencyID", "AgencyName", "AgencyGroupName");
 }
Ejemplo n.º 5
0
 protected override void BindValueToPageControls()
 {
     ChuyenVienTheoDoi.BindData(UserServices.GetList(new[] { UserRole.ChuyenVienVPUBNDTinh }).ToList <object>(), "UserID", "FullName", "DepartmentName");
     DonViThucHien.BindData(AgencyServices.GetList().ToList <object>(), "AgencyID", "AgencyName", "AgencyGroupName");
 }