|
@@ -70,6 +70,13 @@ export enum RoleType {
|
|
|
NORMAL = 'normal',
|
|
|
}
|
|
|
|
|
|
+// 数据权限
|
|
|
+export enum EDataPermissionBusinessLedger {
|
|
|
+ UNREPORTED = 'unreported',
|
|
|
+ APPROVAL_IN_PROGRESS = 'approvalInProgress',
|
|
|
+ APPROVAL_COMPLETED = 'approvalCompleted',
|
|
|
+}
|
|
|
+
|
|
|
// 角色
|
|
|
export interface IRole {
|
|
|
ID: string;
|
|
@@ -77,6 +84,7 @@ export interface IRole {
|
|
|
roleType: RoleType;
|
|
|
frontPermission: RolePermission[];
|
|
|
backstagePermission: string[]; // 后台权限
|
|
|
+ dataPermission: { businessLedger: EDataPermissionBusinessLedger[] };
|
|
|
}
|
|
|
|
|
|
// 参与者模式
|