SubForms için Gantt ve Scheduler eklendi
This commit is contained in:
parent
63185d7b22
commit
0f790b1183
2 changed files with 22 additions and 0 deletions
|
|
@ -805,6 +805,8 @@ export enum ColumnRowTypeListOptions {
|
|||
export enum SubFormTabTypeEnum {
|
||||
List = 'List',
|
||||
Tree = 'Tree',
|
||||
Gantt = 'Gantt',
|
||||
Scheduler = 'Scheduler',
|
||||
Form = 'Form',
|
||||
Chart = 'Chart',
|
||||
Pivot = 'Pivot',
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ import FormNew from './FormNew'
|
|||
import FormView from './FormView'
|
||||
import { useLocalization } from '@/utils/hooks/useLocalization'
|
||||
import Tree from '../list/Tree'
|
||||
import GanttView from '../list/GanttView'
|
||||
import SchedulerView from '../list/SchedulerView'
|
||||
|
||||
const SubForms = (props: {
|
||||
gridDto: GridDto
|
||||
|
|
@ -118,6 +120,24 @@ const SubForms = (props: {
|
|||
refreshData={subForm.isRefresh ? refreshData : undefined}
|
||||
/>
|
||||
)}
|
||||
{subForm.tabType == SubFormTabTypeEnum.Gantt && (
|
||||
<GanttView
|
||||
listFormCode={subForm.code}
|
||||
searchParams={subForm.searchParams}
|
||||
isSubForm={true}
|
||||
level={level + 1}
|
||||
refreshData={subForm.isRefresh ? refreshData : undefined}
|
||||
/>
|
||||
)}
|
||||
{subForm.tabType == SubFormTabTypeEnum.Scheduler && (
|
||||
<SchedulerView
|
||||
listFormCode={subForm.code}
|
||||
searchParams={subForm.searchParams}
|
||||
isSubForm={true}
|
||||
level={level + 1}
|
||||
refreshData={subForm.isRefresh ? refreshData : undefined}
|
||||
/>
|
||||
)}
|
||||
{subForm.tabType == SubFormTabTypeEnum.Form &&
|
||||
(subForm.tabMode == 'edit' ? (
|
||||
<FormEdit
|
||||
|
|
|
|||
Loading…
Reference in a new issue