This commit is contained in:
jym503558564
2020-05-22 15:12:39 +08:00
5 changed files with 24 additions and 16 deletions

View File

@@ -462,7 +462,9 @@
"terminate": "终断", "terminate": "终断",
"test": "测试", "test": "测试",
"type": "类型", "type": "类型",
"user": "用户" "user": "用户",
"createReplayStorage": "创建录像存储",
"createCommandStorage": "创建命令存储"
}, },
"setting": { "setting": {
"Basic": "基本设置", "Basic": "基本设置",

View File

@@ -50,7 +50,7 @@
"Type": "", "Type": "",
"Database": "", "Database": "",
"Comment": "", "Comment": "",
"Action": "", "Action": "Action",
"RemoteType": "", "RemoteType": "",
"Asset": "", "Asset": "",
"SetMFA": "", "SetMFA": "",
@@ -107,7 +107,7 @@
"LoginRequiredMsg": "" "LoginRequiredMsg": ""
}, },
"common": { "common": {
"Action": "", "Action": "Action",
"Actions": "Actions", "Actions": "Actions",
"Activate": "Activate", "Activate": "Activate",
"Active": "", "Active": "",
@@ -143,7 +143,7 @@
"Update success": "", "Update success": "",
"Username": "", "Username": "",
"Validity": "Validity", "Validity": "Validity",
"action": "", "action": "Action",
"actions": { "actions": {
"Create": "", "Create": "",
"cancel": "" "cancel": ""
@@ -180,7 +180,7 @@
}, },
"rows": "", "rows": "",
"table": { "table": {
"Actions": "" "Actions": "Action"
}, },
"tree": { "tree": {
"Empty": "Empty", "Empty": "Empty",
@@ -344,18 +344,18 @@
"WebFTP": "" "WebFTP": ""
}, },
"sessions": { "sessions": {
"StorageConfiguration": "", "StorageConfiguration": "Storage configuration",
"accountKey": "Account key", "accountKey": "Account key",
"accountName": "Account name", "accountName": "Account name",
"active": "", "active": "active",
"alive": "", "alive": "alive",
"asset": "Asset", "asset": "Asset",
"bucket": "Bucket", "bucket": "Bucket",
"command": "Command", "command": "Command",
"commandStorage": "Command storage", "commandStorage": "Command storage",
"comment": "Comment:", "comment": "Comment:",
"containerName": "Container name", "containerName": "Container name",
"date": "", "date": "Datetime",
"dateCreated": "Date created:", "dateCreated": "Date created:",
"dateEnd": "Date end", "dateEnd": "Date end",
"dateStart": "Date start", "dateStart": "Date start",
@@ -369,7 +369,7 @@
"goto": "Goto", "goto": "Goto",
"hosts": "Hosts", "hosts": "Hosts",
"httpPort": "Http port:", "httpPort": "Http port:",
"id": "", "id": "ID",
"index": "Index", "index": "Index",
"info": "", "info": "",
"join": "join", "join": "join",
@@ -377,7 +377,7 @@
"name": "Name:", "name": "Name:",
"protocol": "Protocol", "protocol": "Protocol",
"quickModify": "Quick Modify", "quickModify": "Quick Modify",
"region": "", "region": "Region",
"remoteAddr": "Remote addr", "remoteAddr": "Remote addr",
"replay": "replay", "replay": "replay",
"replaySession": "Replay session:", "replaySession": "Replay session:",
@@ -392,7 +392,9 @@
"terminate": "Terminate", "terminate": "Terminate",
"test": "Test", "test": "Test",
"type": "Type", "type": "Type",
"user": "Use" "user": "Use",
"createReplayStorage": "Create replay storage",
"createCommandStorage": "Create command storage"
}, },
"setting": { "setting": {
"Basic": "Basic setting", "Basic": "Basic setting",

View File

@@ -75,7 +75,9 @@ export default {
label: this.$t('sessions.go') label: this.$t('sessions.go')
}, },
callbacks: { callbacks: {
click: this.openReplaySession(this.sessionData.id) click: function() {
this.openReplaySession(this.sessionData.id)
}
} }
}, },
@@ -86,7 +88,9 @@ export default {
label: this.$t('sessions.download') label: this.$t('sessions.download')
}, },
callbacks: { callbacks: {
click: this.openReplayDownload(this.sessionData.id) click: function() {
this.openReplayDownload(this.sessionData.id)
}
} }
} }
] ]

View File

@@ -33,7 +33,7 @@ export default {
callback: this.createEs.bind(this) callback: this.createEs.bind(this)
} }
], ],
moreActionsTitle: '创建' moreActionsTitle: this.$t('sessions.createCommandStorage')
}, },
commandTableConfig: { commandTableConfig: {
title: 'command', title: 'command',

View File

@@ -18,7 +18,7 @@ export default {
hasBulkDelete: false, hasBulkDelete: false,
hasBulkUpdate: false, hasBulkUpdate: false,
hasCreate: false, hasCreate: false,
moreActionsTitle: '创建', moreActionsTitle: this.$t('sessions.createReplayStorage'),
extraMoreActions: [ extraMoreActions: [
{ {
name: 'S3', name: 'S3',