From e348f336509b5be5ee360d783346bf1dfdb8f00a Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 11 May 2022 15:07:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8F=AA=E8=AF=BB=E7=94=A8=E6=88=B7=E5=8F=AF=E4=BB=A5=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1013087 --user=陈建星 【测试跟踪】配置只读用户权限,进入测试用例列表,部分模块可以编辑保存 https://www.tapd.cn/55049933/s/1155903 --- .../common/components/form/CustomFiledFormRow.vue | 8 +++++++- .../components/track/case/components/TestCaseBaseInfo.vue | 1 + .../components/track/case/components/TestCaseEdit.vue | 1 + .../track/case/components/TestCaseEditOtherInfo.vue | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/common/components/form/CustomFiledFormRow.vue b/frontend/src/business/components/common/components/form/CustomFiledFormRow.vue index 787851a9e0..bcf7e71d84 100644 --- a/frontend/src/business/components/common/components/form/CustomFiledFormRow.vue +++ b/frontend/src/business/components/common/components/form/CustomFiledFormRow.vue @@ -6,7 +6,7 @@ - + @@ -36,6 +36,12 @@ export default { default() { return false; } + }, + disabled: { + type: Boolean, + default() { + return false; + } } }, computed: { diff --git a/frontend/src/business/components/track/case/components/TestCaseBaseInfo.vue b/frontend/src/business/components/track/case/components/TestCaseBaseInfo.vue index d7143636a8..b08e66a697 100644 --- a/frontend/src/business/components/track/case/components/TestCaseBaseInfo.vue +++ b/frontend/src/business/components/track/case/components/TestCaseBaseInfo.vue @@ -43,6 +43,7 @@ label-position="right" label-width="100px" size="small" class="case-form"> diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue index 50a9c7becc..74ef208668 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue @@ -63,6 +63,7 @@ {{ $t('commons.save') }} diff --git a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue index 74c96625b2..975cf0fb34 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue @@ -85,7 +85,7 @@ {{ $t('test_track.review.comment') }}: - +