From a44e90522c8ff8943511689d8fedb2c38f169295 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Tue, 17 Oct 2023 15:08:13 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A4=87=E5=93=81=E5=A4=87=E4=BB=B6?= =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/sparepartsInOutStorage.js | 44 ++ .../device/sparepartsInOutStorage/index.vue | 446 ++++++++++++++++++ 2 files changed, 490 insertions(+) create mode 100644 src/api/device/sparepartsInOutStorage.js create mode 100644 src/views/device/sparepartsInOutStorage/index.vue diff --git a/src/api/device/sparepartsInOutStorage.js b/src/api/device/sparepartsInOutStorage.js new file mode 100644 index 0000000..063d11a --- /dev/null +++ b/src/api/device/sparepartsInOutStorage.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询备品备件出入库列表 +export function listSparepartsInOutStorage(query) { + return request({ + url: '/device/sparepartsInOutStorage/list', + method: 'get', + params: query + }); +} + +// 查询备品备件出入库详细 +export function getSparepartsInOutStorage(rawOrderInSnId) { + return request({ + url: '/device/sparepartsInOutStorage/' + rawOrderInSnId, + method: 'get' + }); +} + +// 新增备品备件出入库 +export function addSparepartsInOutStorage(data) { + return request({ + url: '/device/sparepartsInOutStorage', + method: 'post', + data: data + }); +} + +// 修改备品备件出入库 +export function updateSparepartsInOutStorage(data) { + return request({ + url: '/device/sparepartsInOutStorage', + method: 'put', + data: data + }); +} + +// 删除备品备件出入库 +export function delSparepartsInOutStorage(rawOrderInSnId) { + return request({ + url: '/device/sparepartsInOutStorage/' + rawOrderInSnId, + method: 'delete' + }); +} diff --git a/src/views/device/sparepartsInOutStorage/index.vue b/src/views/device/sparepartsInOutStorage/index.vue new file mode 100644 index 0000000..0e9e1aa --- /dev/null +++ b/src/views/device/sparepartsInOutStorage/index.vue @@ -0,0 +1,446 @@ + + + From dd2fb856e0bc9975cc1934e8954c4fdd1c925643 Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Tue, 17 Oct 2023 17:18:06 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=B7=A1=E6=A3=80=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/plan.js | 18 + src/views/device/inspectionPlan/index.vue | 1315 ++++++++++++--------- 2 files changed, 795 insertions(+), 538 deletions(-) diff --git a/src/api/device/plan.js b/src/api/device/plan.js index 59382c7..bf34205 100644 --- a/src/api/device/plan.js +++ b/src/api/device/plan.js @@ -1,5 +1,23 @@ import request from '@/utils/request' +// 处理计划-设备信息 +export function formatEquItem(data) { + return request({ + url: '/device/plan/formatEquItem', + method: 'post', + data: data + }); +} + +// 获取设备信息list +export function getEquList(equQuery) { + return request({ + url: '/device/plan/getEquList', + method: 'get', + params: equQuery + }); +} + // 查询计划列表 export function listPlan(query) { return request({ diff --git a/src/views/device/inspectionPlan/index.vue b/src/views/device/inspectionPlan/index.vue index 78637b4..c470ee3 100644 --- a/src/views/device/inspectionPlan/index.vue +++ b/src/views/device/inspectionPlan/index.vue @@ -1,159 +1,159 @@ + From 151abbb60177da72ae541e521f01e8e7e4fc6182 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Tue, 17 Oct 2023 17:51:09 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=A4=87=E5=93=81=E5=A4=87=E4=BB=B6?= =?UTF-8?q?=E9=A2=86=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/sparePartsApplicationRecord.js | 44 ++ .../sparePartsApplicationRecord/index.vue | 402 ++++++++++++++++++ 2 files changed, 446 insertions(+) create mode 100644 src/api/device/sparePartsApplicationRecord.js create mode 100644 src/views/device/sparePartsApplicationRecord/index.vue diff --git a/src/api/device/sparePartsApplicationRecord.js b/src/api/device/sparePartsApplicationRecord.js new file mode 100644 index 0000000..ed6fb54 --- /dev/null +++ b/src/api/device/sparePartsApplicationRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询申领记录列表 +export function listSparePartsApplicationRecord(query) { + return request({ + url: '/device/sparePartsApplicationRecord/list', + method: 'get', + params: query + }); +} + +// 查询申领记录详细 +export function getSparePartsApplicationRecord(applyId) { + return request({ + url: '/device/sparePartsApplicationRecord/' + applyId, + method: 'get' + }); +} + +// 新增申领记录 +export function addSparePartsApplicationRecord(data) { + return request({ + url: '/device/sparePartsApplicationRecord', + method: 'post', + data: data + }); +} + +// 修改申领记录 +export function updateSparePartsApplicationRecord(data) { + return request({ + url: '/device/sparePartsApplicationRecord', + method: 'put', + data: data + }); +} + +// 删除申领记录 +export function delSparePartsApplicationRecord(applyId) { + return request({ + url: '/device/sparePartsApplicationRecord/' + applyId, + method: 'delete' + }); +} diff --git a/src/views/device/sparePartsApplicationRecord/index.vue b/src/views/device/sparePartsApplicationRecord/index.vue new file mode 100644 index 0000000..1d3646a --- /dev/null +++ b/src/views/device/sparePartsApplicationRecord/index.vue @@ -0,0 +1,402 @@ + + +