34 lines
647 B
TypeScript
34 lines
647 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;
|
|
workers: string[];
|
|
}
|
|
|
|
export class TicketNote {
|
|
avatar: string;
|
|
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 = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7';
|