Files
tuanwei-admin/src/api/tower/project/model/index.ts
T
2023-06-08 19:33:24 +08:00

54 lines
1.1 KiB
TypeScript

import type { PageParam } from '@/api';
import { ProjectOrder } from "@/api/tower/project/order/model";
import { ProjectPlace } from "@/api/tower/project/place/model";
interface FileItem {
uid: number;
name?: string;
status?: string;
response?: Response;
thumbUrl?: string;
downloadUrl?: string;
url: string;
}
export interface Project {
projectId?: number;
projectName?: string;
projectImage?: string;
files?: FileItem[];
companyName?: string;
customerName?: string;
projectRegion?: string;
projectAddress?: string;
longitude?: string;
latitude?: string;
superviseNo?: string;
licenceNo?: string;
securityStatus?: string;
competentDepartment?: string;
dismantlingCompany?: string;
truckCraneSpecs?: string;
contract?: string;
director?: string;
projectDirector?: string;
projectStatus?: string;
salesman?: string;
status?: number;
userId?: number;
comments?: string;
sortNumber?: number;
orders?: ProjectOrder[];
places?: ProjectPlace[];
}
/**
* 搜索条件
*/
export interface ProjectParam extends PageParam {
projectId?: number;
projectName?: string;
status?: number;
keywords?: string;
}