ДР
This commit is contained in:
1 parent
290d35d060
commit
f46c3f6aaa
11 files changed
+138
-89
No files matched your search
@@ -82,7 +82,7 @@
|
||||
|
||||
<v-window-item value="two">
|
||||
<v-card-text>
|
||||
Сфера ответсвенности
|
||||
|
||||
</v-card-text>
|
||||
</v-window-item>
|
||||
|
||||
@@ -104,7 +104,8 @@
|
||||
>
|
||||
Отмена
|
||||
</v-btn>
|
||||
<my-helper :pretext="userlinks"/>
|
||||
|
||||
|
||||
|
||||
|
||||
</v-card-actions>
|
||||
@@ -142,7 +143,9 @@ export default {
|
||||
|
||||
const loadlinksUser=async()=>{
|
||||
const res = await clearAxios.get('api/accounts/getuser/?userlogin='+props.loging)
|
||||
|
||||
userlinks.value=res.data
|
||||
console.log(userlinks.value, 'rrrrrrrrrrrrrrrrrrrrrrr');
|
||||
}
|
||||
|
||||
const basicInformation = () => [
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
eager
|
||||
>
|
||||
|
||||
|
||||
<!-- -->
|
||||
<my-helper :pretext="x"/>
|
||||
|
||||
<v-container
|
||||
fill-height
|
||||
fluid
|
||||
@@ -34,8 +34,9 @@
|
||||
<v-card class="bgCard h-100 d-flex flex-column">
|
||||
<v-card-title class="ma-2 text-h3 text-uppercase titles text-text_carous py-5 flex-column">
|
||||
<v-row>
|
||||
<v-col class="pa-0 pl-1 align-self-center">{{x.title}} </v-col>
|
||||
<!-- {{ burl }} {{ x.sender }} -->
|
||||
<v-col class="pa-0 pl-1 align-self-center">{{x.title}}
|
||||
</v-col>
|
||||
|
||||
<v-col class="flex-grow-0 pa-0 pr-1">
|
||||
<v-img
|
||||
|
||||
|
||||
@@ -383,6 +383,11 @@ export default {
|
||||
{
|
||||
name: 'Справочник',
|
||||
link: 'http://10.252.44.33/accounting6/members.php'
|
||||
},
|
||||
{
|
||||
name: 'О пользователе',
|
||||
ico: 'mdi-account',
|
||||
path: "/userinfo"
|
||||
},
|
||||
]
|
||||
},
|
||||
@@ -411,6 +416,7 @@ export default {
|
||||
ico: 'mdi-information-variant',
|
||||
path: "/portal"
|
||||
},
|
||||
|
||||
{
|
||||
name: 'Об инспекции',
|
||||
ico: 'mdi-city',
|
||||
|
||||
@@ -97,6 +97,15 @@ const routes = [
|
||||
ico: "mdi-newspaper"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/userinfo',
|
||||
name: 'UsersInfoPage',
|
||||
component: () => import('@/views/UsersInfoPage.vue'),
|
||||
meta:{
|
||||
title:"Информация о пользователе",
|
||||
ico: "mdi-account"
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
@@ -13,9 +13,7 @@
|
||||
<v-card class="h-100 bg-transparent pa-2 d-flex flex-column">
|
||||
<v-row class="d-flex">
|
||||
<v-col class="flex-column d-flex">
|
||||
<!-- <Calendar-full/>
|
||||
</v-col>
|
||||
<v-col> -->
|
||||
|
||||
<event-calendar/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -68,75 +66,7 @@
|
||||
</v-row>
|
||||
|
||||
</v-col>
|
||||
<!-- <v-col class="flex-column d-flex flex-grow-0 px-0" >
|
||||
<v-row class="flex-grow-1 ma-0 mx-1">
|
||||
<v-col class="pt-0 flex-column ">
|
||||
<digital-letna/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="flex-grow-0 ma-0 mx-1">
|
||||
<v-col class="py-0">
|
||||
<v-card class="h-100 flex-colmn">
|
||||
<v-row class="ma-3">
|
||||
<v-col
|
||||
class="pa-1 text-center"
|
||||
>
|
||||
<v-btn-toggle
|
||||
v-model="toggle"
|
||||
divided
|
||||
variant="outlined"
|
||||
>
|
||||
<v-tooltip
|
||||
v-for="x in favorit"
|
||||
:key="x"
|
||||
:text="x.page"
|
||||
location="top"
|
||||
>
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn
|
||||
v-bind="props"
|
||||
:icon="x.ico"
|
||||
:to="x.fullPath"
|
||||
/>
|
||||
</template>
|
||||
</v-tooltip>
|
||||
|
||||
|
||||
|
||||
|
||||
</v-btn-toggle>
|
||||
|
||||
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
</v-col>
|
||||
<v-col class="d-flex flex-column pl-0 justify-space-between" >
|
||||
<v-card
|
||||
class="h-100 bg-transparent flex-column d-flex "
|
||||
elevation="1"
|
||||
>
|
||||
<v-row >
|
||||
<v-col cols="auto" class="pa-0">
|
||||
<v-card height="93vh" class="overflow-auto ">
|
||||
<News-list-home />
|
||||
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
</v-card>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</v-col> -->
|
||||
|
||||
</v-row>
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
Сотрудники
|
||||
{{userlinks}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import {pagecounter} from '@/utils/universal_functions'
|
||||
import {useAccountStore} from '@/store/AccountStore'
|
||||
import { clearAxios } from '@/utils/axios-api'
|
||||
import { ref } from 'vue'
|
||||
export default {
|
||||
|
||||
props: {
|
||||
|
||||
loging: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
|
||||
setup(props, context){
|
||||
const accountStore = useAccountStore()
|
||||
const userlinks = ref([])
|
||||
const login =ref('')
|
||||
|
||||
const loadlinksUser=async()=>{
|
||||
if (props.loging==""){
|
||||
login.value=accountStore.user.login
|
||||
}
|
||||
else {
|
||||
login.value=props.loging
|
||||
|
||||
}
|
||||
|
||||
const res = await clearAxios.get('api/accounts/getuser/?userlogin='+login.value)
|
||||
userlinks.value=res.data
|
||||
}
|
||||
|
||||
pagecounter()
|
||||
loadlinksUser()
|
||||
|
||||
|
||||
return {
|
||||
|
||||
userlinks,
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in new issue
Block a user