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;
|
if (!value) return;
|
||||||
|
|
||||||
this.loadData().then(() => {
|
this.loadData().then(() => {
|
||||||
if (this.$params.sendSMS)
|
if (this.$params.sendSMS) {
|
||||||
this.showSMSDialog();
|
this.showSMSDialog({
|
||||||
|
message: this.$params.message
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,11 @@
|
||||||
module="ticket"
|
module="ticket"
|
||||||
description="$ctrl.ticket.client.name">
|
description="$ctrl.ticket.client.name">
|
||||||
<slot-dot-menu>
|
<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-dot-menu>
|
||||||
<slot-body>
|
<slot-body>
|
||||||
<div class="attributes">
|
<div class="attributes">
|
||||||
|
|
|
@ -19,7 +19,11 @@
|
||||||
ng-click="$ctrl.setOkState()"
|
ng-click="$ctrl.setOkState()"
|
||||||
vn-tooltip="Change ticket state to 'Ok'">
|
vn-tooltip="Change ticket state to 'Ok'">
|
||||||
</vn-button>
|
</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>
|
</h5>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<vn-one>
|
<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() {
|
get isEditable() {
|
||||||
try {
|
try {
|
||||||
return !this.ticket.ticketState.state.alertLevel;
|
return !this.ticket.ticketState.state.alertLevel;
|
||||||
|
|
Loading…
Reference in New Issue