перенесена иконка поиска в карточке/добавлена функция очищения строки поиска в карточке
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-col>
|
||||
<v-col lg=7 class="pa-0"> <v-textarea
|
||||
v-model="searchname"
|
||||
append-inner-icon="mdi-magnify"
|
||||
v-model="searchname"
|
||||
prepend-inner-icon="mdi-magnify"
|
||||
append-icon="mdi-close"
|
||||
@click:append="clearSearch"
|
||||
hide-details
|
||||
class="mx-2"
|
||||
label="Поиск"
|
||||
@@ -242,8 +244,8 @@
|
||||
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'
|
||||
import CardUsers from '@/components/cardUsers.vue'
|
||||
import {checkremote} from '@/utils/universal_functions'
|
||||
import CardUsers from '@/components/cardUsers.vue'
|
||||
export default {
|
||||
|
||||
components: {
|
||||
@@ -331,6 +333,9 @@ import CardUsers from '@/components/cardUsers.vue'
|
||||
iduser.value = idus
|
||||
}
|
||||
|
||||
function clearSearch() {
|
||||
return searchname.value = ''
|
||||
}
|
||||
return {
|
||||
accountStore,
|
||||
model,
|
||||
@@ -345,7 +350,8 @@ import CardUsers from '@/components/cardUsers.vue'
|
||||
searchname,
|
||||
menuGetUserDialog,
|
||||
getcard,
|
||||
iduser
|
||||
iduser,
|
||||
clearSearch
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user