From fcb43a354f8edec8967a47e6b041ecef4ddabaee Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 9 Apr 2026 17:00:01 +0800 Subject: [PATCH] =?UTF-8?q?1.1.13=20=E6=96=B0=E5=BB=BA=E7=A0=94=E5=8F=91?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=8F=AF=E4=BB=A5=E6=8B=86=E5=88=86=E6=88=90?= =?UTF-8?q?=E5=AD=90=E9=A1=B9=E7=9B=AE=E9=A1=B5=E9=9D=A2=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oa/erp/projectInfo/types.ts | 30 + src/views/oa/erp/projectInfo/devEdit.vue | 690 ++++++++++------------- src/views/oa/erp/projectInfo/index.vue | 15 +- 3 files changed, 338 insertions(+), 397 deletions(-) diff --git a/src/api/oa/erp/projectInfo/types.ts b/src/api/oa/erp/projectInfo/types.ts index 7c5f936..0e79ac0 100644 --- a/src/api/oa/erp/projectInfo/types.ts +++ b/src/api/oa/erp/projectInfo/types.ts @@ -4,6 +4,16 @@ export interface ProjectInfoVO { */ projectId: string | number; + /** + * 父项目ID(子项目指向研发主项目) + */ + parentProjectId?: string | number; + + /** + * 是否含有子项目(0否 1是,仅研发主项目使用;子项目行一般为0) + */ + subProjectFlag?: string; + /** * 有无合同(1有 2无) */ @@ -204,6 +214,16 @@ export interface ProjectInfoForm extends BaseEntity { */ projectId?: string | number; + /** + * 父项目ID(子项目必填,主项目为空) + */ + parentProjectId?: string | number; + + /** + * 是否含有子项目(0否 1是,主项目;子项目存0) + */ + subProjectFlag?: string; + /** * 有无合同(1有 2无) */ @@ -576,4 +596,14 @@ export interface ProjectInfoQuery extends PageQuery { * 创建人用户ID */ createBy?: string | number; + + /** + * 父项目ID + */ + parentProjectId?: string | number; + + /** + * 是否研发子项目(0否 1是) + */ + subProjectFlag?: string; } diff --git a/src/views/oa/erp/projectInfo/devEdit.vue b/src/views/oa/erp/projectInfo/devEdit.vue index 80b5f9d..22bc557 100644 --- a/src/views/oa/erp/projectInfo/devEdit.vue +++ b/src/views/oa/erp/projectInfo/devEdit.vue @@ -17,18 +17,11 @@ - - - - - - - @@ -38,13 +31,6 @@ - - - - - - - @@ -52,29 +38,17 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -96,13 +70,6 @@ - - - - - - - @@ -110,20 +77,6 @@ - - - - - - - - - - - - - - - - + - - + - - - + + - + - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - - - - - - - - - - - - - - @@ -262,25 +143,23 @@ diff --git a/src/views/oa/erp/projectInfo/index.vue b/src/views/oa/erp/projectInfo/index.vue index c9bf654..ad90736 100644 --- a/src/views/oa/erp/projectInfo/index.vue +++ b/src/views/oa/erp/projectInfo/index.vue @@ -111,7 +111,7 @@ - +