перенесена иконка поиска в карточке/добавлена функция очищения строки поиска в карточке
This commit is contained in:
1 parent
709aaec60c
commit
8f35fe41b2
1 file changed
+11
-5
@@ -166,8 +166,10 @@
|
|||||||
<v-toolbar-title>{{t_dailyRound.position}}</v-toolbar-title>
|
<v-toolbar-title>{{t_dailyRound.position}}</v-toolbar-title>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col lg=7 class="pa-0"> <v-textarea
|
<v-col lg=7 class="pa-0"> <v-textarea
|
||||||
v-model="searchname"
|
v-model="searchname"
|
||||||
append-inner-icon="mdi-magnify"
|
prepend-inner-icon="mdi-magnify"
|
||||||
|
append-icon="mdi-close"
|
||||||
|
@click:append="clearSearch"
|
||||||
hide-details
|
hide-details
|
||||||
class="mx-2"
|
class="mx-2"
|
||||||
label="Поиск"
|
label="Поиск"
|
||||||
@@ -242,8 +244,8 @@
|
|||||||
import CalendarFull from '@/components/UI/Calendar-full.vue'
|
import CalendarFull from '@/components/UI/Calendar-full.vue'
|
||||||
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'
|
import CardUsers from '@/components/cardUsers.vue'
|
||||||
export default {
|
export default {
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
@@ -331,6 +333,9 @@ import CardUsers from '@/components/cardUsers.vue'
|
|||||||
iduser.value = idus
|
iduser.value = idus
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clearSearch() {
|
||||||
|
return searchname.value = ''
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
accountStore,
|
accountStore,
|
||||||
model,
|
model,
|
||||||
@@ -345,7 +350,8 @@ import CardUsers from '@/components/cardUsers.vue'
|
|||||||
searchname,
|
searchname,
|
||||||
menuGetUserDialog,
|
menuGetUserDialog,
|
||||||
getcard,
|
getcard,
|
||||||
iduser
|
iduser,
|
||||||
|
clearSearch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user