chore [P-01]: xmk
This commit is contained in:
1 parent
9c2084f917
commit
9247fc5c5f
2 files changed
+4
-3
No files matched your search
@@ -180,7 +180,8 @@ export default {
|
|||||||
|
|
||||||
const onPickFile = (ex) => {
|
const onPickFile = (ex) => {
|
||||||
const sdata = new FormData()
|
const sdata = new FormData()
|
||||||
sdata.append('dailyfiles', dailyfiles.value[0])
|
sdata.append('dailyfiles', dailyfiles.value)
|
||||||
|
console.log(dailyfiles.value);
|
||||||
axiosApiInstance.post(`api/general_vacation/dailyroundup/?excel=${ex}`, sdata).then(result => {
|
axiosApiInstance.post(`api/general_vacation/dailyroundup/?excel=${ex}`, sdata).then(result => {
|
||||||
info.value = result.data
|
info.value = result.data
|
||||||
dailyfun()
|
dailyfun()
|
||||||
|
|||||||
@@ -76,8 +76,8 @@ export default {
|
|||||||
|
|
||||||
const onPickFile = (ex) => {
|
const onPickFile = (ex) => {
|
||||||
const sdata = new FormData()
|
const sdata = new FormData()
|
||||||
sdata.append('dailyfiles', dailyfiles.value[0])
|
sdata.append('dailyfiles', dailyfiles.value)
|
||||||
|
console.log(dailyfiles.value);
|
||||||
axiosApiInstance.post(`api/general_vacation/dailyroundup/?excel=${ex}`, sdata).then(result => {
|
axiosApiInstance.post(`api/general_vacation/dailyroundup/?excel=${ex}`, sdata).then(result => {
|
||||||
textFromAlert(result.data['mess'])
|
textFromAlert(result.data['mess'])
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user