fix:修改导出pdf的文件名
This commit is contained in:
@@ -123,7 +123,8 @@ export default {
|
||||
alias += chartInfo.elements[expressionIndex].expression
|
||||
}
|
||||
// proj_status_
|
||||
const name = alias + '-' + dataIndex
|
||||
const legendIndex = expressionIndex + 'and' + dataIndex
|
||||
const name = alias + '-' + legendIndex
|
||||
|
||||
// 若需要统计,处理统计数据
|
||||
const statisticsTypes = chartInfo.param.legend ? chartInfo.param.legend.values : ''
|
||||
|
||||
@@ -180,6 +180,7 @@ export default {
|
||||
return {
|
||||
fromRoute,
|
||||
pdfId: 'pdfDom',
|
||||
htmlTitle: 'panel',
|
||||
panelTabLoading: false,
|
||||
showTopBtn: false, // top按钮
|
||||
visible: false,
|
||||
|
||||
@@ -819,7 +819,7 @@ export default {
|
||||
let dom = document.getElementsByClassName(this.pdfId)[0]
|
||||
if (dom) {
|
||||
// dom = dom.getElementsByClassName('vue-grid-layout')[0]
|
||||
this.htmlTitle = this.panel.name
|
||||
this.htmlTitle = this.showPanel.name
|
||||
this.scrollbarWrap.scrollTop = this.scrollbarWrap.scrollHeight
|
||||
this.$refs.chartList.onScroll(this.scrollbarWrap.scrollTop)
|
||||
console.log(dom.children)
|
||||
|
||||
Reference in New Issue
Block a user