From e369da6d0363dd9823c8c2af753e7188c83f9521 Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Wed, 25 Oct 2023 15:48:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=85=BB=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/upkeepPlan.js | 9 + src/views/device/inspectionPlan/index.vue | 2 +- src/views/device/upkeepPlan/index.vue | 639 +++++++++++++++++----- 3 files changed, 499 insertions(+), 151 deletions(-) diff --git a/src/api/device/upkeepPlan.js b/src/api/device/upkeepPlan.js index 63a88bd..908fce5 100644 --- a/src/api/device/upkeepPlan.js +++ b/src/api/device/upkeepPlan.js @@ -1,5 +1,14 @@ import request from '@/utils/request' +// 处理计划-设备信息 +export function formatEquItem(data) { + return request({ + url: '/device/upkeepPlan/formatEquItem', + method: 'post', + data: data + }); +} + // 查询保养计划列表 export function listUpkeepPlan(query) { return request({ diff --git a/src/views/device/inspectionPlan/index.vue b/src/views/device/inspectionPlan/index.vue index 88c6bb9..4efa780 100644 --- a/src/views/device/inspectionPlan/index.vue +++ b/src/views/device/inspectionPlan/index.vue @@ -1227,6 +1227,6 @@ export default { } .el-transfer-panel { - width: 300px; + width: 260px; } diff --git a/src/views/device/upkeepPlan/index.vue b/src/views/device/upkeepPlan/index.vue index b2211a5..a7a9157 100644 --- a/src/views/device/upkeepPlan/index.vue +++ b/src/views/device/upkeepPlan/index.vue @@ -330,108 +330,315 @@ /> - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - - - - - - - - - - - - - - - - - - +
+ + + + + + + +
+ + + + + + + + + 单次 + 多次 + + + + + + + + + + + + + + + + + + + + + + + + + + + 按固定周期 + 按上次保养时间 + + + + + + + 停机保养 + 开机保养 + + + +
+ +
+ + + + 选择设备 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + +
+ +
+ 更换备件 +
+ +
+ + + + + + +
+
+
+