From a41db382297f618b3e7279a6092f718c0a47a602 Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 29 Feb 2024 14:07:18 +0800 Subject: [PATCH 1/4] =?UTF-8?q?update=20=E7=BE=A4=E9=87=8C=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/equipment-module.js | 4 ++ .../specialEquipment/check/Content-add.vue | 4 +- .../check/Content-add_detail.vue | 44 +++++++------- .../specialEquipment/check/Content-edit.vue | 59 +++++++++++++------ src/views/specialEquipment/check/Content.vue | 12 ++-- src/views/specialEquipment/check/add.vue | 15 ++++- .../maintain/Monitor--detail.vue | 1 - .../maintain/PlanConfig--addContent.vue | 1 - .../specialEquipment/maintain/PlanConfig.vue | 1 - 9 files changed, 91 insertions(+), 50 deletions(-) create mode 100644 src/utils/equipment-module.js diff --git a/src/utils/equipment-module.js b/src/utils/equipment-module.js new file mode 100644 index 00000000..42de6eb7 --- /dev/null +++ b/src/utils/equipment-module.js @@ -0,0 +1,4 @@ +import { getDictData } from './dict'; + +export const groupConnectWorkshop = (groupName, workshopValue) => + `${groupName} - ${getDictData('workshop', workshopValue)?.label}`; diff --git a/src/views/specialEquipment/check/Content-add.vue b/src/views/specialEquipment/check/Content-add.vue index 21f1f702..9aa70588 100644 --- a/src/views/specialEquipment/check/Content-add.vue +++ b/src/views/specialEquipment/check/Content-add.vue @@ -60,6 +60,8 @@