From 58a6fd0d322a3113222b6e0fd1678acfd8e7132f Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 21 Oct 2021 13:03:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=B3=E7=B3=BB=E5=9B=BE=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E4=B8=8E=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/mapper/ext/ExtTestCaseMapper.xml | 3 +- .../components/complete/ApiOtherInfo.vue | 16 ++- .../complete/ApiRelationshipList.vue | 2 +- .../common/components/MsTableOperators.vue | 6 +- .../components/graph/DependenciesList.vue | 9 +- .../components/graph/RelationshipList.vue | 6 +- .../case/components/TestCaseEditOtherInfo.vue | 4 +- .../components/TestCaseRelationshipList.vue | 3 +- frontend/src/i18n/en-US.js | 10 ++ frontend/src/i18n/zh-CN.js | 12 +- frontend/src/i18n/zh-TW.js | 132 ++++++++++-------- 11 files changed, 123 insertions(+), 80 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index d35d0b66a4..5cf9e0957d 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -324,8 +324,7 @@ - and test_case.status is null or test_case.status != 'Trash' - + and (test_case.status is null or test_case.status != 'Trash') diff --git a/frontend/src/business/components/api/definition/components/complete/ApiOtherInfo.vue b/frontend/src/business/components/api/definition/components/complete/ApiOtherInfo.vue index f01767e06d..731d9851ef 100644 --- a/frontend/src/business/components/api/definition/components/complete/ApiOtherInfo.vue +++ b/frontend/src/business/components/api/definition/components/complete/ApiOtherInfo.vue @@ -1,15 +1,15 @@ @@ -21,7 +21,8 @@ export default { components: {RelationshipList, RelationshipGraphDrawer}, props: [ 'resourceId', - 'resourceType' + 'resourceType', + 'readOnly' ], data() { return { diff --git a/frontend/src/business/components/common/components/graph/RelationshipList.vue b/frontend/src/business/components/common/components/graph/RelationshipList.vue index dd11c4662c..23e7d9ab71 100644 --- a/frontend/src/business/components/common/components/graph/RelationshipList.vue +++ b/frontend/src/business/components/common/components/graph/RelationshipList.vue @@ -1,18 +1,20 @@