mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-21 23:59:22 +00:00
perf: ticket translate
This commit is contained in:
@@ -79,14 +79,12 @@ export default {
|
|||||||
},
|
},
|
||||||
type: {
|
type: {
|
||||||
label: this.$t('Type'),
|
label: this.$t('Type'),
|
||||||
width: '160px',
|
|
||||||
formatter: row => {
|
formatter: row => {
|
||||||
return row.type.label
|
return row.type.label
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '90px',
|
|
||||||
sortable: 'custom',
|
sortable: 'custom',
|
||||||
formatter: TagChoicesFormatter,
|
formatter: TagChoicesFormatter,
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
@@ -105,7 +103,6 @@ export default {
|
|||||||
state: {
|
state: {
|
||||||
label: this.$t('Action'),
|
label: this.$t('Action'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '90px',
|
|
||||||
sortable: 'custom',
|
sortable: 'custom',
|
||||||
formatter: TagChoicesFormatter,
|
formatter: TagChoicesFormatter,
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
@@ -126,8 +123,7 @@ export default {
|
|||||||
date_created: {
|
date_created: {
|
||||||
label: this.$t('Date'),
|
label: this.$t('Date'),
|
||||||
sortable: 'custom',
|
sortable: 'custom',
|
||||||
formatter: (row) => toSafeLocalDateStr(row.date_created),
|
formatter: (row) => toSafeLocalDateStr(row.date_created)
|
||||||
width: '160px'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user