refresh company list after create company
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
/**
|
||||
* @function Create
|
||||
* @returns {Promise<void>}
|
||||
**/
|
||||
|
||||
@@ -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>}
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user