ListFormSeeder düzenlemeleri
This commit is contained in:
parent
40a459fefb
commit
56b9ce3a84
4 changed files with 22 additions and 13 deletions
|
|
@ -10651,6 +10651,12 @@
|
|||
"en": "Component Name",
|
||||
"tr": "Bileşen Adı"
|
||||
},
|
||||
{
|
||||
"resourceName": "Platform",
|
||||
"key": "App.DeveloperKit.ComponentEditor.Dependencies",
|
||||
"en": "Dependencies",
|
||||
"tr": "Bağımlılıklar"
|
||||
},
|
||||
{
|
||||
"resourceName": "Platform",
|
||||
"key": "App.DeveloperKit.ComponentEditor.Description",
|
||||
|
|
|
|||
|
|
@ -1447,7 +1447,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.DateTime,
|
||||
FieldName = "PublishDate",
|
||||
Width = 100,
|
||||
Width = 125,
|
||||
ListOrderNo = 8,
|
||||
Visible = true,
|
||||
IsActive = true,
|
||||
|
|
@ -1463,7 +1463,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.DateTime,
|
||||
FieldName = "ExpiryDate",
|
||||
Width = 100,
|
||||
Width = 125,
|
||||
ListOrderNo = 9,
|
||||
Visible = true,
|
||||
IsActive = true,
|
||||
|
|
@ -1842,7 +1842,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
PagerOptionJson = DefaultPagerOptionJson,
|
||||
EditingOptionJson = JsonSerializer.Serialize(new GridEditingDto
|
||||
{
|
||||
Popup = new GridEditingPopupDto() { Title = AppCodes.Intranet.SocialPost, Width = 500, Height = 400 },
|
||||
Popup = new GridEditingPopupDto() { Title = AppCodes.Intranet.SocialPost, Width = 700, Height = 600 },
|
||||
AllowDeleting = true,
|
||||
AllowAdding = true,
|
||||
AllowUpdating = true,
|
||||
|
|
@ -1858,10 +1858,10 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
new() {
|
||||
Order=1, ColCount=1, ColSpan=2, ItemType="group", Items = [
|
||||
new EditingFormItemDto { Order = 1, DataField = "EmployeeId", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
|
||||
new EditingFormItemDto { Order = 2, DataField = "Content", IsRequired = true, EditorType2 = EditorTypes.dxTextArea },
|
||||
new EditingFormItemDto { Order = 3, DataField = "LikeCount", IsRequired = true, EditorType2 = EditorTypes.dxNumberBox },
|
||||
new EditingFormItemDto { Order = 4, DataField = "IsLiked", IsRequired = true, EditorType2 = EditorTypes.dxCheckBox },
|
||||
new EditingFormItemDto { Order = 5, DataField = "IsOwnPost", IsRequired = true, EditorType2 = EditorTypes.dxCheckBox }
|
||||
new EditingFormItemDto { Order = 2, DataField = "Content", IsRequired = true, EditorType2 = EditorTypes.dxHtmlEditor, EditorOptions = EditorOptionValues.HtmlEditorOptions },
|
||||
new EditingFormItemDto { Order = 3, DataField = "LikeCount", EditorType2 = EditorTypes.dxNumberBox },
|
||||
new EditingFormItemDto { Order = 4, DataField = "IsLiked", EditorType2 = EditorTypes.dxCheckBox },
|
||||
new EditingFormItemDto { Order = 5, DataField = "IsOwnPost", EditorType2 = EditorTypes.dxCheckBox }
|
||||
]}
|
||||
}),
|
||||
CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] {
|
||||
|
|
@ -1873,6 +1873,12 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
Url="/admin/list/list-employees/@Id"
|
||||
},
|
||||
}),
|
||||
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[]
|
||||
{
|
||||
new() { FieldName = "LikeCount", FieldDbType = DbType.Int32, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
|
||||
new() { FieldName = "IsLiked", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value },
|
||||
new() { FieldName = "IsOwnPost", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value }
|
||||
})
|
||||
}
|
||||
);
|
||||
|
||||
|
|
@ -1899,7 +1905,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.Guid,
|
||||
FieldName = "EmployeeId",
|
||||
Width = 100,
|
||||
Width = 150,
|
||||
ListOrderNo = 2,
|
||||
Visible = true,
|
||||
IsActive = true,
|
||||
|
|
@ -1922,7 +1928,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
FieldName = "Content",
|
||||
Width = 800,
|
||||
Width = 900,
|
||||
ListOrderNo = 3,
|
||||
Visible = true,
|
||||
IsActive = true,
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ using Volo.Abp.Data;
|
|||
using Volo.Abp.DependencyInjection;
|
||||
using Volo.Abp.Domain.Repositories;
|
||||
using Volo.Abp.Identity;
|
||||
using Volo.Abp.TenantManagement;
|
||||
using AbpIdentity = Kurs.Platform.Data.Seeds.SeedConsts.AbpIdentity;
|
||||
using AppCodes = Kurs.Platform.Data.Seeds.SeedConsts.AppCodes;
|
||||
using static Kurs.Platform.PlatformConsts;
|
||||
using static Kurs.Platform.PlatformSeeder.SeederDefaults;
|
||||
|
|
@ -430,7 +428,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
FieldName = "Name",
|
||||
Width = 250,
|
||||
Width = 500,
|
||||
ListOrderNo = 2,
|
||||
Visible = true,
|
||||
IsActive = true,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import Dropdown from '@/components/ui/Dropdown'
|
||||
import HorizontalMenuNavLink from './HorizontalMenuNavLink'
|
||||
import classNames from 'classnames'
|
||||
|
||||
export type HorizontalMenuItemProps = {
|
||||
nav: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue