From f1f40e9a28fafab5d884630b8900b11060ebe9fc Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 31 十月 2023 08:53:35 +0800
Subject: [PATCH] 修改

---
 src/views/experiment/project/index.ts |   47 ++++++++++++++++++++++++++++++++---------------
 1 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/src/views/experiment/project/index.ts b/src/views/experiment/project/index.ts
index 188cb14..5235c46 100644
--- a/src/views/experiment/project/index.ts
+++ b/src/views/experiment/project/index.ts
@@ -54,13 +54,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
@@ -152,10 +148,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 +172,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 +206,6 @@
 	stuffStorage: string,
 	stuffUnit: string
 }
-
 
 declare interface ApplyStartDialogType {
 	title: string,

--
Gitblit v1.9.2