From a1e8d1e30a782f37a3e8cfcc8e2e1e601a221719 Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Tue, 7 Nov 2023 16:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8-=E5=B7=A1=E6=A3=80=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/inspectionWork.js | 44 ++ src/views/device/inspectionWork/index.vue | 628 ++++++++++++++++++++++ 2 files changed, 672 insertions(+) create mode 100644 src/api/device/inspectionWork.js create mode 100644 src/views/device/inspectionWork/index.vue diff --git a/src/api/device/inspectionWork.js b/src/api/device/inspectionWork.js new file mode 100644 index 00000000..b55936fa --- /dev/null +++ b/src/api/device/inspectionWork.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询巡检记录列表 +export function listInspectionWork(query) { + return request({ + url: '/device/inspectionWork/list', + method: 'get', + params: query + }); +} + +// 查询巡检记录详细 +export function getInspectionWork(orderId) { + return request({ + url: '/device/inspectionWork/' + orderId, + method: 'get' + }); +} + +// 新增巡检记录 +export function addInspectionWork(data) { + return request({ + url: '/device/inspectionWork', + method: 'post', + data: data + }); +} + +// 修改巡检记录 +export function updateInspectionWork(data) { + return request({ + url: '/device/inspectionWork', + method: 'put', + data: data + }); +} + +// 删除巡检记录 +export function delInspectionWork(orderId) { + return request({ + url: '/device/inspectionWork/' + orderId, + method: 'delete' + }); +} diff --git a/src/views/device/inspectionWork/index.vue b/src/views/device/inspectionWork/index.vue new file mode 100644 index 00000000..6db55e53 --- /dev/null +++ b/src/views/device/inspectionWork/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}} + + + + + + + + + + + + + + + + + + +