fix(系统设置): 环境列表表头显示顺序优化

--bug=1018575 --user=李玉号 【系统设置】工作空间-环境管理-环境列表表头显示顺序优化
https://www.tapd.cn/55049933/s/1270905
This commit is contained in:
shiziyuan9527 2022-10-21 14:32:51 +08:00 committed by lyh
parent d8d9378c4f
commit 414fe30004
4 changed files with 9 additions and 6 deletions

View File

@ -4,7 +4,7 @@
<!-- 表头 -->
<template v-slot:header>
<ms-table-header :create-permission="['WORKSPACE_PROJECT_ENVIRONMENT:READ+CREATE']"
:create-tip="btnTips"
:create-tip="btnTips" :tip="$t('system.search_by_environment_name')"
:condition.sync="condition" @search="search" @create="createEnv">
<template v-slot:button>
<ms-table-button v-permission="['WORKSPACE_PROJECT_ENVIRONMENT:READ+IMPORT']" icon="el-icon-box"
@ -27,14 +27,14 @@
<show-more-btn :is-show="scope.row.showMore" :buttons="buttons" :size="selectDataCounts"/>
</template>
</el-table-column>
<el-table-column :label="$t('api_test.environment.name')" prop="name" show-overflow-tooltip>
</el-table-column>
<el-table-column :label="$t('commons.project')" width="250" :filters="projectFilters" column-key="projectId"
show-overflow-tooltip>
<template v-slot="scope">
<span>{{ idNameMap.get(scope.row.projectId) }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('api_test.environment.name')" prop="name" show-overflow-tooltip>
</el-table-column>
<el-table-column :label="$t('api_test.environment.socket')" show-overflow-tooltip>
<template v-slot="scope">
<span v-if="parseDomainName(scope.row)!=='SHOW_INFO'">{{ parseDomainName(scope.row) }}</span>

View File

@ -7,7 +7,8 @@ const message = {
search_get_more_tip: 'Search for other options'
},
system: {
environment_import_repeat_tip: "(Environment configuration with the same name filtered {0})"
environment_import_repeat_tip: "(Environment configuration with the same name filtered {0})",
search_by_environment_name: "search by environment name",
},
display: {
title: 'Theme',

View File

@ -7,7 +7,8 @@ const message = {
search_get_more_tip: '搜索获取其他选项'
},
system: {
environment_import_repeat_tip: "(已过滤同名称的环境配置 {0})"
environment_import_repeat_tip: "(已过滤同名称的环境配置 {0})",
search_by_environment_name: "根据环境的名称搜索",
},
display: {
title: '显示设置',

View File

@ -7,7 +7,8 @@ const message = {
search_get_more_tip: '搜索獲取其他選項'
},
system: {
environment_import_repeat_tip: "(已過濾同名稱的環境配置 {0})"
environment_import_repeat_tip: "(已過濾同名稱的環境配置 {0})",
search_by_environment_name: "根據環境的名稱搜索",
},
display: {
title: '顯示設置',