fix report

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-21 13:11:22 +07:00
parent b194cb2a25
commit b925026c2f
4 changed files with 61 additions and 57 deletions

View file

@ -142,7 +142,7 @@ async function onUpdateFilter() {
.post(config.API.disciplineReportByType(employeeClass.value), body)
.then(async (res) => {
const data = res.data.result;
detailReport.value = data;
// detailReport.value = data;
data && (await genReportPreview(data));
})
.catch(async (e) => {
@ -299,6 +299,7 @@ onMounted(async () => {
color="primary"
icon="download"
v-if="checkPermission($route)?.attrIsGet"
:loading="isLoadPDF"
>
<q-menu>
<q-list style="min-width: 150px">