export const TODO_STAT_COLOR_RED = -1; export const TODO_STAT_COLOR_ORANGE = 1; export const TODO_STAT_COLOR_GREEN = 2; export type TTodoStat = typeof TODO_STAT_COLOR_RED | typeof TODO_STAT_COLOR_ORANGE | typeof TODO_STAT_COLOR_GREEN; export interface IWtuiTodoResponseWithPara { todoName: string; renameTo: string; module: string; moduleName: string; tab: string; searchType: string; toPath: string; viewPara: string; title: string; metaData: string; menuUUID: string; tabItems: any[]; color: any; color2: any; /** 工作台跳转过来的进行筛选的单据状态 */ flowStat: number[]; /** * -1 红色 * 1 黄色 * 2 绿色 */ todoStat: TTodoStat; toWebURL: string; viewIndx: number; } export class TWtuiTodoResponseWithPara implements IWtuiTodoResponseWithPara { todoName: string = ""; renameTo: string = ""; module: string = ""; moduleName: string = ""; tab: string = ""; searchType: string = ""; toPath: string = ""; viewPara: string = ""; title: string = ""; metaData: string = ""; menuUUID: string = ""; tabItems: any[] = []; color: any; color2: any; flowStat: number[] = []; /** * -1 红色 * 1 黄色 * 2 绿色 */ todoStat: TTodoStat = TODO_STAT_COLOR_GREEN; toWebURL: string = ""; viewIndx: number = 0; }