/** * 操作日志 * */ export default interface OperateLog { id: string; operation: Operation; formDesign: FormDesign; formData: FormData; msg?: string; } export interface Operation { /** * 操作时间 */ operationTime: string; operationUser: OperationUser; } export interface OperationUser { /** * 操作人ID */ userId: string; /** * 操作人姓名 */ userName: string; deptId: string; detpName: string; /** * 部门名称全路径 */ deptInfoName: Array; } export interface FormDesign { /** * 表单ID */ formDesignId: string; /** * 表单标题 */ title: string; /** * 操作的资源ID */ resourceId: string; /** * 所属应用 */ applicationId: string; /** * 表名 */ tableName: string; /** * 所属系统 */ sysId: string; /** * 表单类型 * 1 流程 * 2 无流程 */ formType: string; } export interface FormData { /** * 业务数据ID */ formDataId: string; fields: Array; } export interface ParentFields { /** * 字段标识 */ fileName: string; /** * 字段标题 */ title: string; /** * 字段类型 */ type: string; oldVal: any; newVal: any; } export interface Fields extends ParentFields { rows: Array; } export interface Rows extends ParentFields { index: number; }