feat:添加导出exploreHtml(80%)
This commit is contained in:
@@ -1684,7 +1684,7 @@ export default {
|
|||||||
start: this.momentStrToTimestamp(this.filterTime[0]) / 1000,
|
start: this.momentStrToTimestamp(this.filterTime[0]) / 1000,
|
||||||
end: this.momentStrToTimestamp(this.filterTime[1]) / 1000,
|
end: this.momentStrToTimestamp(this.filterTime[1]) / 1000,
|
||||||
unit: this.chartUnit,
|
unit: this.chartUnit,
|
||||||
expressions: [...this.expressions]
|
expressions: this.expressions.map(item => encodeURIComponent(item))
|
||||||
}
|
}
|
||||||
this.$get('/visual/explore/snapshot', params, 'blob').then(res => {
|
this.$get('/visual/explore/snapshot', params, 'blob').then(res => {
|
||||||
const self = this
|
const self = this
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
:loading="chartListLoading"
|
:loading="chartListLoading"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="dataJson.type" id="explore" class="explores">
|
<div v-if="dataJson.type" id="explore" class="explores" style='overflow:hidden;background: #fffffe; overflow-y: auto;height: calc(100% - 60px);display: flex;flex-direction: column'>
|
||||||
<exploreItem
|
<exploreItem
|
||||||
ref="exploreItem"
|
ref="exploreItem"
|
||||||
:key="dataJson.type"
|
:key="dataJson.type"
|
||||||
|
|||||||
Reference in New Issue
Block a user