Merge branch 'razrab'

This commit is contained in:
iriska-gri committed 2023-12-07 14:44:20 +03:00
commit ef775b88b2
64 files changed
+1432 -306

No files matched your search

+51 -127
View File
@@ -8,20 +8,13 @@
"name": "front",
"version": "0.0.33",
"dependencies": {
"@fullcalendar/core": "^6.1.8",
"@fullcalendar/daygrid": "^6.1.8",
"@fullcalendar/interaction": "^6.1.8",
"@fullcalendar/list": "^6.1.8",
"@fullcalendar/multimonth": "^6.1.9",
"@fullcalendar/timegrid": "^6.1.8",
"@fullcalendar/vue3": "^6.1.8",
"@mdi/font": "7.0.96",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.3",
"axios": "^1.4.0",
"chart.js": "^4.4.0",
"date-fns": "^2.30.0",
"express-vue": "^5.16.0",
"express-vue": "^5.12.0",
"pinia": "^2.0.23",
"roboto-fontface": "*",
"v-tooltip": "^2.1.3",
@@ -87,11 +80,11 @@
}
},
"node_modules/@babel/code-frame": {
"version": "7.22.13",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
"integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",
"integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==",
"dependencies": {
"@babel/highlight": "^7.22.13",
"@babel/highlight": "^7.23.4",
"chalk": "^2.4.2"
},
"engines": {
@@ -208,11 +201,11 @@
}
},
"node_modules/@babel/generator": {
"version": "7.23.0",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz",
"integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==",
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.5.tgz",
"integrity": "sha512-BPssCHrBD+0YrxviOa3QzpqwhNIXKEtOa2jQrm4FlmkC2apYgRnQcmPWiGZDlGxiNtltnUFolMe8497Esry+jA==",
"dependencies": {
"@babel/types": "^7.23.0",
"@babel/types": "^7.23.5",
"@jridgewell/gen-mapping": "^0.3.2",
"@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
@@ -517,9 +510,9 @@
}
},
"node_modules/@babel/helper-string-parser": {
"version": "7.22.5",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
"integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
"version": "7.23.4",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
"integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
"engines": {
"node": ">=6.9.0"
}
@@ -568,9 +561,9 @@
}
},
"node_modules/@babel/highlight": {
"version": "7.22.20",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
"integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
"version": "7.23.4",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
"integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.20",
"chalk": "^2.4.2",
@@ -645,9 +638,9 @@
}
},
"node_modules/@babel/parser": {
"version": "7.23.0",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
"integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.5.tgz",
"integrity": "sha512-hOOqoiNXrmGdFbhgCzu6GiURxUgM27Xwd/aPuu8RfHEZPBzL1Z54okAHAQjXfcQNwvrlkAmAp4SlRTZ45vlthQ==",
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -2158,18 +2151,18 @@
}
},
"node_modules/@babel/traverse": {
"version": "7.23.0",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.0.tgz",
"integrity": "sha512-t/QaEvyIoIkwzpiZ7aoSKK8kObQYeF7T2v+dazAYCb8SXtp58zEVkWW7zAnju8FNKNdr4ScAOEDmMItbyOmEYw==",
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.5.tgz",
"integrity": "sha512-czx7Xy5a6sapWWRx61m1Ke1Ra4vczu1mCTtJam5zRTBOonfdJ+S/B6HYmGYu3fJtr8GGET3si6IhgWVBhJ/m8w==",
"dependencies": {
"@babel/code-frame": "^7.22.13",
"@babel/generator": "^7.23.0",
"@babel/code-frame": "^7.23.5",
"@babel/generator": "^7.23.5",
"@babel/helper-environment-visitor": "^7.22.20",
"@babel/helper-function-name": "^7.23.0",
"@babel/helper-hoist-variables": "^7.22.5",
"@babel/helper-split-export-declaration": "^7.22.6",
"@babel/parser": "^7.23.0",
"@babel/types": "^7.23.0",
"@babel/parser": "^7.23.5",
"@babel/types": "^7.23.5",
"debug": "^4.1.0",
"globals": "^11.1.0"
},
@@ -2186,11 +2179,11 @@
}
},
"node_modules/@babel/types": {
"version": "7.23.0",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",
"integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==",
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.5.tgz",
"integrity": "sha512-ON5kSOJwVO6xXVRTvOI0eOnWe7VdUcIpsovGo9U/Br4Ie4UVFQTboO2cYnDhAGU6Fp+UxSiT+pMft0SMHfuq6w==",
"dependencies": {
"@babel/helper-string-parser": "^7.22.5",
"@babel/helper-string-parser": "^7.23.4",
"@babel/helper-validator-identifier": "^7.22.20",
"to-fast-properties": "^2.0.0"
},
@@ -2652,69 +2645,6 @@
"integrity": "sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==",
"dev": true
},
"node_modules/@fullcalendar/core": {
"version": "6.1.9",
"resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.9.tgz",
"integrity": "sha512-eeG+z9BWerdsU9Ac6j16rpYpPnE0wxtnEHiHrh/u/ADbGTR3hCOjCD9PxQOfhOTHbWOVs7JQunGcksSPu5WZBQ==",
"dependencies": {
"preact": "~10.12.1"
}
},
"node_modules/@fullcalendar/daygrid": {
"version": "6.1.9",
"resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.9.tgz",
"integrity": "sha512-o/6joH/7lmVHXAkbaa/tUbzWYnGp/LgfdiFyYPkqQbjKEeivNZWF1WhHqFbhx0zbFONSHtrvkjY2bjr+Ef2quQ==",
"peerDependencies": {
"@fullcalendar/core": "~6.1.9"
}
},
"node_modules/@fullcalendar/interaction": {
"version": "6.1.8",
"resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.8.tgz",
"integrity": "sha512-r6W4E9ohaA87M2uPSlmpE2WT7Fzu7LN0u2pE6D/tThruCEaAPbN8Pw5+sqclsuyTIL09mg0eSJm/ggJekTabSA==",
"peerDependencies": {
"@fullcalendar/core": "~6.1.8"
}
},
"node_modules/@fullcalendar/list": {
"version": "6.1.8",
"resolved": "https://registry.npmjs.org/@fullcalendar/list/-/list-6.1.8.tgz",
"integrity": "sha512-10N0T/vCtId1cE3JGLpnbAivWVnaWCCkVO7wmbsyr5Y+I939kr/zq4BUNwBoP/xSFVVxx59FETh3iyA+MkV8Fw==",
"peerDependencies": {
"@fullcalendar/core": "~6.1.8"
}
},
"node_modules/@fullcalendar/multimonth": {
"version": "6.1.9",
"resolved": "https://registry.npmjs.org/@fullcalendar/multimonth/-/multimonth-6.1.9.tgz",
"integrity": "sha512-YpH1NL6RzdM1wO2nFJ3pNMo9xhd6i2WuE+e7SnGi7q1lO+ZZ77h5Fja5JKcpuIQUFHpi+m6vTzihIV8DT44NnQ==",
"dependencies": {
"@fullcalendar/daygrid": "~6.1.9"
},
"peerDependencies": {
"@fullcalendar/core": "~6.1.9"
}
},
"node_modules/@fullcalendar/timegrid": {
"version": "6.1.8",
"resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-6.1.8.tgz",
"integrity": "sha512-3+3KHHCoNcaLs/gQt004hAqICbY5+WAffrZ0ePv+80HFB1OVh8BQ5XXLHSOUbTvXdgtUTcfBHuw9fhO31kt5gA==",
"dependencies": {
"@fullcalendar/daygrid": "~6.1.8"
},
"peerDependencies": {
"@fullcalendar/core": "~6.1.8"
}
},
"node_modules/@fullcalendar/vue3": {
"version": "6.1.8",
"resolved": "https://registry.npmjs.org/@fullcalendar/vue3/-/vue3-6.1.8.tgz",
"integrity": "sha512-rO7vZnGXyd5djOhpJ9Y33PhnUeJ/1IN1rIVWPWpleh1hboi8kCwVqE47oOwj7NvTEJq1EH8/58UuYtIqRQ73Lg==",
"peerDependencies": {
"@fullcalendar/core": "~6.1.8",
"vue": "^3.0.11"
}
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.11.10",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz",
@@ -6517,9 +6447,9 @@
}
},
"node_modules/axios": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",
"integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz",
"integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==",
"dependencies": {
"follow-redirects": "^1.15.0",
"form-data": "^4.0.0",
@@ -7018,19 +6948,22 @@
}
},
"node_modules/browserify-sign": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",
"integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==",
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz",
"integrity": "sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg==",
"dependencies": {
"bn.js": "^5.1.1",
"browserify-rsa": "^4.0.1",
"bn.js": "^5.2.1",
"browserify-rsa": "^4.1.0",
"create-hash": "^1.2.0",
"create-hmac": "^1.1.7",
"elliptic": "^6.5.3",
"elliptic": "^6.5.4",
"inherits": "^2.0.4",
"parse-asn1": "^5.1.5",
"readable-stream": "^3.6.0",
"safe-buffer": "^5.2.0"
"parse-asn1": "^5.1.6",
"readable-stream": "^3.6.2",
"safe-buffer": "^5.2.1"
},
"engines": {
"node": ">= 4"
}
},
"node_modules/browserify-sign/node_modules/safe-buffer": {
@@ -13776,9 +13709,9 @@
"optional": true
},
"node_modules/nanoid": {
"version": "3.3.6",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
"integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"version": "3.3.7",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
"integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
"funding": [
{
"type": "github",
@@ -14867,9 +14800,9 @@
}
},
"node_modules/postcss": {
"version": "8.4.27",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz",
"integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==",
"version": "8.4.32",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz",
"integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==",
"funding": [
{
"type": "opencollective",
@@ -14885,7 +14818,7 @@
}
],
"dependencies": {
"nanoid": "^3.3.6",
"nanoid": "^3.3.7",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
},
@@ -17851,15 +17784,6 @@
"node": ">=0.8.0"
}
},
"node_modules/preact": {
"version": "10.12.1",
"resolved": "https://registry.npmjs.org/preact/-/preact-10.12.1.tgz",
"integrity": "sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/preact"
}
},
"node_modules/prelude-ls": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+1 -8
View File
@@ -10,20 +10,13 @@
"build-storybook": "storybook build"
},
"dependencies": {
"@fullcalendar/core": "^6.1.8",
"@fullcalendar/daygrid": "^6.1.8",
"@fullcalendar/interaction": "^6.1.8",
"@fullcalendar/list": "^6.1.8",
"@fullcalendar/multimonth": "^6.1.9",
"@fullcalendar/timegrid": "^6.1.8",
"@fullcalendar/vue3": "^6.1.8",
"@mdi/font": "7.0.96",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.3",
"axios": "^1.4.0",
"chart.js": "^4.4.0",
"date-fns": "^2.30.0",
"express-vue": "^5.16.0",
"express-vue": "^5.12.0",
"pinia": "^2.0.23",
"roboto-fontface": "*",
"v-tooltip": "^2.1.3",
+69 -5
View File
@@ -38,12 +38,21 @@
</v-col>
<v-col cols="12" class="py-0">
<v-text-field
:type="eyeshow ? 'text' : 'password'"
v-model="anon.password"
label="Пароль"
variant="underlined"
type="password"
:error-messages="errorer('password')"
/>
@click:append-inner="eyeshow= !eyeshow"
>
<template v-slot:append-inner>
<v-icon size="x-small" :icon="eyeshow ? 'mdi-eye' : 'mdi-eye-off'" @click="eyeshow= !eyeshow">
</v-icon>
</template>
</v-text-field>
</v-col>
</v-row>
</v-container>
@@ -64,11 +73,34 @@
>
Войти
</v-btn>
</v-card-actions>
<v-progress-linear v-show="AppStore.loading" indeterminate></v-progress-linear>
<v-progress-linear location="bottom" v-show="AppStore.loading && !alert" absolute indeterminate></v-progress-linear>
</v-card>
<v-alert
width = "400"
position="fixed"
class="bottom-alertauth bgerroralert"
type="error"
density="compact"
title="Ошибка авторизации"
:text="info"
v-model="alert"
closable
>
<template v-slot:prepend>
<v-icon icon="mdi-alert-outline" class="pt-1"/>
</template>
</v-alert>
</v-dialog>
</template>
<script>
@@ -82,11 +114,15 @@ const req= helpers.withMessage('Обязательное поле', required)
export default {
setup(){
setup(props, context){
const accountStore = useAccountStore()
const AppStore= useAppStore()
const menuAuthDialog = ref(false)
const err = ref('')
const alert = ref(false)
const eyeshow = ref(false)
const anon=reactive({
username:"9966-00-",
@@ -110,7 +146,21 @@ export default {
const logging=async()=>{
if (!v$.value.$error) {
await accountStore.logging(anon)
try {
await accountStore.logging(anon)
}
catch {
AppStore.loading = false
alert.value=true
// console.log(, 'AppStore-------------------');
err.value = 'Ошибка авторизации'
}
}
else {
console.log(true);
@@ -129,6 +179,9 @@ export default {
v$,
logging,
errorer,
alert,
err,
eyeshow
}
}
@@ -136,5 +189,16 @@ export default {
</script>
<style>
.bottom-alertauth {
top: 57vh;
/* left: 38vw; */
}
.bottom-alertauth .v-alert-title {
font-size: 1.0rem;
}
/* , rgba(163, 5, 5, 0.8) */
.bgerroralert {
background: linear-gradient(to top right, rgba(8, 4, 6, 0.8), rgba(90, 25, 50, 0.8), rgba(133, 5, 5, 0.8), rgba(192, 70, 70, 0.8));
}
</style>
+4 -10
View File
@@ -5,14 +5,10 @@
<script>
import {reactive, ref, onMounted} from 'vue'
// import '@fullcalendar/core/vdom'
import FullCalendar from '@fullcalendar/vue3'
import dayGridPlugin from '@fullcalendar/daygrid'
import interactionPlugin from '@fullcalendar/interaction'
import listPlugin from '@fullcalendar/list'
import timeGridPlugin from '@fullcalendar/interaction'
import { axiosApiInstance } from '@/utils/axios-api'
import multiMonthPlugin from '@fullcalendar/multimonth'
export default {
@@ -25,9 +21,7 @@ export default {
}
},
components: {
FullCalendar
},
setup(props) {
+10 -4
View File
@@ -1,6 +1,7 @@
<template>
<div class="flex-column h-100">
<v-card
:ref="i"
class="mx-auto px-3 pt-3"
@@ -41,7 +42,8 @@
<v-divider/>
<v-card-text class="pb-0">
{{limitText(x.text)}}
<div v-html=limitText(x.text)>
</div>
</v-card-text>
<div class="pt-1 pl-1 pb-2">
@@ -148,8 +150,11 @@ export default {
const limitText=(text)=> {
const t = text.split(' ').slice(0, 25)
return `${text.split(' ').slice(0, 25).join(' ')} ${t.length<25?'':'...'}`
let parser = new DOMParser().parseFromString(text, "text/html");
let doc = parser.body.textContent || ""
doc = doc.replaceAll('src="/media/uploads', `src="${baseURL}media/uploads`)
const t = doc.split(' ').slice(0, 25)
return `${doc.split(' ').slice(0, 25).join(' ')} ${t.length<25?'':'...'}`
}
const splitname = (name) => {
@@ -178,7 +183,8 @@ export default {
divs,
page,
selecnews,
route
route,
File diff suppressed because it is too large. Load diff
+41 -41
View File
@@ -2,7 +2,7 @@
<template>
<v-app>
<v-app-bar
:elevation="2"
:elevation="accountStore.cod2user?2:0"
density="compact"
color="app_bar"
class="pl-4"
@@ -126,7 +126,9 @@
<v-row justify="center">
<Auth-form />
<Auth-form
@challengealert = "alert=true"
/>
</v-row>
@@ -264,51 +266,38 @@
</v-navigation-drawer>
<!-- <v-navigation-drawer
:width="8"
class="btnNav pointer"
@click="rail = !rail"
>
<v-list>
<v-icon
size="10"
:icon="rail?'mdi-chevron-right':'mdi-chevron-left'"
/>
</v-list>
</v-navigation-drawer> -->
<v-main v-if="accountStore.cod2user" class="d-flex bg-main_theme">
<router-view />
<!-- <div class="mystat d-flex flex-column">
<v-btn
class="mb-1"
prepend-icon="mdi-wikipedia"
size="small"
variant="outlined"
height="30"
>
Wiki
</v-btn>
<v-btn
height="30"
prepend-icon="mdi-apple-finder"
size="small"
variant="outlined"
>
МС
</v-btn>
</div> -->
</v-main>
<v-main v-else class="d-flex justify-center align-center text-h3 bg-teal-lighten-2">
<div>
<!-- <v-parallax
:src="`${burl}/media/newsimage/hello.png`"
>
<div class="d-flex flex-column fill-height justify-center align-center text-white">
<h1 class="text-h4 font-weight-thin mb-4">
Vuetify
</h1>
<h4 class="subheading">
Build your application today!
</h4>
</div>
</v-parallax> -->
<v-card
class="h-100 w-100 d-flex justify-center rounded-0 flex-column"
:image="`${burl}/media/newsimage/ng.png`"
>
<!-- <p class="text-center textcolor font-weight-black">Добро пожаловать на портал МИ ФНС России по ЦОД № 2</p>
<p class="mt-3 text-subtitle-1 text-center textcolor">Авторизуйтесь для получения доступа к контенту портала</p> -->
</v-card>
<!-- <div
> :image="`${burl}/media/newsimage/hello.png`"
<p class="text-center">Добро пожаловать на портал МИ ФНС России по ЦОД № 2</p>
<p class="mt-3 text-subtitle-1 text-center">Авторизуйтесь для получения доступа к контенту портала</p>
</div>
</div> -->
</v-main>
<v-navigation-drawer v-if="accountStore.cod2user"
v-model="drawer_right"
@@ -339,6 +328,7 @@ import CardUsers from '@/components/cardUsers.vue'
import CardLike from '@/components/cardLike.vue'
import { pagecounter } from '@/utils/universal_functions'
import { useRouter } from 'vue-router'
import { baseURL } from '@/utils/axios-api'
export default {
components: { AuthForm, OnlineUsers, CardUsers, CardLike },
@@ -358,6 +348,8 @@ export default {
const LikeDialog = ref(false)
const rail = ref(false)
const showTooltip = ref(false)
const alert = ref(false)
const burl = baseURL.slice(0,-1)
const menuTruncated = (menus) => {
@@ -462,7 +454,9 @@ export default {
rail,
showTooltip,
menuTruncated,
router
router,
alert,
burl
}
}
@@ -478,6 +472,8 @@ export default {
z-index: 1005;
}
.btnNav .v-navigation-drawer__content {
display: flex;
align-items: center;
@@ -486,4 +482,8 @@ export default {
.railmenu .v-list-group__items .v-list-item {
padding-inline-start: 11px!important;
}
.textcolor {
color: #00b9f3;
}
</style>
+5 -1
View File
@@ -13,7 +13,9 @@ import { createApp } from 'vue'
// Plugins
import { registerPlugins } from '@/plugins'
import components from '@/components/UI/index'
import Vue3Autocounter from 'vue3-autocounter';
import Vue3Autocounter from 'vue3-autocounter'
const app = createApp(App)
@@ -24,6 +26,8 @@ components.forEach((component) => {
app.component('vue3-autocounter', Vue3Autocounter)
// Vue.use(VueScrollTo)
registerPlugins(app)
+1
View File
@@ -1,5 +1,6 @@
<template>
<v-row>
<v-col
class="text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"
>
+1 -1
View File
@@ -2,7 +2,7 @@
<v-row class="justify-center ma-0 ">
<v-col
class="flex-column d-flex"
lg="6"
>
<news-list-news/>