merge: with dev

This commit is contained in:
ibuler 2020-06-02 16:13:29 +08:00
commit c4c64c1e90
12 changed files with 47 additions and 49 deletions

View File

@ -348,83 +348,82 @@
"": "" "": ""
}, },
"route": { "route": {
"": "",
"AdminUserCreate": "Admin user create", "AdminUserCreate": "Admin user create",
"AdminUserDetail": "", "AdminUserDetail": "Admin user detail",
"AdminUserList": "Admin users", "AdminUserList": "Admin users",
"AdminUserUpdate": "", "AdminUserUpdate": "Admin user update",
"Applications": "Applications", "Applications": "Applications",
"AssetCreate": "", "AssetCreate": "Asset create",
"AssetDetail": "", "AssetDetail": "Asset detail",
"AssetList": "Assets", "AssetList": "Assets",
"AssetPermission": "Asset permissions", "AssetPermission": "Asset permissions",
"AssetPermissionCreate": "Asset permissions create", "AssetPermissionCreate": "Asset permissions create",
"AssetPermissionDetail": "Asset permissions detail", "AssetPermissionDetail": "Asset permissions detail",
"AssetPermissionUpdate": "Asset permissions update", "AssetPermissionUpdate": "Asset permissions update",
"AssetUpdate": "", "AssetUpdate": "Asset update",
"Assets": "Assets", "Assets": "Assets",
"Audits": "Audits", "Audits": "Audits",
"BatchCommand": "Batch command", "BatchCommand": "Batch command",
"CeleryTaskLog": "", "CeleryTaskLog": "Celery task log",
"CommandExecutions": "", "CommandExecutions": "CommandExecutions ",
"CommandFilterCreate": "\\u521b\\u5efa\\u547d\\u4ee4\\u8fc7\\u6ee4\\u5668", "CommandFilterCreate": "Command filter create",
"CommandFilterDetail": "", "CommandFilterDetail": "Command filter detail",
"CommandFilterList": "Command filters", "CommandFilterList": "Command filters",
"CommandFilterRulesCreate": " \\u521b\\u5efa\\u547d\\u4ee4\\u8fc7\\u6ee4\\u5668\\u89c4\\u5219", "CommandFilterRulesCreate": "Command filter rules create",
"CommandFilterRulesUpdate": "", "CommandFilterRulesUpdate": "Command filter rules update",
"CommandFilterUpdate": "\\u66f4\\u65b0\\u547d\\u4ee4\\u8fc7\\u6ee4\\u5668", "CommandFilterUpdate": "Command filter update",
"CommandStorageUpdate": "Command storage update", "CommandStorageUpdate": "Command storage update",
"Commands": "Commands", "Commands": "Commands",
"CreateCommandStorage": "Create command storage", "CreateCommandStorage": "Create command storage",
"CreateReplayStorage": "Create replay storage", "CreateReplayStorage": "Create replay storage",
"Dashboard": "Dashboard", "Dashboard": "Dashboard",
"DatabaseApp": "Database apps", "DatabaseApp": "Database apps",
"DatabaseAppCreate": "", "DatabaseAppCreate": "Database app create",
"DatabaseAppDetail": "Database app detail", "DatabaseAppDetail": "Database app detail",
"DatabaseAppPermission": "Databases permissions", "DatabaseAppPermission": "Databases permissions",
"DatabaseAppPermissionCreate": "Databases permissions create", "DatabaseAppPermissionCreate": "Databases permissions create",
"DatabaseAppPermissionDetail": "Databases permissions detail", "DatabaseAppPermissionDetail": "Databases permissions detail",
"DatabaseAppPermissionUpdate": "Databases permissions update", "DatabaseAppPermissionUpdate": "Databases permissions update",
"DatabaseAppUpdate": "", "DatabaseAppUpdate": "Database app update",
"DomainCreate": "", "DomainCreate": "Domain create",
"DomainDetail": "", "DomainDetail": "Domain detail",
"DomainList": "Domains", "DomainList": "Domains",
"DomainUpdate": "", "DomainUpdate": "Domain update",
"FileManager": "File manager", "FileManager": "File manager",
"FtpLog": "FTP logs", "FtpLog": "FTP logs",
"GatewayCreate": "", "GatewayCreate": "Gateway create",
"GatewayUpdate": "", "GatewayUpdate": "Gateway update",
"JobCenter": "Job center", "JobCenter": "Job center",
"LabelCreate": "\\u521b\\u5efa\\u6807\\u7b7e", "LabelCreate": "Label create",
"LabelList": "Labels", "LabelList": "Labels",
"LabelUpdate": "\\u66f4\\u65b0\\u6807\\u7b7e", "LabelUpdate": "Label update",
"LoginLog": "Login logs", "LoginLog": "Login logs",
"MyApps": "", "MyApps": "My apps",
"MyAssets": "", "MyAssets": "My assets",
"OperateLog": "Operation logs", "OperateLog": "Operation logs",
"PasswordChangeLog": "Password update logs", "PasswordChangeLog": "Password update logs",
"Perms": "Permissions", "Perms": "Permissions",
"PlatformCreate": "\\u521b\\u5efa\\u7cfb\\u7edf\\u5e73\\u53f0", "PlatformCreate": "Platform create",
"PlatformDetail": "", "PlatformDetail": "Platform detail",
"PlatformList": "Platforms", "PlatformList": "Platforms",
"PlatformUpdate": "\\u66f4\\u65b0\\u7cfb\\u7edf\\u5e73\\u53f0", "PlatformUpdate": "Platform update",
"RemoteApp": "Remote apps", "RemoteApp": "Remote apps",
"RemoteAppDetail": "Remote app detail", "RemoteAppDetail": "Remote app detail",
"RemoteAppPermission": "Remote apps permissions", "RemoteAppPermission": "Remote apps permissions",
"RemoteAppPermissionCreate": "Remote apps permission create", "RemoteAppPermissionCreate": "Remote apps permission create",
"RemoteAppPermissionDetail": "Remote apps permissions detail", "RemoteAppPermissionDetail": "Remote apps permissions detail",
"RemoteAppPermissionUpdate": "Remote app permission update", "RemoteAppPermissionUpdate": "Remote app permission update",
"RemoteAppUpdate": "", "RemoteAppUpdate": "Remote app update",
"ReplayStorageUpdate": "Replay storage update", "ReplayStorageUpdate": "Replay storage update",
"SessionDetail": "Sessions detail", "SessionDetail": "Sessions detail",
"SessionOffline": "Sessions offline", "SessionOffline": "Sessions offline",
"SessionOnline": "Sessions online", "SessionOnline": "Sessions online",
"Sessions": "Sessions", "Sessions": "Sessions",
"Settings": "Settings", "Settings": "Settings",
"SystemUserCreate": "\\u521b\\u5efa\\u7cfb\\u7edf\\u7528\\u6237", "SystemUserCreate": "System user create",
"SystemUserDetail": "\\u7cfb\\u7edf\\u7528\\u6237\\u8be6\\u60c5", "SystemUserDetail": "System user detail",
"SystemUserList": "System users", "SystemUserList": "System users",
"SystemUserUpdate": "\\u66f4\\u65b0\\u7cfb\\u7edf\\u7528\\u6237", "SystemUserUpdate": "System user update",
"TaskDetail": "Tasks detail", "TaskDetail": "Tasks detail",
"TaskList": "Tasks", "TaskList": "Tasks",
"Terminal": "Terminal", "Terminal": "Terminal",
@ -435,12 +434,12 @@
"UserGroupCreate": "User group create", "UserGroupCreate": "User group create",
"UserGroupDetail": "User group detail", "UserGroupDetail": "User group detail",
"UserGroupList": "User groups", "UserGroupList": "User groups",
"UserGroupUpdate": "", "UserGroupUpdate": "User group update",
"UserList": "Users", "UserList": "Users",
"UserProfile": "", "UserProfile": "User profile",
"UserUpdate": "User update", "UserUpdate": "User update",
"Users": "Users", "Users": "Users",
"WebFTP": "", "WebFTP": "WebFTP",
"WebTerminal": "Web terminal", "WebTerminal": "Web terminal",
"BatchCommandLog": "Batch command log" "BatchCommandLog": "Batch command log"
}, },

