Merge pull request #423 from dataease/pr@dev@refactor_view-copy-dev

refactor:优化视图明细导出,导出excel中不需要合计
This commit is contained in:
王嘉豪 2021-07-30 10:29:54 +08:00 committed by GitHub
commit 632da163ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<label-normal v-if="chart.type.includes('text')" :chart="chart" class="table-class" />
</de-aside-container>
<de-main-container>
<table-normal :chart="chartTable" class="table-class" />
<table-normal :chart="chartTable" :show-summary="false" class="table-class" />
</de-main-container>
</de-container>
</template>

View File

@ -12,7 +12,7 @@
:row-style="getRowStyle"
class="table-class"
:class="chart.id"
show-summary
:show-summary="showSummary"
:summary-method="summaryMethod"
>
<ux-table-column
@ -48,6 +48,11 @@ export default {
default: function() {
return {}
}
},
showSummary: {
type: Boolean,
required: false,
default: true
}
},
data() {