diff --git a/.gitignore b/.gitignore index 1b284d228..e5498f059 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ env/ /__pycache__/ /*/__pycache__/ /*/migrations/ -/portal/ \ No newline at end of file +/portal/ +/front/node_modules/ \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 index caa936f50..f37b71b5f 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/front/.gitignore b/front/.gitignore index c7a593e8e..e2cbf3225 100644 --- a/front/.gitignore +++ b/front/.gitignore @@ -1,5 +1,5 @@ .DS_Store -node_modules +front/node_modules/ diff --git a/front/package-lock.json b/front/package-lock.json index e6362b194..6367f3720 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -1,12 +1,12 @@ { "name": "front", - "version": "0.0.2", + "version": "0.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "front", - "version": "0.0.2", + "version": "0.0.6", "dependencies": { "@mdi/font": "7.0.96", "@vuelidate/core": "^2.0.3", @@ -17,6 +17,7 @@ "vue": "^3.2.0", "vue-jwt-decode": "^0.1.0", "vue-router": "^4.0.0", + "vue3-autocounter": "^1.0.6", "vuelidate": "^0.7.7", "vuetify": "^3.0.0", "webfontloader": "^1.0.0" @@ -12927,6 +12928,17 @@ "vue": "^3.2.0" } }, + "node_modules/vue3-autocounter": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/vue3-autocounter/-/vue3-autocounter-1.0.6.tgz", + "integrity": "sha512-jOgCD2WaOjt/tOAAGKDm2DTyQRdKyfqJv5ElUz/vR0ZJgUd4yDd6UX6+2YU3LQpY4qoFNZkzLloAfALAqK041g==", + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "vue": "^3.0.5" + } + }, "node_modules/vuelidate": { "version": "0.7.7", "resolved": "https://registry.npmjs.org/vuelidate/-/vuelidate-0.7.7.tgz", diff --git a/front/package.json b/front/package.json index 01e131b97..0851c3a59 100644 --- a/front/package.json +++ b/front/package.json @@ -1,6 +1,6 @@ { "name": "front", - "version": "0.0.2", + "version": "0.0.6", "scripts": { "dev": "vite", "build": "vite build", @@ -19,6 +19,7 @@ "vue": "^3.2.0", "vue-jwt-decode": "^0.1.0", "vue-router": "^4.0.0", + "vue3-autocounter": "^1.0.6", "vuelidate": "^0.7.7", "vuetify": "^3.0.0", "webfontloader": "^1.0.0" diff --git a/front/src/components/carousel-numbers.vue b/front/src/components/carousel-numbers.vue index b8cde934d..8db2c13ec 100644 --- a/front/src/components/carousel-numbers.vue +++ b/front/src/components/carousel-numbers.vue @@ -3,7 +3,7 @@ diff --git a/front/src/utils/axios-api.js b/front/src/utils/axios-api.js index f783c9896..8b6a67ce7 100644 --- a/front/src/utils/axios-api.js +++ b/front/src/utils/axios-api.js @@ -5,7 +5,7 @@ const spravURL = 'http://10.252.44.33/accounting6/images/photo/' // const baseURL = process.env.NODE_ENV == 'development'? 'http://127.0.0.1:8000/': `http://${window.location.host}/`; // const baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://${window.location.host}/`; const baseURL = process.env.NODE_ENV == 'development'? 'http://127.0.0.1:8000/': `http://10.252.44.60:9965/`; -const baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://10.252.44.60:9965/`; +const baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://10.252.44.60:9967/`; // для релизного меняем 'http://ukd/' // const baseURL = 'http://127.0.0.1:8000/'; diff --git a/front/src/views/HomePage.vue b/front/src/views/HomePage.vue index 4f54d309f..c824b2f80 100644 --- a/front/src/views/HomePage.vue +++ b/front/src/views/HomePage.vue @@ -8,22 +8,32 @@ - + - + hghhg + --> + + - - + + + +