Commit 945cc2d12909a8d8191f02ef0dff16e33e20fa8a
1 parent
5f2dd99ed8
Exists in
master
and in
3 other branches
somrthing changes & set session logout expire token
Showing
4 changed files
with
16 additions
and
61 deletions
Show diff stats
src/event.js
src/pages/Dashboard.vue
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | <v-toolbar-title class="ml-0 pl-3"> |
9 | 9 | <v-toolbar-side-icon @click.stop="handleDrawerToggle" class="hide"></v-toolbar-side-icon> |
10 | 10 | </v-toolbar-title> |
11 | - <!-- SEARCH ALL EXISTING USERS --> | |
11 | +<!-- ****** SEARCH ALL EXISTING USERS ****** --> | |
12 | 12 | <v-flex xs7 sm3 class="userSearch"> |
13 | 13 | <v-text-field |
14 | 14 | flat |
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 | id="tab1" |
56 | 56 | class="subheading" |
57 | 57 | >Add New Users</v-tab> |
58 | - <!-- EDIT USERS Patient Dtails--> | |
58 | +<!-- ****** EDIT USERS Patient Dtails ****** --> | |
59 | 59 | <v-tab-item> |
60 | 60 | <v-snackbar |
61 | 61 | :timeout="timeout" |
... | ... | @@ -96,20 +96,6 @@ |
96 | 96 | ></v-text-field> |
97 | 97 | </v-flex> |
98 | 98 | </v-layout> |
99 | - <!-- <v-layout> | |
100 | - <v-flex xs4 class="pt-4 subheading"> | |
101 | - <label>Last Name:</label> | |
102 | - </v-flex> | |
103 | - <v-flex xs8> | |
104 | - <v-text-field | |
105 | - v-model="editedItem.lastname" | |
106 | - v-validate="'required'" | |
107 | - :rules="lastnameRules" | |
108 | - data-vv-name="Name" | |
109 | - required | |
110 | - ></v-text-field> | |
111 | - </v-flex> | |
112 | - </v-layout> --> | |
113 | 99 | <v-layout> |
114 | 100 | <v-flex xs4 class="pt-4 subheading"> |
115 | 101 | <label>Email ID:</label> |
... | ... | @@ -167,7 +153,7 @@ |
167 | 153 | </v-card-text> |
168 | 154 | </v-card> |
169 | 155 | </v-dialog> |
170 | - <!-- PROFILE VIEW pateints Details--> | |
156 | +<!-- ****** PROFILE VIEW pateints Details ****** --> | |
171 | 157 | <v-dialog v-model="dialog1" max-width="600px"> |
172 | 158 | <v-toolbar color="white"> |
173 | 159 | <v-spacer></v-spacer> |
... | ... | @@ -193,14 +179,6 @@ |
193 | 179 | <h5>{{ editedItem.name }}</h5> |
194 | 180 | </v-flex> |
195 | 181 | </v-layout> |
196 | - <!-- <v-layout> | |
197 | - <v-flex xs5 sm6> | |
198 | - <h5 class="right my-3">Last Name:</h5> | |
199 | - </v-flex> | |
200 | - <v-flex sm5 xs8> | |
201 | - <h5 class="my-3">{{ editedItem.name }}</h5> | |
202 | - </v-flex> | |
203 | - </v-layout> --> | |
204 | 182 | <v-layout> |
205 | 183 | <v-flex xs5 sm6> |
206 | 184 | <h5 class="right">Email:</h5> |
... | ... | @@ -279,12 +257,15 @@ |
279 | 257 | v-model="snackbar" |
280 | 258 | color="success" |
281 | 259 | >{{ text }}</v-snackbar> |
282 | - <!-- EXISTING-USERS PatientList--> | |
260 | +<!-- ****** EXISTING-USERS PatientList Table ****** --> | |
283 | 261 | <v-data-table |
284 | 262 | :headers="headers" |
285 | 263 | :items="desserts" |
286 | 264 | :pagination.sync="pagination" |
287 | - > | |
265 | + > <!-- </v-content> | |
266 | + <v-footer class="pa-4" color="grey darken-2"> | |
267 | + | |
268 | + </v-footer> --> | |
288 | 269 | <template slot="items" slot-scope="props"> |
289 | 270 | <td id="td" class="text-xs-center">{{ props.index}}</td> |
290 | 271 | <td id="td" class="text-xs-center">{{ props.item.name}}</td> |
... | ... | @@ -327,7 +308,7 @@ |
327 | 308 | >Your search for "{{ term }}" found no results.</v-alert> |
328 | 309 | </v-data-table> |
329 | 310 | </v-tab-item> |
330 | - <!-- ADD USER PATIENT --> | |
311 | +<!-- ****** ADD USER PATIENT ****** --> | |
331 | 312 | <v-tab-item> |
332 | 313 | <v-container> |
333 | 314 | <v-snackbar |
... | ... | @@ -364,34 +345,11 @@ |
364 | 345 | ></v-text-field> |
365 | 346 | </v-flex> |
366 | 347 | </v-layout> |
367 | - <!-- <v-layout> | |
368 | - <v-flex xs4 class="pt-4 subheading"> | |
369 | - <label class="right">Last Name:</label> | |
370 | - </v-flex> | |
371 | - <v-flex xs6 class="ml-3"> | |
372 | - <v-text-field | |
373 | - placeholder="fill your last Name" | |
374 | - :rules="lastnameRules" | |
375 | - v-model="editedItem.lastname" | |
376 | - type="text" | |
377 | - name="lastname" | |
378 | - required | |
379 | - ></v-text-field> | |
380 | - </v-flex> | |
381 | - </v-layout> --> | |
382 | 348 | <v-layout> |
383 | 349 | <v-flex xs4 class="pt-4 subheading"> |
384 | 350 | <label class="right">Country:</label> |
385 | 351 | </v-flex> |
386 | 352 | <v-flex xs6 class="ml-3"> |
387 | - <!-- <v-text-field | |
388 | - placeholder="fill your country Name" | |
389 | - :rules="countryRules" | |
390 | - v-model="editedItem.country" | |
391 | - type="text" | |
392 | - name="country" | |
393 | - required | |
394 | - ></v-text-field> --> | |
395 | 353 | <v-select |
396 | 354 | v-model="editedItem.country" |
397 | 355 | :items="countries" |
... | ... | @@ -605,6 +563,7 @@ export default { |
605 | 563 | }) |
606 | 564 | .catch(err => { |
607 | 565 | console.log("err====>", err); |
566 | + this.$router.replace({ path: '/' }); | |
608 | 567 | }); |
609 | 568 | }, |
610 | 569 | editItem(item) { |
... | ... | @@ -707,7 +666,7 @@ export default { |
707 | 666 | .then(response => { |
708 | 667 | this.getPatientList(); |
709 | 668 | if (this.snackbar = true) { |
710 | - this.text = "Successfully Add New User"; | |
669 | + this.text = "New user added successfully"; | |
711 | 670 | } |
712 | 671 | |
713 | 672 | this.clear(); | ... | ... |
src/pages/Provider.vue
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | <h4 class="text-xs-center font-weight-medium">Healthcare Providers</h4> |
8 | 8 | </v-flex> |
9 | 9 | <v-spacer></v-spacer> |
10 | - <!-- SEARCH ALL HEALTH PROVIDER --> | |
10 | +<!-- ****** SEARCH ALL HEALTH PROVIDER ****** --> | |
11 | 11 | <v-flex xs12 sm4 lg3 class="top"> |
12 | 12 | <v-text-field |
13 | 13 | justify-right |
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | ></v-text-field> |
20 | 20 | </v-flex> |
21 | 21 | </v-card-title> |
22 | - <!-- EDIT HEALTH PROVIDER --> | |
22 | +<!-- ****** EDIT HEALTH PROVIDER ****** --> | |
23 | 23 | <v-snackbar |
24 | 24 | :timeout="timeout" |
25 | 25 | :top="y === 'top'" |
... | ... | @@ -86,7 +86,7 @@ |
86 | 86 | </v-card-text> |
87 | 87 | </v-card> |
88 | 88 | </v-dialog> |
89 | - <!-- VIEW PROFILE OF PRVIDE LIST --> | |
89 | +<!-- *****VIEW PROFILE OF PRVIDE LIST ****** --> | |
90 | 90 | <v-dialog v-model="dialog1" max-width="700px"> |
91 | 91 | <v-toolbar color="white"> |
92 | 92 | <v-spacer></v-spacer> |
... | ... | @@ -135,7 +135,7 @@ |
135 | 135 | </v-container> |
136 | 136 | </v-card-text> |
137 | 137 | </v-card> |
138 | - <!-- PROVIDER DATA TABLE OF PROVIDER DEATILS --> | |
138 | +<!-- ****** PROVIDER DATA TABLE OF PROVIDER DEATILS ****** --> | |
139 | 139 | </v-dialog> |
140 | 140 | <v-data-table |
141 | 141 | :headers="headers" |
... | ... | @@ -296,6 +296,7 @@ export default { |
296 | 296 | }) |
297 | 297 | .catch(err => { |
298 | 298 | console.log("err====>", err); |
299 | + this.$router.replace({ path: '/' }); | |
299 | 300 | }); |
300 | 301 | }, |
301 | 302 | initialize() { | ... | ... |