| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import type { FileItem } from '@/views/disaster/types';
- interface BasicResponse {
- id: number;
- disasterType: string;
- disasterLevel: string;
- pushTime: string;
- effectState: number;
- isPush: number;
- }
- export interface WarningInfoListResponse extends BasicResponse {
- warnTime: string;
- content: string;
- }
- interface BasicListQuery {
- disasterType?: string;
- disasterLevel?: string;
- }
- export interface WarningInfoListQuery extends BasicListQuery {}
- export interface DefenseNoticeListQuery extends BasicListQuery {
- effectState?: string;
- }
- export interface DefenseNoticeListResponse extends BasicResponse {
- title: string;
- }
- interface BasicDetailResponse {
- userGroupList?: number[];
- createUser: string;
- realname: string;
- }
- export interface WarningInfoDetailResponse
- extends BasicDetailResponse,
- Omit<WarningInfoListResponse, 'effectState' | 'isPush' | 'pushTime'> {
- source: string;
- }
- export interface DefenseNoticeDetailResponse
- extends BasicDetailResponse,
- Omit<DefenseNoticeListResponse, 'effectState'> {
- content: string;
- attachmentListRes: FileItem[];
- }
|