diff --git a/src/api/inventory/InspectionPlan.js b/src/api/inventory/InspectionPlan.js new file mode 100644 index 00000000..e5441603 --- /dev/null +++ b/src/api/inventory/InspectionPlan.js @@ -0,0 +1,27 @@ +import axios from "../../utils/request"; + +export function filterList(params) { + return axios({ + url: "/udiwms/inv/device/inspect/plan/filter", + method: "get", + params: params + }); +} + +export function getRepairList(params) { + return axios({ + url: "/udiwms/inv/device/repair/order/filter", + method: "get", + params: params + }); +} + +export function getMaintenanceList(params) { + return axios({ + url: "/udiwms/inv/device/inspect/order/filter", + method: "get", + params: params + }); +} + + diff --git a/src/api/inventory/deptDevice.js b/src/api/inventory/deptDevice.js index 39352e72..8ff4019e 100644 --- a/src/api/inventory/deptDevice.js +++ b/src/api/inventory/deptDevice.js @@ -8,17 +8,9 @@ export function getDeptDeviceList(params) { }); } -export function addDeptDevice(data) { +export function saveDeptDevice(data, formName) { return axios({ - url: "/udiwms/inv/deptDevice/add", - method: "post", - data: data - }); -} - -export function updateDeptDevice(data) { - return axios({ - url: "/udiwms/inv/deptDevice/update", + url: formName === "add" ? "/udiwms/inv/deptDevice/add" : "/udiwms/inv/deptDevice/update", method: "post", data: data }); diff --git a/src/api/inventory/deviceInspectSet.js b/src/api/inventory/deviceInspectSet.js new file mode 100644 index 00000000..60808e73 --- /dev/null +++ b/src/api/inventory/deviceInspectSet.js @@ -0,0 +1,17 @@ +import axios from "@/utils/request"; + +export function findInspectSet(params) { + return axios({ + url: "/udiwms/inv/device/inspect/set/findInspectSet", + method: "get", + params: params + }); +} + +export function saveDeviceInspect(data, type) { + return axios({ + url: type == "add" ?"/udiwms/inv/device/inspect/set/addDeviceInspect" : "/udiwms/inv/device/inspect/set/updateInspectSet", + method: "post", + data: data + }); +} diff --git a/src/views/inventory/DeptDeviceDetail.vue b/src/views/inventory/DeptDeviceDetail.vue index b3dde6a1..ce9298f1 100644 --- a/src/views/inventory/DeptDeviceDetail.vue +++ b/src/views/inventory/DeptDeviceDetail.vue @@ -1,41 +1,169 @@ diff --git a/src/views/inventory/EquipmentMaintenance.vue b/src/views/inventory/EquipmentMaintenance.vue new file mode 100644 index 00000000..87ef712a --- /dev/null +++ b/src/views/inventory/EquipmentMaintenance.vue @@ -0,0 +1,306 @@ + + + + + + diff --git a/src/views/inventory/EquipmentMaintenanceAudit.vue b/src/views/inventory/EquipmentMaintenanceAudit.vue new file mode 100644 index 00000000..ddad0a27 --- /dev/null +++ b/src/views/inventory/EquipmentMaintenanceAudit.vue @@ -0,0 +1,352 @@ + + + + + + diff --git a/src/views/inventory/EquipmentMaintenanceCompleted.vue b/src/views/inventory/EquipmentMaintenanceCompleted.vue new file mode 100644 index 00000000..b642336f --- /dev/null +++ b/src/views/inventory/EquipmentMaintenanceCompleted.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/EquipmentRepairRequest.vue b/src/views/inventory/EquipmentRepairRequest.vue new file mode 100644 index 00000000..0a286345 --- /dev/null +++ b/src/views/inventory/EquipmentRepairRequest.vue @@ -0,0 +1,306 @@ + + + + + + diff --git a/src/views/inventory/EquipmentRepairRequestAudit.vue b/src/views/inventory/EquipmentRepairRequestAudit.vue new file mode 100644 index 00000000..864e214a --- /dev/null +++ b/src/views/inventory/EquipmentRepairRequestAudit.vue @@ -0,0 +1,352 @@ + + + + + + diff --git a/src/views/inventory/EquipmentRepairRequestCompleted.vue b/src/views/inventory/EquipmentRepairRequestCompleted.vue new file mode 100644 index 00000000..8133d99c --- /dev/null +++ b/src/views/inventory/EquipmentRepairRequestCompleted.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/InspectionPlan.vue b/src/views/inventory/InspectionPlan.vue new file mode 100644 index 00000000..270f5e87 --- /dev/null +++ b/src/views/inventory/InspectionPlan.vue @@ -0,0 +1,307 @@ + + + + + + diff --git a/src/views/inventory/InspectionPlanAudit.vue b/src/views/inventory/InspectionPlanAudit.vue new file mode 100644 index 00000000..fea04fa3 --- /dev/null +++ b/src/views/inventory/InspectionPlanAudit.vue @@ -0,0 +1,352 @@ + + + + + + diff --git a/src/views/inventory/InspectionPlanCompleted.vue b/src/views/inventory/InspectionPlanCompleted.vue new file mode 100644 index 00000000..521babff --- /dev/null +++ b/src/views/inventory/InspectionPlanCompleted.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/deptDeviceModifyDialog.vue b/src/views/inventory/deptDeviceModifyDialog.vue new file mode 100644 index 00000000..078a064b --- /dev/null +++ b/src/views/inventory/deptDeviceModifyDialog.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/views/inventory/inspectSetModifyDialog.vue b/src/views/inventory/inspectSetModifyDialog.vue new file mode 100644 index 00000000..5db11821 --- /dev/null +++ b/src/views/inventory/inspectSetModifyDialog.vue @@ -0,0 +1,138 @@ + + + + +