Merge branch 'dev' of github.com:jumpserver/lina into dev

This commit is contained in:
ibuler 2020-06-04 16:00:21 +08:00
commit a0e1baf4fa
5 changed files with 19 additions and 10 deletions

View File

@ -452,7 +452,7 @@
"WebFTP": "文件管理", "WebFTP": "文件管理",
"WebTerminal": "Web终端", "WebTerminal": "Web终端",
"BatchCommandLog": "批量命令", "BatchCommandLog": "批量命令",
"": "" "TaskMonitor": "任务监控"
}, },
"sessions": { "sessions": {
"StorageConfiguration": "存储配置", "StorageConfiguration": "存储配置",
@ -622,7 +622,9 @@
"consult": "咨询", "consult": "咨询",
"ImportLicense": "导入许可证", "ImportLicense": "导入许可证",
"AssetCount": "资产数量", "AssetCount": "资产数量",
"ImportLicenseTip": "请导入许可证" "ImportLicenseTip": "请导入许可证",
"all": "全部",
"auto": "自动"
}, },
"settings": { "settings": {
"setting": "" "setting": ""
@ -765,8 +767,8 @@
"DateJoined": "创建日期", "DateJoined": "创建日期",
"DateUpdated": "更新日期", "DateUpdated": "更新日期",
"ManualExecutePlan": "手动执行计划", "ManualExecutePlan": "手动执行计划",
"addAsset": "添加资产", "AddAsset": "添加资产",
"addNode": "添加节点", "AddNode": "添加节点",
"Result": "结果", "Result": "结果",
"TimeDelta": "运行时间", "TimeDelta": "运行时间",
"DateStart": "开始日期", "DateStart": "开始日期",

View File

@ -448,7 +448,8 @@
"Users": "Users", "Users": "Users",
"WebFTP": "WebFTP", "WebFTP": "WebFTP",
"WebTerminal": "Web terminal", "WebTerminal": "Web terminal",
"BatchCommandLog": "Batch command log" "BatchCommandLog": "Batch command log",
"TaskMonitor": "Task monitor"
}, },
"sessions": { "sessions": {
"StorageConfiguration": "Storage configuration", "StorageConfiguration": "Storage configuration",
@ -614,8 +615,8 @@
"AssetCount": "Asset count", "AssetCount": "Asset count",
"ImportLicenseTip": "Please Import License", "ImportLicenseTip": "Please Import License",
"ApiKeyList": "Api key list", "ApiKeyList": "Api key list",
"DateCreated": "", "all": "All",
"Create": "" "auto": "Auto"
}, },
"settings": { "settings": {
"setting": "" "setting": ""

View File

@ -40,5 +40,11 @@ export default [
name: 'CeleryTaskLog', name: 'CeleryTaskLog',
hidden: true, hidden: true,
meta: { title: i18n.t('route.CeleryTaskLog') } meta: { title: i18n.t('route.CeleryTaskLog') }
},
{
path: 'task/monitor',
name: 'TaskMonitor',
component: () => window.open(`/core/flower?_=${Date.now()}`),
meta: { title: i18n.t('route.TaskMonitor') }
} }
] ]

View File

@ -71,8 +71,8 @@ export default {
label: this.$t('setting.terminalAssetListPageSize'), label: this.$t('setting.terminalAssetListPageSize'),
type: 'select', type: 'select',
options: [ options: [
{ label: 'All', value: 'all' }, { label: this.$t('setting.all'), value: 'all' },
{ label: 'Auto', value: 'auto' }, { label: this.$t('setting.auto'), value: 'auto' },
{ label: '10', value: '10' }, { label: '10', value: '10' },
{ label: '15', value: '15' }, { label: '15', value: '15' },
{ label: '25', value: '25' }, { label: '25', value: '25' },

View File

@ -3,7 +3,7 @@
<table style="width: 100%"> <table style="width: 100%">
<tr> <tr>
<td colspan="2"> <td colspan="2">
<AssetSelect ref="assetSelect" @getAsset="getAsset" /> <AssetSelect ref="assetSelect" @change="getAsset" />
</td> </td>
</tr> </tr>
<tr> <tr>