Genel düzenlemeler
This commit is contained in:
parent
f796daaafb
commit
d1e26a0e93
4 changed files with 229 additions and 338 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -21568,6 +21568,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
|
||||
}),
|
||||
LookupJson = JsonSerializer.Serialize(new LookupDto {
|
||||
DataSourceType = UiLookupDataSourceTypeEnum.Query,
|
||||
DisplayExpr = "Name",
|
||||
ValueExpr = "Key",
|
||||
LookupQuery = LookUpQueryValues.EventCategoryValues,
|
||||
}),
|
||||
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
|
||||
{
|
||||
AllowReordering = true,
|
||||
|
|
@ -21599,6 +21605,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
|
||||
}),
|
||||
LookupJson = JsonSerializer.Serialize(new LookupDto {
|
||||
DataSourceType = UiLookupDataSourceTypeEnum.Query,
|
||||
DisplayExpr = "Name",
|
||||
ValueExpr = "Key",
|
||||
LookupQuery = LookUpQueryValues.EventTypeValues,
|
||||
}),
|
||||
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
|
||||
{
|
||||
AllowReordering = true,
|
||||
|
|
|
|||
|
|
@ -165,6 +165,22 @@ public static class PlatformConsts
|
|||
$"FROM \"{SelectCommandByTableName("QuestionTag", Prefix.DbTableCoordinator)}\" " +
|
||||
$"WHERE " +
|
||||
$"\"IsDeleted\" = 'false' ";
|
||||
|
||||
public static string EventCategoryValues =
|
||||
$"SELECT " +
|
||||
$"\"Id\" AS \"Key\", " +
|
||||
$"\"Name\" AS \"Name\" " +
|
||||
$"FROM \"{SelectCommandByTableName("EventCategory", Prefix.DbTableDefinition)}\" " +
|
||||
$"WHERE " +
|
||||
$"\"IsDeleted\" = 'false' ";
|
||||
|
||||
public static string EventTypeValues =
|
||||
$"SELECT " +
|
||||
$"\"Id\" AS \"Key\", " +
|
||||
$"\"Name\" AS \"Name\" " +
|
||||
$"FROM \"{SelectCommandByTableName("EventType", Prefix.DbTableDefinition)}\" " +
|
||||
$"WHERE " +
|
||||
$"\"IsDeleted\" = 'false' ";
|
||||
}
|
||||
|
||||
public static class Prefix
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import React, { useState } from 'react'
|
||||
import { ExamCreator } from './AdminPanel/ExamCreator'
|
||||
import {
|
||||
FaPlus,
|
||||
FaSearch,
|
||||
|
|
@ -15,6 +14,7 @@ import { useNavigate } from 'react-router-dom'
|
|||
import { generateMockExam } from '@/mocks/mockExams'
|
||||
import { generateMockPools } from '@/mocks/mockPools'
|
||||
import { Exam, QuestionPoolDto } from '@/types/coordinator'
|
||||
import { ExamCreator } from './ExamInterface/ExamCreator'
|
||||
|
||||
const Assignments: React.FC = () => {
|
||||
const navigate = useNavigate()
|
||||
|
|
|
|||
Loading…
Reference in a new issue