|
|
@@ -1,7 +1,6 @@
|
|
|
import { ReportTree } from './report';
|
|
|
import { CptModelName, SubModelName, ActionType } from './base';
|
|
|
import { BusinessTypeKey } from './gather';
|
|
|
-import { IExecutorApprovaledPermission } from './gatherExecutor';
|
|
|
import { executorMember } from './approvalStatus';
|
|
|
import { IProcessMatter, IStepMatter } from './matter';
|
|
|
|
|
|
@@ -50,6 +49,7 @@ export enum RolePermission {
|
|
|
ZBK_EDIT = 'zbkEdit', // 指标库-编辑
|
|
|
CJK_ENABLE = 'cjkEnable', // 材价库-启用
|
|
|
CJK_EDIT = 'cjkEdit', // 材价库-编辑
|
|
|
+ BACK_STAGE_ENABLE = 'backstageEnable', // 小后台权限
|
|
|
// TODO 指标库 区间对数
|
|
|
}
|
|
|
|
|
|
@@ -141,9 +141,9 @@ export interface IProcessExecutor {
|
|
|
businessType: BusinessTypeKey;
|
|
|
gatherID: string;
|
|
|
setType: string;
|
|
|
+ participantMode: string;
|
|
|
name: string;
|
|
|
reportTime?: string; // 三合一审批流程第一位的上报时间
|
|
|
- approvaledPermission: string[];
|
|
|
scope?: string;
|
|
|
members?: Members[];
|
|
|
// 事项中组件及其权限
|
|
|
@@ -200,6 +200,7 @@ export interface IProcedureParticipantInfo {
|
|
|
configure: string[];
|
|
|
members?: Members[];
|
|
|
reportTime?: string;
|
|
|
+ approvaledPermission?: string[]; // 事项后原始数据
|
|
|
inProcessMatters?: IProcessMatter[];
|
|
|
afterProcessMatters?: IProcessMatter[];
|
|
|
};
|
|
|
@@ -210,6 +211,7 @@ export interface IProcedureParticipantInfo {
|
|
|
|
|
|
// 3合1分支判断信息
|
|
|
export interface IConditionItem {
|
|
|
+ ID: string;
|
|
|
field: string;
|
|
|
type: string;
|
|
|
symbol: string;
|
|
|
@@ -280,7 +282,19 @@ export enum ApprovalStatus {
|
|
|
APPROVED = 'approved', // 审批通过
|
|
|
}
|
|
|
|
|
|
+// 审核费用类型
|
|
|
+export enum AuditMoneyType {
|
|
|
+ // 建设项目相关费用
|
|
|
+ CONSTRUCTION = 'construction',
|
|
|
+ // 费用项
|
|
|
+ FEE_ITEM = 'feeItem',
|
|
|
+}
|
|
|
+
|
|
|
export interface IProcessAuditMoney {
|
|
|
+ ID: string;
|
|
|
+ type: AuditMoneyType;
|
|
|
+ // 来源ID,有的数据是基于某条数据拷贝而来的,sourceID为被拷贝数据的ID,方便查找源数据
|
|
|
+ sourceID?: string;
|
|
|
processID: string;
|
|
|
data: any[];
|
|
|
}
|
|
|
@@ -349,7 +363,7 @@ export interface IApprovalTodoData {
|
|
|
approvalID: string; // 流程 id
|
|
|
processID: string; // 环节 id
|
|
|
financialProjectID: string; // 项目 ID
|
|
|
- constructionID: string; // 建设项目 ID
|
|
|
+ constructionID?: string; // 建设项目 ID
|
|
|
projectName?: string; // 项目名称
|
|
|
reporterID?: string; // 发起人ID
|
|
|
reporterName?: string; // 发起人名称
|
|
|
@@ -567,3 +581,62 @@ export interface IAuditCommentHistory {
|
|
|
// 审批状态
|
|
|
status: ProcessStatus;
|
|
|
}
|
|
|
+
|
|
|
+// 传统结算未上报数据
|
|
|
+export interface ISettlementItem {
|
|
|
+ // 建设项目ID
|
|
|
+ constructionID: string;
|
|
|
+ // 名称
|
|
|
+ name: string;
|
|
|
+ // 项目原报金额
|
|
|
+ orgFee: string;
|
|
|
+ // 当前步骤审核金额
|
|
|
+ curFee: string;
|
|
|
+ // 清单检测合格率
|
|
|
+ billCheckRate: string;
|
|
|
+ // 费用项ID
|
|
|
+ feeID?: string;
|
|
|
+ // 费用类型
|
|
|
+ type?: AuditMoneyType;
|
|
|
+ // 备注
|
|
|
+ remark?: 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[];
|
|
|
+ // 数据是否是原始数据(有的费用项是从上一步拷贝而来的,不给删除)
|
|
|
+ isOriginal?: boolean;
|
|
|
+ // 费用项ID
|
|
|
+ feeID?: string;
|
|
|
+ // 费用类型
|
|
|
+ type?: AuditMoneyType;
|
|
|
+ // 备注
|
|
|
+ remark?: string;
|
|
|
+}
|