/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(PositionPersonnelData data, FormConvert convert) { //数据 data.Appellation = convert.ToString("Appellation"); data.OrganizePositionId = convert.ToInteger("OrganizePositionId"); //备注 data.Memo = convert.ToString("Memo"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected override void ReadFormData(DataDictionaryData data, FormConvert convert) { data.Name = convert.ToString("Name", false); data.Value = convert.ToString("Value", false); data.State = convert.ToLong("State"); data.Feature = convert.ToString("Feature", true); data.Memo = convert.ToString("Memo", true); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(RoleData data, FormConvert convert) { //数据 data.Role = convert.ToString("Role"); data.Memo = convert.ToString("Memo"); //数据֪ data.Caption = convert.ToString("Caption"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(PositionData data, FormConvert convert) { //数据 data.FullName = convert.ToString("FullName"); data.ShortName = convert.ToString("ShortName"); data.PositionLevel = convert.ToInteger("PositionLevel"); data.Memo = convert.ToString("Memo"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(UserData data, FormConvert convert) { //数据 data.RealName = convert.ToString("RealName"); data.UserName = convert.ToString("UserName"); data.PassWord = convert.ToString("PassWord"); data.RoleId = convert.ToInteger("RoleId"); data.Memo = convert.ToString("Memo"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(OrganizePositionData data, FormConvert convert) { //职位 data.Position = convert.ToString("Position"); //数据 data.RoleId = convert.ToInteger("RoleId"); data.OrganizationId = convert.ToInteger("OrganizationId"); //备注 data.Memo = convert.ToString("Memo"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(PersonnelData data, FormConvert convert) { //数据 data.FullName = convert.ToString("FullName"); data.Six = convert.ToBoolean("Six"); data.Birthday = convert.ToDateTime("Birthday"); data.Tel = convert.ToString("Tel"); data.Mobile = convert.ToString("Mobile"); //备注 data.Memo = convert.ToString("Memo"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(OrganizationData data, FormConvert convert) { //数据 data.Type = (OrganizationType)convert.ToInteger("Type"); data.Code = convert.ToString("Code"); data.FullName = convert.ToString("FullName"); data.ShortName = convert.ToString("ShortName"); data.TreeName = convert.ToString("TreeName"); data.OrgLevel = convert.ToInteger("OrgLevel"); data.ParentId = convert.ToInteger("ParentId"); data.OrgId = convert.ToInteger("OrgId"); data.Memo = convert.ToString("Memo"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected override void ReadFormData(PositionPersonnelData data, FormConvert convert) { //数据 data.Appellation = convert.ToString("Appellation"); data.Personnel = convert.ToString("Personnel", false); data.Six = convert.ToBoolean("Six"); data.Birthday = convert.ToDateTime("Birthday"); data.Tel = convert.ToString("Tel", false); data.Mobile = convert.ToString("Mobile", false); data.RoleId = convert.ToInteger("RoleId", 0); data.OrganizePositionId = convert.ToInteger("OrganizePositionId", 0); //备注 data.Memo = convert.ToString("Memo", true); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected void DefaultReadFormData(UserJobData data, FormConvert convert) { //数据 data.Title = convert.ToString("Title"); data.Date = convert.ToDateTime("Date"); data.Message = convert.ToString("Message"); data.JobType = (UserJobType)convert.ToInteger("JobType"); data.JobStatus = (JobStatusType)convert.ToInteger("JobStatus"); data.CommandType = (JobCommandType)convert.ToInteger("CommandType"); data.LinkId = convert.ToInteger("LinkId"); data.EntityType = convert.ToInteger("EntityType"); data.ToUserId = convert.ToInteger("ToUserId"); data.ToUserName = convert.ToString("ToUserName"); data.FromUserId = convert.ToInteger("FromUserId"); data.FromUserName = convert.ToString("FromUserName"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected override void ReadFormData(PageDataData data, FormConvert convert) { //未知 data.UserId = convert.ToInteger("UserId"); data.PageId = convert.ToInteger("PageId"); data.PageData = convert.ToString("PageData", false); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected override void ReadFormData(PageItemData data, FormConvert convert) { data.Name = convert.ToString("Name", false); data.Json = convert.ToString("Json", false); data.ExtendValue = convert.ToString("ExtendValue", false); data.Caption = convert.ToString("Caption", false); //data.Folder = convert.ToString("Folder", false); data.Url = convert.ToString("Url", true); data.Icon = convert.ToString("Icon", true); data.ItemType = (PageItemType)convert.ToInteger("ItemType", 0); data.Index = convert.ToInteger("Index", 0); data.ParentId = convert.ToInteger("ParentId", 0); data.Memo = convert.ToString("Memo", true); data.SystemType = convert.ToString("type"); data.IsHide = convert.ToBoolean("hide"); data.Audit = convert.ToBoolean("audit"); data.LevelAudit = convert.ToBoolean("level_audit"); data.DataState = convert.ToBoolean("data_state"); data.AuditPage = convert.ToInteger("audit_page"); data.Edit = convert.ToBoolean("edit"); data.MasterPage = convert.ToInteger("master_page"); }
/// <summary> /// 读取Form传过来的数据 /// </summary> /// <param name="data">数据</param> /// <param name="convert">转化器</param> protected override void ReadFormData(RoleData data, FormConvert convert) { data.Role = convert.ToString("Role", false); data.Caption = convert.ToString("Caption", false); data.Memo = convert.ToString("Memo", true); }