fix: ticket bug

This commit is contained in:
feng626
2022-07-13 15:47:36 +08:00
parent 732788ac72
commit 1b86b4e4cd
2 changed files with 4 additions and 2 deletions

View File

@@ -39,8 +39,10 @@ export default {
return 'AssetsTicketDetail'
} else if (row.type === 'apply_application') {
return 'AppsTicketDetail'
} else if (row.type === 'login_asset_confirm' || row.type === 'login_confirm') {
} else if (row.type === 'login_asset_confirm') {
return 'LoginAssetTicketDetail'
} else if (row.type === 'login_confirm') {
return 'LoginTicketDetail'
} else if (row.type === 'command_confirm') {
return 'CommandConfirmDetail'
} else {

View File

@@ -51,7 +51,7 @@ export default {
const ticketRouteMapper = {
'apply_asset': 'AssetsTicketDetail',
'apply_application': 'AppsTicketDetail',
'login_confirm': 'LoginAssetTicketDetail',
'login_confirm': 'LoginTicketDetail',
'login_asset_confirm': 'LoginAssetTicketDetail',
'command_confirm': 'CommandConfirmDetail'
}