feat(frontend): 审批与系统设置模块页面接入及业务列表调整

This commit is contained in:
liuwenxin committed 2026-10-16 09:32:12 +08:00
1 parent 8ef26e22fb
commit 74f1ef1cf9
15 files changed
+1215 -28

No files matched your search

+16 -1
View File
@@ -50,9 +50,20 @@ export interface BusinessItem {
remark: string | null
}
/** 业务详情:附产品明细行(编辑弹窗一次回显) */
/** 二次分配参与人(2026-10-15 补充需求;比例不强制合计 100%) */
export interface SecondaryAllocationRow {
personnel_id: number
personnel_name: string
/** 百分比数字字符串(两位小数) */
ratio: string
}
/** 业务详情:附产品明细行与二次分配方案(编辑弹窗一次回显) */
export interface BusinessDetail extends BusinessItem {
items: BusinessItemRow[]
secondary_allocations: SecondaryAllocationRow[]
/** 方案合计/余额提示(余额归属待澄清 #2,仅展示) */
allocation_hint: string | null
}
export interface BusinessQueryParams {
@@ -96,6 +107,8 @@ export interface BusinessCreateParams {
is_special?: number
special_note?: string | null
items: BusinessItemParams[]
/** 二次分配方案(只出现在合同刚建立时;空=不设置) */
secondary_allocations?: { personnel_id: number; ratio: string }[]
remark?: string | null
}
@@ -111,6 +124,8 @@ export interface BusinessUpdateParams {
is_special?: number
special_note?: string | null
items: BusinessItemParams[]
/** 二次分配方案(全量替换;空数组=清空) */
secondary_allocations?: { personnel_id: number; ratio: string }[]
remark?: string | null
}