protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { MyBind(); //读取用户提交的问题分类 repSeachBtn.DataSource = Serverbll.GetSeachUserIdType(-1); repSeachBtn.DataBind(); } Call.SetBreadCrumb(Master, "<li><a href='" + CustomerPageAction.customPath2 + "I/Main.aspx'>工作台</a></li><li><a href='BiServer.aspx'>有问必答</a></li><li class='active'><a href='AddQuestionRecord.aspx'>[添加问题记录]</a></li>" + Call.GetHelp(49)); }
public ActionResult FiServer() { //订单ID,有问必答与订单绑定 int OrderID = DataConverter.CLng(Request.QueryString["orderid"]); int Type = DataConverter.CLng(Request.QueryString["type"], -100); string typeStr = ""; if (Type == -100) { typeStr = ""; } else { typeStr = isBll.TypeArr[Type]; } string state = isBll.GetStatus(DataConverter.CLng(Request.QueryString["num"], -100)); //---------------------------------- PageSetting config = isBll.SelPage(CPage, PSize, new F_IServer() { uid = mu.UserID, state = state, type = typeStr, title = Request["skey_t"] }); if (function.isAjax()) { return(PartialView("FiServer_List", config)); } ViewBag.allnum = isBll.getiServerNum("", mu.UserID, typeStr, OrderID); ViewBag.treatnum = isBll.getiServerNum("处理中", mu.UserID, typeStr, OrderID); ViewBag.nrslvnum = isBll.getiServerNum("未解决", mu.UserID, typeStr, OrderID); ViewBag.rslvnum = isBll.getiServerNum("已解决", mu.UserID, typeStr, OrderID); ViewBag.socknum = isBll.getiServerNum("已锁定", mu.UserID, typeStr, OrderID); ViewBag.typedt = isBll.GetSeachUserIdType(mu.UserID); return(View(config)); }