file transfer occurred #1
@@ -68,7 +68,7 @@
|
|||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<div style="max-height: 200px; overflow: scroll; border: 1px gray solid;" class="q-pa-xs">
|
<div style="max-height: 200px; overflow: scroll; border: 1px gray solid; display: grid;" class="q-pa-xs">
|
||||||
<span v-for="(ln, ndx) in ld.logProcess" :key="ndx">
|
<span v-for="(ln, ndx) in ld.logProcess" :key="ndx">
|
||||||
{{ ndx }} {{ ln }}
|
{{ ndx }} {{ ln }}
|
||||||
</span>
|
</span>
|
||||||
@@ -102,7 +102,9 @@ onMounted(() => {
|
|||||||
getCompanies()
|
getCompanies()
|
||||||
|
|
||||||
wails.Events.On('logProcess', function (ev) {
|
wails.Events.On('logProcess', function (ev) {
|
||||||
|
console.log(ev.data)
|
||||||
ld.logProcess.push(ev.data)
|
ld.logProcess.push(ev.data)
|
||||||
|
console.log(ld.logProcess)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -153,6 +155,7 @@ const upload = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const doRpa = function () {
|
const doRpa = function () {
|
||||||
|
ld.logProcess = []
|
||||||
Rpa(ld.companyID, ld.month, ld.year).catch(err => console.log(err))
|
Rpa(ld.companyID, ld.month, ld.year).catch(err => console.log(err))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ type userInfo struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Srv) Rpa(companyName string, month float64, year float64) error {
|
func (s *Srv) Rpa(companyName string, month float64, year float64) error {
|
||||||
emitLog("")
|
|
||||||
type CompanyInfo struct {
|
type CompanyInfo struct {
|
||||||
company *company.Company // float64.Company türünü gömme
|
company *company.Company // float64.Company türünü gömme
|
||||||
month float64 // yeni bir alan ekliyoruz
|
month float64 // yeni bir alan ekliyoruz
|
||||||
|
|||||||
Reference in New Issue
Block a user