исправлено приветствие на главной странице/исправлено поле поиска по карточке/начата работа с переключателем

This commit is contained in:
Alex committed 2023-11-15 09:22:20 +03:00
1 parent 67c455dbea
commit 4046cde689
3 files changed
+28 -12

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@
<v-row> <v-row>
<v-col class="pa-0 mb-3"> <v-col class="pa-0 mb-3">
<v-textarea <v-text-field
v-model="searchname" v-model="searchname"
clearable clearable
prepend-inner-icon="mdi-magnify" prepend-inner-icon="mdi-magnify"
@@ -152,7 +152,7 @@ export default {
get() { get() {
let ob={} let ob={}
Object.keys(t_dailyRound.value).map(el1 => { Object.keys(t_dailyRound.value).map(el1 => {
let myarr = t_dailyRound.value[el1].filter((el) =>el.fio.toLowerCase().includes(searchname.value.toLowerCase())) let myarr = t_dailyRound.value[el1].filter((el) =>el.fio.toLowerCase().includes(searchname.value))
if(myarr.length>0) if(myarr.length>0)
{ {
+25 -9
View File
@@ -51,16 +51,16 @@
<v-card <v-card
v-else class="h-100 w-100 d-flex justify-center " v-else class="h-100 w-100 d-flex justify-center "
> >
<v-card-text class="align-self-center flex-column mt-8"> <v-card-text v-if="!changeData" class="flex-column">
<!-- <v-row>
<v-col> <v-row>
<v-switch <v-switch
class="pl-1" v-model="changeData"
color="primary" class="pl-3 d-flex justify-end mt-3"
:model-value="true"> color="teal"
@click="changeData=!changeData">
</v-switch> </v-switch>
</v-col> </v-row>
</v-row> -->
<v-row> <v-row>
<v-col> <v-col>
<v-file-input <v-file-input
@@ -88,6 +88,20 @@
</v-col> </v-col>
</v-row> </v-row>
</v-card-text> </v-card-text>
<v-card-text v-else>
<v-row class="flex-grow-0 ">
<v-col class="pa-0 d-flex flex-column justify-center">
<v-switch
v-model="changeData"
class="pl-3 d-flex justify-end mt-3"
color="teal"
@click="changeData=!changeData">
</v-switch>
</v-col>
</v-row>
<v-row class="text-h5 text-center h-75" align-content="center">Данные не загружены</v-row>
</v-card-text>
</v-card> </v-card>
<div class="text-center"> <div class="text-center">
@@ -226,6 +240,7 @@ export default {
const menuGetUserDialog = ref(false) const menuGetUserDialog = ref(false)
const iduser = ref('') const iduser = ref('')
const result = ref({}) const result = ref({})
const changeData = ref(false)
const getcard = async (idus) => { const getcard = async (idus) => {
@@ -325,7 +340,8 @@ export default {
getcard, getcard,
result, result,
idpos, idpos,
namepos namepos,
changeData
} }
} }
@@ -275,7 +275,7 @@
</v-main> </v-main>
<v-main v-else class="d-flex justify-center align-center text-h3 bg-teal-lighten-2"> <v-main v-else class="d-flex justify-center align-center text-h3 bg-teal-lighten-2">
<div> <div>
<p class="text-center">Добро пожаловать на портал МИ ФНС по ЦОД № 2</p> <p class="text-center">Добро пожаловать на портал МИ ФНС России по ЦОД № 2</p>
<p class="mt-3 text-subtitle-1 text-center">Авторизуйтесь для получения доступа к контенту портала</p> <p class="mt-3 text-subtitle-1 text-center">Авторизуйтесь для получения доступа к контенту портала</p>
</div> </div>
</v-main> </v-main>