|
|
@@ -0,0 +1,67 @@
|
|
|
+import { ITreeScm } from './base';
|
|
|
+
|
|
|
+// 指引库类型
|
|
|
+export enum BillGuideLibType {
|
|
|
+ // 清单指引
|
|
|
+ GUIDE = 1,
|
|
|
+ // 清单精灵
|
|
|
+ ELF,
|
|
|
+}
|
|
|
+
|
|
|
+// 标准指引库
|
|
|
+export interface IBillGuideLibResult {
|
|
|
+ type: BillGuideLibType;
|
|
|
+ ID: string;
|
|
|
+ compilationId: string;
|
|
|
+ compilationName: string;
|
|
|
+ billsLibId: number;
|
|
|
+ billsLibName: string;
|
|
|
+ name: string;
|
|
|
+ creator: string;
|
|
|
+ createDate: string;
|
|
|
+ deleted?: boolean;
|
|
|
+}
|
|
|
+
|
|
|
+// 标准指引库(更正命名)
|
|
|
+export interface IBillGuideLib {
|
|
|
+ type: BillGuideLibType;
|
|
|
+ ID: string;
|
|
|
+ compilationID: string;
|
|
|
+ compilationName: string;
|
|
|
+ billsLibID: number;
|
|
|
+ billLibName: string;
|
|
|
+ name: string;
|
|
|
+ creator: string;
|
|
|
+ createDate: string;
|
|
|
+}
|
|
|
+
|
|
|
+// 指引项类型
|
|
|
+export enum BillGuideItemType {
|
|
|
+ // 工作内容
|
|
|
+ CONTENT = 0,
|
|
|
+ // 定额
|
|
|
+ RATION,
|
|
|
+}
|
|
|
+
|
|
|
+// 指引原数据
|
|
|
+export interface IBillGuideItemResult {
|
|
|
+ libID: string;
|
|
|
+ ID: string;
|
|
|
+ ParentID: string;
|
|
|
+ NextSiblingID: string;
|
|
|
+ billsID: string;
|
|
|
+ name: string;
|
|
|
+ type: BillGuideItemType;
|
|
|
+ rationID?: number;
|
|
|
+ deleted?: boolean;
|
|
|
+}
|
|
|
+
|
|
|
+// 指引数据
|
|
|
+export interface IBillGuideItem extends ITreeScm {
|
|
|
+ libID: string;
|
|
|
+ ID: string;
|
|
|
+ billID: string;
|
|
|
+ name: string;
|
|
|
+ type: BillGuideItemType;
|
|
|
+ rationID?: number;
|
|
|
+}
|