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 @@