perf: 工单页面去掉一些筛选字段

This commit is contained in:
wangruidong 2024-03-28 18:28:11 +08:00 committed by w940853815
parent 28062f5d60
commit bf0d19ac0b

View File

@ -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')