/// <summary> /// 取得用户操作权限 /// </summary> protected bool GetPowerOperationPoint(string powerName) { string pageName = WebControl.FileName; if (powerName == "InnerPurchaseApprove") { var dd = WebControl.GetPowerOperationPoint(pageName, powerName); } return(WebControl.GetPowerOperationPoint(pageName, powerName)); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //绑定销售平台 BandingSaleTerrace(); if (!WebControl.GetPowerOperationPoint(PAGE_NAME, "Auditing")) { ActivityFilingRad.MasterTableView.Columns.FindByUniqueName("Auditing").Visible = false; } if (!WebControl.GetPowerOperationPoint(PAGE_NAME, "Delete")) { ActivityFilingRad.MasterTableView.Columns.FindByUniqueName("Delete").Visible = false; } } }
/// <summary> /// 获取用户是否有销售出库价格审核的修改权限 /// </summary> public static bool GetIsPermission() { return(WebControl.GetPowerOperationPoint("StorageRecordApplyOut.aspx", "SettlementPrice")); }
/// <summary> /// 取得用户操作权限 /// </summary> protected bool GetPowerOperationPoint(string powerName) { const string PAGE_NAME = "AccountsT.aspx"; return(WebControl.GetPowerOperationPoint(PAGE_NAME, powerName)); }
/// <summary> /// 取得用户操作权限 /// </summary> protected bool GetPowerOperationPoint(string powerName) { string pageName = WebControl.FileName; return(WebControl.GetPowerOperationPoint(pageName, powerName)); }
//取得用户操作权限 protected bool GetPowerOperationPoint(string powerName) { const string PAGE_NAME = "CussentReckoningT.aspx"; return(WebControl.GetPowerOperationPoint(PAGE_NAME, powerName)); }
/// <summary> /// 取得用户操作权限 /// </summary> protected bool GetPowerOperationPoint(string powerName) { const string PAGE_NAME = "/CostReport/CostReport_AuditManage.aspx"; return(WebControl.GetPowerOperationPoint(PAGE_NAME, powerName)); }