From 6f5336ab50c25e8a4a8c4df7ec703a0dfa418583 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期一, 13 一月 2025 15:14:11 +0800 Subject: [PATCH] 修改 --- src/views/experiment/project/index.ts | 59 +++++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 43 insertions(+), 16 deletions(-) diff --git a/src/views/experiment/project/index.ts b/src/views/experiment/project/index.ts index 188cb14..a489093 100644 --- a/src/views/experiment/project/index.ts +++ b/src/views/experiment/project/index.ts @@ -7,11 +7,14 @@ searchParams: { experimentName: string, experimentType: null | number, + assessLevel: null | number, } }, total: 0, experimentTypeList: Type [] + riskLevelList: Type [] allRoomList: RoomType [] + tagBg: Array<string> } declare interface ProjectType { @@ -26,6 +29,10 @@ id: number, name: string, } +declare interface eType { + typeId: number, + typeName: string, +} declare interface ProjectDialogType { title: string, @@ -34,7 +41,8 @@ projectForm: { id: null | number, experimentName: string, - experimentType: null | number, + experimentType: null | number | any, + typeList: Array<eType>, liabilityUserId: null | number, safeLiabilityUser: string liabilityUserPhone: string, @@ -54,13 +62,9 @@ explosionProof: string, fireProof: string, poisonProof: string, - hazardousWaste: null | number, safeManagerMethod: string, - emergencyPlan: string, - emergencyDrill: string, - emergencyPlanName: string, - emergencyDrillStatus: string, - partitionCondition: string, + emergencyList: Array<emergencyListType>, + partitionCondition: null | number, note: string, startTime?: string, createExperimentTime: string @@ -76,6 +80,8 @@ allPersonList: Array<AllPersonListType> systemPersonList: Array<AllPersonListType> allRoomList: Array<RoomType> + experimentTypeList: eType [] + deptList: Array<any> } declare interface SelectDangerType { @@ -152,10 +158,22 @@ stuffUnitList: Array<stuffType> } +declare interface SelectEmergencyType { + disabled: boolean + emergencyList: Array<emergencyListType> +} + +declare interface emergencyListType { + emergencyPlanName: string, + emergencyDrillStatus: string, + emergencyDrill: string, + emergencyPlan: string +} + declare interface SelectRoomType { disabled: boolean roomList: Array<roomListType>, - allRoomList: Array<roomListType>, + allRoomList: Array<allRoomListType>, specialDeviceList: Array<stuffType> memberList: Array<any> typeList: Array<any> @@ -164,13 +182,23 @@ } declare interface roomListType { - siteId?: null | number, - siteName?: string, - floor?: string, - room?: string, - fireFacilities?: null | number, - partitionStatus?: null | number, - siteType?: string, + siteId: null | number, + siteName: string, + floor: string, + room: string, + fireFacilities: null | number, + partitionStatus: null | number, + siteType: string, +} + +declare interface allRoomListType { + id: null | number, + siteName: string, + floor: string, + room: string, + fireFacilities: null | number, + partitionStatus: null | number, + siteType: string, } declare interface stuffType { @@ -188,7 +216,6 @@ stuffStorage: string, stuffUnit: string } - declare interface ApplyStartDialogType { title: string, -- Gitblit v1.9.2