|
@@ -483,14 +483,28 @@
|
|
uid: _item.uid
|
|
uid: _item.uid
|
|
}, (_data) => {
|
|
}, (_data) => {
|
|
this.reloadPopupItem(this.currentCategory);
|
|
this.reloadPopupItem(this.currentCategory);
|
|
- });
|
|
|
|
|
|
+ }, 'json');
|
|
},
|
|
},
|
|
openItem: function(_item) {
|
|
openItem: function(_item) {
|
|
$.post('/api/ticket/open', {
|
|
$.post('/api/ticket/open', {
|
|
uid: _item.uid
|
|
uid: _item.uid
|
|
}, (_data) => {
|
|
}, (_data) => {
|
|
this.reloadPopupItem(this.currentCategory);
|
|
this.reloadPopupItem(this.currentCategory);
|
|
- });
|
|
|
|
|
|
+ }, 'json');
|
|
|
|
+ },
|
|
|
|
+ signAsOrderingPro: function(_item) {
|
|
|
|
+ $.post('/api/ticket/signAsOrderingPro', {
|
|
|
|
+ uid: _item.uid
|
|
|
|
+ }, (_data) => {
|
|
|
|
+ this.reloadPopupItem(this.currentCategory);
|
|
|
|
+ }, 'json');
|
|
|
|
+ },
|
|
|
|
+ undoSignAsOrderingPro: function(_item) {
|
|
|
|
+ $.post('/api/ticket/undoSignAsOrderingPro', {
|
|
|
|
+ uid: _item.uid
|
|
|
|
+ }, (_data) => {
|
|
|
|
+ this.reloadPopupItem(this.currentCategory);
|
|
|
|
+ }, 'json');
|
|
},
|
|
},
|
|
initRxAutoSuggest: function() {
|
|
initRxAutoSuggest: function() {
|
|
let self = this;
|
|
let self = this;
|