diff --git a/src/api/eam/classTypeRole/index.ts b/src/api/eam/classTypeRole/index.ts index 506a8abe3..c6dd9393c 100644 --- a/src/api/eam/classTypeRole/index.ts +++ b/src/api/eam/classTypeRole/index.ts @@ -61,4 +61,10 @@ export const exportClassTypeRole = async (params) => { // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/eam/basic/class-type-role/get-import-template' }) -} \ No newline at end of file +} + + +// 启用 / 禁用 +export const updateEnableCode = async (data: ClassTypeRoleVO) => { + return await request.post({ url: `/eam/basic/class-type-role/ables` , data }) +} diff --git a/src/api/eam/inspectionItemSelectSet/index.ts b/src/api/eam/inspectionItemSelectSet/index.ts index c3e897706..f02a16672 100644 --- a/src/api/eam/inspectionItemSelectSet/index.ts +++ b/src/api/eam/inspectionItemSelectSet/index.ts @@ -58,3 +58,13 @@ export const importTemplate = () => { export const updateEnableCode = async (data: InspectionItemSelectSetVO) => { return await request.post({ url: `/eam/basic/inspection-item-select-set/ables` , data }) } + +// 查询巡检项选择集列表 +export const getInspectionItemSelectSetList = async (params) => { + return await request.get({ url: `/eam/basic/inspection-item/getList`, params }) +} + +// 查询巡检方案项列表 +export const getRalInspectionOptionItemList = async (params) => { + return await request.get({url: `/eam/relation-inspection-option-item/getList?optionCode=` + params}) +} diff --git a/src/api/eam/maintenanceItemSelectSet/index.ts b/src/api/eam/maintenanceItemSelectSet/index.ts index 35f0c9817..b3a67ce24 100644 --- a/src/api/eam/maintenanceItemSelectSet/index.ts +++ b/src/api/eam/maintenanceItemSelectSet/index.ts @@ -56,5 +56,15 @@ export const importTemplate = () => { // 启用 / 禁用 export const updateEnableCode = async (data: MaintenanceItemSelectSetVO) => { - return await request.post({ url: `/eam/basic/inspection-item-select-set/ables` , data }) + return await request.post({ url: `/eam/basic/maintenance-item-select-set/ables` , data }) +} + +// 查询保养项选择集列表 +export const getMaintenanceItemSelectSetList = async (params) => { + return await request.get({ url: `/eam/basic/maintenance-item/getList`, params }) +} + +// 查询保养方案项列表 +export const getRalMaintenanceOptionItemList = async (params) => { + return await request.get({url: `/eam/relation-maintenance-option-item/getList?optionCode=` + params}) } diff --git a/src/api/eam/spotCheckSelectSet/index.ts b/src/api/eam/spotCheckSelectSet/index.ts index be9a0ccb3..dd6a604fa 100644 --- a/src/api/eam/spotCheckSelectSet/index.ts +++ b/src/api/eam/spotCheckSelectSet/index.ts @@ -59,3 +59,14 @@ export const importTemplate = () => { export const updateEnableCode = async (data: BasicSpotCheckSelectSetVO) => { return await request.post({ url: `/eam/basic/spot-check-select-set/ables` , data }) } + + +// 查询点检项选择集列表 +export const getSpotCheckSelectSetList = async (params) => { + return await request.get({ url: `/eam/basic/spot-check-item/getList`, params }) +} + +// 查询点检方案项列表 +export const getRalSpotCheckOptionItemList = async (params) => { + return await request.get({url: `/eam/relation-spotCheck-option-item/getList?optionCode=` + params}) +} diff --git a/src/views/eam/basicInspectionOption/itemSelectSetForm.vue b/src/views/eam/basicInspectionOption/itemSelectSetForm.vue index 357c89e66..98b843924 100644 --- a/src/views/eam/basicInspectionOption/itemSelectSetForm.vue +++ b/src/views/eam/basicInspectionOption/itemSelectSetForm.vue @@ -65,7 +65,7 @@ - + @@ -83,15 +83,6 @@ -