Przeglądaj źródła

feat(types): 审批金额汇总

vian 3 lat temu
rodzic
commit
f543cce68b
2 zmienionych plików z 47 dodań i 0 usunięć
  1. 11 0
      types/src/interface/matter.ts
  2. 36 0
      types/src/interface/process.ts

+ 11 - 0
types/src/interface/matter.ts

@@ -1,4 +1,13 @@
 import { BusinessTypeKey, MatterTypeKey } from './gather';
+
+// 审批金额组件阶段数据
+export interface IAuditAmountConfig {
+  // 阶段名称
+  name: string;
+  // 关联步骤ID
+  stepID: string;
+}
+
 // 事项
 export interface IMatter {
   ID: string;
@@ -11,6 +20,8 @@ export interface IMatter {
   formSchema: any;
   assembly: string[];
   dataID: string;
+  // 审批金额组件配置
+  auditAmountConfig?: IAuditAmountConfig[];
 }
 
 export interface IGatherMatter extends IMatter {

+ 36 - 0
types/src/interface/process.ts

@@ -464,3 +464,39 @@ export interface IConditionSetting {
   gatherID: string;
   schema?: string;
 }
+
+// 审核金额 核减、增金额数据
+export interface IAuditAmountDiff {
+  // 核减金额
+  decFee: string;
+  // 核增金额
+  incFee: string;
+  // 核减率
+  decRate: string;
+  // 核减率提示
+  decRateTips?: string;
+  // 核增率
+  incRate: string;
+  // 核增率提示
+  incRateTips?: string;
+}
+
+// 审批金额汇总表数据
+export interface IAuditAmountItem {
+  // 阶段
+  stage: string;
+  // 执行者名称
+  executor: string;
+  // 执行者单位
+  institution: string;
+  // 审核步骤名称
+  process: string;
+  // 审结时间
+  approvalTime: string;
+  // 金额
+  fee: string;
+  // 与上一阶段对比
+  compareToPrev: IAuditAmountDiff;
+  // 与上送审对比
+  compareToReport: IAuditAmountDiff;
+}