refresh company list after create company

This commit is contained in:
hysn99
2024-03-30 15:26:57 +03:00
parent 2dfda9d553
commit 4053d951bf
9 changed files with 1569 additions and 48 deletions

View File

@@ -4,7 +4,7 @@
import {Call} from '@wailsio/runtime';
/**
/**
* @function Companies
* @returns {Promise<Company[], void>}
**/
@@ -12,7 +12,7 @@ export async function Companies() {
return Call.ByName("srv.Srv.Companies", ...Array.prototype.slice.call(arguments, 0));
}
/**
/**
* @function CreateCompany
* @param name {string}
* @param memberNumber {string}
@@ -24,17 +24,18 @@ export async function CreateCompany(name, memberNumber, username, password) {
return Call.ByName("srv.Srv.CreateCompany", ...Array.prototype.slice.call(arguments, 0));
}
/**
/**
* @function Rpa
* @param companyName {string}
* @param month {number}
* @param year {number}
* @returns {Promise<void>}
**/
export async function Rpa(month, year) {
export async function Rpa(companyName, month, year) {
return Call.ByName("srv.Srv.Rpa", ...Array.prototype.slice.call(arguments, 0));
}
/**
/**
* @function UploadExcel
* @returns {Promise<string>}
**/