|
|
@ -151,7 +151,8 @@ export class DataTableController { |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Body() refRowIds: string | string[] | number | number[] | Record<string, any>, |
|
|
|
@Body() |
|
|
|
|
|
|
|
refRowIds: string | string[] | number | number[] | Record<string, any>, |
|
|
|
) { |
|
|
|
) { |
|
|
|
return await this.dataTableService.nestedLink({ |
|
|
|
return await this.dataTableService.nestedLink({ |
|
|
|
modelId, |
|
|
|
modelId, |
|
|
@ -172,7 +173,8 @@ export class DataTableController { |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Body() refRowIds: string | string[] | number | number[] | Record<string, any>, |
|
|
|
@Body() |
|
|
|
|
|
|
|
refRowIds: string | string[] | number | number[] | Record<string, any>, |
|
|
|
) { |
|
|
|
) { |
|
|
|
return await this.dataTableService.nestedUnlink({ |
|
|
|
return await this.dataTableService.nestedUnlink({ |
|
|
|
modelId, |
|
|
|
modelId, |
|
|
|