protected override void BindOtherValue() { foreach (var user in UserServices.GetList(new[] { UserRole.LanhDaoVP, UserRole.LanhDaoDonVi })) { NguoiKy.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName?.ToUpper()); } ChuyenVien.BindData(UserServices.GetList(new[] { UserRole.ChuyenVienVP, UserRole.ChuyenVien, UserRole.TruongPhongBan, UserRole.LanhDaoVP, UserRole.Administrator }).ToList <object>(), "UserID", "FullName", "DepartmentName"); DonViThucHien.BindData(DepartmentServices.GetList().ToList <object>(), "DepartmentID", "DepartmentName", "DepartmentGroupName"); }
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"); }
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"); }
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"); }
protected override void BindValueToPageControls() { //Chọn người yêu cầu là lãnh đạo đơn vị foreach (var user in UserServices.GetList(new[] { UserRole.LanhDaoDonVi })) { LanhDaoYeuCau.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName?.ToUpper()); } //Chuyên viên theo dõi: tất cả cá nhân trong đơn vị foreach (var user in UserServices.GetList()) { ChuyenVienTheoDoi.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName?.ToUpper() + "."); } //Đơn vị thực hiện ý kiến chỉ đạo DonViThucHien.BindData(DepartmentServices.GetList().ToList <object>(), "DepartmentID", "DepartmentName", "DepartmentGroupName"); }
protected override void BindValueToPageControls() { DonViThucHien.BindData(RequestServices.GetById(Parameters.Pid).Performs, "PerformID", "AgencyName"); }
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"); }
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"); }