From 8d14fec97344df49d58db115852c03b466482bc6 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期三, 12 四月 2023 14:47:21 +0800
Subject: [PATCH] 设备、场所、部门接口

---
 src/views/analyse/identify/index.ts |   51 +++++++++++++++++++++++++++++----------------------
 1 files changed, 29 insertions(+), 22 deletions(-)

diff --git a/src/views/analyse/identify/index.ts b/src/views/analyse/identify/index.ts
index c99a614..713bb9b 100644
--- a/src/views/analyse/identify/index.ts
+++ b/src/views/analyse/identify/index.ts
@@ -19,28 +19,32 @@
 	activeName: string,
 	list?: IdentifyType [],
 	identifyQueryVisible: boolean,
-	identifyQueryForm: {
-		id: null | number,
-		identificationMethod: null | number,
-	},
-	identifyForm: {},
+	identifyMethodVisible: boolean
+	currentMethod: number | null
+	identifyQueryForm: identifyQueryFormType,
+	identifyForm: IdentifyType,
 	identificationMethodList: Array<Type>,
 	planList: Array<PlanType>
+	personList: Array<AllPersonListType>
 }
 
-declare  interface SystemPersonType {
-	id: number,
-	realName: string,
+declare interface identifyQueryFormType {
+	id: null | number,
+	identificationMethod: null | number,
+	assessType: null | number,
+	assessStartTime: string,
+	riskUnitName: string
 }
+
 
 declare interface IdentifyType {
 	id: number | null,
-	technologyMeasure: string,
-	assessPlanName: string,
-	manageMeasure: string,
-	educationMeasure: string,
-	personalProtectionMeasure: string,
-	emergencyMeasure: string,
+	technologyMeasure?: string,
+	assessPlanName?: string,
+	manageMeasure?: string,
+	educationMeasure?: string,
+	personalProtectionMeasure?: string,
+	emergencyMeasure?: string,
 	identificationMethod: number | null,
 	hazopId?: number | null,
 	jhaId?: number | null,
@@ -68,9 +72,12 @@
 	sclCheckStandard: string,
 	sclCheckUnstandard: string,
 	sclCheckResult: string,
-	planExecStatus: number,
-	evaluateMethod: number,
+	planExecStatus?: number,
+	evaluateMethod?: number,
 	factorQueryDTOList?: IdentifyType [],
+	evaluateUser?: string,
+	result?: number | null,
+	identificationDesc: string
 }
 
 declare interface Type {
@@ -80,17 +87,17 @@
 
 declare interface IdentifyDialogType {
 	title: string,
+	method: null | number,
+	evaluateMethod: null | number,
+	evaluateUser?: string,
 	time: string [],
 	disabled: boolean,
 	identifyDialogVisible: boolean,
 	identifyForm: {
 		id: number | null,
-		technologyMeasure: string,
-		manageMeasure: string,
-		educationMeasure: string,
-		personalProtectionMeasure: string,
-		emergencyMeasure: string,
 		identificationMethod: number | null,
+		result: null | number,
+		identificationDesc: string,
 		hazopId?: number | null,
 		jhaId?: number | null,
 		phaId?: number | null,
@@ -124,5 +131,5 @@
 	identificationMethodList: Array<Type>,
 	evaluateMethodList: Array<Type>
 	planList: Array<PlanType>
-	personList: Array<SystemPersonType>
+	personList?: Array<NewPersonListType>
 }

--
Gitblit v1.9.2