diff --git a/package-lock.json b/package-lock.json index 87c5180..0f391e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3743,6 +3743,11 @@ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, + "deepmerge": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", + "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==" + }, "default-require-extensions": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-1.0.0.tgz", @@ -13643,6 +13648,11 @@ "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", "dev": true }, + "shvl": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/shvl/-/shvl-1.3.1.tgz", + "integrity": "sha512-+rRPP46hloYUAEImJcqprUgXu+05Ikqr4h4V+w5i2zJy37nAqtkQKufs3+3S2fDq6JNRrHMIQhB/Vaex+jgAAw==" + }, "sigmund": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", @@ -15472,6 +15482,20 @@ "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-1.1.0-alpha.5.tgz", "integrity": "sha512-wrAaJ9GZNbERFoTwrEmhRvfUCBY5dyx1FSK+Bcx9M9LuH8UTFGA7tcj7hAwl756KRGu3Xt56Z00X5RPzgK75ww==" }, + "vuex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.0.1.tgz", + "integrity": "sha512-wLoqz0B7DSZtgbWL1ShIBBCjv22GV5U+vcBFox658g6V0s4wZV9P4YjCNyoHSyIBpj1f29JBoNQIqD82cR4O3w==" + }, + "vuex-persistedstate": { + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/vuex-persistedstate/-/vuex-persistedstate-2.5.4.tgz", + "integrity": "sha512-XYJhKIwO+ZVlTaXyxKxnplrJ88Fnvk5aDw753bxzRw5/yMKLQ6lq9CDCBex2fwZaQcLibhtgJOxGCHjy9GLSlQ==", + "requires": { + "deepmerge": "^2.1.0", + "shvl": "^1.3.0" + } + }, "w3c-hr-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz", diff --git a/package.json b/package.json index 40b2056..907ea52 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,9 @@ "vue-quill-editor": "^3.0.6", "vue-resize": "^0.4.4", "vue-router": "^3.0.1", - "vuetify": "^1.1.0-alpha.5" + "vuetify": "^1.1.0-alpha.5", + "vuex": "^3.0.1", + "vuex-persistedstate": "^2.5.4" }, "devDependencies": { "autoprefixer": "^7.1.2", diff --git a/src/Services/http.js b/src/Services/http.js new file mode 100644 index 0000000..cf9e8ce --- /dev/null +++ b/src/Services/http.js @@ -0,0 +1,11 @@ +import axios from 'axios' +import store from '@/store/store' + +export default () => { + return axios.create({ + baseURL:'http://18.208.28.55:3000/v1', + headers: { + Authorization: `Bearer ${store.state.token}` + } + }) +} diff --git a/src/api/menu.js b/src/api/menu.js index 6e05838..ac89bd7 100644 --- a/src/api/menu.js +++ b/src/api/menu.js @@ -24,26 +24,26 @@ const Menu = [ title: 'User', // group: '', name: 'Dashboard', - icon: '', + icon: 'face', }, { title: 'Health Care Provider', // group: 'apps', name: 'Provider', - icon: '', + icon: 'local_hospital', }, { title: 'Notification', // group: 'apps', name: 'notification', - icon: '', + icon: 'add_alert', }, { title: 'Forum Questions', // group: 'apps', name: 'questions', - icon: '', + icon: 'live_help', }, // { // title: 'Widgets', diff --git a/src/components/AppDrawer.vue b/src/components/AppDrawer.vue index 9060486..588e28f 100644 --- a/src/components/AppDrawer.vue +++ b/src/components/AppDrawer.vue @@ -11,7 +11,6 @@ ana - @@ -135,5 +134,21 @@ export default { .drawer-menu--scroll height: calc(100vh - 48px) overflow: auto - +.v-list--dense .v-list__tile:not(.v-list__tile--avatar) { + height: 60px; + font-size:17px; +} +.v-list__tile__action { + min-width:36px; +} +.v-list__tile.primary--text { + color:black !important; + border-left: 4px solid black; + border-radius: 4px; +} +@media screen and (max-width: 420px) { +.v-list--dense .v-list__tile:not(.v-list__tile--avatar) { + font-size: 14px; +} +} diff --git a/src/components/AppToolbar.vue b/src/components/AppToolbar.vue index 4b1ff60..be500d0 100644 --- a/src/components/AppToolbar.vue +++ b/src/components/AppToolbar.vue @@ -4,9 +4,9 @@ fixed app > - + + + + + {{ text }} + + + + Edit Profile + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - Cancel - - Save - - - - - - - - - - - - - - Profile - - close - - - - - - - - - - - - - -

- -
First Name:

-
Last Name:

-
Email:

-
Date Of Birth:
- -
-
-
- - - - -
-
-
{{ editedItem.Name }}
{{ editedItem.LName }}
{{ editedItem.Email }}
{{ editedItem.DOB }}
-
-
-
-
-
-
+ + + + + + + + + + + + + + + + + + + + + Cancel + + Save + + + + + + + + - - -
-

Report

-
Patient Name: {{ editedItem.Name+' '+editedItem.LName }}
-
Select Month:
- Generate - - close - - - - 1 month - 3 Month - 6 Month - 9 Month - - - - + + + + + Profile + + close + + + + + + + + + + +

+ + +
First Name:
+
+ +
{{ editedItem.name }}
+
+
+ + +
Last Name:
+
+ +
{{ editedItem.name }}
+
+
+ + +
Email:
+
+ +
{{ editedItem.email }}
+
+
+ + +
Date Of Birth:
+
+ +
{{ editedItem.dob }}
+
+
+
+
+
+
+
+
- -
-
-
+ + +
+

+ Report +

+
+ Patient Name: + {{ editedItem.name+' '+editedItem.lastName }} +
+
Select Month:
+ Generate + + close - + 1 month + 3 Month + 6 Month + 9 Month + + + + +
+
+
+ {{ text }} + + - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - clear - - Add - - - - - - - - - - + + + + {{ text }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + clear + + Add + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/Login.vue b/src/pages/Login.vue index cba13a4..57c9be8 100644 --- a/src/pages/Login.vue +++ b/src/pages/Login.vue @@ -1,149 +1,182 @@ \ No newline at end of file diff --git a/src/pages/Provider.vue b/src/pages/Provider.vue index f1c5e85..9b951fb 100644 --- a/src/pages/Provider.vue +++ b/src/pages/Provider.vue @@ -1,11 +1,14 @@