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