diff --git a/src/api/eam/equipmentInspectionMain/index.ts b/src/api/eam/equipmentInspectionMain/index.ts index 5ea08a095..6f2550029 100644 --- a/src/api/eam/equipmentInspectionMain/index.ts +++ b/src/api/eam/equipmentInspectionMain/index.ts @@ -68,9 +68,9 @@ export const updateEquipmentInspectionMain = async (data: EquipmentInspectionMai return await request.put({ url: `/eam/equipment-inspection-main/update`, data }) } -// 修改巡检工单主 -export const updateEquipmentInspection = async (data: EquipmentInspectionMainVO) => { - return await request.post({ url: `/eam/equipment-inspection-main/updateOrders`, data }) +// 验证巡检工单主 +export const verifyEquipmentInspectionMain = async (data: EquipmentInspectionMainVO) => { + return await request.post({ url: `/eam/equipment-inspection-main/verifyOrder`, data }) } // 删除巡检工单主 diff --git a/src/api/eam/equipmentMaintenanceMain/index.ts b/src/api/eam/equipmentMaintenanceMain/index.ts index e257dd16a..e8b449834 100644 --- a/src/api/eam/equipmentMaintenanceMain/index.ts +++ b/src/api/eam/equipmentMaintenanceMain/index.ts @@ -70,9 +70,9 @@ export const updateEquipmentMaintenanceMain = async (data: EquipmentMaintenanceM return await request.put({ url: `/eam/equipment-maintenance-main/update`, data }) } -// 修改设备保养工单主 -export const updateEquipmentMaintenance = async (data: EquipmentMaintenanceMainVO) => { - return await request.post({ url: `/eam/equipment-maintenance-main/updateOrders`, data }) +// 验证设备保养工单主 +export const verifyEquipmentMaintenanceMain = async (data: EquipmentMaintenanceMainVO) => { + return await request.post({ url: `/eam/equipment-maintenance-main/verifyOrder`, data }) } // 删除设备保养工单主 diff --git a/src/api/eam/equipmentSpotCheckMain/index.ts b/src/api/eam/equipmentSpotCheckMain/index.ts index c7c0fe718..bd0c0d547 100644 --- a/src/api/eam/equipmentSpotCheckMain/index.ts +++ b/src/api/eam/equipmentSpotCheckMain/index.ts @@ -66,9 +66,9 @@ export const updateEquipmentSpotCheckMain = async (data: EquipmentSpotCheckMainV return await request.put({ url: `/eam/equipment-spot-check-main/update`, data }) } -// 完成点检工单主 -export const updateEquipmentSpotCheck = async (data: EquipmentSpotCheckMainVO) => { - return await request.post({ url: `/eam/equipment-spot-check-main/updateOrders`, data }) +// 验证点检工单主 +export const verifyEquipmentSpotCheckMain = async (data: EquipmentSpotCheckMainVO) => { + return await request.post({ url: `/eam/equipment-spot-check-main/verifyOrder`, data }) } // 删除点检工单主 diff --git a/src/views/eam/equipmentInspectionMain/equipmentInspectionMain.data.ts b/src/views/eam/equipmentInspectionMain/equipmentInspectionMain.data.ts index 433e9dbb1..a5d413d53 100644 --- a/src/views/eam/equipmentInspectionMain/equipmentInspectionMain.data.ts +++ b/src/views/eam/equipmentInspectionMain/equipmentInspectionMain.data.ts @@ -94,8 +94,10 @@ export const EquipmentInspectionMain = useCrudSchemas(reactive([ label: '是否拍照', field: 'isPictures', sort: 'custom', - isSearch: true, - isForm: true, + isSearch: false, + isTable: false, + isForm: false, + isDetail:false, dictType: DICT_TYPE.FALSE_OR_TRUE, dictClass: 'string', form: { diff --git a/src/views/eam/equipmentInspectionMain/finishForm1.vue b/src/views/eam/equipmentInspectionMain/finishForm1.vue index 8be7d99b4..c9722f5c5 100644 --- a/src/views/eam/equipmentInspectionMain/finishForm1.vue +++ b/src/views/eam/equipmentInspectionMain/finishForm1.vue @@ -13,18 +13,6 @@ - - - - - - - -