Просмотр исходного кода

Merge branch 'master' of 192.168.1.41:SmartCost/SCCommon

lipk 2 лет назад
Родитель
Сommit
bd438e302c
1 измененных файлов с 13 добавлено и 1 удалено
  1. 13 1
      types/src/interface/matter.ts

+ 13 - 1
types/src/interface/matter.ts

@@ -1,4 +1,4 @@
-import { IScopeType } from './process';
+import { IScopeType } from './process';
 import { BusinessTypeKey, MatterTypeKey } from './gather';
 
 // 审批金额汇总组件阶段数据
@@ -15,6 +15,14 @@ export interface IAuditCommentConfig {
   template: string;
 }
 
+// 报表打印设置
+interface IMatterReportConfig {
+  component: string;
+  enable: boolean;
+  type: string;
+  IDs: string;
+}
+
 // 事项
 export interface IMatter {
   ID: string;
@@ -39,6 +47,8 @@ export interface IMatter {
   settlementSourceScope?: IScopeType[];
   // 多文件组件区间来源项目名称可见性范围
   settlementProjectScope?: IScopeType[];
+  // 报表打印设置
+  reportConfig?: IMatterReportConfig[];
 }
 
 export interface IGatherMatter extends IMatter {
@@ -137,6 +147,8 @@ export interface IProcessComponent<T = any> {
   data?: T | null;
   // 组件标题
   componentTitle?: string;
+  // 是否有报表打印
+  isPrint?: boolean;
 }
 
 // 步骤里的事项