From 7db01bf02465deb2a6ee4b343dffa320cbb9333d Mon Sep 17 00:00:00 2001 From: teukkk Date: Thu, 16 May 2024 13:03:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E8=AF=A6=E6=83=85-?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4=E6=89=A7=E8=A1=8C=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/models/caseManagement/featureCase.ts | 4 +++ .../components/addStep.vue | 33 ++++++++++++++++++- .../components/tabContent/tabDetail.vue | 1 + .../organization/template/locale/en-US.ts | 1 + .../organization/template/locale/zh-CN.ts | 1 + .../featureCase/components/caseTable.vue | 3 ++ .../featureCase/components/executeForm.vue | 5 +-- .../featureCase/detail/executeSubmit.vue | 19 +++++++++++ .../detail/featureCase/detail/index.vue | 25 +++++++++++--- 9 files changed, 84 insertions(+), 8 deletions(-) diff --git a/frontend/src/models/caseManagement/featureCase.ts b/frontend/src/models/caseManagement/featureCase.ts index e838f6e60e..196c4a789e 100644 --- a/frontend/src/models/caseManagement/featureCase.ts +++ b/frontend/src/models/caseManagement/featureCase.ts @@ -86,8 +86,12 @@ export interface StepList { expected: string; // 预期 showStep: boolean; // 编辑步骤模式 showExpected: boolean; // 编辑预期模式 + actualResult?: string; // 实际 + executeResult?: string; // 步骤执行结果 } +export type StepExecutionResult = Pick; + // 关联文件列表 export interface AssociatedList { id: string; diff --git a/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue b/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue index ae5ef8c54c..8b833d159c 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue @@ -28,8 +28,31 @@ @blur="blurHandler(record, 'expected')" /> +