Просмотр исходного кода

feat(types): 补充定额章节树

vian 4 лет назад
Родитель
Сommit
cc490d64f3
1 измененных файлов с 27 добавлено и 0 удалено
  1. 27 0
      types/src/interface/ration.ts

+ 27 - 0
types/src/interface/ration.ts

@@ -6,6 +6,7 @@ import {
   CreateLocation,
   BRType,
   IBRBase,
+  ITreeScm,
 } from './base';
 import { IBookmark } from './bill';
 import { GljType, ICptGlj, IStdGlj, MaterialType } from './glj';
@@ -324,3 +325,29 @@ export enum RationListType {
   COE = 'rationCoeList',
   GLJ = 'rationGljList',
 }
+
+// 补充定额章节树-模板(后台设置)
+export interface ICptRationTreeTemplate {
+  compilationId: string;
+  name: string;
+  ID: number;
+  ParentID: number;
+  NextSiblingID: number;
+}
+
+// 补充定额章节树
+export interface ICptRationTree extends ITreeScm {
+  name: string;
+  // 以下预留数据,以后开放可用
+  explanation?: string; // 说明
+  ruleText?: string; // 计算规则,
+  jobContentSituation?: string; // 工作内容适用情况,ALL适用本项全部定额,PARTIAL适用本项部分定额
+  annotationSituation?: string; // 附注适用情况,ALL适用本项全部定额,PARTIAL适用本项部分定额
+}
+
+// 补充定额章节树容器
+export interface ICptRationTreeData {
+  compilationID: string;
+  ownerID: string; // 企业或用户
+  treeData: ICptRationTree[];
+}