public ActionResult AuthorityManagement()
        {
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.AuthorityModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
Esempio n. 2
0
        //
        // GET: /Systemmanagement/UserManage/

        public ActionResult UserManagement()
        {
            var listAllRoles = _ul.GetAllRoles();

            ViewBag.listAllRoles = listAllRoles;
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.UserSystemModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        /// <summary>
        /// 推送列表界面
        /// </summary>
        /// <returns></returns>
        public ActionResult DraftList()
        {
            List <CS_Master_2> pushType = new List <CS_Master_2>();

            pushType             = _dl.GetPushTypeList();
            ViewData["PushType"] = pushType;
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.DraftListModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
Esempio n. 4
0
        public ActionResult FormalList()
        {
            //绑定录入类型
            var inputType = new List <CS_Master_2>();

            inputType             = _exerciseLibraryLogic.GetInputType();
            ViewData["InputType"] = inputType;
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.KnowledgeFormalModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        /// <summary>
        /// 问卷列表界面
        /// </summary>
        /// <returns></returns>
        public ActionResult QuestionList()
        {
            //绑定问卷状态
            var exerciseStatus = new List <CS_Master_2>();

            exerciseStatus             = _el.GetQuestionStatus();
            ViewData["QuestionStatus"] = exerciseStatus;

            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.QuestionModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
Esempio n. 6
0
        public ActionResult PushMsgReport()
        {
            Sys_Role_Module roleModuleModel = _authorityManageLogic.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.PushRecordsModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        public ActionResult PaymentReport()
        {
            var roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.PaymentRecordsModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        public ActionResult UserInfo()
        {
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.PersonModule);

            GetDepartment();
            ViewBag.CurrentModulePermission = roleModuleModel;
            //绑定状态清单
            List <CS_Master_2>    itemStatus   = _ul.ApprovalStatusSelect();
            List <SelectListItem> StatusSelect = new List <SelectListItem>();

            StatusSelect.Add(new SelectListItem()
            {
                Value = "", Text = "不限"
            });
            foreach (var list in itemStatus)
            {
                StatusSelect.Add(new SelectListItem()
                {
                    Value = list.DESC0, Text = list.DESC0
                });
            }
            ViewData["StatusSelect"] = StatusSelect;
            ViewData["CurrentUser"]  = CurrentUser.GetCurrentUser().LoginName;
            return(View());
        }
        public ActionResult Index()
        {
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.UserSystemModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
Esempio n. 10
0
        public ActionResult AgreementOperationList()
        {
            var roleModuleModel = _al.GetRoleModulePermission(CurrentUser.GetCurrentUser().Role, ModuleVguid.Agreement);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        public ActionResult SelectionRatioReport(string startDate = "", string endDate = "")
        {
            var roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.SelectionRatioReport);

            ViewBag.CurrentModulePermission = roleModuleModel;
            if (string.IsNullOrEmpty(startDate))
            {
                startDate = DateTime.Now.ToString("yyyy-MM") + "-01";
                endDate   = DateTime.Now.AddMonths(1).ToString("yyyy-MM-dd");
            }
            var reportData = _logic.GetSelectionRatioReportData(startDate, endDate);

            ViewBag.StartDate = startDate;
            ViewBag.EndDate   = endDate;
            return(View(reportData));
        }
Esempio n. 12
0
        public ActionResult PaymentHistory()
        {
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.PaymentHistoryModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
Esempio n. 13
0
        public ActionResult ScanHistoryList()
        {
            var roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.ScanHistoryModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        public ActionResult Index()
        {
            var roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.PsychologicalEvaluation);

            ViewBag.CurrentModulePermission = roleModuleModel;
            ViewBag.ExerciseCheckedList     = _sl.GetCheckedQuestionList();
            return(View());
        }
        /// <summary>
        /// 习题列表界面
        /// </summary>
        /// <returns></returns>
        public ActionResult ExerciseList()
        {
            //绑定习题状态
            var exerciseStatus = new List <CS_Master_2>();

            exerciseStatus             = _el.GetExerciseStatus();
            ViewData["ExerciseStatus"] = exerciseStatus;

            //绑定录入类型
            var inputType = new List <CS_Master_2>();

            inputType             = _el.GetInputType();
            ViewData["InputType"] = inputType;
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.ExerciseModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        public ActionResult QuestionReport()
        {
            List <Business_Questionnaire> exerciseList = _sl.GetCheckedQuestionList();
            Sys_Role_Module roleModuleModel            = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.QuestionReport);

            ViewData["currLoginName"]       = CurrentUser.GetCurrentUser().LoginName;
            ViewBag.exerciseCheckedList     = exerciseList;
            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        public ActionResult ConfigManagement()
        {
            List <Master_Configuration> configList = new List <Master_Configuration>();

            configList = _configManagementLogic.GetConfigList();
            Sys_Role_Module roleModuleModel = _authorityManageLogic.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.ConfigModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            ViewBag.configList = configList;
            return(View());
        }
        public ActionResult MarkingExercise()
        {
            Sys_Role_Module roleModuleModel = _authorityManageLogic.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.MarkingShortQuestionModule);
            List <V_ExercisesUserInformation> exerciseList = new List <V_ExercisesUserInformation>();

            exerciseList = _markingExerciseLogic.GetExerciseList();

            ViewBag.CurrentModulePermission = roleModuleModel;
            ViewBag.exerciseList            = exerciseList;
            return(View());
        }
Esempio n. 19
0
        public ActionResult ScoreReport()
        {
            List <Business_Exercises_Infomation> exerciseList = _sl.GetCheckedExerciseList();
            List <CS_Master_2> exportTypeList  = _sl.GetExportTypeList();
            Sys_Role_Module    roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.ScoreRecordsModule);

            ViewData["currLoginName"]       = CurrentUser.GetCurrentUser().LoginName;
            ViewBag.exportType              = exportTypeList;
            ViewBag.exerciseCheckedList     = exerciseList;
            ViewBag.CurrentModulePermission = roleModuleModel;
            return(View());
        }
        public ActionResult Index()
        {
            bool   isEdit = bool.Parse(Request.QueryString["isEdit"]);
            string vguid  = Request.QueryString["VGUID"];
            Business_EquityAllocation equityAllocation = new Business_EquityAllocation();
            Sys_Role_Module           roleModuleModel  = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.UserSystemModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            ViewBag.Equity = equityAllocation;
            ViewBag.isEdit = isEdit;
            ViewBag.VGUID  = vguid;
            ViewData["currentUserDepartment"] = "";
            if (!string.IsNullOrEmpty(CurrentUser.GetCurrentUser().Department))
            {
                ViewData["currentUserDepartment"] = CurrentUser.GetCurrentUser().Department;
            }
            return(View());
        }
        public ActionResult Index()
        {
            bool isEdit = bool.Parse(Request.QueryString["isEdit"]);
            Business_CleaningCompany cleaningCompany = new Business_CleaningCompany();

            if (isEdit)
            {
                string vguid = Request.QueryString["Vguid"];
                cleaningCompany = GetCleaningCompanyByVguid(vguid);
                // departmentList = GetDepartmentListByEdit(sysRoleModel.Company.ToString());
            }
            Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.UserSystemModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            ViewBag.UserInfo = cleaningCompany;
            ViewBag.isEdit   = isEdit;
            return(View());
        }