SMS hotfix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
43b416e640
commit
03e77685a1
|
@ -28,8 +28,11 @@ class Controller extends Section {
|
|||
if (!value) return;
|
||||
|
||||
this.loadData().then(() => {
|
||||
if (this.$params.sendSMS)
|
||||
this.showSMSDialog();
|
||||
if (this.$params.sendSMS) {
|
||||
this.showSMSDialog({
|
||||
message: this.$params.message
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
module="ticket"
|
||||
description="$ctrl.ticket.client.name">
|
||||
<slot-dot-menu>
|
||||
<vn-ticket-descriptor-menu ticket-id="$ctrl.ticket.id" parent-reload="$ctrl.cardReload()"/>
|
||||
<vn-ticket-descriptor-menu
|
||||
vn-id="descriptorMenu"
|
||||
ticket-id="$ctrl.ticket.id"
|
||||
parent-reload="$ctrl.cardReload()"
|
||||
/>
|
||||
</slot-dot-menu>
|
||||
<slot-body>
|
||||
<div class="attributes">
|
||||
|
|
|
@ -19,7 +19,11 @@
|
|||
ng-click="$ctrl.setOkState()"
|
||||
vn-tooltip="Change ticket state to 'Ok'">
|
||||
</vn-button>
|
||||
<vn-ticket-descriptor-menu ticket-id="$ctrl.summary.id" parent-reload="$ctrl.reload()"/>
|
||||
<vn-ticket-descriptor-menu
|
||||
ng-if="!$ctrl.isTicketModule"
|
||||
ticket-id="$ctrl.summary.id"
|
||||
parent-reload="$ctrl.reload()"
|
||||
/>
|
||||
</h5>
|
||||
<vn-horizontal>
|
||||
<vn-one>
|
||||
|
|
|
@ -40,6 +40,11 @@ class Controller extends Summary {
|
|||
});
|
||||
}
|
||||
|
||||
get isTicketModule() {
|
||||
const path = this.$state.getCurrentPath()[1];
|
||||
return path.state.name === 'ticket';
|
||||
}
|
||||
|
||||
get isEditable() {
|
||||
try {
|
||||
return !this.ticket.ticketState.state.alertLevel;
|
||||
|
|
Loading…
Reference in New Issue