From 915cb66b408982c61a2ac6b2977b5d1f16c693d6 Mon Sep 17 00:00:00 2001 From: nanxiyu <13981706105@163.com> Date: Sat, 27 Dec 2025 01:11:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=8A=95=E8=B5=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=80=80=E5=87=BA=E5=8F=8D=E9=A6=88=E3=80=81?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E6=8A=A5=E5=91=8A=E3=80=81=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=8F=8A=E9=80=80=E5=87=BA=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=AD=89=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=8F=8A=E7=9B=B8=E5=85=B3=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../investment/common/ProjectExitPlanForm.vue | 105 +-- .../common/ProjectPlanApplyForm.vue | 641 ++++++++++++------ .../ProjectProgressReportFormDeatils.vue | 186 ++--- src/components/investment/interface/types.ts | 30 +- .../workbench/common/ApprovalAction.vue | 81 +-- src/views/invMid/planApply/index.vue | 184 ++--- src/views/invMid/progressReport/index.vue | 51 +- .../invMid/progressReportExamine/index.vue | 19 +- .../invMid/projectExitFeedback/index.vue | 133 ++-- .../projectExitFeedback/interface/type.ts | 58 +- src/views/invMid/projectExitPlan/index.vue | 164 +++-- 11 files changed, 968 insertions(+), 684 deletions(-) diff --git a/src/components/investment/common/ProjectExitPlanForm.vue b/src/components/investment/common/ProjectExitPlanForm.vue index 94bdcda..8804cdd 100644 --- a/src/components/investment/common/ProjectExitPlanForm.vue +++ b/src/components/investment/common/ProjectExitPlanForm.vue @@ -5,11 +5,12 @@
{{ t('projectExitPlan.form.applyDepartmentLabel') }}: - +
{{ t('projectExitPlan.form.applyDateLabel') }}: - {{new Date().toLocaleDateString('zh-CN')}} + {{ new Date().toLocaleDateString('zh-CN') }}
@@ -20,7 +21,8 @@
{{ t('projectExitPlan.form.projectName') }}
- +
- +
@@ -65,7 +68,8 @@
{{ t('projectExitPlan.form.taskDescription') }}
- +
@@ -74,8 +78,10 @@
{{ t('projectExitPlan.form.executor') }}
- - + +
@@ -85,23 +91,13 @@
{{ t('projectExitPlan.form.taskStartTime') }}
- +
{{ t('projectExitPlan.form.taskEndTime') }}
- +
@@ -117,31 +113,39 @@ - + - + - + - - + + - - + + @@ -151,16 +155,10 @@
- +
@@ -1033,4 +1209,17 @@ formData.value.entity.deptId = value.id .annual-investment-table :deep(.el-table__body-wrapper) { overflow-x: auto; } + +/* 必填字段标记 - 在标题前添加红色星号 */ +.required-field::before { + content: '*'; + color: var(--el-color-danger); + margin-right: 4px; +} + +/* 错误状态样式 - 输入框红色边框 */ +.annual-investment-table :deep(.is-error .el-input__wrapper) { + border-color: var(--el-color-danger) !important; + box-shadow: 0 0 0 1px var(--el-color-danger) inset !important; +} diff --git a/src/components/investment/common/ProjectProgressReportFormDeatils.vue b/src/components/investment/common/ProjectProgressReportFormDeatils.vue index dd18d4a..d952c8b 100644 --- a/src/components/investment/common/ProjectProgressReportFormDeatils.vue +++ b/src/components/investment/common/ProjectProgressReportFormDeatils.vue @@ -1,7 +1,8 @@ diff --git a/src/views/invMid/projectExitFeedback/interface/type.ts b/src/views/invMid/projectExitFeedback/interface/type.ts index 9663c99..a82dba0 100644 --- a/src/views/invMid/projectExitFeedback/interface/type.ts +++ b/src/views/invMid/projectExitFeedback/interface/type.ts @@ -34,10 +34,12 @@ export interface ProjectExitFeedback { /** 状态 */ status?: string; - /** 项目id */ - projectId?:number; - /** 项目名称*/ - projectName?:string; + /** 项目id */ + projectId?: number; + /** 项目名称*/ + projectName?: string; + /** 部门id */ + deptId: string; } export interface paramsDataProjectExitPlanFeedback { @@ -48,31 +50,31 @@ export interface paramsDataProjectExitPlanFeedback { exitRemark: string } export interface projectExitPlanFeedbackItem { - id?: number, - projectName?: string, - projectId?: number, - exitRecommendation?: string, - exitMethod?: string, - executionTask?: string, - taskDescription?: string, - executor?: string, - taskStartDate?: string, - taskEndDate?: string, - createBy?: string, - createTime?: string, - updateBy?: string, - updateTime?: string, - delFlag?: string, - processInstanceId?: string, - status?: string, - reviewNotes?: string, - applicationDept?: string + id?: number, + projectName?: string, + projectId?: number, + exitRecommendation?: string, + exitMethod?: string, + executionTask?: string, + taskDescription?: string, + executor?: string, + taskStartDate?: string, + taskEndDate?: string, + createBy?: string, + createTime?: string, + updateBy?: string, + updateTime?: string, + delFlag?: string, + processInstanceId?: string, + status?: string, + reviewNotes?: string, + applicationDept?: string } export interface feedbackResponseData { - total: number, - records: projectExitPlanFeedbackItem[]; - current: number, - size: number, - pages: number, + total: number, + records: projectExitPlanFeedbackItem[]; + current: number, + size: number, + pages: number, } diff --git a/src/views/invMid/projectExitPlan/index.vue b/src/views/invMid/projectExitPlan/index.vue index c312928..c393e3f 100644 --- a/src/views/invMid/projectExitPlan/index.vue +++ b/src/views/invMid/projectExitPlan/index.vue @@ -1,53 +1,55 @@