fix: 合并后的bug

This commit is contained in:
feng626
2022-06-02 13:23:57 +08:00
parent db67aa9b39
commit 9dd89fe7ae
6 changed files with 9 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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

View File

@@ -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'
}
}
},

View File

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