Загрузка 2
This commit is contained in:
1 parent
bb27a5360b
commit
71065dbef4
2 files changed
+12
-1
No files matched your search
BIN
Binary file not shown.
@@ -14,6 +14,10 @@
|
|||||||
>
|
>
|
||||||
Скачать
|
Скачать
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
<v-file-input v-model="dailyfiles" label="File input"></v-file-input>
|
||||||
|
<v-btn @click="onPickFile">
|
||||||
|
Загрузить
|
||||||
|
</v-btn>
|
||||||
|
|
||||||
|
|
||||||
</v-col>
|
</v-col>
|
||||||
@@ -27,15 +31,22 @@ import { baseURL } from '@/utils/axios-api'
|
|||||||
import {getfromserver} from '@/utils/universal_functions'
|
import {getfromserver} from '@/utils/universal_functions'
|
||||||
export default {
|
export default {
|
||||||
setup(){
|
setup(){
|
||||||
|
const dailyfiles = ref('')
|
||||||
const visiting = ref({})
|
const visiting = ref({})
|
||||||
const excelOp = () => {
|
const excelOp = () => {
|
||||||
getfromserver(`api/general_vacation/dailyroundup/`, visiting)
|
getfromserver(`api/general_vacation/dailyroundup/`, visiting)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const onPickFile = () => {
|
||||||
|
console.log(dailyfiles.value, '----------------');
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
visiting,
|
visiting,
|
||||||
excelOp,
|
excelOp,
|
||||||
baseURL
|
baseURL,
|
||||||
|
dailyfiles,
|
||||||
|
onPickFile
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user