refactor note card to component

This commit is contained in:
2024-03-12 13:28:20 +08:00
parent 2e2629fe0a
commit f17bfa2a9e
10 changed files with 121 additions and 68 deletions
+21
View File
@@ -0,0 +1,21 @@
import { FixStatus } from '@/common';
export class TicketInfo {
id: number;
type: 0 | 1;
device: string;
deviceModel: string;
description: string;
createdTime: moment.Moment;
status: FixStatus;
}
export class TicketNote {
id: number;
op: string;
type: 0 | 1 | 2;
content: string;
createdTime: moment.Moment;
}
export type StatusStr = '1' | '2' | '3' | '4' | '5';