feat(组件): 新增信息卡片集合组件

添加信息卡片集合组件,支持瀑布流布局和无缝滚动效果
包含组件配置、样式设置和交互逻辑实现
This commit is contained in:
砂糖
2025-11-12 11:28:42 +08:00
parent 8f5877505d
commit b1ec79ee81
7 changed files with 582 additions and 4 deletions

View File

@@ -142,6 +142,7 @@ export default {
// 通过option获取数据
getDataByOption (config) {
let list = []
// console.log(config.option, 'config.option')
if (config.chartType === 'Treemap') {
list = config.option.data.children
} else if (config.type === 'tables') {

View File

@@ -261,12 +261,12 @@ export default {
},
// 判断页面权限
permission() {
// this.$dataRoomAxios.get(`/bigScreen/permission/check/${this.pageCode}`).then(res => {
this.$dataRoomAxios.get(`/bigScreen/permission/check/${this.pageCode}`).then(res => {
this.hasPermission = res
// if (res) {
if (res) {
this.init()
// }
// })
}
})
},
// 添加资源弹窗初始化
initDialog() {