Browse Source

保养子工单添加人数和预计完成时间

master
ljlong_2630 9 months ago
parent
commit
5b547ea6d7
  1. 1
      src/api/eam/device/deviceInspectionMain/index.ts
  2. 1
      src/api/eam/device/deviceMaintainOrderMain/index.ts
  3. 2
      src/api/eam/device/deviceRepair/index.ts
  4. 1
      src/api/eam/device/deviceSpotInspectionRecordMain/index.ts
  5. 1
      src/api/eam/mold/moldInspectionMain/index.ts
  6. 2
      src/api/eam/mold/moldMaintainOrderMain/index.ts
  7. 1
      src/api/eam/mold/moldMaintainPlan/index.ts
  8. 2
      src/api/eam/mold/moldRepair/index.ts
  9. 11
      src/views/eam/mold/moldRepair/moldRepair.data.ts

1
src/api/eam/device/deviceInspectionMain/index.ts

@ -17,6 +17,7 @@ export interface DeviceInspectionMainVO {
// 查询检修工单主列表
export const getDeviceInspectionMainPage = async (params) => {
params.type = 'DEVICE'
if (params.isSearch) {
delete params.isSearch
const data = {...params}

1
src/api/eam/device/deviceMaintainOrderMain/index.ts

@ -20,6 +20,7 @@ export interface DeviceMaintainOrderMainVO {
}
// 查询保养工单主列表
export const getDeviceMaintainOrderMainPage = async (params) => {
params.type = 'DEVICE'
if (params.isSearch) {
delete params.isSearch
const data = {...params}

2
src/api/eam/device/deviceRepair/index.ts

@ -17,12 +17,12 @@ export interface DeviceRepairVO {
// 查询报修申请列表
export const getDeviceRepairPage = async (params) => {
params.type = 'DEVICE'
if (params.isSearch) {
delete params.isSearch
const data = { ...params }
return await request.post({ url: '/eam/device-repair-request/senior', data })
} else {
params.type = 'DEVICE'
return await request.get({ url: `/eam/device-repair-request/page`, params })
}
}

1
src/api/eam/device/deviceSpotInspectionRecordMain/index.ts

@ -15,6 +15,7 @@ export interface DeviceSpotInspectionRecordMainVO {
// 查询检修工单主列表
export const getDeviceSpotInspectionRecordMainPage = async (params) => {
params.type = 'DEVICE'
if (params.isSearch) {
delete params.isSearch
const data = {...params}

1
src/api/eam/mold/moldInspectionMain/index.ts

@ -17,6 +17,7 @@ export interface MoldInspectionMainVO {
// 查询检修工单主列表
export const getMoldInspectionMainPage = async (params) => {
params.type = 'MOLD'
if (params.isSearch) {
delete params.isSearch
const data = {...params}

2
src/api/eam/mold/moldMaintainOrderMain/index.ts

@ -20,11 +20,13 @@ export interface MoldMaintainOrderMainVO {
}
// 查询保养工单主列表
export const getMoldMaintainOrderMainPage = async (params) => {
params.type = 'MOLD'
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/eam/device-maintain-job-main/senior', data })
} else {
params.type = 'MOLD'
return await request.get({ url: `/eam/device-maintain-job-main/page`, params })
}
}

1
src/api/eam/mold/moldMaintainPlan/index.ts

@ -14,6 +14,7 @@ export interface MoldMaintainPlanVO {
// 查询保养计划列表
export const getMoldMaintainPlanPage = async (params) => {
params.type = 'MOLD'
if (params.isSearch) {
delete params.isSearch
const data = {...params}

2
src/api/eam/mold/moldRepair/index.ts

@ -16,12 +16,12 @@ export interface MoldRepairVO {
// 查询报修申请列表
export const getMoldRepairPage = async (params) => {
params.type = 'MOLD'
if (params.isSearch) {
delete params.isSearch
const data = { ...params }
return await request.post({ url: '/eam/device-repair-request/senior', data })
} else {
params.type = 'MOLD'
return await request.get({ url: `/eam/device-repair-request/page`, params })
}
}

11
src/views/eam/mold/moldRepair/moldRepair.data.ts

@ -181,6 +181,17 @@ export const MoldRepair = useCrudSchemas(reactive<CrudSchema[]>([
component: 'Select',
},
},
{
label: '图片',
field: 'upload',
isForm: true,
form: {
component: 'UploadImgs',
componentProps: {
limit:3,
}
}
},
{
label: '操作',
field: 'action',

Loading…
Cancel
Save