Merge branch 'Alex' into razrab

This commit is contained in:
iriska-gri committed 2023-11-23 11:07:44 +03:00
commit 983c71455a
1 file changed
+21 -9
+21 -9
View File
@@ -3,18 +3,25 @@
<v-col class="flex-column d-flex">
<v-row class="flex-grow-0 mhight">
<v-col class=" flex-column d-flex">
<v-card class="ml-2 mt-2" width="400" >
<v-card-title class="text-wrap pb-3">
Ежедневная статистика по сотрудникам
<!-- <v-icon icon="mdi-comment-question-outline" size="xsmall"></v-icon> -->
</v-card-title>
<v-row class="flex-grow-0 align-self-end">
<v-col>
<v-icon
class="pt-2"
<v-col class="d-flex">
<v-card-subtitle class="mt-2 align-self-end">Файл ежедневной статистики</v-card-subtitle>
<v-icon
class="pt-2 pl-2"
icon="mdi-file-excel"
color="green-darken-3"
@click="excelOp('excround')"
/>
@click="excelOp('roundfilse')"
>
</v-icon>
</v-col>
</v-row>
<v-row>
<v-row>
<v-col>
<v-file-input
@@ -24,7 +31,7 @@
density="compact"
label="Выберите файл"
hide-details
class="mr-2"
class="mr-2 pb-2"
/>
</v-col>
<v-col class="flex-grow-0 align-self-center mb-2">
@@ -37,7 +44,7 @@
</v-row>
</v-card>
</v-col>
@@ -120,10 +127,15 @@ export default {
})
}
// const excelVacation = () => {
// }
const onPickFile = (ex) => {
console.log(ex, 'ssssssssssssssssssssssssssssssssssssssssssssdata');
console.log(ex, 'sdata');
const sdata = new FormData()
sdata.append('dailyfiles', dailyfiles.value[0])