perf: lina 提示优化

This commit is contained in:
feng
2023-02-27 16:10:57 +08:00
committed by Jiangjie.Bai
parent 69cd561dc0
commit 73ce298d6a
5 changed files with 17 additions and 6 deletions

View File

@@ -290,6 +290,7 @@
"Domain": "Domain", "Domain": "Domain",
"DomainDetail": "Domain detail", "DomainDetail": "Domain detail",
"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", "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",
"WebHelpMessage": "Web type assets depend on remote applications. Please go to System Settings to configure the publisher in the remote application.",
"FullName": "Full name", "FullName": "Full name",
"Gateway": "Gateway", "Gateway": "Gateway",
"GatewayList": "Gateway", "GatewayList": "Gateway",
@@ -999,7 +1000,7 @@
"ManualInput": "Manual input", "ManualInput": "Manual input",
"SameAccount": "Same account", "SameAccount": "Same account",
"SpecifyAccounts": "Specify accounts", "SpecifyAccounts": "Specify accounts",
"AccountsHelp": "All accounts: accounts exists on the asset; Specify accounts: specify accounts by usernameManual input: username/password; Same account: The account username name same with login user", "AccountsHelp": "All accounts: accounts exists on the asset; Specify accounts: specify the user name of the account under the assetManual input: username/password; Same account: The account username name same with login user",
"Input": "Input", "Input": "Input",
"permAccount": "Accounts", "permAccount": "Accounts",
"Actions": "Actions", "Actions": "Actions",

View File

@@ -283,6 +283,7 @@
"Domain": "ドメイン", "Domain": "ドメイン",
"DomainDetail": "ドメインの詳細", "DomainDetail": "ドメインの詳細",
"DomainHelpMessage": "ドメイン機能は、一部の環境 (ハイブリッドクラウドなど) が直接接続できないことを解決するために追加された機能で、ゲートウェイサーバを介してジャンプ登録を行うのが原理です。JMS => ドメインゲートウェイ => ターゲット資産", "DomainHelpMessage": "ドメイン機能は、一部の環境 (ハイブリッドクラウドなど) が直接接続できないことを解決するために追加された機能で、ゲートウェイサーバを介してジャンプ登録を行うのが原理です。JMS => ドメインゲートウェイ => ターゲット資産",
"WebHelpMessage": "Web タイプ資産はリモートアプリケーションに依存しており、システム設定のリモートアプリケーションでパブリッシャを構成してください。",
"FullName": "フルネーム", "FullName": "フルネーム",
"Gateway": "ゲートウェイ", "Gateway": "ゲートウェイ",
"GatewayProtocolHelpText": "SSHゲートウェイ、プロキシSSH、RDP、VNCをサポート", "GatewayProtocolHelpText": "SSHゲートウェイ、プロキシSSH、RDP、VNCをサポート",
@@ -997,7 +998,7 @@
"ManualInput": "手動入力", "ManualInput": "手動入力",
"SameAccount": "同じ名前のアカウント", "SameAccount": "同じ名前のアカウント",
"SpecifyAccounts": "入力の指定", "SpecifyAccounts": "入力の指定",
"AccountsHelp": "すべてのアカウント: アカウントはアセットに存在します。 アカウントの指定: ユーザー名でアカウントを指定します。手入力: ユーザー名/パスワード; 同一アカウント:ログインユーザーと同じアカウントのユーザー名", "AccountsHelp": "すべてのアカウント: アカウントはアセットに存在します。 アカウントの指定: 資産の下のアカウントのユーザー名を指定します。手入力: ユーザー名/パスワード; 同一アカウント:ログインユーザーと同じアカウントのユーザー名",
"Input": "入力", "Input": "入力",
"permAccount": "認定アカウント", "permAccount": "認定アカウント",
"Actions": "アクション", "Actions": "アクション",

View File

@@ -297,6 +297,7 @@
"Domain": "网域", "Domain": "网域",
"DomainDetail": "网域详情", "DomainDetail": "网域详情",
"DomainHelpMessage": "网域功能是为了解决部分环境混合云无法直接连接而新增的功能原理是通过网关服务器进行跳转登录。JMS => 网域网关 => 目标资产", "DomainHelpMessage": "网域功能是为了解决部分环境混合云无法直接连接而新增的功能原理是通过网关服务器进行跳转登录。JMS => 网域网关 => 目标资产",
"WebHelpMessage": "Web 类型资产依赖于远程应用,请前往系统设置在远程应用中配置发布机。",
"FullName": "全称", "FullName": "全称",
"Gateway": "网关", "Gateway": "网关",
"GatewayProtocolHelpText": "SSH网关支持代理SSH,RDP和VNC", "GatewayProtocolHelpText": "SSH网关支持代理SSH,RDP和VNC",
@@ -989,7 +990,7 @@
}, },
"perms": { "perms": {
"": "", "": "",
"AccountsHelp": "所有账号: 资产上添加的账号; 指定账号:指定账号的用户名;手动输入: 用户名/密码 手动输入; 同名账号: 与被授权人用户名相同的账号;", "AccountsHelp": "所有账号: 资产上添加的账号; 指定账号:指定资产下账号的用户名;手动输入: 用户名/密码 手动输入; 同名账号: 与被授权人用户名相同的账号;",
"AllAccounts": "所有账号", "AllAccounts": "所有账号",
"ManualInput": "手动输入", "ManualInput": "手动输入",
"SameAccount": "同名账号", "SameAccount": "同名账号",

View File

@@ -27,7 +27,8 @@ export default {
width: '100px' width: '100px'
} }
} }
} },
helpMessage: this.$t('assets.DomainHelpMessage')
} }
} }
} }

View File

@@ -1,5 +1,8 @@
<template> <template>
<div> <div>
<el-alert v-if="helpMessage" type="success">
<span class="announcement-main" v-html="helpMessage" />
</el-alert>
<ListTable ref="ListTable" :header-actions="iHeaderActions" :table-config="iTableConfig" /> <ListTable ref="ListTable" :header-actions="iHeaderActions" :table-config="iTableConfig" />
<PlatformDialog :category="category" :visible.sync="showPlatform" /> <PlatformDialog :category="category" :visible.sync="showPlatform" />
<AssetBulkUpdateDialog <AssetBulkUpdateDialog
@@ -52,6 +55,10 @@ export default {
addExtraMoreActions: { addExtraMoreActions: {
type: Array, type: Array,
default: () => [] default: () => []
},
helpMessage: {
type: String,
default: ''
} }
}, },
data() { data() {