修正流程列表执行利率展示

This commit is contained in:
wkc
2026-03-28 11:46:10 +08:00
parent 44000a7b76
commit ab5c228cd5
3 changed files with 58 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
# 流程列表执行利率展示后端实施记录
## 实施时间
- 2026-03-28
## 链路确认内容
- 后端实体 `LoanPricingWorkflow` 已包含 `executeRate` 字段
- 流程列表接口 `/loanPricing/workflow/list` 直接返回 `LoanPricingWorkflow` 分页结果
- 分页查询链路未对 `executeRate` 做转换、截断或回填到 `loanRate`
## 结论
- 本次需求无需后端代码改动
- 前端只需直接消费后端已返回的 `executeRate` 字段即可
## 边界说明
- 不修改 `/loanPricing/workflow/list` 接口结构
- 不修改 `loanRate` 字段业务含义
- 不修改数据库表结构和 SQL
## 验证方式
1. 检查 `LoanPricingWorkflow` 实体是否定义 `executeRate`
2. 检查 `LoanPricingWorkflowController#list` 是否直接返回 `LoanPricingWorkflow`
3. 检查 `LoanPricingWorkflowServiceImpl#selectLoanPricingPage` 是否直接返回实体分页记录
## 说明
- 本次后端工作仅做链路确认与留档
- 本次未为验证启动新的后端进程

View File

@@ -0,0 +1,30 @@
# 流程列表执行利率展示前端实施记录
## 实施时间
- 2026-03-28
## 修改内容
- 将流程列表页“执行利率(%)”列绑定从 `loanRate` 调整为 `executeRate`
- 保持流程列表接口、后端实体和数据库结构不变
- 保持流程列表页列头“执行利率(%)”不变,仅修正展示字段来源
## 修改文件
- `ruoyi-ui/src/views/loanPricing/workflow/index.vue`
- `doc/implementation-report-2026-03-28-workflow-execute-rate-display-frontend.md`
## 验证方式
1. 先通过源码断言确认当前不存在 `label="执行利率(%)"``prop="executeRate"` 的实现
2. 修正列表列绑定为 `executeRate`
3. 再次通过源码断言确认执行利率列已绑定 `executeRate`
4. 执行前端生产构建验证页面代码可正常打包
## 验证结果
- 已确认修正前流程列表页“执行利率(%)”列仍绑定 `loanRate`
- 已确认修正后流程列表页“执行利率(%)”列绑定为 `executeRate`
- 已执行 `npm --prefix ruoyi-ui run build:prod`,构建成功,输出包含 `Build complete.`
- 本次构建过程中仅出现项目原有的打包体积 warning未出现新的构建错误
## 说明
- 本次只调整流程列表页,不扩散到详情页和后端接口
- 本次未为验证额外启动新的前端进程
- 环境中存在一个更早启动的 `vue-cli-service serve` 进程,不属于本次任务启动范围,因此未做停止操作

View File

@@ -50,7 +50,7 @@
<el-table-column label="客户类型" align="center" prop="custType" width="100" />
<el-table-column label="担保方式" align="center" prop="guarType" width="100" />
<el-table-column label="申请金额(元)" align="center" prop="applyAmt" width="120" />
<el-table-column label="贷款利率(%)" align="center" prop="loanRate" width="100" />
<el-table-column label="执行利率(%)" align="center" prop="executeRate" width="100" />
<el-table-column label="创建时间" align="center" prop="createTime" width="160">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>