mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 15:19:25 +00:00
Merge pull request #3131 from jumpserver/pr@dev@ticket_session
fix: 工单命令复核 session 404
This commit is contained in:
@@ -51,7 +51,7 @@ export default {
|
|||||||
key: this.$t('tickets.ApplyFromSession'),
|
key: this.$t('tickets.ApplyFromSession'),
|
||||||
value: object.apply_from_session,
|
value: object.apply_from_session,
|
||||||
formatter: function(item, value) {
|
formatter: function(item, value) {
|
||||||
const to = { name: 'SessionDetail', params: { id: value }, query: { oid: object.org_id }}
|
const to = { name: 'SessionDetail', params: { id: value?.id }, query: { oid: object.org_id }}
|
||||||
if (!this.$hasPerm('terminal.view_session')) {
|
if (!this.$hasPerm('terminal.view_session')) {
|
||||||
return <span>{this.$t('sessions.session')}</span>
|
return <span>{this.$t('sessions.session')}</span>
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user