feat(通用功能): 版本置新页面样式修改

--user=郭雨琦
This commit is contained in:
guoyuqi 2022-12-13 20:27:55 +08:00 committed by xiaomeinvG
parent fb33703695
commit c50a2158e5
4 changed files with 22 additions and 10 deletions

View File

@ -48,14 +48,26 @@
{{ $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"> <el-popover
{{ $t('commons.delete') }}&nbsp; placement="bottom"
</el-link> 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') }}&nbsp;
</el-link>
<br/>
<el-link @click="del(scope.row)" v-if="scope.row.isCheckout" :disabled="scope.row.isCurrent || isRead">
{{ $t('commons.delete') }}&nbsp;
</el-link>
</div>
<span slot="reference">...</span>
</el-popover>
<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') }}&nbsp;
</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -888,7 +888,7 @@ const message = {
delete_tip: 'This version has associated system resources, this operation will delete the associated resources', delete_tip: 'This version has associated system resources, this operation will delete the associated resources',
checkout: 'Checkout', checkout: 'Checkout',
compare: 'Compare', 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! ' 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: { project_file: {

View File

@ -897,7 +897,7 @@ const message = {
delete_tip: '此版本已经关联系统资源,此操作会将所关联的资源一并删除', delete_tip: '此版本已经关联系统资源,此操作会将所关联的资源一并删除',
checkout: '切换', checkout: '切换',
compare: '对比', compare: '对比',
set_new: '置新', set_new: '设为最新版本',
change_latest_tip: '此操作会修改接口,场景,测试用例等列表页面的默认展示,可能会消耗一些时间。请耐心等待!' change_latest_tip: '此操作会修改接口,场景,测试用例等列表页面的默认展示,可能会消耗一些时间。请耐心等待!'
}, },
project_file: { project_file: {

View File

@ -893,7 +893,7 @@ const message = {
delete_tip: '此版本已經關聯繫統資源,此操作會將所關聯的資源一併刪除', delete_tip: '此版本已經關聯繫統資源,此操作會將所關聯的資源一併刪除',
checkout: '切換', checkout: '切換',
compare: '對比', compare: '對比',
set_new: '置新', set_new: '設為最新版本',
change_latest_tip: '此操作會修改接口,場景,測試用例等列表頁面的默認展示,可能會消耗一些時間。請耐心等待! ' change_latest_tip: '此操作會修改接口,場景,測試用例等列表頁面的默認展示,可能會消耗一些時間。請耐心等待! '
}, },
project_file: { project_file: {