Revert "perf: lina 提示优化"

This commit is contained in:
feng626 2023-02-27 15:56:30 +08:00 committed by GitHub
parent f3e28f7cd4
commit c1272d9a9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 28 deletions

View File

@ -1,11 +1,5 @@
<template>
<div>
<PageContent>
<el-alert v-if="notice" type="success">
<span class="announcement-main" v-html="notice" />
</el-alert>
<slot />
</PageContent>
<TableAction
v-if="hasActions"
:date-pick="handleDateChange"
@ -36,12 +30,10 @@ import TableAction from './TableAction'
import Emitter from '@/mixins/emitter'
import AutoDataTable from '../AutoDataTable'
import { getDayEnd, getDaysAgo } from '@/utils/common'
import { PageContent } from '@/layout/components/Page'
export default {
name: 'ListTable',
components: {
PageContent,
AutoDataTable,
TableAction,
IBox
@ -57,10 +49,6 @@ export default {
headerActions: {
type: Object,
default: () => ({})
},
notice: {
type: String,
default: ''
}
},
data() {

View File

@ -290,7 +290,6 @@
"Domain": "Domain",
"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",
"WebHelpMessage": "Web type assets depend on remote applications. Please go to System Settings to configure the publisher in the remote application.",
"FullName": "Full name",
"Gateway": "Gateway",
"GatewayList": "Gateway",
@ -1000,7 +999,7 @@
"ManualInput": "Manual input",
"SameAccount": "Same account",
"SpecifyAccounts": "Specify accounts",
"AccountsHelp": "All accounts: accounts exists on the asset; specify accounts: Specify the account user name associated with the current system assetManual input: username/password; Same account: The account username name same with login user",
"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",
"Input": "Input",
"permAccount": "Accounts",
"Actions": "Actions",
@ -2062,4 +2061,4 @@
"PublishStatus": "Publish status",
"NoPublished": "Unpublished"
}
}
}

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
<template>
<div>
<ListTable ref="ListTable" :header-actions="iHeaderActions" :notice="notice" :table-config="iTableConfig" />
<ListTable ref="ListTable" :header-actions="iHeaderActions" :table-config="iTableConfig" />
<PlatformDialog :category="category" :visible.sync="showPlatform" />
<AssetBulkUpdateDialog
:visible.sync="updateSelectedDialogSetting.visible"
@ -52,10 +52,6 @@ export default {
addExtraMoreActions: {
type: Array,
default: () => []
},
notice: {
type: String,
default: ''
}
},
data() {
@ -259,6 +255,6 @@ export default {
}
</script>
<style lang="scss" scoped>
<style>
</style>