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,
|
stepStatus: true,
|
||||||
productService: {
|
productService: {
|
||||||
include: {
|
include: {
|
||||||
service: true,
|
service: {
|
||||||
|
include: {
|
||||||
|
workflow: {
|
||||||
|
include: {
|
||||||
|
step: {
|
||||||
|
include: {
|
||||||
|
value: true,
|
||||||
|
responsiblePerson: {
|
||||||
|
include: { user: true },
|
||||||
|
},
|
||||||
|
responsibleInstitution: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
work: true,
|
work: true,
|
||||||
product: {
|
product: {
|
||||||
include: { document: true },
|
include: { document: true },
|
||||||
|
|
@ -309,7 +325,21 @@ export class RequestListController extends Controller {
|
||||||
productService: {
|
productService: {
|
||||||
include: {
|
include: {
|
||||||
service: {
|
service: {
|
||||||
include: { workflow: true },
|
include: {
|
||||||
|
workflow: {
|
||||||
|
include: {
|
||||||
|
step: {
|
||||||
|
include: {
|
||||||
|
value: true,
|
||||||
|
responsiblePerson: {
|
||||||
|
include: { user: true },
|
||||||
|
},
|
||||||
|
responsibleInstitution: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
work: true,
|
work: true,
|
||||||
product: {
|
product: {
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,23 @@ export class TaskController extends Controller {
|
||||||
},
|
},
|
||||||
productService: {
|
productService: {
|
||||||
include: {
|
include: {
|
||||||
service: true,
|
service: {
|
||||||
|
include: {
|
||||||
|
workflow: {
|
||||||
|
include: {
|
||||||
|
step: {
|
||||||
|
include: {
|
||||||
|
value: true,
|
||||||
|
responsiblePerson: {
|
||||||
|
include: { user: true },
|
||||||
|
},
|
||||||
|
responsibleInstitution: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
work: true,
|
work: true,
|
||||||
product: true,
|
product: true,
|
||||||
},
|
},
|
||||||
|
|
@ -252,7 +268,23 @@ export class TaskController extends Controller {
|
||||||
},
|
},
|
||||||
productService: {
|
productService: {
|
||||||
include: {
|
include: {
|
||||||
service: true,
|
service: {
|
||||||
|
include: {
|
||||||
|
workflow: {
|
||||||
|
include: {
|
||||||
|
step: {
|
||||||
|
include: {
|
||||||
|
value: true,
|
||||||
|
responsiblePerson: {
|
||||||
|
include: { user: true },
|
||||||
|
},
|
||||||
|
responsibleInstitution: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
work: true,
|
work: true,
|
||||||
product: true,
|
product: true,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue