Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: Hidden Type Report (#2670)
Browse files Browse the repository at this point in the history
* Fix: Hidden Type Report

* Fix: Hidden Type Report

* Update DataReport.vue
  • Loading branch information
Ricargame authored Sep 25, 2024
1 parent c21969d commit 7db45fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
5 changes: 1 addition & 4 deletions src/components/ADempiere/Report/Data/DataReport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,8 @@ export default defineComponent({
return store.getters.getIsActiateCollapse
})
const height = computed(() => {
if (tableHeight.value === '1') {
return 'calc(100vh - 460px)'
}
if (store.getters.device !== 'mobile') {
return 'calc(100vh - 295px)'
return 'calc(100vh - 235px)'
}
return 'calc(100vh - 385px)'
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</b>
</div>

<el-collapse @change="activeCollapse">
<el-collapse v-model="activeCollapse">
<el-collapse-item name="1">
<template slot="title">
<b style="font-size: 18px">
Expand Down Expand Up @@ -113,7 +113,7 @@
/>
</el-form-item>
</el-col>
<el-col v-if="isReportEnginer" :span="24">
<!-- <el-col v-if="isReportEnginer" :span="24">
<el-form-item
:label="$t('report.typeReport')"
style="display: grid;"
Expand All @@ -131,7 +131,7 @@
/>
</el-select>
</el-form-item>
</el-col>
</el-col> -->
<!-- <el-col :span="12">
<el-form-item
:label="$t('report.summary')"
Expand Down Expand Up @@ -266,7 +266,7 @@ export default defineComponent({
const reportAsViewValue = ref(undefined)
const reportAsPrintFormatValue = ref(undefined)
const reportTypeFormatValue = ref('')
// const activeCollapse = ref(['1', '2'])
const activeCollapse = ref(['1', '2'])
const isSummaryReport = ref(true)

/**
Expand All @@ -280,9 +280,9 @@ export default defineComponent({
* @containerManagerReportViwer - Container Manager the Report Viwer
* @componentRender - Import the Panel Definitions component
*/
function activeCollapse({ 0: data }) {
store.commit('setActivateCollapse', data)
}
// function activeCollapse({ 0: data }) {
// store.commit('setActivateCollapse', data)
// }
const reportAsView = computed(() => {
const options = store.getters.getStoredActionsMenu({
containerUuid: props.containerUuid
Expand Down
4 changes: 2 additions & 2 deletions src/views/ADempiere/ReportViewerEngine/reportPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
-->
<template>
<el-card class="containerReportEnginer">
<options-report
<!-- <options-report
:container-uuid="reportOutput.containerUuid"
:container-manager="containerManager"
:report-output="reportOutput"
:is-show-title="false"
:is-report-enginer="false"
:is-loading-report="isLoadingReport"
/>
/> -->
<dialogShareReport
:report-output="reportOutput"
:container-uuid="containerUuid"
Expand Down

0 comments on commit 7db45fb

Please sign in to comment.