protected void Page_Load(object sender, EventArgs e) { string type = Request["t"]; if (!string.IsNullOrEmpty(type)) { Response.ContentEncoding = Encoding.UTF8; Response.ContentType = "application/json"; if (type.Equals("GetMlTree")) { Response.Write(GetMlTree()); } if (type.Equals("AddData")) { Response.Write(AddData()); } if (type.Equals("ListBind")) { //权限状态 EDRS.BLL.TYYW_GG_AJJBXX bll = new EDRS.BLL.TYYW_GG_AJJBXX(Request); string data = bll.ListBin(this.Request, UserInfo.DWBM, UserInfo.GH, base.GetBmBm(), Jsbms, base.GetJsQxzt()); //OperateLog.AddLog(OperateLog.LogType.案件卷宗制作Web, "案件数据查询", UserInfo, UserRole, this.Request); Response.Write(data); } if (type.Equals("getPeople")) { Response.Write(GetPeople()); } Response.End(); } }
protected void Page_Load(object sender, EventArgs e) { string type = Request["t"]; if (!string.IsNullOrEmpty(type)) { Response.ContentEncoding = Encoding.UTF8; Response.ContentType = "application/json"; if (type.Equals("ListBind")) { EDRS.BLL.TYYW_GG_AJJBXX bll = new EDRS.BLL.TYYW_GG_AJJBXX(Request); string data = bll.ListBin(this.Request, UserInfo.DWBM, UserInfo.GH, Bmbms, Jsbms); Response.Write(data); } if (type.Equals("DeriveData")) { Response.Write(DeriveData()); } Response.End(); } }