Сохранить

This commit is contained in:
iriska-gri committed 2023-10-26 17:01:01 +03:00
1 parent fc20f36a1d
commit 9e8f71d0fd
6 files changed
+80 -20

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@
>
<!-- <my-helper :pretext = 'x'/> -->
<!-- -->
<v-container
fill-height
fluid
@@ -305,6 +305,7 @@ import OnlineUsers from '@/components/onlineUsers.vue'
import CardUsers from '@/components/cardUsers.vue'
import CardLike from '@/components/cardLike.vue'
import { pagecounter } from '@/utils/universal_functions'
export default {
components: { AuthForm, OnlineUsers, CardUsers, CardLike },
+2 -1
View File
@@ -28,7 +28,8 @@ export function getfromserver(path, reactive){
export function checkremote(filecheck){
return filecheck
return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"
// return filecheck
// try{
// let http = new XMLHttpRequest();
// http.open('HEAD', filecheck, false);
+63 -12
View File
@@ -51,13 +51,13 @@
<v-col class="flex-column d-flex flex-grow-0 px-0" lg="2">
<v-row class="flex-grow-1 ma-0 mx-1">
<v-col class="pt-0">
<v-card v-if="t_daily.length > 0" class="h-100 flex-column">
{{[t_daily.daily]}}
<v-card v-if="t_daily.length > 0" class="h-100 flex-column" >
<v-row v-for="x in t_daily" :key="x">
<v-row v-for="x in t_daily" :key="x" v-show="x.position!=6">
<v-col>
<v-card
<v-col >
<v-card
class="ma-2 d-flex flex-column"
height="100"
@@ -65,7 +65,7 @@
elevation="0"
>
<v-card class="h-100 text-center g text-numeral bg-back_number_carousel">
<v-card-title class="statstyle py-0 text-overline font-weight-bold bg-back_number_carousel">
{{x.position__name}}
@@ -150,7 +150,54 @@
v-model="dialogDetailRound"
width="500"
>
<v-card class="pa-5">
<v-card class="bg-white pa-3 px-0" width="450"
height="500">
<v-card
class="mx-auto overflow-auto mx-0 px-3"
width="450"
height="500"
flat
>
<my-helper :pretext='t_dailyRound'/>
<!-- -->
<v-toolbar color="cyan-lighten-1">
<v-btn variant="text" icon="mdi-menu"></v-btn>
<v-toolbar-title>Inbox</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn variant="text" icon="mdi-magnify"></v-btn>
</v-toolbar>
<div
v-for="(x, key) in t_dailyRound"
:key="key"
class="px-3" >
<v-list>
<v-list-subheader>{{key}} </v-list-subheader>
</v-list>
<v-card
v-for="item in x"
:key="item"
class="bg-transparent"
density="compact"
:prepend-avatar="checkremote(`${spravURL}${item.login}.jpg`)"
:title="item.fio"
:subtitle="item.post"
variant="text" @click="getcard"
>
</v-card>
</div>
</v-card>
</v-card>
<!-- <v-card class="pa-5">
<v-divider class="my-6"/>
<v-table
v-for="(x, key) in t_dailyRound"
@@ -177,7 +224,7 @@
</tbody>
<v-divider class="my-6"/>
</v-table>
</v-card>
</v-card> -->
@@ -198,6 +245,8 @@
import { axiosApiInstance } from '@/utils/axios-api'
import CalendarFull from '@/components/UI/Calendar-full.vue'
import NewsListHome from '@/components/news-list-home.vue'
import { spravURL } from '@/utils/axios-api'
import {checkremote} from '@/utils/universal_functions'
export default {
@@ -243,8 +292,8 @@
function dailyfun(){
axiosApiInstance.get('api/general_vacation/dailyload/')
.then(data => {
t_daily.value = data.data
// console.log();
t_daily.value = data.data.daily
})
}
@@ -252,7 +301,7 @@
dialogDetailRound.value=!dialogDetailRound.value
axiosApiInstance.get(`api/general_vacation/dailyload/?id=${pos}`)
.then(data => {
t_dailyRound.value = data.data
})
@@ -266,7 +315,9 @@
t_daily,
t_dailyRound,
detailRound,
dialogDetailRound
dialogDetailRound,
checkremote,
spravURL
}
}
}