From c93f84f712d7020e1d6a805ac0ae886502340d6a Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Tue, 7 Nov 2023 17:19:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8-=E7=82=B9=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/spotInspectionWork.js | 44 ++ src/views/device/spotInspectionWork/index.vue | 628 ++++++++++++++++++ 2 files changed, 672 insertions(+) create mode 100644 src/api/device/spotInspectionWork.js create mode 100644 src/views/device/spotInspectionWork/index.vue diff --git a/src/api/device/spotInspectionWork.js b/src/api/device/spotInspectionWork.js new file mode 100644 index 00000000..8452872d --- /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 00000000..34de8505 --- /dev/null +++ b/src/views/device/spotInspectionWork/index.vue @@ -0,0 +1,628 @@ + + + +