fix(仪表板): 过滤组件滚动条导致样式变形

This commit is contained in:
dataeaseShu
2024-12-13 16:47:03 +08:00
committed by xuwei-fit2cloud
parent a49ce49cef
commit 74113faed1
7 changed files with 13 additions and 36 deletions

View File

@@ -31,9 +31,6 @@ import router from '@/router'
const { result_code } = config
import { useCache } from '@/hooks/web/useCache'
import { useI18n } from '@/hooks/web/useI18n'
const { t } = useI18n()
const { wsCache } = useCache()
const requestStore = useRequestStoreWithOut()
const embeddedStore = useEmbedded()

View File

@@ -1,12 +1,7 @@
<script lang="ts" setup>
import iconSetting from '@/assets/svg/icon-setting.svg'
import TopDocCard from '@/layout/components/TopDocCard.vue'
import copilot from '@/assets/svg/copilot.svg'
import LangSelector from '@/layout/components/LangSelector.vue'
import topEnterpriseTrial from '@/assets/svg/top-enterprise-trial.svg'
import topHelpDoc from '@/assets/svg/top-help-doc.svg'
import topProductBbs from '@/assets/svg/top-product-bbs.svg'
import topTechnology from '@/assets/svg/top-technology.svg'
import { useRouter } from 'vue-router'
import TopDesktopCard from './TopDesktopCard.vue'
import icon_right_outlined from '@/assets/svg/icon_right_outlined.svg'

View File

@@ -102,15 +102,6 @@ const initAiBase = async () => {
})
}
const initCopilotBase = async () => {
const aiCopilotCheck = wsCache.get('DE-COPILOT-TIPS-CHECK')
// if (aiCopilotCheck === 'CHECKED') {
// showOverlayCopilot.value = false
// } else {
// showOverlayCopilot.value = true
// }
}
const aiTipsConfirm = () => {
wsCache.set('DE-AI-TIPS-CHECK', 'CHECKED')
showOverlay.value = false
@@ -131,7 +122,6 @@ onMounted(() => {
initShowToolbox()
initShowMsg()
initAiBase()
initCopilotBase()
msgCountApi().then(res => {
badgeCount.value = (res?.data > 99 ? '99+' : res?.data) || '0'

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import icon_searchOutline_outlined from '@/assets/svg/icon_search-outline_outlined.svg'
import icon_deleteTrash_outlined from '@/assets/svg/icon_delete-trash_outlined.svg'
import { ref, inject, computed, watch, onBeforeMount, toRefs, nextTick } from 'vue'
import { ref, inject, computed, watch, onBeforeMount, toRefs } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { multFieldValuesForPermissions } from '@/api/dataset'
import {
@@ -151,10 +151,6 @@ const filterTypeChange = () => {
initEnumOptions()
}
const filterTypeChangeTime = () => {
item.value.term = ''
item.value.timeValue = null
}
const initEnumOptions = () => {
// 查找枚举值
if (authTargetType.value === 'sysParams') {

View File

@@ -2001,17 +2001,19 @@ const deleteChartFieldItem = id => {
</div>
</el-row>
<el-row style="height: calc(100vh - 110px); overflow-y: auto">
<div v-if="view.type === 'VQuery' && curComponent" class="query-style-tab">
<div style="padding-top: 1px">
<VQueryChartStyle
:element="curComponent"
:common-background-pop="curComponent?.commonBackground"
:chart="view"
:themes="themes"
/>
<el-row style="height: calc(100vh - 110px)">
<el-scrollbar v-if="view.type === 'VQuery' && curComponent">
<div class="query-style-tab">
<div style="padding-top: 1px">
<VQueryChartStyle
:element="curComponent"
:common-background-pop="curComponent?.commonBackground"
:chart="view"
:themes="themes"
/>
</div>
</div>
</div>
</el-scrollbar>
<el-tabs
v-else
v-model="tabActive"

View File

@@ -10,7 +10,6 @@ import { RefreshLeft } from '@element-plus/icons-vue'
import {
exportTasks,
exportRetry,
downloadFile,
exportDelete,
exportDeleteAll,
exportDeletePost
@@ -28,7 +27,6 @@ const drawerLoading = ref(false)
const drawer = ref(false)
const msgDialogVisible = ref(false)
const msg = ref('')
const exportDatasetLoading = ref(false)
const activeName = ref('ALL')
const multipleSelection = ref([])
const description = ref(t('data_set.no_tasks_yet'))

View File

@@ -4,7 +4,6 @@ import icon_searchOutline_outlined from '@/assets/svg/icon_search-outline_outlin
import { ref, reactive, computed, watch, nextTick } from 'vue'
import { ElMessage } from 'element-plus-secondary'
import { useI18n } from '@/hooks/web/useI18n'
import { useEmitt } from '@/hooks/web/useEmitt'
import {
getDatasetTree,
moveDatasetTree,