public ActionResult AllotFlowInfo(string statuscode) { List <UserCenter_Apps> appList = new List <UserCenter_Apps>(); UserCenter_LoginUserInfo loginUserInfo = WebUserHelp.GetNowLoginUser(out appList); int cityId = WebUserHelp.GetNowCityId(); List <SYSCode> colist = DataCenterCodeApi.GetCodeById(1035, loginUserInfo.UserName, loginUserInfo.SignName, appList); List <FxtApi_SYSArea> areaList = SYSAreaManager.GetAreaByCityId(cityId, loginUserInfo.UserName, loginUserInfo.SignName, appList); ViewBag.AreaList = areaList; //状态code ViewBag.AllotStatus1 = SYSCodeManager.STATECODE_1; ViewBag.AllotStatus2 = SYSCodeManager.STATECODE_2; ViewBag.AllotStatus4 = SYSCodeManager.STATECODE_4; //功能code ViewBag.FunctionCode14 = SYSCodeManager.FunOperCode_14; ViewBag.FunctionCode15 = SYSCodeManager.FunOperCode_15; ViewBag.FunctionCode16 = SYSCodeManager.FunOperCode_16; //获取当前用户在此页面所有的操作权限 List <int> functionCodes = WebUserHelp.GetNowPageFunctionCodes(loginUserInfo.UserName, loginUserInfo.FxtCompanyId, WebCommon.Url_AllotFlowInfo_AllotFlowManager); ViewBag.FunctionCodes = functionCodes; if (!string.IsNullOrEmpty(statuscode) && statuscode != "0") { ViewBag.NowStatus = statuscode; } ViewBag.IomportAllotRight = 0; if (functionCodes.Contains(SYSCodeManager.FunOperCode_10)) { ViewBag.IomportAllotRight = 1; } return(View()); }
public ActionResult Add(UserCenter_LoginUserInfo loginUserInfo) { List <FxtApi_SYSArea> areaList = SYSAreaManager.GetAreaByCityId(loginUserInfo.NowCityId, loginUserInfo.UserName, loginUserInfo.SignName, loginUserInfo.AppList); ViewBag.AreaList = areaList; //主用途 ViewBag.PurposeCode = SYSCodeManager.PurposeCodeManager(); //产权形式 ViewBag.RightCode = SYSCodeManager.RightCodeManager(); //物业管理质量 ViewBag.ManagerQuality = SYSCodeManager.LevelManager(); //停车状况 ViewBag.ParkingStatusCode = SYSCodeManager.GetAllParkingStatusList(); ViewBag.CityId = loginUserInfo.NowCityId; return(View()); }