From e989421722e522f4879a354a15ba14912d7acaaa Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期五, 24 二月 2023 16:49:38 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/scienceexperimentweb --- src/views/analyse/identify/index.ts | 128 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 128 insertions(+), 0 deletions(-) diff --git a/src/views/analyse/identify/index.ts b/src/views/analyse/identify/index.ts new file mode 100644 index 0000000..c99a614 --- /dev/null +++ b/src/views/analyse/identify/index.ts @@ -0,0 +1,128 @@ +declare interface IdentifyStateType { + identifyData: Array<IdentifyType> + searchQuery: { + pageIndex: number, + pageSize: number, + assessPlanName: string, + experimentName: string, + tag: number, + } + total: number + identificationMethodList: Array<Type>, + evaluateMethodList: Array<Type> + planList: Array<PlanType> + personList: Array<SystemPersonType> +} + +declare interface IdentifyQueryType { + title: string, + activeName: string, + list?: IdentifyType [], + identifyQueryVisible: boolean, + identifyQueryForm: { + id: null | number, + identificationMethod: null | number, + }, + identifyForm: {}, + identificationMethodList: Array<Type>, + planList: Array<PlanType> +} + +declare interface SystemPersonType { + id: number, + realName: string, +} + +declare interface IdentifyType { + id: number | null, + technologyMeasure: string, + assessPlanName: string, + manageMeasure: string, + educationMeasure: string, + personalProtectionMeasure: string, + emergencyMeasure: string, + identificationMethod: number | null, + hazopId?: number | null, + jhaId?: number | null, + phaId?: number | null, + sclId?: number | null, + analogyId?: number | null, + analogyCheckItem: string, + analogyRiskFactor: string, + analogyResult: string, + analogyReference: string, + hazopNode: string, + hazopParam: string, + hazopParamDesc: string, + hazopGuide: string, + hazopDeviation: string, + hazopPossibleCauses: string, + hazopResult: string, + jhaCheckItem: string, + jhaRiskFactor: string, + jhaResult: string, + phaCheckItem: string, + phaRiskFactor: string, + phaResult: string, + sclCheckItem: string, + sclCheckStandard: string, + sclCheckUnstandard: string, + sclCheckResult: string, + planExecStatus: number, + evaluateMethod: number, + factorQueryDTOList?: IdentifyType [], +} + +declare interface Type { + id: number, + name: string, +} + +declare interface IdentifyDialogType { + title: string, + time: string [], + disabled: boolean, + identifyDialogVisible: boolean, + identifyForm: { + id: number | null, + technologyMeasure: string, + manageMeasure: string, + educationMeasure: string, + personalProtectionMeasure: string, + emergencyMeasure: string, + identificationMethod: number | null, + hazopId?: number | null, + jhaId?: number | null, + phaId?: number | null, + sclId?: number | null, + analogyId?: number | null, + analogyCheckItem: string, + analogyRiskFactor: string, + analogyResult: string, + analogyReference: string, + hazopNode: string, + hazopParam: string, + hazopParamDesc: string, + hazopGuide: string, + hazopDeviation: string, + hazopPossibleCauses: string, + hazopResult: string, + jhaCheckItem: string, + jhaRiskFactor: string, + jhaResult: string, + phaCheckItem: string, + phaRiskFactor: string, + phaResult: string, + sclCheckItem: string, + sclCheckStandard: string, + sclCheckUnstandard: string, + sclCheckResult: string, + }, + identifyFormRules: { + + }, + identificationMethodList: Array<Type>, + evaluateMethodList: Array<Type> + planList: Array<PlanType> + personList: Array<SystemPersonType> +} -- Gitblit v1.9.2