Поиск

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

No files matched your search

BIN
View File
Binary file not shown.
@@ -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>
@@ -215,6 +216,15 @@
</v-dialog>
<v-dialog
v-model="menuGetUserDialog"
persistent width="800">
<Card-users
:menuGetUserDialog="menuGetUserDialog"
:loging="iduser"
@menusClose="menuGetUserDialog = false" />
</v-dialog> </v-dialog>
</div> </div>
</v-container> </v-container>
@@ -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('')
@@ -312,6 +325,10 @@ import {checkremote} from '@/utils/universal_functions'
t_dailyRound.value = data.data t_dailyRound.value = data.data
}) })
}
const getcard = async (idus) => {
menuGetUserDialog.value = true
iduser.value = idus
} }
return { return {
@@ -325,7 +342,10 @@ import {checkremote} from '@/utils/universal_functions'
dialogDetailRound, dialogDetailRound,
checkremote, checkremote,
spravURL, spravURL,
searchname searchname,
menuGetUserDialog,
getcard,
iduser
} }
} }
} }