Merge branch 'Alex' into razrab
This commit is contained in:
commit
b97d448a4a
2 files changed
+56
-16
No files matched your search
@@ -10,6 +10,7 @@
|
||||
v-model="tab"
|
||||
bg-color="teal-darken-3"
|
||||
class="bggrad ma-1"
|
||||
slider-color="teal-darken-2"
|
||||
grow
|
||||
>
|
||||
<v-tab value="one">Информация</v-tab>
|
||||
@@ -18,8 +19,8 @@
|
||||
</v-tabs>
|
||||
|
||||
|
||||
<v-window class="highttext" v-model="tab">
|
||||
<v-window-item value="one">
|
||||
<v-window v-model="tab">
|
||||
<v-window-item class="highttext" value="one">
|
||||
<v-card-text class="flex-column d-flex pb-0">
|
||||
<v-row class="flex-grow-0">
|
||||
<v-divider/>
|
||||
@@ -80,32 +81,67 @@
|
||||
</v-card-text>
|
||||
</v-window-item>
|
||||
|
||||
<v-window-item value="two">
|
||||
<v-card-text>
|
||||
|
||||
</v-card-text>
|
||||
<v-window-item class="overflow-y-auto highttext" value="two">
|
||||
<!-- Вариант 1 -->
|
||||
<!-- <v-list-item
|
||||
class="pa-3"
|
||||
v-for = "(respos, key) in userlinks.responsibility"
|
||||
:key="key">
|
||||
{{ respos.sphere_of_responsibility }}
|
||||
<v-divider class="border-opacity-50" color="teal-darken-1"></v-divider>
|
||||
</v-list-item> -->
|
||||
|
||||
<!-- Вариант 2 -->
|
||||
<!-- <v-expansion-panels variant="accordion">
|
||||
<v-expansion-panel
|
||||
v-for = "(respos, key) in userlinks.responsibility"
|
||||
:key="key"
|
||||
:title="respos.sphere_of_responsibility">
|
||||
<v-expansion-panel-text>
|
||||
<v-btn variant="text" color="more_details_btn">Перейти к карточке приказа</v-btn>
|
||||
</v-expansion-panel-text>
|
||||
</v-expansion-panel>
|
||||
</v-expansion-panels> -->
|
||||
|
||||
</v-window-item>
|
||||
|
||||
<v-window-item value="three">
|
||||
<v-card-text>
|
||||
комиссии
|
||||
</v-card-text>
|
||||
<v-window-item class="overflow-y-auto highttext" value="three">
|
||||
<!-- Вариант 1 -->
|
||||
<!-- <v-list-item
|
||||
class="pa-3"
|
||||
v-for = "(comite, key) in userlinks.committee"
|
||||
:key="key">
|
||||
{{ comite.name }}
|
||||
<v-divider class="border-opacity-50" color="teal-darken-2"></v-divider>
|
||||
</v-list-item> -->
|
||||
|
||||
<!-- Вариант 2 -->
|
||||
<!-- <v-expansion-panels variant="accordion">
|
||||
<v-expansion-panel
|
||||
v-for = "(comite, key) in userlinks.committee"
|
||||
:key="key"
|
||||
:title="comite.name">
|
||||
<v-expansion-panel-text>
|
||||
<v-btn variant="text" color="more_details_btn" >Перейти к карточке комиссии</v-btn>
|
||||
</v-expansion-panel-text>
|
||||
</v-expansion-panel>
|
||||
</v-expansion-panels> -->
|
||||
|
||||
</v-window-item>
|
||||
</v-window>
|
||||
|
||||
|
||||
|
||||
|
||||
<v-card-actions class="align-self-end pt-0">
|
||||
<v-card-actions class="align-self-end pt-0 ">
|
||||
<v-btn
|
||||
color="modal_btn"
|
||||
variant="text"
|
||||
@click="menusCloses"
|
||||
>
|
||||
Отмена
|
||||
Закрыть
|
||||
</v-btn>
|
||||
|
||||
|
||||
<my-helper :pretext="userlinks"/>
|
||||
|
||||
|
||||
</v-card-actions>
|
||||
@@ -143,9 +179,7 @@ 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 = () => [
|
||||
|
||||
@@ -150,6 +150,12 @@
|
||||
|
||||
<template v-slot:prepend>
|
||||
<v-icon :icon="x.ico"/>
|
||||
<v-tooltip
|
||||
v-if="rail"
|
||||
activator="parent"
|
||||
location="top">
|
||||
{{ x.name }}
|
||||
</v-tooltip>
|
||||
</template>
|
||||
</v-list-item>
|
||||
|
||||
|
||||
Reference in new issue
Block a user