forked from github/dataease
fix(工作台): 数据导出中心样式优化
This commit is contained in:
parent
9a21e53add
commit
347c5f6dd4
@ -156,8 +156,8 @@ import { useEmitt } from '@/hooks/web/useEmitt'
|
||||
import { copyStoreWithOut } from '@/store/modules/data-visualization/copy'
|
||||
import { exportExcelDownload } from '@/views/chart/components/js/util'
|
||||
import FieldsList from '@/custom-component/rich-text/FieldsList.vue'
|
||||
import { ElMessage, ElTooltip } from 'element-plus-secondary'
|
||||
import { Button } from 'vant'
|
||||
import { RefreshLeft } from '@element-plus/icons-vue'
|
||||
import { ElMessage, ElTooltip, ElButton } from 'element-plus-secondary'
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const snapshotStore = snapshotStoreWithOut()
|
||||
const copyStore = copyStoreWithOut()
|
||||
@ -320,24 +320,21 @@ const openMessageLoading = cb => {
|
||||
message: h('p', null, [
|
||||
'后台导出中,可前往',
|
||||
h(
|
||||
Button,
|
||||
ElButton,
|
||||
{
|
||||
props: {
|
||||
type: 'text',
|
||||
size: 'mini'
|
||||
},
|
||||
text: true,
|
||||
size: 'small',
|
||||
class: 'btn-text',
|
||||
on: {
|
||||
click: () => {
|
||||
cb()
|
||||
}
|
||||
onClick: () => {
|
||||
cb()
|
||||
}
|
||||
},
|
||||
'数据导出中心'
|
||||
t('data_export.export_center')
|
||||
),
|
||||
'查看进度,进行下载'
|
||||
]),
|
||||
iconClass,
|
||||
icon: h(RefreshLeft),
|
||||
showClose: true,
|
||||
customClass
|
||||
})
|
||||
|
@ -79,10 +79,10 @@ import ChartComponentS2 from '@/views/chart/components/views/components/ChartCom
|
||||
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
|
||||
import { exportExcelDownload } from '@/views/chart/components/js/util'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { RefreshLeft } from '@element-plus/icons-vue'
|
||||
import { assign } from 'lodash-es'
|
||||
import { useEmitt } from '@/hooks/web/useEmitt'
|
||||
import { Button } from 'vant'
|
||||
import { ElMessage } from 'element-plus-secondary'
|
||||
import { ElMessage, ElButton } from 'element-plus-secondary'
|
||||
const downLoading = ref(false)
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const dialogShow = ref(false)
|
||||
@ -220,24 +220,21 @@ const openMessageLoading = cb => {
|
||||
message: h('p', null, [
|
||||
'后台导出中,可前往',
|
||||
h(
|
||||
Button,
|
||||
ElButton,
|
||||
{
|
||||
props: {
|
||||
type: 'text',
|
||||
size: 'mini'
|
||||
},
|
||||
text: true,
|
||||
size: 'small',
|
||||
class: 'btn-text',
|
||||
on: {
|
||||
click: () => {
|
||||
cb()
|
||||
}
|
||||
onClick: () => {
|
||||
cb()
|
||||
}
|
||||
},
|
||||
'数据导出中心'
|
||||
t('data_export.export_center')
|
||||
),
|
||||
'查看进度,进行下载'
|
||||
]),
|
||||
iconClass,
|
||||
icon: h(RefreshLeft),
|
||||
showClose: true,
|
||||
customClass
|
||||
})
|
||||
|
@ -172,7 +172,7 @@ const openMessageLoading = (text, type = 'success', cb) => {
|
||||
ElButton,
|
||||
{
|
||||
text: true,
|
||||
size: 'mini',
|
||||
size: 'small',
|
||||
class: 'btn-text',
|
||||
onClick: () => {
|
||||
cb()
|
||||
@ -182,7 +182,6 @@ const openMessageLoading = (text, type = 'success', cb) => {
|
||||
)
|
||||
]),
|
||||
icon: type === 'loading' ? h(RefreshLeft) : '',
|
||||
duration: 0,
|
||||
type,
|
||||
showClose: true,
|
||||
customClass
|
||||
|
Loading…
Reference in New Issue
Block a user