diff --git a/src/views/eam/basicInspectionOption/index.vue b/src/views/eam/basicInspectionOption/index.vue index 1098f0ef9..e99246247 100644 --- a/src/views/eam/basicInspectionOption/index.vue +++ b/src/views/eam/basicInspectionOption/index.vue @@ -39,16 +39,17 @@ - + + + + + + + + + + + @@ -65,6 +66,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons' import TableHead from '@/components/TableHead/src/TableHead.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import Detail from '@/components/Detail/src/Detail.vue' +import ItemForm from "@/views/eam/basicInspectionOption/itemSelectSetForm.vue"; defineOptions({ name: 'BasicInspectionOption' }) @@ -205,6 +207,11 @@ const formsSuccess = async (formType,data) => { getList() } +//刷新页面 +const getData = async() => { + getList(); +} + /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { diff --git a/src/views/eam/basicInspectionOption/itemSelectSetForm.vue b/src/views/eam/basicInspectionOption/itemSelectSetForm.vue new file mode 100644 index 000000000..0aed31571 --- /dev/null +++ b/src/views/eam/basicInspectionOption/itemSelectSetForm.vue @@ -0,0 +1,388 @@ + + + + diff --git a/src/views/eam/basicMaintenanceOption/itemSelectSetForm.vue b/src/views/eam/basicMaintenanceOption/itemSelectSetForm.vue index 81917dc99..7b9018259 100644 --- a/src/views/eam/basicMaintenanceOption/itemSelectSetForm.vue +++ b/src/views/eam/basicMaintenanceOption/itemSelectSetForm.vue @@ -101,10 +101,6 @@ import { SearchTable } from '@/components/SearchTable' import { BasicMaintenanceItemSelectSet} from "@/views/eam/maintenanceItemSelectSet/maintenanceItemSelectSet.data"; import * as maintenanceItemSelectSetApi from "@/api/eam/maintenanceItemSelectSet"; import {ElInput} from "element-plus"; -import { - BasicMaintenanceOptionVO, - createBasicMaintenanceOption, updateBasicMaintenanceOption -} from "@/api/eam/basicMaintenanceOption"; defineOptions({ name: 'TeamForm' }) diff --git a/src/views/eam/inspectionItem/inspectionItem.data.ts b/src/views/eam/inspectionItem/inspectionItem.data.ts index e652e6091..be37928b8 100644 --- a/src/views/eam/inspectionItem/inspectionItem.data.ts +++ b/src/views/eam/inspectionItem/inspectionItem.data.ts @@ -27,6 +27,12 @@ export const InspectionItem = useCrudSchemas(reactive([ component:'InputNumber' }, }, + { + label: '巡检名称', + field: 'name', + sort: 'custom', + isSearch: true + }, { label: '巡检内容', field: 'content', @@ -40,7 +46,7 @@ export const InspectionItem = useCrudSchemas(reactive([ } }, { - label: '保养部位', + label: '巡检部位', field: 'equipmentParts', sort: 'custom', isSearch: true