View File

@ -55,7 +55,7 @@ export default {
{ {
title: this.$t('users.ResetAndDownloadSSHKey'), title: this.$t('users.ResetAndDownloadSSHKey'),
callback: function() { callback: function() {
window.open(`/users/profile/pubkey/generate/`, '_blank') window.open(`/core/users/profile/pubkey/generate/`, '_blank')
} }
} }
] ]

View File

@ -67,7 +67,7 @@ export default {
this.$axios.get( this.$axios.get(
`api/v1/assets/admin-users/${this.object.id}/connective/` `api/v1/assets/admin-users/${this.object.id}/connective/`
).then(res => { ).then(res => {
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
} }
) )
}.bind(this) }.bind(this)
@ -123,7 +123,7 @@ export default {
`api/v1/assets/asset-users/tasks/?id=${val.cellValue}`, `api/v1/assets/asset-users/tasks/?id=${val.cellValue}`,
{ action: 'test' } { action: 'test' }
).then(res => { ).then(res => {
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
}) })
} }
}, },

View File

@ -42,7 +42,7 @@ export default {
{ action: 'test' } { action: 'test' }
).then(res => { ).then(res => {
console.log(`/ops/celery/task/${res.task}/log/`) console.log(`/ops/celery/task/${res.task}/log/`)
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
} }
) )
}.bind(this) }.bind(this)

