|
|
@@ -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];
|
|
|
+}
|