mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-30 05:42:19 +00:00
fix: 合并后的bug
This commit is contained in:
@@ -27,7 +27,7 @@ export default {
|
||||
}
|
||||
],
|
||||
actions: {
|
||||
detailApiUrl: `/api/v1/tickets/tickets/${this.$route.params.id}/`
|
||||
detailApiUrl: `/api/v1/tickets/apply-command-tickets/${this.$route.params.id}/`
|
||||
},
|
||||
getObjectName: this.getObjectName,
|
||||
hasRightSide: false
|
||||
|
||||
@@ -27,7 +27,7 @@ export default {
|
||||
}
|
||||
],
|
||||
actions: {
|
||||
detailApiUrl: `/api/v1/tickets/tickets/${this.$route.params.id}/`
|
||||
detailApiUrl: `/api/v1/tickets/apply-login-asset-tickets/${this.$route.params.id}/`
|
||||
},
|
||||
getObjectName: this.getObjectName,
|
||||
hasRightSide: false
|
||||
|
||||
@@ -144,9 +144,9 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
url: '/api/v1/tickets/tickets/?type=apply_application&action=open',
|
||||
url: '/api/v1/tickets/apply-app-tickets/?state=pending',
|
||||
createSuccessNextRoute: {
|
||||
name: 'TicketList'
|
||||
name: 'MyTicketList'
|
||||
},
|
||||
cleanFormValue(value) {
|
||||
const applications = value.apply_applications
|
||||
@@ -183,7 +183,7 @@ export default {
|
||||
validValues.apply_category = filter(0, 'apply_category')
|
||||
validValues.apply_type = filter(1, 'apply_type')
|
||||
delete validValues['apply_category_type']
|
||||
return this.$axios['post'](`/api/v1/tickets/tickets/open/?type=apply_application`, validValues)
|
||||
return this.$axios['post'](`/api/v1/tickets/apply-app-tickets/open/`, validValues)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ export default {
|
||||
}
|
||||
],
|
||||
actions: {
|
||||
detailApiUrl: `/api/v1/tickets/tickets/${this.$route.params.id}/`
|
||||
detailApiUrl: `/api/v1/tickets/apply-app-tickets/${this.$route.params.id}/`
|
||||
},
|
||||
getObjectName: this.getObjectName,
|
||||
hasRightSide: false
|
||||
|
||||
@@ -116,9 +116,9 @@ export default {
|
||||
})
|
||||
return value
|
||||
},
|
||||
url: '/api/v1/tickets/apply-asset-tickets/?action=open',
|
||||
url: '/api/v1/tickets/apply-asset-tickets/?state=pending',
|
||||
createSuccessNextRoute: {
|
||||
name: 'TicketList'
|
||||
name: 'MyTicketList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -33,7 +33,7 @@ export default {
|
||||
return [
|
||||
{
|
||||
key: this.$t('tickets.Applicant'),
|
||||
value: this.object.applicant_display
|
||||
value: this.object.rel_snapshot.applicant
|
||||
},
|
||||
{
|
||||
key: this.$t('tickets.type'),
|
||||
|
||||
Reference in New Issue
Block a user