From 38ca25024282cc68d216e838aa28e4473aede9a6 Mon Sep 17 00:00:00 2001 From: b2894lxlx <517289602@qq.com> Date: Sat, 17 Oct 2026 17:01:27 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E9=A1=B9=E7=9B=AE=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E5=8F=AF=E7=BC=96=E8=BE=91=E4=B8=9A=E5=8A=A1=E9=83=A8?= =?UTF-8?q?=E9=97=A8/=E5=B9=B3=E5=8F=B0=E5=85=AC=E5=8F=B8=EF=BC=8C?= =?UTF-8?q?=E7=BB=84=E7=BB=87=E5=90=8D=E7=A7=B0=E5=88=97=E5=B7=A6=E5=AF=B9?= =?UTF-8?q?=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- src/views/business/project-apply.vue | 7 ++++--- src/views/system/dept.vue | 8 ++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/business/project-apply.vue b/src/views/business/project-apply.vue index e05c03d..e4b41bb 100644 --- a/src/views/business/project-apply.vue +++ b/src/views/business/project-apply.vue @@ -224,7 +224,7 @@ placeholder="请选择" filterable clearable - :disabled="isBasicInfoReadonly" + :disabled="dialogReadonly" /> @@ -236,7 +236,7 @@ collapse-tags-tooltip clearable filterable - :disabled="isBasicInfoReadonly" + :disabled="dialogReadonly" @change="handleUndertakeDeptChange" > { const deptTree = res.data.data || []; - const businessDeptTree = ['add', 'edit', 'majorSupplement'].includes(this.dialogType) + // 新增/编辑/重大补录/项目变更均可选择业务部门,排除外部组织 + const businessDeptTree = ['add', 'edit', 'majorSupplement', 'change'].includes(this.dialogType) ? this.excludeExternalOrganization(deptTree) : deptTree; this.deptOptions = this.flattenDept(businessDeptTree); diff --git a/src/views/system/dept.vue b/src/views/system/dept.vue index 5136762..bfac437 100644 --- a/src/views/system/dept.vue +++ b/src/views/system/dept.vue @@ -299,6 +299,8 @@ export default { label: '组织名称', prop: 'deptName', minWidth: 320, + align: 'left', + headerAlign: 'left', order: 80, search: true, searchOrder: 2, @@ -1518,6 +1520,12 @@ export default {