From 504da52c885429075086a2ce144c899e48f72266 Mon Sep 17 00:00:00 2001 From: zhangjf Date: Sun, 15 Feb 2026 19:44:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=89=8D=E7=AB=AF=E5=AD=97=E6=AE=B5=E4=B8=8E?= =?UTF-8?q?=E5=90=8E=E7=AB=AFEntity=E4=B8=8D=E5=8C=B9=E9=85=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题: - 项目金额在新增和编辑时不会更新 - 前端表单字段与后端Entity字段不一致 - projectAmount不存在于后端,应该是budgetAmount和contractAmount - projectManager应该是projectManagerId (Long类型) - projectDesc应该是description 修复: 1. 修正前端表单字段 - projectAmount → budgetAmount (预算金额) - 新增 contractAmount (合同金额) - projectManager → projectManagerId - projectDesc → description - 新增 projectShort, projectType, remark等字段 2. 优化表单UI - 添加项目简称字段 - 添加项目类型下拉选择(开发/维护/咨询) - 预算金额和合同金额分开显示 - 添加备注字段 3. 修正表格显示列 - 项目金额 → 预算金额 + 合同金额(两列) 现在前后端字段完全一致! --- fund-admin/src/views/project/list.vue | 64 ++++++++++++++++++++------- fundplatform | 2 +- 2 files changed, 50 insertions(+), 16 deletions(-) diff --git a/fund-admin/src/views/project/list.vue b/fund-admin/src/views/project/list.vue index 9e353d9..a0685b0 100644 --- a/fund-admin/src/views/project/list.vue +++ b/fund-admin/src/views/project/list.vue @@ -36,9 +36,14 @@ - + + + + @@ -81,13 +86,29 @@ - - + + - - + + + + + + + + + + + + + + + + + + @@ -103,8 +124,11 @@ - - + + + + +