feat(system): 前端岗位角色与计提参数配置页面

- 岗位角色页:列表/新增/编辑/启停/删除,内置岗位保护、模板受控下拉(含声明参数引导)
- 计提参数页:分组目录(多维度生效值)→ 修改入「待提交」→ 批次提交(立即/指定日期 + 二次确认);
  版本管理抽屉(记录分页/明细旧值→新值/两日期对比/撤回未生效/xlsx 导出);计算预览抽屉(按回款到账日取参数)
- request.ts 对 responseType=blob 直通(导出文件流非统一信封)
- 路由注册岗位角色/计提参数(系统管理组 order 5/6);日志模块词表补两处

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
liuwenxinandClaude Code committed 2026-10-12 21:48:00 +08:00
1 parent fd801455f0
commit 4c442b8cf2
7 files changed
+1663 -2

No files matched your search

+4
View File
@@ -51,6 +51,10 @@ function handleUnauthorized(message: string): void {
service.interceptors.response.use(
(response: AxiosResponse<ApiResult>) => {
// 文件流(导出下载)不是统一信封,直通给调用方处理
if (response.config.responseType === 'blob') {
return response
}
const body = response.data
if (body.code !== 200) {
// 防御性分支:后端非 2xx 走 reject 拦截器,这里是 2xx 但业务码异常的情况