From cbb23429b8beed72b58cbb57f9b3c56a0fb2b5d2 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 09 五月 2025 13:31:26 +0800
Subject: [PATCH] 修改

---
 src/views/analyse/identify/index.ts |   67 ++++++++++++++++++++++-----------
 1 files changed, 44 insertions(+), 23 deletions(-)

diff --git a/src/views/analyse/identify/index.ts b/src/views/analyse/identify/index.ts
index c99a614..25faca1 100644
--- a/src/views/analyse/identify/index.ts
+++ b/src/views/analyse/identify/index.ts
@@ -1,5 +1,8 @@
 declare interface IdentifyStateType {
 	identifyData: Array<IdentifyType>
+	allData: Array<IdentifyType>
+	isAdmin: boolean
+	user: null | number
 	searchQuery: {
 		pageIndex: number,
 		pageSize: number,
@@ -19,28 +22,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,29 +75,42 @@
 	sclCheckStandard: string,
 	sclCheckUnstandard: string,
 	sclCheckResult: string,
-	planExecStatus: number,
-	evaluateMethod: number,
-	factorQueryDTOList?: IdentifyType [],
+	planExecStatus?: number,
+	evaluateMethod?: number,
+	factorQueryDTOList?: EvaluateType [],
+	evaluateUser?: string,
+	result?: number | null,
+	identificationDesc: string
 }
 
 declare interface Type {
 	id: number,
 	name: string,
 }
+declare interface file {
+	url: string;
+}
 
 declare interface IdentifyDialogType {
+	fileList: Array<file>,
+	imgLimit: number,
+	uploadUrl: string,
+	isOverSize: boolean,
+	header:{}
+	dialogVisible: Boolean,
+	dialogImageUrl: string | null,
 	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,
@@ -117,6 +137,7 @@
 		sclCheckStandard: string,
 		sclCheckUnstandard: string,
 		sclCheckResult: string,
+		fileData: string
 	},
 	identifyFormRules: {
 
@@ -124,5 +145,5 @@
 	identificationMethodList: Array<Type>,
 	evaluateMethodList: Array<Type>
 	planList: Array<PlanType>
-	personList: Array<SystemPersonType>
+	personList?: Array<NewPersonListType>
 }

--
Gitblit v1.9.2