Merge pull request #9433 from dataease/pr@dev_st
fix(仪表板): 全屏状态下数据导出没有展示提示
This commit is contained in:
commit
d84cc9cb99
@ -489,22 +489,23 @@ export default {
|
||||
this.$message({
|
||||
message: h('p', null, [
|
||||
this.$t('data_export.exporting'),
|
||||
h(
|
||||
Button,
|
||||
{
|
||||
props: {
|
||||
type: 'text',
|
||||
size: 'mini'
|
||||
},
|
||||
class: 'btn-text',
|
||||
on: {
|
||||
click: () => {
|
||||
cb()
|
||||
this.showEditPosition === 'bar-main-preview'
|
||||
? h(
|
||||
Button,
|
||||
{
|
||||
props: {
|
||||
type: 'text',
|
||||
size: 'mini'
|
||||
},
|
||||
class: 'btn-text',
|
||||
on: {
|
||||
click: () => {
|
||||
cb()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
this.$t('data_export.export_center')
|
||||
),
|
||||
},
|
||||
this.$t('data_export.export_center')
|
||||
) : this.$t('data_export.export_center'),
|
||||
this.$t('data_export.export_info')
|
||||
]),
|
||||
iconClass,
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
<template>
|
||||
<div style="width: 100%;height: 100vh;">
|
||||
<fullscreen
|
||||
teleport
|
||||
fullscreen-class="de-fullscreen-preview-index"
|
||||
style="height:100%;background: #f7f8fa;overflow-y: auto"
|
||||
:fullscreen.sync="fullscreen"
|
||||
@change="fullscreenChange"
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
>
|
||||
<el-dropdown-menu
|
||||
class="track-menu"
|
||||
:append-to-body="false"
|
||||
>
|
||||
<el-dropdown-item
|
||||
v-for="(item, key) in trackMenu"
|
||||
@ -76,9 +75,6 @@ export default {
|
||||
|
||||
.track-menu {
|
||||
border: #3a8ee6 1px solid;
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@ -778,22 +778,23 @@ export default {
|
||||
this.$message({
|
||||
message: h('p', null, [
|
||||
this.$t('data_export.exporting'),
|
||||
h(
|
||||
Button,
|
||||
{
|
||||
props: {
|
||||
type: 'text',
|
||||
size: 'mini'
|
||||
},
|
||||
class: 'btn-text',
|
||||
on: {
|
||||
click: () => {
|
||||
cb()
|
||||
this.editMode === 'preview'
|
||||
? h(
|
||||
Button,
|
||||
{
|
||||
props: {
|
||||
type: 'text',
|
||||
size: 'mini'
|
||||
},
|
||||
class: 'btn-text',
|
||||
on: {
|
||||
click: () => {
|
||||
cb()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
this.$t('data_export.export_center')
|
||||
),
|
||||
},
|
||||
this.$t('data_export.export_center')
|
||||
) : this.$t('data_export.export_center'),
|
||||
this.$t('data_export.export_info')
|
||||
]),
|
||||
iconClass,
|
||||
|
||||
@ -1818,3 +1818,7 @@ div:focus {
|
||||
.el-table__fixed-right::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.de-fullscreen-preview-index {
|
||||
z-index: 2000;
|
||||
}
|
||||
@ -6,7 +6,6 @@
|
||||
placement="bottom"
|
||||
trigger="hover"
|
||||
width="300"
|
||||
:append-to-body="!previewVisible"
|
||||
:popper-class="previewVisible ? 'remark-pop' : ''"
|
||||
:visible-arrow="false"
|
||||
>
|
||||
@ -79,16 +78,3 @@ export default {
|
||||
text-align: -webkit-match-parent!important;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.remark-pop {
|
||||
position: absolute !important;
|
||||
left: 10% !important;
|
||||
}
|
||||
.title-is-right {
|
||||
.remark-pop {
|
||||
left: auto !important;
|
||||
right: 20px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -359,6 +359,8 @@
|
||||
</el-dialog>
|
||||
|
||||
<fullscreen
|
||||
teleport
|
||||
fullscreen-class="de-fullscreen-preview-index"
|
||||
style="height: 100%;background: #f7f8fa;overflow-y: auto"
|
||||
:fullscreen.sync="previewVisible"
|
||||
>
|
||||
|
||||
@ -254,6 +254,8 @@
|
||||
:style="imageWrapperStyle"
|
||||
>
|
||||
<fullscreen
|
||||
teleport
|
||||
fullscreen-class="de-fullscreen-preview-index"
|
||||
style="height: 100%;background: #f7f8fa;overflow-y: auto"
|
||||
:fullscreen.sync="fullscreen"
|
||||
>
|
||||
@ -978,4 +980,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user