View File

@ -64,7 +64,7 @@ export default {
`/api/v1/assets/assets/${this.object.id}/tasks/`, `/api/v1/assets/assets/${this.object.id}/tasks/`,
{ action: 'refresh' } { action: 'refresh' }
).then(res => { ).then(res => {
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
} }
) )
}.bind(this) }.bind(this)
@ -82,7 +82,7 @@ export default {
`/api/v1/assets/assets/${this.object.id}/tasks/`, `/api/v1/assets/assets/${this.object.id}/tasks/`,
{ action: 'test' } { action: 'test' }
).then(res => { ).then(res => {
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
} }
) )
}.bind(this) }.bind(this)

View File

@ -110,7 +110,7 @@ export default {
`api/v1/assets/system-users/${this.object.id}/tasks/`, `api/v1/assets/system-users/${this.object.id}/tasks/`,
{ action: 'test' } { action: 'test' }
).then(res => { ).then(res => {
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
} }
) )
}.bind(this) }.bind(this)
@ -166,7 +166,7 @@ export default {
`api/v1/assets/asset-users/tasks/?id=${val.cellValue}`, `api/v1/assets/asset-users/tasks/?id=${val.cellValue}`,
{ action: 'test' } { action: 'test' }
).then(res => { ).then(res => {
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
}) })
} }
}, },

View File

@ -64,7 +64,7 @@ export default {
] ]
}, },
headerActions: { headerActions: {
// hasBulkDelete: false, hasBulkDelete: false,
hasMoreActions: false, hasMoreActions: false,
createRoute: 'SystemUserCreate' createRoute: 'SystemUserCreate'
}, },

View File

@ -19,7 +19,7 @@ export default {
], ],
columnsMeta: { columnsMeta: {
remote_addr: { remote_addr: {
width: '130px' width: '140px'
}, },
operate: { operate: {
width: '90px' width: '90px'

View File

@ -39,9 +39,8 @@ export default {
}, },
headerActions: { headerActions: {
hasLeftActions: false, hasLeftActions: false,
hasDatePicker: true,
hasImport: false, hasImport: false,
hasRefresh: false hasDatePicker: true
} }
} }
} }

View File

@ -43,7 +43,7 @@ export default {
callbacks: { callbacks: {
click: function() { click: function() {
const taskId = vm.object.id const taskId = vm.object.id
window.open(`/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600')
} }
} }
} }

View File

@ -43,7 +43,7 @@ export default {
callbacks: { callbacks: {
click: function() { click: function() {
const taskId = vm.object.latest_execution.id const taskId = vm.object.latest_execution.id
window.open(`/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600')
} }
} }
} }

View File

@ -72,7 +72,7 @@ export default {
this.$axios.get( this.$axios.get(
`/api/v1/ops/tasks/${cellValue}/run/` `/api/v1/ops/tasks/${cellValue}/run/`
).then(res => { ).then(res => {
window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600')
}) })
} }
} }