feat: excel export (only primitive types)

This commit is contained in:
2025-01-08 22:52:06 +07:00
parent 301c50ebac
commit 8552e651ab
5 changed files with 204 additions and 6 deletions

View File

@@ -36,6 +36,11 @@ export function Delete(item: $models.Post): Promise<$models.Post> & { cancel():
return $typingPromise;
}
export function ExportToExcel(): Promise<void> & { cancel(): void } {
let $resultPromise = $Call.ByID(75322242) as any;
return $resultPromise;
}
export function GetAll(): Promise<($models.Post | null)[]> & { cancel(): void } {
let $resultPromise = $Call.ByID(65691059) as any;
let $typingPromise = $resultPromise.then(($result) => {

View File

@@ -16,6 +16,7 @@ const doGreet = () => {
onMounted(async () => {
console.log(await PostService.GetById(5))
await PostService.ExportToExcel()
})
</script>