fix(测试跟踪): 测试计划及用例评审上传附件禁用
This commit is contained in:
parent
1d0edef49b
commit
6615c6efd8
|
@ -73,8 +73,8 @@
|
|||
:on-exceed="handleExceed"
|
||||
:on-success="handleSuccess"
|
||||
:on-error="handleError"
|
||||
:disabled="(readOnly && isTestPlanEdit) || isCopy">
|
||||
<el-button :disabled="(readOnly && isTestPlanEdit) || isCopy" type="primary" size="mini">{{$t('test_track.case.add_attachment')}}</el-button>
|
||||
:disabled="readOnly || isCopy">
|
||||
<el-button :disabled="readOnly || isCopy" type="primary" size="mini">{{$t('test_track.case.add_attachment')}}</el-button>
|
||||
<span slot="tip" class="el-upload__tip"> {{ $t('test_track.case.upload_tip') }} </span>
|
||||
</el-upload>
|
||||
</el-col>
|
||||
|
@ -152,7 +152,7 @@ export default {
|
|||
ReviewCommentItem,
|
||||
FormRichTextItem, TestCaseIssueRelate, TestCaseAttachment, MsRichText, TestCaseRichText
|
||||
},
|
||||
props: ['form', 'labelWidth', 'caseId', 'readOnly', 'projectId', 'isTestPlan', 'planId', 'versionEnable', 'isCopy', 'copyCaseId', 'isTestPlanEdit',
|
||||
props: ['form', 'labelWidth', 'caseId', 'readOnly', 'projectId', 'isTestPlan', 'planId', 'versionEnable', 'isCopy', 'copyCaseId',
|
||||
'type', 'comments', 'isClickAttachmentTab',
|
||||
'defaultOpen'
|
||||
],
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
v-if="testCase.stepModel === 'STEP'" :form="testCase"/>
|
||||
|
||||
<el-form-item :label="$t('test_track.case.other_info')" :label-width="formLabelWidth">
|
||||
<test-case-edit-other-info @openTest="openTest" :read-only="true" :is-test-plan="true"
|
||||
<test-case-edit-other-info @openTest="openTest" :read-only="true"
|
||||
:project-id="projectId" :form="testCase" :case-id="testCase.caseId"
|
||||
ref="otherInfo"/>
|
||||
</el-form-item>
|
||||
|
|
Loading…
Reference in New Issue