fix(接口测试): 接口版本表格放出删除操作
This commit is contained in:
parent
358bbc0d56
commit
c32a767715
|
@ -84,7 +84,7 @@
|
||||||
<el-card>
|
<el-card>
|
||||||
<!-- header 调试部分 -->
|
<!-- header 调试部分 -->
|
||||||
<div class="ms-debug-div" @click="showAll" ref="debugHeader">
|
<div class="ms-debug-div" @click="showAll" ref="debugHeader">
|
||||||
<div class="debug-header" style="margin: 5px">
|
<div class="debug-header">
|
||||||
<div class="ms-col-one mt-2" v-show="scenarioDefinition.length > 1">
|
<div class="ms-col-one mt-2" v-show="scenarioDefinition.length > 1">
|
||||||
<el-tooltip
|
<el-tooltip
|
||||||
:content="$t('test_track.case.batch_operate')"
|
:content="$t('test_track.case.batch_operate')"
|
||||||
|
@ -160,7 +160,7 @@
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-button class="mt-2" size="mini" type="primary" v-else @click="stop">{{
|
<el-button class="mt-2 ml-10" size="mini" type="primary" v-else @click="stop">{{
|
||||||
$t('report.stop_btn')
|
$t('report.stop_btn')
|
||||||
}}</el-button>
|
}}</el-button>
|
||||||
|
|
||||||
|
@ -2639,19 +2639,20 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-debug-div {
|
.ms-debug-div {
|
||||||
|
padding: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1px #dcdfe6 solid;
|
border: 1px #dcdfe6 solid;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-right: 0px;
|
|
||||||
|
|
||||||
.debug-header {
|
.debug-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
flex: 1;
|
||||||
.ms-col-one {
|
.ms-col-one {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -51,6 +51,11 @@
|
||||||
{{ $t('commons.create') }}
|
{{ $t('commons.create') }}
|
||||||
</el-link>
|
</el-link>
|
||||||
|
|
||||||
|
<el-link @click="del(scope.row)" v-if="scope.row.isCheckout" :disabled="scope.row.isCurrent || isRead"
|
||||||
|
v-permission="['PROJECT_VERSION:READ+DELETE']">
|
||||||
|
{{ $t('commons.delete') }}
|
||||||
|
</el-link>
|
||||||
|
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
width="100"
|
width="100"
|
||||||
|
@ -62,11 +67,7 @@
|
||||||
:disabled="isRead || scope.row.id === dataLatestId">
|
:disabled="isRead || scope.row.id === dataLatestId">
|
||||||
{{ $t('project.version.set_new') }}
|
{{ $t('project.version.set_new') }}
|
||||||
</el-link>
|
</el-link>
|
||||||
<br/>
|
|
||||||
<el-link @click="del(scope.row)" v-if="scope.row.isCheckout" :disabled="scope.row.isCurrent || isRead"
|
|
||||||
v-permission="['PROJECT_VERSION:READ+DELETE']">
|
|
||||||
{{ $t('commons.delete') }}
|
|
||||||
</el-link>
|
|
||||||
</div>
|
</div>
|
||||||
<span slot="reference">...</span>
|
<span slot="reference">...</span>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
|
|
Loading…
Reference in New Issue