vian 5 лет назад
Родитель
Сommit
621301397e
2 измененных файлов с 20 добавлено и 1 удалено
  1. 18 0
      types/src/interface/User.ts
  2. 2 1
      types/src/interface/project.ts

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

@@ -36,3 +36,21 @@ export interface IUserResult {
   latest_used?: string;
   [key: string]: any;
 }
+
+export interface IUser {
+  ID: string;
+  name: string;
+  realName: string;
+  mobile: string;
+  ssoID?: number;
+  type?: UserType;
+  email?: string;
+  qq?: string;
+  company?: string;
+  province?: number;
+  token?: string;
+  isSmsLogin?: number;
+  latestLogin?: number;
+  latestUsed?: string;
+  [key: string]: any;
+}

+ 2 - 1
types/src/interface/project.ts

@@ -24,7 +24,7 @@ export interface IDecimal {
 }
 
 // 工程量精度
-export interface IQuantityDecimal {
+export interface IBillsQuantityDecimal {
   unit: string;
   decimal: number;
 }
@@ -123,6 +123,7 @@ export interface IProperty {
   progressiveLibID?: string; // 累进区间库
   lockBills?: boolean; // 锁定清单
   decimal?: IDecimal; // 小数位数
+  billsQuantityDecimal: IBillsQuantityDecimal[]; // 清单工程量精度
   displaySetting?: IDisplaySetting; // 呈现选项
   billsCalcMode?: number; // 清单计费取费方式
   zanguCalcMode?: number; // 暂估合价计算方式