From 8eed7ac30cdf0a3a3d0daebb4dd855b0c584a0df Mon Sep 17 00:00:00 2001 From: xusd Date: Mon, 2 Sep 2024 11:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=BA=E5=BA=8A=E8=AE=BE=E5=A4=87=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E6=9C=BA=E5=BA=8A=E7=BB=84=E4=BB=B6=E6=9C=BA?= =?UTF-8?q?=E5=BA=8A=E4=B8=8B=E6=8B=89=E6=94=B9=E4=B8=BA=E7=BA=A7=E8=81=94?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- imt-ui/src/api/system/equip/equipInfo.js | 8 +++ .../equip/componentInfo/ComponentInfoForm.vue | 51 ++++++++++++++++--- .../system/equip/componentInfo/index.vue | 28 +++++++--- 3 files changed, 72 insertions(+), 15 deletions(-) diff --git a/imt-ui/src/api/system/equip/equipInfo.js b/imt-ui/src/api/system/equip/equipInfo.js index bfcdbbd..2e8431e 100644 --- a/imt-ui/src/api/system/equip/equipInfo.js +++ b/imt-ui/src/api/system/equip/equipInfo.js @@ -59,3 +59,11 @@ export function getEquipSelection() { method: 'get' }) } + +// 机床信息级联 +export function getEquipCascader() { + return request({ + url: '/equip/equipInfo/cascader', + method: 'get' + }) +} diff --git a/imt-ui/src/views/system/equip/componentInfo/ComponentInfoForm.vue b/imt-ui/src/views/system/equip/componentInfo/ComponentInfoForm.vue index 6685c11..09cbee1 100644 --- a/imt-ui/src/views/system/equip/componentInfo/ComponentInfoForm.vue +++ b/imt-ui/src/views/system/equip/componentInfo/ComponentInfoForm.vue @@ -10,10 +10,12 @@ - - - + @@ -41,13 +43,15 @@