feat(approval): 新增业务审批流程及配置管理

- 新增审批配置主子表(biz_approval_config / biz_approval_config_user),支持或签
- 5 个业务模块接入审批: 采购订单/客户报价/供应商报价/发货单/订单异议
- 统一审批动作接口(提交/通过/驳回),status=10 表示审批中
- 新增"待我审批"聚合页面,按业务类型筛选
- 修复 logback 写本地路径报错,去除文件 appender
- 修复 Redis SSL 配置在 Spring Boot 4 下需对象格式
- 补齐部分业务表缺失的 update_by/update_time 审计列

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 11:14:46 +08:00
parent 0180388a2f
commit 7ffc140cf8
69 changed files with 1563 additions and 446 deletions

View File

@@ -177,7 +177,7 @@
</el-table-column>
<el-table-column label="参考来源" width="90" align="center">
<template slot-scope="s">
<span v-if="s.row._fromClient" style="color:#409eff;font-size:12px">甲方报价</span>
<span v-if="s.row._fromClient" style="color:#e4393c;font-size:12px">甲方报价</span>
</template>
</el-table-column>
<el-table-column label="操作" width="60" align="center">
@@ -198,7 +198,7 @@
<script>
import { getRfq, updateRfq } from "@/api/bid/rfq";
import { listQuotation } from "@/api/bid/quotation";
import logoImg from "@/assets/logo/logo.png";
import logoImg from "@/assets/logo/logo.svg";
import html2canvas from "html2canvas";
import jsPDF from "jspdf";
@@ -371,7 +371,7 @@ export default {
.pdf-company {
font-size: 22px;
font-weight: 700;
color: #1171c4;
color: #e4393c;
letter-spacing: 1px;
}
.pdf-doc-type {
@@ -381,7 +381,7 @@ export default {
}
.pdf-header-no { font-size: 13px; color: #888; }
.pdf-divider {
border-top: 2px solid #1171c4;
border-top: 2px solid #e4393c;
margin-bottom: 18px;
}
.pdf-meta-table {
@@ -403,10 +403,10 @@ export default {
.pdf-section-title {
font-size: 14px;
font-weight: 700;
color: #1a2c4e;
color: #333333;
margin: 0 0 12px;
padding-left: 8px;
border-left: 4px solid #1171c4;
border-left: 4px solid #e4393c;
}
.pdf-items-table {
width: 100%;
@@ -414,7 +414,7 @@ export default {
margin-bottom: 20px;
}
.pdf-items-table th {
background: #1171c4;
background: #e4393c;
color: #fff;
padding: 9px 12px;
text-align: center;
@@ -426,7 +426,7 @@ export default {
text-align: center;
}
.pdf-items-table tbody tr:nth-child(even) td { background: #f9fbff; }
.amount-cell { color: #409EFF; font-weight: 600; }
.amount-cell { color: #e4393c; font-weight: 600; }
.pdf-footer {
text-align: right;
font-size: 11px;