feat: also include workflow for display condition
This commit is contained in:
parent
4ef407c8b1
commit
2449f324d2
2 changed files with 66 additions and 4 deletions
|
|
@ -264,7 +264,23 @@ export class RequestListController extends Controller {
|
|||
stepStatus: true,
|
||||
productService: {
|
||||
include: {
|
||||
service: true,
|
||||
service: {
|
||||
include: {
|
||||
workflow: {
|
||||
include: {
|
||||
step: {
|
||||
include: {
|
||||
value: true,
|
||||
responsiblePerson: {
|
||||
include: { user: true },
|
||||
},
|
||||
responsibleInstitution: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
work: true,
|
||||
product: {
|
||||
include: { document: true },
|
||||
|
|
@ -309,7 +325,21 @@ export class RequestListController extends Controller {
|
|||
productService: {
|
||||
include: {
|
||||
service: {
|
||||
include: { workflow: true },
|
||||
include: {
|
||||
workflow: {
|
||||
include: {
|
||||
step: {
|
||||
include: {
|
||||
value: true,
|
||||
responsiblePerson: {
|
||||
include: { user: true },
|
||||
},
|
||||
responsibleInstitution: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
work: true,
|
||||
product: {
|
||||
|
|
|
|||
|
|
@ -160,7 +160,23 @@ export class TaskController extends Controller {
|
|||
},
|
||||
productService: {
|
||||
include: {
|
||||
service: true,
|
||||
service: {
|
||||
include: {
|
||||
workflow: {
|
||||
include: {
|
||||
step: {
|
||||
include: {
|
||||
value: true,
|
||||
responsiblePerson: {
|
||||
include: { user: true },
|
||||
},
|
||||
responsibleInstitution: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
work: true,
|
||||
product: true,
|
||||
},
|
||||
|
|
@ -252,7 +268,23 @@ export class TaskController extends Controller {
|
|||
},
|
||||
productService: {
|
||||
include: {
|
||||
service: true,
|
||||
service: {
|
||||
include: {
|
||||
workflow: {
|
||||
include: {
|
||||
step: {
|
||||
include: {
|
||||
value: true,
|
||||
responsiblePerson: {
|
||||
include: { user: true },
|
||||
},
|
||||
responsibleInstitution: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
work: true,
|
||||
product: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue