mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
perf: 优化 ops 任务名称,支持 i18n
This commit is contained in:
@@ -15,10 +15,18 @@ export default {
|
||||
return {
|
||||
tableConfig: {
|
||||
url: '/api/v1/ops/tasks/',
|
||||
columns: ['name', 'runtimes', 'host_amount', 'is_success', 'date_start', 'time', 'actions'],
|
||||
columns: [
|
||||
'name', 'runtimes', 'host_amount', 'is_success',
|
||||
'date_start', 'time', 'actions'
|
||||
],
|
||||
columnsMeta: {
|
||||
name: {
|
||||
showOverflowTooltip: true
|
||||
showOverflowTooltip: true,
|
||||
formatterArgs: {
|
||||
getTitle({ row }) {
|
||||
return row['display_name']
|
||||
}
|
||||
}
|
||||
},
|
||||
runtimes: {
|
||||
label: this.$t('ops.runTimes'),
|
||||
|
||||
Reference in New Issue
Block a user