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 1/2] =?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}} - - - - - - - - - - - - - - - - - - - - - - - - - - +
+ + + + + + + +
+ + + + + + + + + 单次 + 多次 + + + + + + + + + + + + + + + + + + + + + + + + + + + 按固定周期 + 按上次保养时间 + + + + + + + 停机保养 + 开机保养 + + + +
+ +
+ + + + 选择设备 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + +
+ +
+ 更换备件 +
+ +
+ + + + + + +
+
+
+ From de268fca27cb626ee5f2c5c4185168da15a6c156 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Wed, 25 Oct 2023 15:55:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=89=8B=E6=8C=81=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FileUpload/index.vue | 4 ++-- src/views/quality/material/index.vue | 4 ++-- src/views/system/apkFile/index.vue | 27 +++++++++++++++++++++++---- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 340bf49..ca7be84 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -55,12 +55,12 @@ export default { // 大小限制(MB) fileSize: { type: Number, - default: 5, + default: 50, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { type: Array, - default: () => ["doc", "xls", "docx", "xlsx","ppt", "txt", "pdf",'png', 'jpg', 'jpeg'], + default: () => ["doc", "xls", "docx", "xlsx","ppt", "txt", "pdf",'png', 'jpg', 'jpeg','apk'], }, // 是否显示提示 isShowTip: { diff --git a/src/views/quality/material/index.vue b/src/views/quality/material/index.vue index 4c54cc3..d36be2f 100644 --- a/src/views/quality/material/index.vue +++ b/src/views/quality/material/index.vue @@ -101,11 +101,11 @@