using Foresight.Fleet.Services.User; using IronIntel.Contractor; using IronIntel.Contractor.Site; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class PrintRentalChanges : MachineDeviceBasePage { public string CompanyID = ""; public string MachineID = ""; public string RentalID = ""; public string FromDate = ""; public string ToDate = ""; public string SearchText = ""; public string SortPath = ""; public string DESC = ""; protected void Page_Load(object sender, EventArgs e) { if (GetCurrentLoginSession() != null) { this.Title = PageTitle; bool permission = CheckRight(SystemParams.CompanyID, Feature.MANAGE_ASSETS); if (!permission) RedirectToLoginPage(); CompanyID = Request.Params["cid"]; MachineID = Request.Params["mid"]; RentalID = Request.Params["rid"]; FromDate = Request.Params["from"]; ToDate = Request.Params["to"]; SearchText = Request.Params["t"];//传过来的参数为HTMLEcode编码 SortPath = Request.Params["sp"]; DESC = Request.Params["desc"].ToLower(); } } }