protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { this.txtStartTime.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd"); this.txtEndTime.Value = DateTime.Now.ToString("yyyy-MM-dd"); if (base.Request.QueryString["PID"] != null) { string pid = base.Request.QueryString["PID"].ToString(); if (pid == "151") { PubFunction.BindShopSelectByShopType(this._UserShopID, this.sltShop, true, 2); } else if (pid == "152") { PubFunction.BindShopSelectByShopType(this._UserShopID, this.sltShop, true, 3); } else if (pid == "154") { PubFunction.BindShopSelectByShopType(this._UserShopID, this.sltShop, true, 1); } else { PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true); } } this.GetShopPointList(this.QueryCondition()); } }
protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { this.txtUserType.Value = "3"; PubFunction.BindShopSelectByShopType(this._UserShopID, this.sltShop, true, 3); PubFunction.BindAuthoritySelelctByGroupType(this._UserGroupID, this.sltUserGroupID, true, 3); PubFunction.BindShopSelectByShopType(this._UserShopID, this.sltShopInfo, false, 3); this.GetSysUserList(this.Condition()); this.txtShopId.Value = this._UserShopID.ToString(); this.txtGroupID.Value = this._UserGroupID.ToString(); } }