2023-04-28 12:22:26 +08:00

38 lines
1.2 KiB
C#

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 PrintRentals : MachineDeviceBasePage
{
public string CompanyID = "";
public string MachineID = "";
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"];
FromDate = Request.Params["from"];
ToDate = Request.Params["to"];
SearchText = Request.Params["t"];//传过来的参数为HTMLEcode编码
SortPath = Request.Params["sp"];
DESC = Request.Params["desc"].ToLower();
}
}
}