/// <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));
        }
예제 #2
0
 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;
         }
     }
 }
예제 #3
0
 /// <summary>
 /// 获取用户是否有销售出库价格审核的修改权限
 /// </summary>
 public static bool GetIsPermission()
 {
     return(WebControl.GetPowerOperationPoint("StorageRecordApplyOut.aspx", "SettlementPrice"));
 }
예제 #4
0
        /// <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));
        }
예제 #6
0
        //取得用户操作权限
        protected bool GetPowerOperationPoint(string powerName)
        {
            const string PAGE_NAME = "CussentReckoningT.aspx";

            return(WebControl.GetPowerOperationPoint(PAGE_NAME, powerName));
        }
예제 #7
0
        /// <summary>
        /// 取得用户操作权限
        /// </summary>
        protected bool GetPowerOperationPoint(string powerName)
        {
            const string PAGE_NAME = "/CostReport/CostReport_AuditManage.aspx";

            return(WebControl.GetPowerOperationPoint(PAGE_NAME, powerName));
        }