Поиск

This commit is contained in:
iriska-gri committed 2023-10-30 16:07:41 +03:00
1 parent 78f52780be
commit 72bb16e108
3 files changed
+26 -5

No files matched your search

BIN
View File
Binary file not shown.
@@ -184,7 +184,7 @@
<v-list class=" d-flex flex-column "> <v-list class=" d-flex flex-column ">
<v-list-item v-if="!rail" class="text-caption font-weight-bold text-truncate"> <v-list-item v-if="!rail" class="text-caption font-weight-bold text-truncate">
<p>Посещений всего: {{ appStore.countvisitor.totalvisit }}</p> <p>Посещений всего:{{ appStore.countvisitor.totalvisit }}</p>
<v-divider /> <v-divider />
<p>Посещений сегодня: {{ appStore.countvisitor.visittoday }}</p> <p>Посещений сегодня: {{ appStore.countvisitor.visittoday }}</p>
<v-divider /> <v-divider />
@@ -325,6 +325,7 @@ export default {
const rail = ref(false) const rail = ref(false)
const showTooltip = ref(false) const showTooltip = ref(false)
const menuTruncated = (menus) => { const menuTruncated = (menus) => {
return menus.slice(0,2).toUpperCase() return menus.slice(0,2).toUpperCase()
} }
+24 -4
View File
@@ -183,7 +183,7 @@
</v-toolbar> </v-toolbar>
</v-card-title> </v-card-title>
{{ searchname}}
<div <div
@@ -204,6 +204,7 @@
:title="item.fio" :title="item.fio"
:subtitle="item.post" :subtitle="item.post"
variant="text" variant="text"
@click="getcard(item.login)"
> >
</v-card> </v-card>
@@ -216,6 +217,15 @@
</v-dialog> </v-dialog>
<v-dialog
v-model="menuGetUserDialog"
persistent width="800">
<Card-users
:menuGetUserDialog="menuGetUserDialog"
:loging="iduser"
@menusClose="menuGetUserDialog = false" />
</v-dialog>
</div> </div>
</v-container> </v-container>
</template> </template>
@@ -233,7 +243,7 @@
import NewsListHome from '@/components/news-list-home.vue' import NewsListHome from '@/components/news-list-home.vue'
import { spravURL } from '@/utils/axios-api' import { spravURL } from '@/utils/axios-api'
import {checkremote} from '@/utils/universal_functions' import {checkremote} from '@/utils/universal_functions'
import CardUsers from '@/components/cardUsers.vue'
export default { export default {
components: { components: {
@@ -241,7 +251,8 @@ import {checkremote} from '@/utils/universal_functions'
CarouselList, CarouselList,
CarouselNumbers, CarouselNumbers,
CalendarFull, CalendarFull,
NewsListHome NewsListHome,
CardUsers
}, },
setup(){ setup(){
@@ -251,6 +262,8 @@ import {checkremote} from '@/utils/universal_functions'
const dialogDetailRound = ref(false) const dialogDetailRound = ref(false)
const searchname = ref('') const searchname = ref('')
const idpos = ref('') const idpos = ref('')
const menuGetUserDialog = ref(false)
const iduser = ref('')
@@ -313,6 +326,10 @@ import {checkremote} from '@/utils/universal_functions'
}) })
} }
const getcard = async (idus) => {
menuGetUserDialog.value = true
iduser.value = idus
}
return { return {
accountStore, accountStore,
@@ -325,7 +342,10 @@ import {checkremote} from '@/utils/universal_functions'
dialogDetailRound, dialogDetailRound,
checkremote, checkremote,
spravURL, spravURL,
searchname searchname,
menuGetUserDialog,
getcard,
iduser
} }
} }
} }