feat: 导出弹窗增加导出提示配置;账号导出增加导出提示

This commit is contained in:
“huailei000” 2023-05-08 11:36:17 +08:00
parent fcd7d17ef1
commit 640e758016
5 changed files with 16 additions and 1 deletions

View File

@ -294,7 +294,8 @@ export default {
},
exportOptions: {
url: this.exportUrl,
mfaVerifyRequired: true
mfaVerifyRequired: true,
tips: this.$t('accounts.AccountExportTips')
},
importOptions: {
canImportCreate: this.$hasPerm('accounts.add_account'),

View File

@ -17,6 +17,9 @@
@cancel="handleExportCancel()"
@confirm="handleExportConfirm()"
>
<el-alert v-if="tips" :type="tipsType">
{{ tips }}
</el-alert>
<el-form label-position="left" style="padding-left: 20px">
<el-form-item :label="$tc('common.fileType' )" :label-width="'100px'">
<el-radio-group v-model="exportTypeOption">
@ -92,6 +95,14 @@ export default {
canExportFiltered: {
type: Boolean,
default: true
},
tips: {
type: String,
default: ''
},
tipsType: {
type: String,
default: 'success'
}
},
data() {

View File

@ -104,6 +104,7 @@
},
"DynamicUsername": "Dynamic username",
"AutoCreate": "Auto create",
"AccountExportTips": "The exported information contains account secret, which involves sensitive information. The exported format is an encrypted zip file (if no encryption password is set, please go to personal information to set the file encryption password).",
"TaskID": "Task ID",
"AccountTemplate": "Account template",
"AddAccountResult": "Add account result"

View File

@ -104,6 +104,7 @@
},
"DynamicUsername": "動的ユーザー名",
"AutoCreate": "自動作成",
"AccountExportTips": "エクスポート情報には機密情報を含むアカウント暗号文が含まれており、エクスポートされたフォーマットは暗号化されたzipファイルです暗号化パスワードが設定されていない場合は、個人情報にファイル暗号化パスワードを設定してください。",
"TaskID": "タスク ID",
"AccountTemplate": "账号模版",
"AddAccountResult": "账号批量添加结果"

View File

@ -17,6 +17,7 @@
"PleaseClickLeftApplicationToViewApplicationAccount": "应用账号列表,点击左侧应用进行查看",
"PleaseClickLeftAssetToViewGatheredUser": "收集用户列表,点击左侧资产进行查看",
"AutoCreate": "自动创建",
"AccountExportTips": "导出信息中包含账号密文涉及敏感信息导出的格式为一个加密的zip文件若没有设置加密密码请前往个人信息中设置文件加密密码。",
"AccountPush": {
"WindowsPushHelpText": "windows 资产暂不支持推送密钥",
"AccountPushList": "账号推送",