/// <summary> /// 初始化 /// </summary> private void InitData() { Hashtable ht = vehicleMaintainLogManager.GetVehicleMaintainLogInfoByID(_key); if (ht.Count > 0 && ht != null) { ControlBindHelper.SetWebControls(this.Page, ht); } }
/// <summary> /// 初始化 /// </summary> private void InitData() { Hashtable ht = vehicleMaintainLogManager.GetVehicleMaintainLogInfoByID(_key); if (ht.Count > 0 && ht != null) { ControlBindHelper.SetWebControls(this.Page, ht); } // 数据权限(当前用户为维修人员时默认显示为本维修部) if (IsDataAuthRole) { this.PitID.Value = GetDepartmentID(); } }