mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-12 22:49:38 +00:00
perf: 修改网域列表网关字段跳转
This commit is contained in:
parent
9623264e56
commit
9e3fbbad10
@ -179,6 +179,7 @@
|
||||
"DomainHelpMessage": "The domain function is added to address the fact that some environments (such as the hybrid cloud) cannot be connected directly by jumping on the gateway server.\nJMS => Domain gateway => Target assets",
|
||||
"FullName": "Full name",
|
||||
"Gateway": "Gateway",
|
||||
"GatewayList": "Gateway",
|
||||
"GatewayProtocolHelpText": "SSH protocol gateway, support proxy SSH, RDP, VNC",
|
||||
"Hostname": "Hostname",
|
||||
"IP": "IP",
|
||||
|
@ -181,6 +181,7 @@
|
||||
"DomainHelpMessage": "ドメイン機能は、一部の環境 (ハイブリッドクラウドなど) が直接接続できないことを解決するために追加された機能で、ゲートウェイサーバを介してジャンプ登録を行うのが原理です。JMS => ドメインゲートウェイ => ターゲット資産",
|
||||
"FullName": "フルネーム",
|
||||
"Gateway": "ゲートウェイ",
|
||||
"GatewayList": "ゲートウェイの一覧",
|
||||
"GatewayProtocolHelpText": "SSHゲートウェイ、プロキシSSH、RDP、VNCをサポート",
|
||||
"Hostname": "ホスト名",
|
||||
"IP": "IP",
|
||||
|
@ -189,6 +189,7 @@
|
||||
"DomainHelpMessage": "网域功能是为了解决部分环境(如:混合云)无法直接连接而新增的功能,原理是通过网关服务器进行跳转登录。JMS => 网域网关 => 目标资产",
|
||||
"FullName": "全称",
|
||||
"Gateway": "网关",
|
||||
"GatewayList": "网关列表",
|
||||
"GatewayProtocolHelpText": "SSH网关,支持代理SSH,RDP和VNC",
|
||||
"Hostname": "主机名",
|
||||
"IP": "IP",
|
||||
|
@ -28,7 +28,7 @@ export default {
|
||||
name: 'Detail'
|
||||
},
|
||||
{
|
||||
title: this.$t('assets.Gateway'),
|
||||
title: this.$t('assets.GatewayList'),
|
||||
name: 'GatewayList',
|
||||
hidden: () => !this.$hasPerm('assets.view_gateway')
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
<script>
|
||||
import { GenericListPage } from '@/layout/components'
|
||||
import { DetailFormatter } from '@/components/TableFormatters'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@ -32,8 +33,15 @@ export default {
|
||||
gateway_count: {
|
||||
prop: 'gateways',
|
||||
label: this.$t('assets.Gateway'),
|
||||
formatter: function(row) {
|
||||
return <span> { row.gateways.length } </span>
|
||||
formatter: DetailFormatter,
|
||||
formatterArgs: {
|
||||
permissions: 'assets.view_gateway',
|
||||
routeQuery: {
|
||||
activeTab: 'GatewayList'
|
||||
},
|
||||
getTitle: function({ cellValue }) {
|
||||
return cellValue.length
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user