Parcourir la source

feat(types): 调整修改记录结构

zhangweicheng il y a 4 ans
Parent
commit
cf123e0e76
1 fichiers modifiés avec 10 ajouts et 4 suppressions
  1. 10 4
      types/src/interface/editLog.ts

+ 10 - 4
types/src/interface/editLog.ts

@@ -1,3 +1,4 @@
+import { GljType } from './glj';
 import { CptModelName, SubModelName, ActionType, ActionName } from './base';
 
 export interface ILogDetail<T = any> {
@@ -20,11 +21,16 @@ export interface ILogDetail<T = any> {
 
 export interface IEditLog {
   projectID: string;
-  billID: string;
+  ID: string;
   constructionID: string;
   updateTime: number; // 最后修改时间
-  code?: string;
-  name?: string;
-  unit?: string;
+  info: {
+    code?: string;
+    name?: string;
+    unit?: string;
+    specs: string;
+    type: GljType;
+  };
+  module: CptModelName;
   editLogs: ILogDetail[];
 }