From 7688aa6b0d0b1a8f9d3c531c78945da10e208a8d Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Wed, 25 Oct 2023 17:26:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=B1=E5=8A=A8=E9=87=87=E9=9B=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E5=92=8C=E5=8F=AF=E5=8F=98=E8=A1=8C=E5=88=97=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/draw-app/dialogs/CiCjList.vue | 18 +++- src/components/draw-app/dialogs/CiQdList.vue | 18 +++- .../draw-app/properties/CiCjConfig.vue | 21 ++++- .../draw-app/properties/CiQdConfig.vue | 21 ++++- src/drawApp/relayCabinetLayoutApp.ts | 88 ++++++++++++++++--- src/layouts/RelayCabinetLayout.vue | 2 - src/stores/relayCabinet-store.ts | 1 + 7 files changed, 145 insertions(+), 24 deletions(-) diff --git a/src/components/draw-app/dialogs/CiCjList.vue b/src/components/draw-app/dialogs/CiCjList.vue index e477e61..e595158 100644 --- a/src/components/draw-app/dialogs/CiCjList.vue +++ b/src/components/draw-app/dialogs/CiCjList.vue @@ -5,6 +5,7 @@ class="ceil" :class="{ heightLight: + !setCellDialog && ciCjList?.cjList[col - 1].bitList[row - 1].refRelays.length, }" v-for="col in setCellMessage.cols" @@ -39,7 +40,7 @@ v-model.number="setCellMessage.rows" type="number" lazy-rules - :rules="[(val) => val || '请输入数据集位数!']" + :rules="[(val) => val > 0 || '请输入数据集位数!']" /> @@ -61,7 +62,7 @@