fix report
This commit is contained in:
parent
b194cb2a25
commit
b925026c2f
4 changed files with 61 additions and 57 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue