From 1f26c30a8d1c5e3d9ab262b382284c8ea96f29b2 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 05 十一月 2024 15:47:17 +0800
Subject: [PATCH] 修改密码

---
 src/views/experiment/project/index.ts |   98 ++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 85 insertions(+), 13 deletions(-)

diff --git a/src/views/experiment/project/index.ts b/src/views/experiment/project/index.ts
index 6ec1f48..ea7412d 100644
--- a/src/views/experiment/project/index.ts
+++ b/src/views/experiment/project/index.ts
@@ -1,20 +1,25 @@
 declare interface ProjectStateType {
-	projectData: Array<ProjectType>
+	projectData?: Array<ProjectType>
+	developData?: Array<ProjectType>
 	searchQuery: {
 		pageIndex: number,
 		pageSize: number,
 		searchParams: {
 			experimentName: string,
 			experimentType: null | number,
+			assessLevel:  null | number,
 		}
 	},
 	total: 0,
 	experimentTypeList: Type []
+	riskLevelList: Type []
 	allRoomList: RoomType []
+	tagBg: Array<string>
 }
 
 declare interface ProjectType {
 	id?: number | null,
+	liabilityUserId?: number | null,
 	experimentCode: string,
 	experimentName: string,
 }
@@ -34,13 +39,17 @@
 		experimentName: string,
 		experimentType: null | number,
 		liabilityUserId: null | number,
-		safeLiabilityUserId: null | number,
+		safeLiabilityUser: string
+		liabilityUserPhone: string,
+		safeLiabilityUserPhone: string,
+		sisStatus?: null | number,
+		safeInformationSystem?: string,
 		dep: string,
-		siteId: null | number,
 		experimentStep: string,
 		experimentMethod: string,
 		process: string,
 		keyProcess: string,
+		measure: string,
 		timeout: null | number,
 		timeoutManager: string,
 		closed: null | number,
@@ -48,16 +57,14 @@
 		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,
-		expectStartTime: null | number,
+		startTime?: string,
+		createExperimentTime: string
 		persons: SelectPersonType [],
+		siteList: SelectRoomType [],
 		deviceList: SelectEquipmentType [],
 		stuffList: SelectMaterialType [],
 		hazardousWasteList: SelectDangerType []
@@ -66,7 +73,7 @@
 
 	},
 	allPersonList: Array<AllPersonListType>
-	systemPersonList: Array<SystemPersonType>
+	systemPersonList: Array<AllPersonListType>
 	allRoomList: Array<RoomType>
 }
 
@@ -91,7 +98,7 @@
 }
 
 declare interface AllPersonListType {
-	id: null | number,
+	id?: null | number,
 	personId?: null | number,
 	personName: null,
 	personAge: null,
@@ -103,10 +110,23 @@
 	training:''
 }
 
+declare interface NewPersonListType {
+	depId: number | null
+	depName: string
+	id: number
+	idSerial: string
+	idType: number | null
+	name: string
+	phone: string
+	realName: string
+}
+
 declare interface SelectEquipmentType {
 	disabled: boolean
 	equipmentList: Array<AllEquipmentListType>,
 	allEquipmentList: Array<AllEquipmentListType>,
+	equipmentTypeList: Array<any>,
+	specialDeviceList: Array<Type>
 }
 
 declare interface AllEquipmentListType {
@@ -117,6 +137,8 @@
 	deviceName: string,
 	devicePower: string,
 	specialDevice: string,
+	deviceUnit?: null | number,
+	safeProtect?: null | number
 }
 
 
@@ -124,6 +146,57 @@
 	disabled: boolean
 	materialList: Array<AllMaterialListType>,
 	allMaterialList: Array<AllMaterialListType>,
+	stuffTypeList: Array<stuffType>
+	stuffStorageList: Array<stuffType>
+	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<allRoomListType>,
+	specialDeviceList: Array<stuffType>
+	memberList: Array<any>
+	typeList: Array<any>
+	stuffStorageList: Array<stuffType>
+	stuffUnitList: Array<stuffType>
+}
+
+declare interface roomListType {
+	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 {
+	id: null | number,
+	name: string
 }
 
 declare interface AllMaterialListType {
@@ -136,7 +209,6 @@
 	stuffStorage: string,
 	stuffUnit: string
 }
-
 
 declare interface ApplyStartDialogType {
 	title: string,

--
Gitblit v1.9.2