parent
fb33703695
commit
c50a2158e5
|
@ -48,14 +48,26 @@
|
|||
{{ $t('commons.create') }}
|
||||
</el-link>
|
||||
|
||||
<el-link @click="del(scope.row)" v-if="scope.row.isCheckout" :disabled="scope.row.isCurrent || isRead">
|
||||
{{ $t('commons.delete') }}
|
||||
</el-link>
|
||||
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
width="100"
|
||||
trigger="hover"
|
||||
v-if="!scope.row.latest"
|
||||
>
|
||||
<div style="text-align: left;">
|
||||
<el-link @click="setLatest(scope.row)" v-if="hasLatest && !scope.row.isCurrent && scope.row.isCheckout"
|
||||
:disabled="scope.row.isCurrent || isRead">
|
||||
{{ $t('project.version.set_new') }}
|
||||
</el-link>
|
||||
<br/>
|
||||
<el-link @click="del(scope.row)" v-if="scope.row.isCheckout" :disabled="scope.row.isCurrent || isRead">
|
||||
{{ $t('commons.delete') }}
|
||||
</el-link>
|
||||
</div>
|
||||
<span slot="reference">...</span>
|
||||
</el-popover>
|
||||
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
|
@ -888,7 +888,7 @@ const message = {
|
|||
delete_tip: 'This version has associated system resources, this operation will delete the associated resources',
|
||||
checkout: 'Checkout',
|
||||
compare: 'Compare',
|
||||
set_new: 'SetNew',
|
||||
set_new: 'Make latest version',
|
||||
change_latest_tip: 'This operation will modify the default display of the interface, scene, test case and other list pages, which may take some time. Please wait! '
|
||||
},
|
||||
project_file: {
|
||||
|
|
|
@ -897,7 +897,7 @@ const message = {
|
|||
delete_tip: '此版本已经关联系统资源,此操作会将所关联的资源一并删除',
|
||||
checkout: '切换',
|
||||
compare: '对比',
|
||||
set_new: '置新',
|
||||
set_new: '设为最新版本',
|
||||
change_latest_tip: '此操作会修改接口,场景,测试用例等列表页面的默认展示,可能会消耗一些时间。请耐心等待!'
|
||||
},
|
||||
project_file: {
|
||||
|
|
|
@ -893,7 +893,7 @@ const message = {
|
|||
delete_tip: '此版本已經關聯繫統資源,此操作會將所關聯的資源一併刪除',
|
||||
checkout: '切換',
|
||||
compare: '對比',
|
||||
set_new: '置新',
|
||||
set_new: '設為最新版本',
|
||||
change_latest_tip: '此操作會修改接口,場景,測試用例等列表頁面的默認展示,可能會消耗一些時間。請耐心等待! '
|
||||
},
|
||||
project_file: {
|
||||
|
|
Loading…
Reference in New Issue