|
|
@@ -1,4 +1,4 @@
|
|
|
-import { IScopeType, monitorPermissionItem } from './process';
|
|
|
+import { IScopeType } from './process';
|
|
|
import { BusinessTypeKey, MatterTypeKey } from './gather';
|
|
|
|
|
|
// 审批金额汇总组件阶段数据
|
|
|
@@ -52,13 +52,20 @@ export interface IMatter {
|
|
|
reportConfig?: IMatterReportConfig[];
|
|
|
// 计价创建方式和导出方式权限控制
|
|
|
settlementCost?: {
|
|
|
- create: monitorPermissionItem[];
|
|
|
- ybpx: monitorPermissionItem[];
|
|
|
- cos: monitorPermissionItem[];
|
|
|
- costExport: monitorPermissionItem[];
|
|
|
+ create: IScopeType[];
|
|
|
+ ybpx: IScopeType[];
|
|
|
+ cos: IScopeType[];
|
|
|
+ costExport: IScopeType[];
|
|
|
};
|
|
|
}
|
|
|
|
|
|
+export enum ESettlementCost {
|
|
|
+ CREATE = 'create',
|
|
|
+ YBPX = 'ybpx',
|
|
|
+ COS = 'cos',
|
|
|
+ COSTEXPORT = 'costExport',
|
|
|
+}
|
|
|
+
|
|
|
export interface IGatherMatter extends IMatter {
|
|
|
businessID: string;
|
|
|
}
|