From dfbba11aae3f863e1af18692a44e113109b6296f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=90=8C=E5=AD=A6?= Date: Mon, 25 Aug 2025 14:39:59 +0800 Subject: [PATCH] =?UTF-8?q?ADD:ICD=E6=B7=BB=E5=8A=A0=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E4=B8=A4=E4=B8=AA=E5=BC=80=E5=85=B3=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/device/interface/icd.ts | 2 + .../views/machine/icd/components/icdPopup.vue | 189 ++++++++++-------- 2 files changed, 107 insertions(+), 84 deletions(-) diff --git a/frontend/src/api/device/interface/icd.ts b/frontend/src/api/device/interface/icd.ts index 933d9d4..b3e69e7 100644 --- a/frontend/src/api/device/interface/icd.ts +++ b/frontend/src/api/device/interface/icd.ts @@ -24,6 +24,8 @@ export namespace ICD { createTime?: string| null; //创建时间 updateBy?: string| null; //更新用户 updateTime?: string| null; //更新时间 + angle: number; // 是否支持电压相角、电流相角指标 + usePhaseIndex: number; // 角型接线时是否使用相别的指标来进行检测 } /** diff --git a/frontend/src/views/machine/icd/components/icdPopup.vue b/frontend/src/views/machine/icd/components/icdPopup.vue index 2285453..0055e1e 100644 --- a/frontend/src/views/machine/icd/components/icdPopup.vue +++ b/frontend/src/views/machine/icd/components/icdPopup.vue @@ -1,79 +1,101 @@ - - - \ No newline at end of file +} + +// 对外映射 +defineExpose({ open }) +const props = defineProps<{ + refreshTable: (() => Promise) | undefined +}>() + \ No newline at end of file