fix PDF = undefined
This commit is contained in:
parent
4d4a95c2b9
commit
4f0eecfffe
15 changed files with 24 additions and 2 deletions
|
|
@ -86,6 +86,7 @@ async function getReport() {
|
|||
) {
|
||||
loadingBtn.value = true;
|
||||
pdfSrc.value = undefined;
|
||||
page.value = 1;
|
||||
await http
|
||||
.get(
|
||||
config.API.developmentReport() +
|
||||
|
|
|
|||
|
|
@ -71,6 +71,8 @@ async function fetchReport() {
|
|||
* @param data ข้อมูลบัญชีวันลา
|
||||
*/
|
||||
async function fetchDocumentTemplate(data: any) {
|
||||
pdfSrc.value = undefined;
|
||||
page.value = 1;
|
||||
await axios
|
||||
.post(`${config.API.reportTemplate}/xlsx`, data, {
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue