feat(ticket): change default ticketUpdateOption for salesAssistant
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
02e651eac8
commit
8a5ed6782a
|
@ -24,6 +24,8 @@ class Controller extends Component {
|
||||||
|
|
||||||
loadDefaultTicketAction() {
|
loadDefaultTicketAction() {
|
||||||
let filter = {where: {code: 'changePrice'}};
|
let filter = {where: {code: 'changePrice'}};
|
||||||
|
if (this.aclService.hasAny(['salesAssistant']))
|
||||||
|
filter = {where: {code: 'turnInMana'}};
|
||||||
|
|
||||||
this.$http.get(`TicketUpdateActions`, {filter}).then(response => {
|
this.$http.get(`TicketUpdateActions`, {filter}).then(response => {
|
||||||
return this.ticket.option = response.data[0].id;
|
return this.ticket.option = response.data[0].id;
|
||||||
|
|
Loading…
Reference in New Issue