refactor
This commit is contained in:
parent
98bf4532aa
commit
6c8c0939b4
8 changed files with 27 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
import { useEquipmentStore } from "@/stores/admin/unit/equipment/equipment";
|
||||
import { useEquipmentDamageReportStore } from "../../stores/admin/unit/equipment/damageReport";
|
||||
import { useEquipmentInspectionStore } from "../../stores/admin/unit/equipment/inspection";
|
||||
import { useEquipmentDamageReportStore } from "@/stores/admin/unit/equipment/damageReport";
|
||||
import { useEquipmentInspectionStore } from "@/stores/admin/unit/equipment/inspection";
|
||||
|
||||
export async function setEquipmentId(to: any, from: any, next: any) {
|
||||
const equipmentStore = useEquipmentStore();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { useInspectionPlanStore } from "@/stores/admin/unit/inspectionPlan/inspectionPlan";
|
||||
import { useInspectionPointStore } from "../../stores/admin/unit/inspectionPlan/inspectionPoint";
|
||||
import { useInspectionPointStore } from "@/stores/admin/unit/inspectionPlan/inspectionPoint";
|
||||
|
||||
export async function setInspectionPlanId(to: any, from: any, next: any) {
|
||||
const inspectionPlanStore = useInspectionPlanStore();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { useVehicleStore } from "@/stores/admin/unit/vehicle/vehicle";
|
||||
import { useVehicleDamageReportStore } from "../../stores/admin/unit/vehicle/damageReport";
|
||||
import { useVehicleInspectionStore } from "../../stores/admin/unit/vehicle/inspection";
|
||||
import { useVehicleDamageReportStore } from "@/stores/admin/unit/vehicle/damageReport";
|
||||
import { useVehicleInspectionStore } from "@/stores/admin/unit/vehicle/inspection";
|
||||
|
||||
export async function setVehicleId(to: any, from: any, next: any) {
|
||||
const vehicleStore = useVehicleStore();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { useWearableStore } from "@/stores/admin/unit/wearable/wearable";
|
||||
import { useWearableDamageReportStore } from "../../stores/admin/unit/wearable/damageReport";
|
||||
import { useWearableTypeInspectionPlanStore } from "../../stores/admin/unit/wearableType/inspectionPlan";
|
||||
import { useWearableDamageReportStore } from "@/stores/admin/unit/wearable/damageReport";
|
||||
import { useWearableTypeInspectionPlanStore } from "@/stores/admin/unit/wearableType/inspectionPlan";
|
||||
|
||||
export async function setWearableId(to: any, from: any, next: any) {
|
||||
const wearableStore = useWearableStore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue