UI part of the project

This commit is contained in:
Ertan Caliskan
2024-03-24 21:11:32 +01:00
parent 9a46865055
commit 1e0e7ed738
45 changed files with 3332 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<template>
<div class="container d-flex justify-content-center align-items-center" style="height: 100vh;">
<form @submit.prevent="submitForm">
<div class="mb-3">
<button type="button" class="btn btn-primary" @click="openFileDialog">
<b-icon-file-earmark-excel />
Dosya Seç
</button>
</div>
</form>
</div>
</template>
<script>
import {ClaimFile} from "../../bindings/main/BotService.js";
export default {
methods: {
openFileDialog() {
ClaimFile().then((resultValue) => {
let value = resultValue;
if(value != '')
{
alert("Dosya Seçildi")
}
}).catch((err) => {
alert("Dosya Seçilemedi")
console.log(err);
});
}
}
};
</script>
<style>
/* Add custom styles here if needed */
</style>