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()); }