|
@@ -27,7 +27,7 @@
|
|
|
:on-success="handleUploadTestCasesFileSuccess"
|
|
|
:before-upload="beforeTestCasesFileUpload"
|
|
|
:on-error="handleUploadTestCasesFileError"
|
|
|
- :show-file-list="false">
|
|
|
+ :show-file-list="false" v-if="testCaseCanEdit">
|
|
|
<el-button class="filter-item" style="margin-left: 10px;" type="primary" >上传测试用例</el-button>
|
|
|
</el-upload>
|
|
|
<el-upload style="display: inline-block;"
|
|
@@ -35,7 +35,7 @@
|
|
|
:on-success="handleUploadDefectsFileSuccess"
|
|
|
:before-upload="beforeDefectsFileUpload"
|
|
|
:on-error="handleUploadDefectsFileError"
|
|
|
- :show-file-list="false">
|
|
|
+ :show-file-list="false" v-if="testCaseCanEdit">
|
|
|
<el-button class="filter-item" style="margin-left: 10px;" type="primary" >上传缺陷报告</el-button>
|
|
|
</el-upload>
|
|
|
<el-button class="filter-item" style="margin-left: 10px;" type="primary" @click="handleCreate" v-if="testCaseCanEdit">
|