public ActionResult CommitedDetail() { Business_WeChatPush_Information weChatMainModel = new Business_WeChatPush_Information(); bool isEdit = Boolean.Parse(Request.QueryString["isEdit"]); string vguid = Request.QueryString["Vguid"]; List <CS_Master_2> pushType = new List <CS_Master_2>(); pushType = _cl.GetPushTypeList(); ViewData["PushType"] = pushType; List <CS_Master_2> weChatPush = new List <CS_Master_2>(); weChatPush = _cl.GetWeChatPushType(); ViewData["WeChatPushType"] = weChatPush; List <Business_Exercises_Infomation> exerciseList = new List <Business_Exercises_Infomation>(); exerciseList = _cl.GetExerciseList(); ViewData["ExerciseList"] = exerciseList; ViewData["RevenueTypeList"] = _dl.GetRevenueType(); weChatMainModel = _cl.GetWeChatMainByVguid(vguid); Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(CurrentUser.GetCurrentUser().Role, ModuleVguid.SubmitListModule); ViewBag.CurrentModulePermission = roleModuleModel; var pushObject = _dl.GetPushObjectStr(vguid); ViewBag.WeChatModel = weChatMainModel; ViewBag.pushObject = pushObject; ViewBag.listCountersignType = _dl.GetMasterDataType(MasterVGUID.CountersignType); ViewBag.listRedPacketType = _dl.GetMasterDataType(MasterVGUID.RedPacketType); return(View()); }
public ActionResult PushedDetail() { string vguid = Request.QueryString["Vguid"]; var pushType = _pl.GetPushTypeList(); ViewData["PushType"] = pushType; var weChatPush = _pl.GetWeChatPushType(); ViewData["WeChatPushType"] = weChatPush; var exerciseList = _pl.GetExerciseList(); ViewData["ExerciseList"] = exerciseList; ViewData["RevenueTypeList"] = _dl.GetRevenueType(); var weChatMainModel = _pl.GetWeChatMainByVguid(vguid); ViewBag.WeChatModel = weChatMainModel; var pushObj = _dl.GetPushObjectStr(vguid); ViewBag.pushObj = pushObj; ViewBag.listCountersignType = _dl.GetMasterDataType(MasterVGUID.CountersignType); ViewBag.listRedPacketType = _dl.GetMasterDataType(MasterVGUID.RedPacketType); return(View()); }
public ActionResult DraftDetail() { Business_WeChatPush_Information weChatMainModel = new Business_WeChatPush_Information(); bool isEdit = Boolean.Parse(Request.QueryString["isEdit"]); string vguid = Request.QueryString["Vguid"]; List <CS_Master_2> pushType = new List <CS_Master_2>(); pushType = _dl.GetPushTypeList(); ViewData["PushType"] = pushType; List <CS_Master_2> weChatPushType = new List <CS_Master_2>(); weChatPushType = _dl.GetWeChatPushType(); ViewData["WeChatPushType"] = weChatPushType; List <Business_Exercises_Infomation> exerciseList = new List <Business_Exercises_Infomation>(); exerciseList = _dl.GetExerciseList(); ViewData["ExerciseList"] = exerciseList; List <Business_KnowledgeBase_Information> knowledgeList = new List <Business_KnowledgeBase_Information>(); knowledgeList = _dl.GetknowledgeList(); ViewData["KnowledgeList"] = knowledgeList; List <Business_Questionnaire> questionList = new List <Business_Questionnaire>(); questionList = _dl.GetQuestionList(); ViewData["QuestionList"] = questionList; ViewData["RevenueTypeList"] = _dl.GetRevenueType(); ViewData["LabelType"] = _dl.GetLabels(); string pushObject = string.Empty; string pushName = string.Empty; if (isEdit) //编辑 { weChatMainModel = _dl.GetWeChatMainByVguid(vguid); pushObject = _dl.GetPushObjectPhone(vguid); pushName = _dl.GetPushObjectStr(vguid); } Sys_Role_Module roleModuleModel = _al.GetRoleModulePermission(CurrentUser.GetCurrentUser().Role, ModuleVguid.DraftListModule); ViewData["currentUserDepartment"] = ""; if (!string.IsNullOrEmpty(CurrentUser.GetCurrentUser().Department)) { ViewData["currentUserDepartment"] = CurrentUser.GetCurrentUser().Department; } ViewBag.PushObject = pushObject; ViewBag.PushName = pushName; ViewBag.CurrentModulePermission = roleModuleModel; ViewBag.WeChatModel = weChatMainModel; ViewBag.isEdit = isEdit; ViewBag.listCountersignType = _dl.GetMasterDataType(MasterVGUID.CountersignType); ViewBag.listRedPacketType = _dl.GetMasterDataType(MasterVGUID.RedPacketType); return(View()); }