From 786b7a5ae13938f06d76b12aaec7bbfc1cb6e78b Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Tue, 24 Feb 2026 17:22:12 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E9=9A=90=E8=97=8F=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E6=96=B0=E5=A2=9E=E3=80=81=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=8B=E7=BA=A7=E6=8C=89=E9=92=AE=202=E3=80=81?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E7=AE=A1=E7=90=86=EF=BC=9A=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E3=80=81=E7=BC=96=E7=A0=81=E6=94=B9=E4=B8=BAreadonly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/depart/components/DepartFormTab.vue | 3 ++- src/views/system/depart/components/DepartLeftTree.vue | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/system/depart/components/DepartFormTab.vue b/src/views/system/depart/components/DepartFormTab.vue index 1384c0d..e01598e 100644 --- a/src/views/system/depart/components/DepartFormTab.vue +++ b/src/views/system/depart/components/DepartFormTab.vue @@ -65,7 +65,8 @@ onMounted(() => { // 禁用字段 updateSchema([ { field: 'parentId', componentProps: { disabled: true } }, - { field: 'orgCode', componentProps: { disabled: true } }, + { field: 'departName', componentProps: { readonly: true } }, + { field: 'orgCode', componentProps: { readonly: true } }, ]); // data 变化,重填表单 watch( diff --git a/src/views/system/depart/components/DepartLeftTree.vue b/src/views/system/depart/components/DepartLeftTree.vue index f4cad96..f0afcfc 100644 --- a/src/views/system/depart/components/DepartLeftTree.vue +++ b/src/views/system/depart/components/DepartLeftTree.vue @@ -1,8 +1,8 @@