|
@@ -1,4 +1,3 @@
|
|
|
-import { IReceivedShareLib } from './share';
|
|
|
|
|
/* eslint-disable camelcase */
|
|
/* eslint-disable camelcase */
|
|
|
import {
|
|
import {
|
|
|
RationPrefix,
|
|
RationPrefix,
|
|
@@ -156,7 +155,7 @@ export interface IOptionList {
|
|
|
}
|
|
}
|
|
|
export interface ICptCoeItem extends IBaseCoeItem {
|
|
export interface ICptCoeItem extends IBaseCoeItem {
|
|
|
ID: string;
|
|
ID: string;
|
|
|
- ownerID: string;
|
|
|
|
|
|
|
+ libID: string;
|
|
|
compilationID: string;
|
|
compilationID: string;
|
|
|
coes: ICptCoe[];
|
|
coes: ICptCoe[];
|
|
|
}
|
|
}
|
|
@@ -212,7 +211,7 @@ export interface IStdRation extends IBaseRation {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface ICptRation extends IBaseRation {
|
|
export interface ICptRation extends IBaseRation {
|
|
|
- ownerID: string;
|
|
|
|
|
|
|
+ libID: string;
|
|
|
compilationID: string;
|
|
compilationID: string;
|
|
|
ID: string;
|
|
ID: string;
|
|
|
sectionId: string;
|
|
sectionId: string;
|
|
@@ -375,8 +374,9 @@ export interface ICptRationTree extends ITreeScm {
|
|
|
|
|
|
|
|
// 补充定额章节树容器
|
|
// 补充定额章节树容器
|
|
|
export interface ICptRationTreeData {
|
|
export interface ICptRationTreeData {
|
|
|
|
|
+ libID: string;
|
|
|
|
|
+ ID: string;
|
|
|
compilationID: string;
|
|
compilationID: string;
|
|
|
- ownerID: string; // 企业或用户
|
|
|
|
|
treeData: ICptRationTree[];
|
|
treeData: ICptRationTree[];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -443,10 +443,33 @@ export enum RationSubProp {
|
|
|
TPL = 'rationTemplate', // 定额子目模板
|
|
TPL = 'rationTemplate', // 定额子目模板
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// 补充定额库选项
|
|
|
|
|
+export interface ICptRationLibOption {
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ name: string;
|
|
|
|
|
+ readOnly: boolean;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// 进入定额库需要准备的数据(一些状态)
|
|
// 进入定额库需要准备的数据(一些状态)
|
|
|
export interface IPrepareCptRationLib {
|
|
export interface IPrepareCptRationLib {
|
|
|
// 定额库分享人数
|
|
// 定额库分享人数
|
|
|
shareCount: number;
|
|
shareCount: number;
|
|
|
- // 接收到的分享定额库数据
|
|
|
|
|
- receiveLibs: IReceivedShareLib[];
|
|
|
|
|
|
|
+ // 库下拉选项
|
|
|
|
|
+ libOptions: ICptRationLibOption[];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// 补充定额库
|
|
|
|
|
+export interface ICptRationLib {
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ // 库名称,预留字段,以后可能允许自行新建补充库
|
|
|
|
|
+ name?: string;
|
|
|
|
|
+ // 费用定额ID
|
|
|
|
|
+ compilationID: string;
|
|
|
|
|
+ // 企业ID,可为空字符串
|
|
|
|
|
+ enterpriseID: string;
|
|
|
|
|
+ // 用户ID
|
|
|
|
|
+ userID: string;
|
|
|
|
|
+ // 是否为企业内部库
|
|
|
|
|
+ isEnterpriseInternal: boolean;
|
|
|
|
|
+ createDate: number;
|
|
|
}
|
|
}
|