รายงานพัฒนา เพิ่มส่ง ปี / แก้ รายงานเครื่องราชอิสริยาภรณ์
This commit is contained in:
parent
00699a4ff8
commit
f6285a1ed7
3 changed files with 61 additions and 23 deletions
|
|
@ -87,7 +87,14 @@ async function getReport() {
|
|||
loadingBtn.value = true;
|
||||
pdfSrc.value = undefined;
|
||||
await http
|
||||
.get(config.API.developmentReport() + `${typeReport.value}${typeReport.value == 'main' || typeReport.value == 'report3' ? `?rootId=${organization.value}`:``}`)
|
||||
.get(
|
||||
config.API.developmentReport() +
|
||||
`${typeReport.value}${
|
||||
typeReport.value == "main" || typeReport.value == "report3"
|
||||
? `?rootId=${organization.value}&year=${year.value}`
|
||||
: `?year=${year.value}`
|
||||
}`
|
||||
)
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
detailReport.value = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue