diff --git a/src/api/device/spotInspectionWork.js b/src/api/device/spotInspectionWork.js new file mode 100644 index 0000000..8452872 --- /dev/null +++ b/src/api/device/spotInspectionWork.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询点检记录列表 +export function listSpotInspectionWork(query) { + return request({ + url: '/device/spotInspectionWork/list', + method: 'get', + params: query + }); +} + +// 查询点检记录详细 +export function getSpotInspectionWork(orderId) { + return request({ + url: '/device/spotInspectionWork/' + orderId, + method: 'get' + }); +} + +// 新增点检记录 +export function addSpotInspectionWork(data) { + return request({ + url: '/device/spotInspectionWork', + method: 'post', + data: data + }); +} + +// 修改点检记录 +export function updateSpotInspectionWork(data) { + return request({ + url: '/device/spotInspectionWork', + method: 'put', + data: data + }); +} + +// 删除点检记录 +export function delSpotInspectionWork(orderId) { + return request({ + url: '/device/spotInspectionWork/' + orderId, + method: 'delete' + }); +} diff --git a/src/views/device/spotInspectionWork/index.vue b/src/views/device/spotInspectionWork/index.vue new file mode 100644 index 0000000..34de850 --- /dev/null +++ b/src/views/device/spotInspectionWork/index.vue @@ -0,0 +1,628 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导出 + + + + + + + + + + + + + + + + + {{ parseTime(scope.row.planLoopStart, '{y}-{m}-{d}') }} + + + + + {{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }} + + + + + {{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }} + + + + + {{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }} + + + + + + + + + + + + + + + + + + + + + {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }} + + + + + + {{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }} + + + + + 修改 + 删除 + + + + + + + + + + + {{workVO.order.planCode}} + {{workVO.order.planName}} + {{workVO.order.planLoop}}{{workVO.order.planLoopType}} + {{workVO.order.orderCode}} + {{workVO.order.planWorkshop}} + {{workVO.order.planLoopStart}} + {{workVO.order.planLoopEnd}} + {{workVO.order.orderStart}} + {{workVO.order.orderEnd}} + {{workVO.order.planPerson}} + {{workVO.order.planCode}} + + + + + + {{workVO.equ.equipmentCode}} + {{workVO.equ.equipmentName}} + {{workVO.equ.equipmentLocation}} + {{workVO.equ.equipmentTypeCode}} + {{workVO.equ.equipmentTypeName}} + {{workVO.equ.workshopCode}} + {{workVO.equ.workshopName}} + + + + {{detail.itemName}} + + + {{standard.standardName}} + {{standard.standardTypeName}} + {{standard.detailUpLimit}} + {{standard.detailDownLimit}} + {{standard.detailUnit}} + {{standard.actualValue}} + {{standard.detailReach}} + + + + + + + + + + + + + + + + + + +