From c498327c2c60ffafa8e609da61471d2cbe0854f8 Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 29 Oct 2025 14:08:45 +0800 Subject: [PATCH] =?UTF-8?q?1.0.22=20=E9=A1=B9=E7=9B=AE=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E3=80=81=E5=85=B3=E8=81=94?= =?UTF-8?q?=E5=90=88=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oa/erp/projectContracts/types.ts | 30 + src/api/oa/erp/projectInfo/index.ts | 12 + src/api/oa/erp/projectInfo/types.ts | 15 + src/views/oa/erp/projectInfo/edit.vue | 679 +++++++++++++++++++++++ src/views/oa/erp/projectInfo/index.vue | 280 ++++------ 5 files changed, 837 insertions(+), 179 deletions(-) create mode 100644 src/views/oa/erp/projectInfo/edit.vue diff --git a/src/api/oa/erp/projectContracts/types.ts b/src/api/oa/erp/projectContracts/types.ts index 664901b..e77ca36 100644 --- a/src/api/oa/erp/projectContracts/types.ts +++ b/src/api/oa/erp/projectContracts/types.ts @@ -29,6 +29,36 @@ export interface ProjectContractsVO { */ activeFlag: string; + /** + * 项目名称 + */ + projectName?: string; + + /** + * 合同编号 + */ + contractCode?: string; + + /** + * 合同名称 + */ + contractName?: string; + + /** + * 合同总价 + */ + totalPrice?: number; + + /** + * 业务方向 + */ + businessDirection?: string; + + /** + * 合同状态 + */ + contractStatus?: string; + } export interface ProjectContractsForm extends BaseEntity { diff --git a/src/api/oa/erp/projectInfo/index.ts b/src/api/oa/erp/projectInfo/index.ts index 7d7b57e..e0b453d 100644 --- a/src/api/oa/erp/projectInfo/index.ts +++ b/src/api/oa/erp/projectInfo/index.ts @@ -62,6 +62,18 @@ export const delProjectInfo = (projectId: string | number | Array { + return request({ + url: '/oa/erp/projectInfo/submitAndFlowStart', + method: 'post', + data: data + }); +}; + /** * 下拉框查询项目信息列表 * @param query diff --git a/src/api/oa/erp/projectInfo/types.ts b/src/api/oa/erp/projectInfo/types.ts index b486ddf..d1b3094 100644 --- a/src/api/oa/erp/projectInfo/types.ts +++ b/src/api/oa/erp/projectInfo/types.ts @@ -212,6 +212,21 @@ export interface ProjectInfoForm extends BaseEntity { */ activeFlag?: string; + /** + * 流程编码 + */ + flowCode?: string; + + /** + * 流程变量 + */ + variables?: any; + + /** + * 流程业务扩展字段 + */ + bizExt?: any; + } export interface ProjectInfoQuery extends PageQuery { diff --git a/src/views/oa/erp/projectInfo/edit.vue b/src/views/oa/erp/projectInfo/edit.vue new file mode 100644 index 0000000..7662095 --- /dev/null +++ b/src/views/oa/erp/projectInfo/edit.vue @@ -0,0 +1,679 @@ + + + + + diff --git a/src/views/oa/erp/projectInfo/index.vue b/src/views/oa/erp/projectInfo/index.vue index 8d588e8..430269e 100644 --- a/src/views/oa/erp/projectInfo/index.vue +++ b/src/views/oa/erp/projectInfo/index.vue @@ -53,7 +53,20 @@ - - - + + + - + @@ -97,12 +110,12 @@ - + - - - - + + + + @@ -110,7 +123,11 @@ - + + + @@ -119,117 +136,49 @@ - + - - - - - - {{ dict.label }} - - - - - - - - - - - - - - - - - - - - - {{ dict.label }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ dict.label }} - - - - - - - - - - - - - - - - - {{ dict.label }} - - - - - + +