Merge branch 'I' into razrab
This commit is contained in:
commit
4b34149a00
19 files changed
+65
-48
No files matched your search
BIN
Binary file not shown.
@@ -68,6 +68,7 @@
|
|||||||
@click="feedSend"
|
@click="feedSend"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -125,6 +125,7 @@ export default {
|
|||||||
context.emit('menusClose')
|
context.emit('menusClose')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
loadlinksUser()
|
loadlinksUser()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
eager
|
eager
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
<!-- <my-helper :pretext = 'x'/> -->
|
<!-- <my-helper :pretext = 'x'/> -->
|
||||||
<v-container
|
<v-container
|
||||||
fill-height
|
fill-height
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ import { baseURL } from '@/utils/axios-api'
|
|||||||
export default {
|
export default {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
digitalData: {
|
digitalData: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
width="92%"
|
width="92%"
|
||||||
class="mx-auto"
|
class="mx-auto"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<v-list-item class="w-100">
|
<v-list-item class="w-100">
|
||||||
<div class="justify-self-start mt-1">
|
<div class="justify-self-start mt-1">
|
||||||
<v-icon size="x-small" class="me-1" icon="mdi-account" ></v-icon>
|
<v-icon size="x-small" class="me-1" icon="mdi-account" ></v-icon>
|
||||||
|
|||||||
@@ -3,21 +3,24 @@
|
|||||||
<div class="d-flex flex-column py-3">
|
<div class="d-flex flex-column py-3">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col class="bg-red overflow-auto pa-0">
|
<v-col class="bg-red overflow-auto pa-0">
|
||||||
<v-card
|
<v-card
|
||||||
class=" rounded-0"
|
class=" rounded-0"
|
||||||
v-for="(x, i) in newss.result" :key=i>
|
|
||||||
|
|
||||||
|
|
||||||
|
v-for="(x, i) in newss.result" :key=i
|
||||||
|
>
|
||||||
<v-list-item class="w-100 pl-4 py-2 pt-3">
|
<v-list-item class="w-100 pl-4 py-2 pt-3">
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<v-avatar
|
<v-avatar
|
||||||
color="loading_avatar"
|
|
||||||
:image=accountStore.user.photo>
|
|
||||||
</v-avatar>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<v-list-item-title>{{x.author.fio}}</v-list-item-title>
|
color="grey-darken-3"
|
||||||
<v-list-item-subtitle>Участник {{route.path}} {{route.query}}</v-list-item-subtitle>
|
:image=accountStore.user.photo></v-avatar>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<v-list-item-title>{{x.author.fio}}</v-list-item-title>
|
||||||
|
|
||||||
|
|
||||||
|
<v-list-item-subtitle>Участник {{route.path}} {{route.query}}</v-list-item-subtitle>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
<v-card-title class="pt-0 pb-1">
|
<v-card-title class="pt-0 pb-1">
|
||||||
@@ -89,18 +92,24 @@
|
|||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
<div class="text-subtitle-2">
|
<div class="text-subtitle-2">
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col class="pr-0">
|
<v-col class="pr-0">
|
||||||
<v-alert
|
<v-alert
|
||||||
color="bg_comments"
|
|
||||||
rounded=0
|
|
||||||
:border="accountStore.user.login==y.author.login?'end':'start'"
|
color="white"
|
||||||
:border-color="accountStore.user.login==y.author.login?'success':'deep-purple accent-4'"
|
rounded=0
|
||||||
elevation=0>
|
:border="accountStore.user.login==y.author.login?'end':'start'"
|
||||||
{{ y.text }}
|
:border-color="accountStore.user.login==y.author.login?'success':'deep-purple accent-4'"
|
||||||
</v-alert>
|
elevation=0
|
||||||
|
>
|
||||||
|
|
||||||
|
{{ y.text }}
|
||||||
|
|
||||||
|
</v-alert>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="flex-grow-0 d-flex pa-0 align-center"
|
<v-col class="flex-grow-0 d-flex pa-0 align-center"
|
||||||
:class="accountStore.user.login==y.author.login?'pa-0':'pa-5'"
|
:class="accountStore.user.login==y.author.login?'pa-0':'pa-5'"
|
||||||
@@ -110,15 +119,21 @@
|
|||||||
variant="text"
|
variant="text"
|
||||||
size="small"
|
size="small"
|
||||||
icon='mdi-delete'
|
icon='mdi-delete'
|
||||||
color="delete_btn"
|
color="blue-grey-darken-1"
|
||||||
@click="deletComment(y.id, x.id)"
|
@click="deletComment(y.id, x.id)"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</v-expand-transition>
|
</v-expand-transition>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -146,14 +161,14 @@
|
|||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<v-btn
|
<v-btn
|
||||||
color="modal_btn"
|
color="blue-darken-1"
|
||||||
variant="text"
|
variant="text"
|
||||||
@click="dialogCommentShow = false"
|
@click="dialogCommentShow = false"
|
||||||
>
|
>
|
||||||
Отмена
|
Отмена
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-btn
|
<v-btn
|
||||||
color="modal_btn"
|
color="blue-darken-1"
|
||||||
variant="text"
|
variant="text"
|
||||||
@click="addComment"
|
@click="addComment"
|
||||||
>
|
>
|
||||||
@@ -165,8 +180,8 @@
|
|||||||
</v-row>
|
</v-row>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<!-- <v-row class="d-flex flex-grow-0 mt-6" v-show="route.path=='/news' && !('id' in route.query)">
|
<v-row class="flex-grow-0" v-show="route.path=='/news' && !('id' in route.query)">
|
||||||
<v-col class="py-0">
|
<v-col class="py-0 text-center ">
|
||||||
<v-pagination
|
<v-pagination
|
||||||
class="flex-grow-1"
|
class="flex-grow-1"
|
||||||
v-model="page"
|
v-model="page"
|
||||||
@@ -176,36 +191,17 @@
|
|||||||
@click="pagelistNews"
|
@click="pagelistNews"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="pr-0 py-0">
|
<v-col class="flex-grow-0 pr-0 py-0" lg=1>
|
||||||
<v-select
|
<v-select
|
||||||
|
|
||||||
class="flex-grow-2"
|
class=" pt-2"
|
||||||
density="compact"
|
density="compact"
|
||||||
v-model="selecnews"
|
v-model="selecnews"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
:items="['1', '2', '3', '4', '5', '6']"
|
:items="['1', '2', '3', '4', '5', '6']"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row> -->
|
</v-row>
|
||||||
<v-container>
|
|
||||||
<v-row class="d-flex mt-6" v-show="route.path=='/news' && !('id' in route.query)">
|
|
||||||
<v-pagination
|
|
||||||
class="flex-grow-1"
|
|
||||||
v-model="page"
|
|
||||||
:length="newss.allnews"
|
|
||||||
prev-icon="mdi-menu-left"
|
|
||||||
next-icon="mdi-menu-right"
|
|
||||||
@click="pagelistNews"
|
|
||||||
></v-pagination>
|
|
||||||
<v-select
|
|
||||||
class="flex-grow-0 pt-2"
|
|
||||||
density="compact"
|
|
||||||
v-model="selecnews"
|
|
||||||
variant="outlined"
|
|
||||||
:items="['1', '2', '3', '4', '5', '6']"
|
|
||||||
></v-select>
|
|
||||||
</v-row>
|
|
||||||
</v-container>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -555,6 +551,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.pagination {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
.newsVH {
|
.newsVH {
|
||||||
height: 92vh;
|
height: 92vh;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return {loging, menuGetUserDialog, onlineuser, checkremote,spravURL, whatuser, accountStore}
|
return {loging, menuGetUserDialog, onlineuser, checkremote,spravURL, whatuser, accountStore}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -422,6 +422,7 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.mystat {
|
.mystat {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ setup(){
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -74,6 +74,7 @@ setup(){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
getfromserver(`api/watcher/counter/`, visiting)
|
getfromserver(`api/watcher/counter/`, visiting)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -19,4 +19,5 @@ setup(){
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -19,4 +19,5 @@ setup(){
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -134,6 +134,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
|
|||||||
@@ -19,4 +19,5 @@ setup(){
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -29,6 +29,7 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* .bg {
|
/* .bg {
|
||||||
background: url("@/assets/1.jpg") center center;
|
background: url("@/assets/1.jpg") center center;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
{{n.name}}
|
{{n.name}}
|
||||||
</div>
|
</div>
|
||||||
</v-scroll-y-transition>
|
</v-scroll-y-transition>
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
>
|
>
|
||||||
Структура
|
Структура
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
</v-row>
|
</v-row>
|
||||||
<!-- <div>
|
<!-- <div>
|
||||||
<a href="#" v-scroll-to="'#element'">Scroll to #element</a>
|
<a href="#" v-scroll-to="'#element'">Scroll to #element</a>
|
||||||
@@ -23,6 +24,7 @@ setup(){
|
|||||||
pagecounter()
|
pagecounter()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ export default {
|
|||||||
getfromserver(`api/general_vacation/dailyroundup/`, visiting)
|
getfromserver(`api/general_vacation/dailyroundup/`, visiting)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const onPickFile = () => {
|
const onPickFile = () => {
|
||||||
|
|
||||||
const sdata = new FormData()
|
const sdata = new FormData()
|
||||||
|
|||||||
Reference in new issue
Block a user