diff --git a/src/api/eam/device/deviceInspectionDetail/index.ts b/src/api/eam/device/deviceInspectionDetail/index.ts
index 3260996..7b5ce73 100644
--- a/src/api/eam/device/deviceInspectionDetail/index.ts
+++ b/src/api/eam/device/deviceInspectionDetail/index.ts
@@ -21,38 +21,38 @@ export const getDeviceInspectionDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-inspection-detail/senior', data })
+ return await request.post({ url: '/eam/device-inspection-job-detail/senior', data })
} else {
- return await request.get({ url: `/eam/device-inspection-detail/page`, params })
+ return await request.get({ url: `/eam/device-inspection-job-detail/page`, params })
}
}
// 查询检修工单子详情
export const getDeviceInspectionDetail = async (id: number) => {
- return await request.get({ url: `/eam/device-inspection-detail/get?id=` + id })
+ return await request.get({ url: `/eam/device-inspection-job-detail/get?id=` + id })
}
// 新增检修工单子
export const createDeviceInspectionDetail = async (data: DeviceInspectionDetailVO) => {
- return await request.post({ url: `/eam/device-inspection-detail/create`, data })
+ return await request.post({ url: `/eam/device-inspection-job-detail/create`, data })
}
// 修改检修工单子
export const updateDeviceInspectionDetail = async (data: DeviceInspectionDetailVO) => {
- return await request.put({ url: `/eam/device-inspection-detail/update`, data })
+ return await request.put({ url: `/eam/device-inspection-job-detail/update`, data })
}
// 删除检修工单子
export const deleteDeviceInspectionDetail = async (id: number) => {
- return await request.delete({ url: `/eam/device-inspection-detail/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-inspection-job-detail/delete?id=` + id })
}
// 导出检修工单子 Excel
export const exportDeviceInspectionDetail = async (params) => {
- return await request.download({ url: `/eam/device-inspection-detail/export-excel`, params })
+ return await request.download({ url: `/eam/device-inspection-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-inspection-detail/get-import-template' })
+ return request.download({ url: '/eam/device-inspection-job-detail/get-import-template' })
}
\ No newline at end of file
diff --git a/src/api/eam/device/deviceInspectionMain/index.ts b/src/api/eam/device/deviceInspectionMain/index.ts
index 3f908cc..e57dc51 100644
--- a/src/api/eam/device/deviceInspectionMain/index.ts
+++ b/src/api/eam/device/deviceInspectionMain/index.ts
@@ -20,38 +20,38 @@ export const getDeviceInspectionMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-inspection-main/senior', data })
+ return await request.post({ url: '/eam/device-inspection-job-main/senior', data })
} else {
- return await request.get({ url: `/eam/device-inspection-main/page`, params })
+ return await request.get({ url: `/eam/device-inspection-job-main/page`, params })
}
}
// 查询检修工单主详情
export const getDeviceInspectionMain = async (id: number) => {
- return await request.get({ url: `/eam/device-inspection-main/get?id=` + id })
+ return await request.get({ url: `/eam/device-inspection-job-main/get?id=` + id })
}
// 新增检修工单主
export const createDeviceInspectionMain = async (data: DeviceInspectionMainVO) => {
- return await request.post({ url: `/eam/device-inspection-main/createPC`, data })
+ return await request.post({ url: `/eam/device-inspection-job-main/createPC`, data })
}
// 修改检修工单主
export const updateDeviceInspectionMain = async (data: DeviceInspectionMainVO) => {
- return await request.put({ url: `/eam/device-inspection-main/update`, data })
+ return await request.put({ url: `/eam/device-inspection-job-main/update`, data })
}
// 删除检修工单主
export const deleteDeviceInspectionMain = async (id: number) => {
- return await request.delete({ url: `/eam/device-inspection-main/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-inspection-job-main/delete?id=` + id })
}
// 导出检修工单主 Excel
export const exportDeviceInspectionMain = async (params) => {
- return await request.download({ url: `/eam/device-inspection-main/export-excel`, params })
+ return await request.download({ url: `/eam/device-inspection-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-inspection-main/get-import-template' })
+ return request.download({ url: '/eam/device-inspection-job-main/get-import-template' })
}
diff --git a/src/api/eam/device/deviceMaintainOrderDetail/index.ts b/src/api/eam/device/deviceMaintainOrderDetail/index.ts
index 71c8b9e..165d18c 100644
--- a/src/api/eam/device/deviceMaintainOrderDetail/index.ts
+++ b/src/api/eam/device/deviceMaintainOrderDetail/index.ts
@@ -23,38 +23,38 @@ export const getDeviceMaintainOrderDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-maintain-order-detail/senior', data })
+ return await request.post({ url: '/eam/device-maintain-job-detail/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintain-order-detail/page`, params })
+ return await request.get({ url: `/eam/device-maintain-job-detail/page`, params })
}
}
// 查询保养工单子详情
export const getDeviceMaintainOrderDetail = async (id: number) => {
- return await request.get({ url: `/eam/device-maintain-order-detail/get?id=` + id })
+ return await request.get({ url: `/eam/device-maintain-job-detail/get?id=` + id })
}
// 新增保养工单子
export const createDeviceMaintainOrderDetail = async (data: DeviceMaintainOrderDetailVO) => {
- return await request.post({ url: `/eam/device-maintain-order-detail/create`, data })
+ return await request.post({ url: `/eam/device-maintain-job-detail/create`, data })
}
// 修改保养工单子
export const updateDeviceMaintainOrderDetail = async (data: DeviceMaintainOrderDetailVO) => {
- return await request.put({ url: `/eam/device-maintain-order-detail/update`, data })
+ return await request.put({ url: `/eam/device-maintain-job-detail/update`, data })
}
// 删除保养工单子
export const deleteDeviceMaintainOrderDetail = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintain-order-detail/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintain-job-detail/delete?id=` + id })
}
// 导出保养工单子 Excel
export const exportDeviceMaintainOrderDetail = async (params) => {
- return await request.download({ url: `/eam/device-maintain-order-detail/export-excel`, params })
+ return await request.download({ url: `/eam/device-maintain-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-maintain-order-detail/get-import-template' })
+ return request.download({ url: '/eam/device-maintain-job-detail/get-import-template' })
}
\ No newline at end of file
diff --git a/src/api/eam/device/deviceMaintainOrderMain/index.ts b/src/api/eam/device/deviceMaintainOrderMain/index.ts
index 9c36da2..9318977 100644
--- a/src/api/eam/device/deviceMaintainOrderMain/index.ts
+++ b/src/api/eam/device/deviceMaintainOrderMain/index.ts
@@ -23,49 +23,49 @@ export const getDeviceMaintainOrderMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-maintain-order-main/senior', data })
+ return await request.post({ url: '/eam/device-maintain-job-main/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintain-order-main/page`, params })
+ return await request.get({ url: `/eam/device-maintain-job-main/page`, params })
}
}
// 查询保养工单主详情
export const getDeviceMaintainOrderMain = async (id: number) => {
- return await request.get({ url: `/eam/device-maintain-order-main/get?id=` + id })
+ return await request.get({ url: `/eam/device-maintain-job-main/get?id=` + id })
}
// 新增保养工单主
export const createDeviceMaintainOrderMain = async (data: DeviceMaintainOrderMainVO) => {
- return await request.post({ url: `/eam/device-maintain-order-main/create`, data })
+ return await request.post({ url: `/eam/device-maintain-job-main/create`, data })
}
// 修改保养工单主
export const updateDeviceMaintainOrderMain = async (data: DeviceMaintainOrderMainVO) => {
- return await request.put({ url: `/eam/device-maintain-order-main/update`, data })
+ return await request.put({ url: `/eam/device-maintain-job-main/update`, data })
}
// 删除保养工单主
export const deleteDeviceMaintainOrderMain = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintain-order-main/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintain-job-main/delete?id=` + id })
}
// 导出保养工单主 Excel
export const exportDeviceMaintainOrderMain = async (params) => {
- return await request.download({ url: `/eam/device-maintain-order-main/export-excel`, params })
+ return await request.download({ url: `/eam/device-maintain-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-maintain-order-main/get-import-template' })
+ return request.download({ url: '/eam/device-maintain-job-main/get-import-template' })
}
// 保养接单
export const orderClick = (id: number) => {
- return request.get({ url: '/eam/device-maintain-order-main/orderClick?id=' + id })
+ return request.get({ url: '/eam/device-maintain-job-main/orderClick?id=' + id })
}
// 保养完成
export const orderClickFinish = (id: number) => {
- return request.get({ url: '/eam/device-maintain-order-main/orderClickFinish?id=' + id })
+ return request.get({ url: '/eam/device-maintain-job-main/orderClickFinish?id=' + id })
}
diff --git a/src/api/eam/device/deviceMaintenanceDetail/index.ts b/src/api/eam/device/deviceMaintenanceDetail/index.ts
index 9ae5b49..b3b9c78 100644
--- a/src/api/eam/device/deviceMaintenanceDetail/index.ts
+++ b/src/api/eam/device/deviceMaintenanceDetail/index.ts
@@ -14,28 +14,28 @@ export const getDeviceMaintenanceDetailPage = async (params) => {
const data = {...params}
return await request.post({ url: '/wms/purchasereceipt-request-detail/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintenance-detail/page`, params })
+ return await request.get({ url: `/eam/device-maintenance-job-detail/page`, params })
}
}
// 查询维修工单子详情
export const getPurchasereceiptRequestDetail = async (id) => {
- return await request.get({ url: `/eam/device-maintenance-detail/selectListByNumber?id=` + id })
+ return await request.get({ url: `/eam/device-maintenance-job-detail/selectListByNumber?id=` + id })
}
// 新增维修工单子
export const createDeviceMaintenanceDetail = async (data: DeviceMaintenanceDetailVO) => {
- return await request.post({ url: `/eam/device-maintenance-detail/create`, data })
+ return await request.post({ url: `/eam/device-maintenance-job-detail/create`, data })
}
// 修改维修工单子
export const updateDeviceMaintenanceDetail = async (data: DeviceMaintenanceDetailVO) => {
- return await request.put({ url: `/eam/device-maintenance-detail/update`, data })
+ return await request.put({ url: `/eam/device-maintenance-job-detail/update`, data })
}
// 删除维修工单子
export const deleteDeviceMaintenanceDetail = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintenance-detail/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintenance-job-detail/delete?id=` + id })
}
diff --git a/src/api/eam/device/deviceMaintenanceMain/index.ts b/src/api/eam/device/deviceMaintenanceMain/index.ts
index 3e0576e..74119f6 100644
--- a/src/api/eam/device/deviceMaintenanceMain/index.ts
+++ b/src/api/eam/device/deviceMaintenanceMain/index.ts
@@ -22,53 +22,53 @@ export const getDeviceMaintenanceMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-maintenance-main/senior', data })
+ return await request.post({ url: '/eam/device-maintenance-job-main/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintenance-main/page`, params })
+ return await request.get({ url: `/eam/device-maintenance-job-main/page`, params })
}
}
// 查询维修工单主详情
export const getDeviceMaintenanceMain = async (id: number) => {
- return await request.get({ url: `/eam/device-maintenance-main/get?id=` + id })
+ return await request.get({ url: `/eam/device-maintenance-job-main/get?id=` + id })
}
// 新增维修工单主
export const createDeviceMaintenanceMain = async (data: DeviceMaintenanceMainVO) => {
- return await request.post({ url: `/eam/device-maintenance-main/createPC`, data })
+ return await request.post({ url: `/eam/device-maintenance-job-main/createPC`, data })
}
// 修改维修工单主
export const updateDeviceMaintenanceMain = async (data: DeviceMaintenanceMainVO) => {
- return await request.put({ url: `/eam/device-maintenance-main/update`, data })
+ return await request.put({ url: `/eam/device-maintenance-job-main/update`, data })
}
// 删除维修工单主
export const deleteDeviceMaintenanceMain = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintenance-main/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintenance-job-main/delete?id=` + id })
}
// 导出维修工单主 Excel
export const exportDeviceMaintenanceMain = async (params) => {
- return await request.download({ url: `/eam/device-maintenance-main/export-excel`, params })
+ return await request.download({ url: `/eam/device-maintenance-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-maintenance-main/get-import-template' })
+ return request.download({ url: '/eam/device-maintenance-job-main/get-import-template' })
}
// 修改维修工单主
export const orderStepChange = async (data: DeviceMaintenanceMainVO) => {
- return await request.get({ url: `/eam/device-maintenance-main/orderClick?number=`+data.number+`&status=`+data.status+`&id=`+data.id+`&requestNumber=`+data.requestNumber })
+ return await request.get({ url: `/eam/device-maintenance-job-main/orderClick?number=`+data.number+`&status=`+data.status+`&id=`+data.id+`&requestNumber=`+data.requestNumber })
}
// 修改维修工单主
export const orderTurnTo = async (data: DeviceMaintenanceMainVO) => {
- return await request.get({ url: `/eam/device-maintenance-main/turnTo?deviceNumber=`+data.deviceNumber +`&id=`+data.id + `&receiverType=`+ data.type +`&receiverUserId=` + data.maintenance })
+ return await request.get({ url: `/eam/device-maintenance-job-main/turnTo?deviceNumber=`+data.deviceNumber +`&id=`+data.id + `&receiverType=`+ data.type +`&receiverUserId=` + data.maintenance })
}
// 查询维修工单主列表不分页
export const getDeviceMainTempList = async (type: String) => {
- return await request.get({ url: `/eam/device-maintenance-main/getList?type=` + type })
+ return await request.get({ url: `/eam/device-maintenance-job-main/getList?type=` + type })
}
diff --git a/src/api/eam/device/deviceRepair/index.ts b/src/api/eam/device/deviceRepair/index.ts
index c890748..f320b57 100644
--- a/src/api/eam/device/deviceRepair/index.ts
+++ b/src/api/eam/device/deviceRepair/index.ts
@@ -20,43 +20,43 @@ export const getDeviceRepairPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-repair/senior', data })
+ return await request.post({ url: '/eam/device-repair-request/senior', data })
} else {
- return await request.get({ url: `/eam/device-repair/page`, params })
+ return await request.get({ url: `/eam/device-repair-request/page`, params })
}
}
// 查询报修申请详情
export const getDeviceRepair = async (id: number) => {
- return await request.get({ url: `/eam/device-repair/get?id=` + id })
+ return await request.get({ url: `/eam/device-repair-request/get?id=` + id })
}
// 新增报修申请
export const createDeviceRepair = async (data: DeviceRepairVO) => {
- return await request.post({ url: `/eam/device-repair/create`, data })
+ return await request.post({ url: `/eam/device-repair-request/create`, data })
}
// 修改报修申请
export const updateDeviceRepair = async (data: DeviceRepairVO) => {
- return await request.put({ url: `/eam/device-repair/update`, data })
+ return await request.put({ url: `/eam/device-repair-request/update`, data })
}
// 删除报修申请
export const deleteDeviceRepair = async (id: number) => {
- return await request.delete({ url: `/eam/device-repair/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-repair-request/delete?id=` + id })
}
// 导出报修申请 Excel
export const exportDeviceRepair = async (params) => {
- return await request.download({ url: `/eam/device-repair/export-excel`, params })
+ return await request.download({ url: `/eam/device-repair-request/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-repair/get-import-template' })
+ return request.download({ url: '/eam/device-repair-request/get-import-template' })
}
// 撤销申请
export const rejected = (id: Number) => {
- return request.delete({ url: '/eam/device-repair/rejected?id=' + id })
+ return request.delete({ url: '/eam/device-repair-request/rejected?id=' + id })
}
\ No newline at end of file
diff --git a/src/api/eam/mold/moldInspectionDetail/index.ts b/src/api/eam/mold/moldInspectionDetail/index.ts
index 2c1eb8c..c547270 100644
--- a/src/api/eam/mold/moldInspectionDetail/index.ts
+++ b/src/api/eam/mold/moldInspectionDetail/index.ts
@@ -21,38 +21,38 @@ export const getMoldInspectionDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-inspection-detail/senior', data })
+ return await request.post({ url: '/eam/device-inspection-job-detail/senior', data })
} else {
- return await request.get({ url: `/eam/device-inspection-detail/page`, params })
+ return await request.get({ url: `/eam/device-inspection-job-detail/page`, params })
}
}
// 查询检修工单子详情
export const getMoldInspectionDetail = async (id: number) => {
- return await request.get({ url: `/eam/device-inspection-detail/get?id=` + id })
+ return await request.get({ url: `/eam/device-inspection-job-detail/get?id=` + id })
}
// 新增检修工单子
export const createMoldInspectionDetail = async (data: MoldInspectionDetailVO) => {
- return await request.post({ url: `/eam/device-inspection-detail/create`, data })
+ return await request.post({ url: `/eam/device-inspection-job-detail/create`, data })
}
// 修改检修工单子
export const updateMoldInspectionDetail = async (data: MoldInspectionDetailVO) => {
- return await request.put({ url: `/eam/device-inspection-detail/update`, data })
+ return await request.put({ url: `/eam/device-inspection-job-detail/update`, data })
}
// 删除检修工单子
export const deleteMoldInspectionDetail = async (id: number) => {
- return await request.delete({ url: `/eam/device-inspection-detail/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-inspection-job-detail/delete?id=` + id })
}
// 导出检修工单子 Excel
export const exportMoldInspectionDetail = async (params) => {
- return await request.download({ url: `/eam/device-inspection-detail/export-excel`, params })
+ return await request.download({ url: `/eam/device-inspection-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-inspection-detail/get-import-template' })
+ return request.download({ url: '/eam/device-inspection-job-detail/get-import-template' })
}
\ No newline at end of file
diff --git a/src/api/eam/mold/moldInspectionMain/index.ts b/src/api/eam/mold/moldInspectionMain/index.ts
index 0801168..7506fbe 100644
--- a/src/api/eam/mold/moldInspectionMain/index.ts
+++ b/src/api/eam/mold/moldInspectionMain/index.ts
@@ -20,38 +20,38 @@ export const getMoldInspectionMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-inspection-main/senior', data })
+ return await request.post({ url: '/eam/device-inspection-job-main/senior', data })
} else {
- return await request.get({ url: `/eam/device-inspection-main/page`, params })
+ return await request.get({ url: `/eam/device-inspection-job-main/page`, params })
}
}
// 查询检修工单主详情
export const getMoldInspectionMain = async (id: number) => {
- return await request.get({ url: `/eam/device-inspection-main/get?id=` + id })
+ return await request.get({ url: `/eam/device-inspection-job-main/get?id=` + id })
}
// 新增检修工单主
export const createMoldInspectionMain = async (data: MoldInspectionMainVO) => {
- return await request.post({ url: `/eam/device-inspection-main/create`, data })
+ return await request.post({ url: `/eam/device-inspection-job-main/create`, data })
}
// 修改检修工单主
export const updateMoldInspectionMain = async (data: MoldInspectionMainVO) => {
- return await request.put({ url: `/eam/device-inspection-main/update`, data })
+ return await request.put({ url: `/eam/device-inspection-job-main/update`, data })
}
// 删除检修工单主
export const deleteMoldInspectionMain = async (id: number) => {
- return await request.delete({ url: `/eam/device-inspection-main/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-inspection-job-main/delete?id=` + id })
}
// 导出检修工单主 Excel
export const exportMoldInspectionMain = async (params) => {
- return await request.download({ url: `/eam/device-inspection-main/export-excel`, params })
+ return await request.download({ url: `/eam/device-inspection-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-inspection-main/get-import-template' })
+ return request.download({ url: '/eam/device-inspection-job-main/get-import-template' })
}
\ No newline at end of file
diff --git a/src/api/eam/mold/moldMaintainOrderDetail/index.ts b/src/api/eam/mold/moldMaintainOrderDetail/index.ts
index e7e78d1..491a4c1 100644
--- a/src/api/eam/mold/moldMaintainOrderDetail/index.ts
+++ b/src/api/eam/mold/moldMaintainOrderDetail/index.ts
@@ -23,38 +23,38 @@ export const getMoldMaintainOrderDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-maintain-order-detail/senior', data })
+ return await request.post({ url: '/eam/device-maintain-job-detail/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintain-order-detail/page`, params })
+ return await request.get({ url: `/eam/device-maintain-job-detail/page`, params })
}
}
// 查询保养工单子详情
export const getMoldMaintainOrderDetail = async (id: number) => {
- return await request.get({ url: `/eam/device-maintain-order-detail/get?id=` + id })
+ return await request.get({ url: `/eam/device-maintain-job-detail/get?id=` + id })
}
// 新增保养工单子
export const createMoldMaintainOrderDetail = async (data: MoldMaintainOrderDetailVO) => {
- return await request.post({ url: `/eam/device-maintain-order-detail/create`, data })
+ return await request.post({ url: `/eam/device-maintain-job-detail/create`, data })
}
// 修改保养工单子
export const updateMoldMaintainOrderDetail = async (data: MoldMaintainOrderDetailVO) => {
- return await request.put({ url: `/eam/device-maintain-order-detail/update`, data })
+ return await request.put({ url: `/eam/device-maintain-job-detail/update`, data })
}
// 删除保养工单子
export const deleteMoldMaintainOrderDetail = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintain-order-detail/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintain-job-detail/delete?id=` + id })
}
// 导出保养工单子 Excel
export const exportMoldMaintainOrderDetail = async (params) => {
- return await request.download({ url: `/eam/device-maintain-order-detail/export-excel`, params })
+ return await request.download({ url: `/eam/device-maintain-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-maintain-order-detail/get-import-template' })
+ return request.download({ url: '/eam/device-maintain-job-detail/get-import-template' })
}
\ No newline at end of file
diff --git a/src/api/eam/mold/moldMaintainOrderMain/index.ts b/src/api/eam/mold/moldMaintainOrderMain/index.ts
index 7005400..b72f3be 100644
--- a/src/api/eam/mold/moldMaintainOrderMain/index.ts
+++ b/src/api/eam/mold/moldMaintainOrderMain/index.ts
@@ -23,49 +23,49 @@ export const getMoldMaintainOrderMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-maintain-order-main/senior', data })
+ return await request.post({ url: '/eam/device-maintain-job-main/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintain-order-main/page`, params })
+ return await request.get({ url: `/eam/device-maintain-job-main/page`, params })
}
}
// 查询保养工单主详情
export const getMoldMaintainOrderMain = async (id: number) => {
- return await request.get({ url: `/eam/device-maintain-order-main/get?id=` + id })
+ return await request.get({ url: `/eam/device-maintain-job-main/get?id=` + id })
}
// 新增保养工单主
export const createMoldMaintainOrderMain = async (data: MoldMaintainOrderMainVO) => {
- return await request.post({ url: `/eam/device-maintain-order-main/create`, data })
+ return await request.post({ url: `/eam/device-maintain-job-main/create`, data })
}
// 修改保养工单主
export const updateMoldMaintainOrderMain = async (data: MoldMaintainOrderMainVO) => {
- return await request.put({ url: `/eam/device-maintain-order-main/update`, data })
+ return await request.put({ url: `/eam/device-maintain-job-main/update`, data })
}
// 删除保养工单主
export const deleteMoldMaintainOrderMain = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintain-order-main/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintain-job-main/delete?id=` + id })
}
// 导出保养工单主 Excel
export const exportMoldMaintainOrderMain = async (params) => {
- return await request.download({ url: `/eam/device-maintain-order-main/export-excel`, params })
+ return await request.download({ url: `/eam/device-maintain-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-maintain-order-main/get-import-template' })
+ return request.download({ url: '/eam/device-maintain-job-main/get-import-template' })
}
// 保养接单
export const orderClick = (id: number) => {
- return request.get({ url: '/eam/device-maintain-order-main/orderClick?id=' + id })
+ return request.get({ url: '/eam/device-maintain-job-main/orderClick?id=' + id })
}
// 保养完成
export const orderClickFinish = (id: number) => {
- return request.get({ url: '/eam/device-maintain-order-main/orderClickFinish?id=' + id })
+ return request.get({ url: '/eam/device-maintain-job-main/orderClickFinish?id=' + id })
}
diff --git a/src/api/eam/mold/moldMaintenanceDetail/index.ts b/src/api/eam/mold/moldMaintenanceDetail/index.ts
index 9bbff2b..600617f 100644
--- a/src/api/eam/mold/moldMaintenanceDetail/index.ts
+++ b/src/api/eam/mold/moldMaintenanceDetail/index.ts
@@ -14,28 +14,28 @@ export const getMoldMaintenanceDetailPage = async (params) => {
const data = {...params}
return await request.post({ url: '/wms/purchasereceipt-request-detail/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintenance-detail/page`, params })
+ return await request.get({ url: `/eam/device-maintenance-job-detail/page`, params })
}
}
// 查询维修工单子详情
export const getPurchasereceiptRequestDetail = async (id) => {
- return await request.get({ url: `/eam/device-maintenance-detail/selectListByNumber?id=` + id })
+ return await request.get({ url: `/eam/device-maintenance-job-detail/selectListByNumber?id=` + id })
}
// 新增维修工单子
export const createMoldMaintenanceDetail = async (data: MoldMaintenanceDetailVO) => {
- return await request.post({ url: `/eam/device-maintenance-detail/create`, data })
+ return await request.post({ url: `/eam/device-maintenance-job-detail/create`, data })
}
// 修改维修工单子
export const updateMoldMaintenanceDetail = async (data: MoldMaintenanceDetailVO) => {
- return await request.put({ url: `/eam/device-maintenance-detail/update`, data })
+ return await request.put({ url: `/eam/device-maintenance-job-detail/update`, data })
}
// 删除维修工单子
export const deleteMoldMaintenanceDetail = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintenance-detail/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintenance-job-detail/delete?id=` + id })
}
diff --git a/src/api/eam/mold/moldMaintenanceMain/index.ts b/src/api/eam/mold/moldMaintenanceMain/index.ts
index 472b933..3b5074f 100644
--- a/src/api/eam/mold/moldMaintenanceMain/index.ts
+++ b/src/api/eam/mold/moldMaintenanceMain/index.ts
@@ -22,53 +22,53 @@ export const getMoldMaintenanceMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-maintenance-main/senior', data })
+ return await request.post({ url: '/eam/device-maintenance-job-main/senior', data })
} else {
- return await request.get({ url: `/eam/device-maintenance-main/page`, params })
+ return await request.get({ url: `/eam/device-maintenance-job-main/page`, params })
}
}
// 查询维修工单主详情
export const getMoldMaintenanceMain = async (id: number) => {
- return await request.get({ url: `/eam/device-maintenance-main/get?id=` + id })
+ return await request.get({ url: `/eam/device-maintenance-job-main/get?id=` + id })
}
// 新增维修工单主
export const createMoldMaintenanceMain = async (data: MoldMaintenanceMainVO) => {
- return await request.post({ url: `/eam/device-maintenance-main/createPC`, data })
+ return await request.post({ url: `/eam/device-maintenance-job-main/createPC`, data })
}
// 修改维修工单主
export const updateMoldMaintenanceMain = async (data: MoldMaintenanceMainVO) => {
- return await request.put({ url: `/eam/device-maintenance-main/update`, data })
+ return await request.put({ url: `/eam/device-maintenance-job-main/update`, data })
}
// 删除维修工单主
export const deleteMoldMaintenanceMain = async (id: number) => {
- return await request.delete({ url: `/eam/device-maintenance-main/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-maintenance-job-main/delete?id=` + id })
}
// 导出维修工单主 Excel
export const exportMoldMaintenanceMain = async (params) => {
- return await request.download({ url: `/eam/device-maintenance-main/export-excel`, params })
+ return await request.download({ url: `/eam/device-maintenance-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-maintenance-main/get-import-template' })
+ return request.download({ url: '/eam/device-maintenance-job-main/get-import-template' })
}
// 修改维修工单主
export const orderStepChange = async (data: MoldMaintenanceMainVO) => {
- return await request.get({ url: `/eam/device-maintenance-main/orderClick?number=`+data.number+`&status=`+data.status+`&id=`+data.id+`&requestNumber=`+data.requestNumber })
+ return await request.get({ url: `/eam/device-maintenance-job-main/orderClick?number=`+data.number+`&status=`+data.status+`&id=`+data.id+`&requestNumber=`+data.requestNumber })
}
// 修改维修工单主
export const orderTurnTo = async (data: MoldMaintenanceMainVO) => {
- return await request.get({ url: `/eam/device-maintenance-main/turnTo?deviceNumber=`+data.deviceNumber +`&id=`+data.id + `&receiverType=`+ data.type +`&receiverUserId=` + data.maintenance })
+ return await request.get({ url: `/eam/device-maintenance-job-main/turnTo?deviceNumber=`+data.deviceNumber +`&id=`+data.id + `&receiverType=`+ data.type +`&receiverUserId=` + data.maintenance })
}
// 查询维修工单主列表不分页
export const getMoldMainTempList = async (type: String) => {
- return await request.get({ url: `/eam/device-maintenance-main/getList?type=` + type })
+ return await request.get({ url: `/eam/device-maintenance-job-main/getList?type=` + type })
}
diff --git a/src/api/eam/mold/moldRepair/index.ts b/src/api/eam/mold/moldRepair/index.ts
index 9b98ba0..019561d 100644
--- a/src/api/eam/mold/moldRepair/index.ts
+++ b/src/api/eam/mold/moldRepair/index.ts
@@ -19,38 +19,38 @@ export const getMoldRepairPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
- return await request.post({ url: '/eam/device-repair/senior', data })
+ return await request.post({ url: '/eam/device-repair-request/senior', data })
} else {
- return await request.get({ url: `/eam/device-repair/page`, params })
+ return await request.get({ url: `/eam/device-repair-request/page`, params })
}
}
// 查询报修申请详情
export const getMoldRepair = async (id: number) => {
- return await request.get({ url: `/eam/device-repair/get?id=` + id })
+ return await request.get({ url: `/eam/device-repair-request/get?id=` + id })
}
// 新增报修申请
export const createMoldRepair = async (data: MoldRepairVO) => {
- return await request.post({ url: `/eam/device-repair/create`, data })
+ return await request.post({ url: `/eam/device-repair-request/create`, data })
}
// 修改报修申请
export const updateMoldRepair = async (data: MoldRepairVO) => {
- return await request.put({ url: `/eam/device-repair/update`, data })
+ return await request.put({ url: `/eam/device-repair-request/update`, data })
}
// 删除报修申请
export const deleteMoldRepair = async (id: number) => {
- return await request.delete({ url: `/eam/device-repair/delete?id=` + id })
+ return await request.delete({ url: `/eam/device-repair-request/delete?id=` + id })
}
// 导出报修申请 Excel
export const exportMoldRepair = async (params) => {
- return await request.download({ url: `/eam/device-repair/export-excel`, params })
+ return await request.download({ url: `/eam/device-repair-request/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
- return request.download({ url: '/eam/device-repair/get-import-template' })
+ return request.download({ url: '/eam/device-repair-request/get-import-template' })
}
\ No newline at end of file
diff --git a/src/views/eam/device/deviceInspectionMain/index.vue b/src/views/eam/device/deviceInspectionMain/index.vue
index becb4aa..650edf3 100644
--- a/src/views/eam/device/deviceInspectionMain/index.vue
+++ b/src/views/eam/device/deviceInspectionMain/index.vue
@@ -73,7 +73,7 @@
/>
-
diff --git a/src/views/eam/device/deviceMaintainOrderMain/index.vue b/src/views/eam/device/deviceMaintainOrderMain/index.vue
index fad6798..e21bad6 100644
--- a/src/views/eam/device/deviceMaintainOrderMain/index.vue
+++ b/src/views/eam/device/deviceMaintainOrderMain/index.vue
@@ -90,7 +90,7 @@
diff --git a/src/views/eam/device/deviceMaintenanceMain/index.vue b/src/views/eam/device/deviceMaintenanceMain/index.vue
index 09cfe55..129d8a0 100644
--- a/src/views/eam/device/deviceMaintenanceMain/index.vue
+++ b/src/views/eam/device/deviceMaintenanceMain/index.vue
@@ -87,7 +87,7 @@
diff --git a/src/views/eam/device/deviceRepair/index.vue b/src/views/eam/device/deviceRepair/index.vue
index 670feb3..8e44f6c 100644
--- a/src/views/eam/device/deviceRepair/index.vue
+++ b/src/views/eam/device/deviceRepair/index.vue
@@ -48,7 +48,7 @@
-
diff --git a/src/views/eam/device/deviceSpotInspectionRecordMain/index.vue b/src/views/eam/device/deviceSpotInspectionRecordMain/index.vue
index 2c968d2..8cbfaa1 100644
--- a/src/views/eam/device/deviceSpotInspectionRecordMain/index.vue
+++ b/src/views/eam/device/deviceSpotInspectionRecordMain/index.vue
@@ -87,7 +87,7 @@