32 lines
590 B
TypeScript
32 lines
590 B
TypeScript
import { FixStatus, Info } from '@/common';
|
|
|
|
export class TicketInfo {
|
|
id: number;
|
|
type: 0 | 1;
|
|
device: string;
|
|
deviceModel: string;
|
|
description: string;
|
|
createdTime: moment.Moment;
|
|
status: FixStatus;
|
|
info: Info;
|
|
}
|
|
|
|
export class TicketNote {
|
|
id: number;
|
|
op: string;
|
|
type: 0 | 1 | 2;
|
|
content: string;
|
|
createdTime: moment.Moment;
|
|
}
|
|
|
|
export class ShowElements {
|
|
device: JSX.Element;
|
|
createdTime: JSX.Element;
|
|
description: JSX.Element;
|
|
info: JSX.Element;
|
|
current: JSX.Element;
|
|
notelist: JSX.Element;
|
|
}
|
|
|
|
export type StatusStr = '1' | '2' | '3' | '4' | '5';
|