mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-30 12:55:37 +00:00
perf: 工单页面去掉一些筛选字段
This commit is contained in:
parent
28062f5d60
commit
bf0d19ac0b
@ -71,7 +71,7 @@ export default {
|
||||
}
|
||||
},
|
||||
applicant: {
|
||||
label: this.$t('tickets.user'),
|
||||
label: this.$t('tickets.Applicant'),
|
||||
sortable: 'custom',
|
||||
formatter: row => {
|
||||
return row['rel_snapshot'].applicant
|
||||
@ -137,8 +137,16 @@ export default {
|
||||
canCreate: this.$hasPerm('tickets.view_ticket'),
|
||||
hasBulkDelete: false,
|
||||
searchConfig: {
|
||||
exclude: ['id', 'title', 'type'],
|
||||
exclude: ['id', 'title', 'type', 'applicant'],
|
||||
options: [
|
||||
{
|
||||
value: 'id',
|
||||
label: 'ID'
|
||||
},
|
||||
{
|
||||
value: 'title',
|
||||
label: this.$t('tickets.title')
|
||||
},
|
||||
{
|
||||
value: 'type',
|
||||
label: this.$t('assets.Type'),
|
||||
@ -163,25 +171,13 @@ export default {
|
||||
]
|
||||
},
|
||||
{
|
||||
value: 'id',
|
||||
label: 'ID'
|
||||
},
|
||||
{
|
||||
value: 'title',
|
||||
label: this.$t('tickets.title')
|
||||
},
|
||||
{
|
||||
value: 'relevant_app',
|
||||
label: this.$t('tickets.RelevantApp')
|
||||
value: 'applicant',
|
||||
label: this.$t('tickets.Applicant')
|
||||
},
|
||||
{
|
||||
value: 'relevant_asset',
|
||||
label: this.$t('tickets.RelevantAsset')
|
||||
},
|
||||
{
|
||||
value: 'relevant_system_user',
|
||||
label: this.$t('tickets.RelevantCommand')
|
||||
},
|
||||
{
|
||||
value: 'relevant_command',
|
||||
label: this.$t('tickets.RelevantSystemUser')
|
||||
|
Loading…
Reference in New Issue
Block a user