change according to connection from frontend
This commit is contained in:
parent
2609ecc1bf
commit
e3db523a0e
36 changed files with 611 additions and 173 deletions
|
@ -22,8 +22,8 @@ export default abstract class InspectionPlanCommandHandler {
|
|||
title: createInspectionPlan.title,
|
||||
inspectionInterval: createInspectionPlan.inspectionInterval,
|
||||
remindTime: createInspectionPlan.remindTime,
|
||||
equipmentId: createInspectionPlan.assigned == "equipment" ? createInspectionPlan.relatedId : null,
|
||||
vehicleId: createInspectionPlan.assigned == "vehicle" ? createInspectionPlan.relatedId : null,
|
||||
equipmentTypeId: createInspectionPlan.assigned == "equipment" ? createInspectionPlan.relatedId : null,
|
||||
vehicleTypeId: createInspectionPlan.assigned == "vehicle" ? createInspectionPlan.relatedId : null,
|
||||
})
|
||||
.execute()
|
||||
.then((result) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue