zhangweicheng 4 лет назад
Родитель
Сommit
61199a7bbc
1 измененных файлов с 13 добавлено и 1 удалено
  1. 13 1
      types/src/interface/editLog.ts

+ 13 - 1
types/src/interface/editLog.ts

@@ -1,6 +1,6 @@
 import { CptModelName, SubModelName, ActionType, ActionName } from './base';
 
-export interface IEditLog<T = any> {
+export interface ILogDetail<T = any> {
   ID: string; // 自身ID
   itemID: string; // 所编辑的行对应的ID,如定额ID,清单ID
   module: CptModelName | SubModelName; // 编辑的模块
@@ -17,3 +17,15 @@ export interface IEditLog<T = any> {
   oldValue?: string; // 旧值
   field?: string; // 修改的field
 }
+
+export interface IEditLog {
+  projectID: string;
+  billID: string;
+  constructionID: string;
+  processID?: string; // 流程ID
+  updateTime: number; // 最后修改时间
+  code?: string;
+  name?: string;
+  unit?: string;
+  editLogs: [ILogDetail];
+}