fix : 修复 explore 快照 部分图标不显示的问题
This commit is contained in:
@@ -561,7 +561,6 @@ textarea {
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
.explore {
|
||||
.el-icon-arrow-down{
|
||||
font-family: nz-icon!important;
|
||||
}
|
||||
@@ -574,4 +573,9 @@ textarea {
|
||||
.el-icon-check::before{
|
||||
content: '\e689';
|
||||
}
|
||||
.el-icon-arrow-left{
|
||||
font-family: nz-icon!important;
|
||||
}
|
||||
.el-icon-check::before{
|
||||
content: '\e778';
|
||||
}
|
||||
|
||||
@@ -1686,6 +1686,9 @@ export default {
|
||||
unit: this.chartUnit,
|
||||
expressions: this.expressions.map(item => encodeURIComponent(item))
|
||||
}
|
||||
if (!this.showMetrics) {
|
||||
params.limit = this.$refs.logDetail ? this.$refs.logDetail.getLimit() : 100
|
||||
}
|
||||
this.$get('/visual/explore/snapshot', params, 'blob').then(res => {
|
||||
const self = this
|
||||
let fileName = this.showMetrics ? 'Metrics explore' : 'Logs explore'
|
||||
|
||||
@@ -28,12 +28,12 @@
|
||||
<el-collapse-item class="el-collapse-item__height" name="2" title="Table">
|
||||
<div slot="title" class="explore-table-title">
|
||||
{{$t('dashboard.panel.chartForm.typeVal.table.label')}}
|
||||
<i
|
||||
class="nz-icon-gear nz-icon"
|
||||
style="position: absolute;right: 10px;top: 8px"
|
||||
@click.stop="tools.showCustomTableTitle = true"
|
||||
:title="$t('overall.selectColumns')"
|
||||
></i>
|
||||
<!-- <i-->
|
||||
<!-- class="nz-icon-gear nz-icon"-->
|
||||
<!-- style="position: absolute;right: 10px;top: 8px"-->
|
||||
<!-- @click.stop="tools.showCustomTableTitle = true"-->
|
||||
<!-- :title="$t('overall.selectColumns')"-->
|
||||
<!-- ></i>-->
|
||||
<!-- 自定义table列 -->
|
||||
<transition name="el-zoom-in-top">
|
||||
<element-set
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<span class="operation-label">Result:</span>
|
||||
<span class="operation-length">{{tableData.length}}</span>
|
||||
</div>
|
||||
<div class="log-operation log-operation--right">
|
||||
<div class="log-operation log-operation--right" v-if=" dataJson && dataJson.type">
|
||||
<button class="top-tool-btn" style="cursor: pointer;z-index: 2;" type="button" @click="exportLog" :title="$t('overall.download')"><i class="nz-icon nz-icon-download"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -130,6 +130,7 @@ export default {
|
||||
const theme = localStorage.getItem(`nz-user-${localStorage.getItem('nz-user-id')}-theme`) || 'light'
|
||||
return {
|
||||
theme,
|
||||
dataJson: window.dataJson,
|
||||
operations: {
|
||||
levels: [0, 1, 2, 3, 4, 5, 6],
|
||||
descending: true
|
||||
|
||||
Reference in New Issue
Block a user