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

feat(types): IConstructionDefaultSetting

vian 5 лет назад
Родитель
Сommit
9c843201f3

+ 0 - 8
types/src/interface/User.ts

@@ -60,11 +60,3 @@ export interface IUser {
   contacts?: IContact[];
   [key: string]: any;
 }
-
-export interface IOptions {
-  ID: string;
-  userID: string;
-  compilationID: string;
-  rationQtyFromBillQty: boolean;
-  rationQtyFromRationUnit: boolean;
-}

+ 1 - 0
types/src/interface/index.ts

@@ -11,3 +11,4 @@ export * from './share';
 export * from './ration';
 export * from './bill';
 export * from './glj';
+export * from './option';

+ 8 - 0
types/src/interface/option.ts

@@ -0,0 +1,8 @@
+// 系统选项
+export interface IOptions {
+  ID: string;
+  userID: string;
+  compilationID: string;
+  rationQtyFromBillQty: boolean; // 自动根据清单工程量填写定额工程量
+  rationQtyFromRationUnit: boolean; // 自动根据定额单位转换定额工程量
+}

+ 11 - 0
types/src/interface/project.ts

@@ -236,3 +236,14 @@ export interface IProjectBulkRst {
   create: IProject[];
   remove: string[];
 }
+
+// 建设项目默认设置项(可以被恢复的)
+export interface IConstructionDefaultSetting {
+  decimal: IProperty['decimal'];
+  billsQuantityDecimal: IProperty['billsQuantityDecimal'];
+  displaySetting: IProperty['displaySetting'];
+  billsCalcMode: IProperty['billsCalcMode'];
+  zanguCalcMode: IProperty['zanguCalcMode'];
+  calcOption: IProperty['calcOption'];
+  colMetas: IProject['colMetas'];
+}