export interface logsType {
  unitId: string;
  name: string;
  userIds: Array<string>;
  userNames: Array<string>;
  des: string;
  time: string;
  type: string;
}
export interface nodeUsersType {
  id: string;
  name: string;
  options: {
    value: string;
    label: string;
  };
}
export interface taskBtnsType {
  code: string;
  name: string;
  type: string;
}
export interface currentNodeObject {
  [key: string]: any;
}

export interface designerDataType {
  loading: Boolean;
  xmlString: '';
  height: string;
  midVisible: Boolean;
  isCustmerTitle: Boolean;
  nodeUsers: nodeUsersType[];
  selectUsersVisible: Boolean;
  selectTUserVisible: Boolean;
  tUserType: Number; // 1 转移 2 加签,
  isDraft: Boolean;
  delegateUsers: [];
  task: currentNodeObject;
  process: currentNodeObject;
  logs: logsType[]; // 流程日志信息
  nodeMap: {}; // 需要处理的任务
  userLogs: currentNodeObject[]; // 人员日志信息
  nodeLogs: currentNodeObject[];
  taskBtns: taskBtnsType[];
  currentNode: currentNodeObject;
  stampList: [];
  currentBtn: {
    code: string;
    name: string;
    isNextAuditor: boolean;
  };
  wfData: currentNodeObject[];
  isCreateAgain?: Boolean;
  selectRejectNodeVisible: Boolean;
  selectSignVisible: Boolean;
  formCurrentNode: any;
}
