SchedulerView Seeder düzenlemesi
This commit is contained in:
parent
32720abac2
commit
8e86f6fb83
1 changed files with 15 additions and 6 deletions
|
|
@ -2156,8 +2156,17 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
||||||
}),
|
}),
|
||||||
CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] {
|
CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] {
|
||||||
new() {
|
new() {
|
||||||
Hint = "Manage",
|
Hint = "Workorder",
|
||||||
Text ="Manage",
|
Text = "Workorder",
|
||||||
|
AuthName = PlatformConsts.IdentityPermissions.Roles.ManagePermissions,
|
||||||
|
DialogName = "RolesPermission",
|
||||||
|
DialogParameters = JsonSerializer.Serialize(new { name = "@Name" }),
|
||||||
|
IsVisible = true,
|
||||||
|
VisibleExpression = "(e) => e.row.data.WorkorderNumber == null"
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
Hint = "Detail",
|
||||||
|
Text ="Detail",
|
||||||
UrlTarget="_blank",
|
UrlTarget="_blank",
|
||||||
AuthName = listFormName,
|
AuthName = listFormName,
|
||||||
Url=$"/admin/form/{SeederUtils.GetDefaultFormCodes(listFormName)}/@Id",
|
Url=$"/admin/form/{SeederUtils.GetDefaultFormCodes(listFormName)}/@Id",
|
||||||
|
|
@ -2319,7 +2328,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.DateTime,
|
SourceDbType = DbType.DateTime,
|
||||||
FieldName = "ScheduledStart",
|
FieldName = "ScheduledStart",
|
||||||
Width = 100,
|
Width = 130,
|
||||||
ListOrderNo = 9,
|
ListOrderNo = 9,
|
||||||
Visible = true,
|
Visible = true,
|
||||||
IsActive = true,
|
IsActive = true,
|
||||||
|
|
@ -2334,7 +2343,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.DateTime,
|
SourceDbType = DbType.DateTime,
|
||||||
FieldName = "ScheduledEnd",
|
FieldName = "ScheduledEnd",
|
||||||
Width = 100,
|
Width = 130,
|
||||||
ListOrderNo = 10,
|
ListOrderNo = 10,
|
||||||
Visible = true,
|
Visible = true,
|
||||||
IsActive = true,
|
IsActive = true,
|
||||||
|
|
@ -2366,7 +2375,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.DateTime,
|
SourceDbType = DbType.DateTime,
|
||||||
FieldName = "ActualStart",
|
FieldName = "ActualStart",
|
||||||
Width = 100,
|
Width = 130,
|
||||||
ListOrderNo = 12,
|
ListOrderNo = 12,
|
||||||
Visible = true,
|
Visible = true,
|
||||||
IsActive = true,
|
IsActive = true,
|
||||||
|
|
@ -2382,7 +2391,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.DateTime,
|
SourceDbType = DbType.DateTime,
|
||||||
FieldName = "ActualEnd",
|
FieldName = "ActualEnd",
|
||||||
Width = 100,
|
Width = 130,
|
||||||
ListOrderNo = 13,
|
ListOrderNo = 13,
|
||||||
Visible = true,
|
Visible = true,
|
||||||
IsActive = true,
|
IsActive = true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue