马宇豪
2023-04-12 8d14fec97344df49d58db115852c03b466482bc6
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>
}