Преглед изворни кода

Merge branch 'master' of http://192.168.1.41:3000/SmartCost/SCCommon

LuoHaoxuan пре 3 година
родитељ
комит
efd75f9f48
3 измењених фајлова са 49 додато и 0 уклоњено
  1. 1 0
      types/src/interface/business.ts
  2. 3 0
      types/src/interface/matter.ts
  3. 45 0
      types/src/interface/process.ts

+ 1 - 0
types/src/interface/business.ts

@@ -5,6 +5,7 @@ export interface ICostInfo {
   orgFee: string; // 原报金额
   conclusionFee: string; // 报审金额
   billCheckPercentOfPass: string; // 清单检测合格率
+  isBillCheckPassed: boolean; // 清单检测是否通过(可能是多项目)
 }
 
 export enum ShowBusinessType {

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

@@ -48,6 +48,7 @@ export interface IStepMatter {
   costPermission: string[];
   profilePermission: string[];
   auditCommentsPermission: string[];
+  settlementPermission: string[];
 }
 
 export interface IGatherStepMatter extends IStepMatter {
@@ -93,6 +94,8 @@ export interface IProcessComponentPermission {
   editable: boolean;
   // 是否可查看
   viewable: boolean;
+  // 能否创建项目
+  createProject?: boolean;
 }
 
 // 步骤里的的组件

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

@@ -567,3 +567,48 @@ export interface IAuditCommentHistory {
   // 审批状态
   status: ProcessStatus;
 }
+
+// 传统结算未上报数据
+export interface ISettlementItem {
+  // 建设项目ID
+  constructionID: string;
+  // 建设项目名称
+  constructionName: string;
+  // 项目原报金额
+  orgFee: string;
+  // 当前步骤审核金额
+  curFee: string;
+  // 清单检测合格率
+  billCheckRate: string;
+}
+
+// 传统结算已上报审核数据
+export interface ISettlementAuditItem {
+  // 唯一标识,table渲染需要
+  ID: string;
+  // 建设项目ID
+  constructionID?: string;
+  // 名称
+  name: string;
+  // 起始金额
+  beginFee?: string;
+  // 结束金额
+  endFee?: string;
+  // 增减金额
+  incFee?: string;
+  decFee?: string;
+  // 增减率
+  incRate?: string;
+  decRate?: string;
+  // 审核通过时间
+  approvalTime?: string;
+  // 用户信息
+  user?: {
+    name: string;
+    institution: string;
+    executor: string;
+  };
+  // 审核状态
+  approvalStatus?: string;
+  children: ISettlementAuditItem[];
+}