Преглед на файлове

Tickets v1 (wip) - Mega logic fixes

Vijayakrishnan преди 4 години
родител
ревизия
be6b23852b
променени са 2 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 4 4
      resources/views/app/patient/tickets.blade.php
  2. 2 2
      resources/views/app/patient/tickets/lab.blade.php

+ 4 - 4
resources/views/app/patient/tickets.blade.php

@@ -252,7 +252,7 @@
                                 this.erxPopupItem.data.comments = [];
                             }
                             this.erxPopupItem.data.comments.push(comment);
-                            this.erxAutoSave();
+                            this.erxSavePopupItem(true);
                         },
                         labShowPopup: function(_item) {
                             this.labPopupMode = _item ? 'edit' : 'add';
@@ -321,7 +321,7 @@
                                 this.labPopupItem.data.comments = [];
                             }
                             this.labPopupItem.data.comments.push(comment);
-                            this.labAutoSave();
+                            this.labSavePopupItem(true);
                         },
                         imagingShowPopup: function(_item) {
                             this.imagingPopupMode = _item ? 'edit' : 'add';
@@ -390,7 +390,7 @@
                                 this.imagingPopupItem.data.comments = [];
                             }
                             this.imagingPopupItem.data.comments.push(comment);
-                            this.imagingAutoSave();
+                            this.imagingSavePopupItem(true);
                         },
                         equipmentShowPopup: function(_item) {
                             this.equipmentPopupMode = _item ? 'edit' : 'add';
@@ -458,7 +458,7 @@
                                 this.equipmentPopupItem.data.comments = [];
                             }
                             this.equipmentPopupItem.data.comments.push(comment);
-                            this.equipmentAutoSave();
+                            this.equipmentSavePopupItem(true);
                         },
 
                         // common

+ 2 - 2
resources/views/app/patient/tickets/lab.blade.php

@@ -162,7 +162,7 @@
                         <span class="text-sm mx-2 text-secondary">|</span>
                         <a href="#" class="text-sm" v-on:click.prevent="labPopupItem.data.tests.push('')">Add</a>
                     </div>
-                    <div class="d-flex align-items-center mb-2" v-for="(test, testIndex) in labPopupItem.data.tests">
+                    <div class="d-flex align-items-center mb-0" v-for="(test, testIndex) in labPopupItem.data.tests">
                         <div class="position-relative flex-grow-1">
                             <input required type="text" data-option-list v-model="labPopupItem.data.tests[testIndex]" class="form-control form-control-sm" placeholder="Test">
                             <div class="data-option-list">
@@ -189,7 +189,7 @@
                         <span class="text-sm mx-2 text-secondary">|</span>
                         <a href="#" class="text-sm" v-on:click.prevent="labAddICD()">Add</a>
                     </div>
-                    <div class="d-flex align-items-center mb-2" v-for="(icd, icdIndex) in labPopupItem.data.icds">
+                    <div class="d-flex align-items-center mb-0" v-for="(icd, icdIndex) in labPopupItem.data.icds">
                         <div class="position-relative flex-grow-1">
                             <input required type="text" data-field="icd" :data-index="icdIndex" placeholder="ICD"
                                    v-model="labPopupItem.data.icds[icdIndex]" class="form-control form-control-sm">