From f89995cbc90489bad7073e83cc51a1ee8151e9a1 Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Tue, 20 Jun 2023 14:16:09 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9className?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages/js/config/commonConfig.js | 2 +- data-room-ui/packages/js/store/state.js | 2 +- .../packages/js/utils/commonConfig.js | 2 +- .../js/utils/getBorderComponentsConfig.js | 2 +- .../packages/js/utils/getComponentConfig.js | 30 +++++++++---------- .../js/utils/getDecorationComponentsConfig.js | 2 +- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/data-room-ui/packages/js/config/commonConfig.js b/data-room-ui/packages/js/config/commonConfig.js index 5512a6c1..bcc683d2 100644 --- a/data-room-ui/packages/js/config/commonConfig.js +++ b/data-room-ui/packages/js/config/commonConfig.js @@ -65,7 +65,7 @@ export default function (customConfig) { ...customConfig.root, dataSource: { className: - 'com.gccloud.bigscreen.core.module.chart.components.datasource.DataSetDataSource', + 'com.gccloud.dataroom.core.module.chart.components.datasource.DataSetDataSource', dataSourceKey: '', // 数据源,选择不同数据库 businessKey: '', // 数据集标识 dimensionField: '', // 维度 diff --git a/data-room-ui/packages/js/store/state.js b/data-room-ui/packages/js/store/state.js index ecbce0b4..7f949497 100644 --- a/data-room-ui/packages/js/store/state.js +++ b/data-room-ui/packages/js/store/state.js @@ -3,7 +3,7 @@ export const defaultData = { // 大屏信息 pageInfo: { className: - 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO', + 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO', id: '', name: '测试bigScreen', code: '', diff --git a/data-room-ui/packages/js/utils/commonConfig.js b/data-room-ui/packages/js/utils/commonConfig.js index bcd31bfd..7d964e34 100644 --- a/data-room-ui/packages/js/utils/commonConfig.js +++ b/data-room-ui/packages/js/utils/commonConfig.js @@ -65,7 +65,7 @@ export default function (customConfig) { ...customConfig.root, dataSource: { className: - 'com.gccloud.bigscreen.core.module.chart.components.datasource.DataSetDataSource', + 'com.gccloud.dataroom.core.module.chart.components.datasource.DataSetDataSource', dataSourceKey: '', // 数据源,选择不同数据库 businessKey: '', // 数据集标识 dimensionField: '', // 维度 diff --git a/data-room-ui/packages/js/utils/getBorderComponentsConfig.js b/data-room-ui/packages/js/utils/getBorderComponentsConfig.js index a2d48e84..01e392c7 100644 --- a/data-room-ui/packages/js/utils/getBorderComponentsConfig.js +++ b/data-room-ui/packages/js/utils/getBorderComponentsConfig.js @@ -4,7 +4,7 @@ */ export default function getComponentConfig (type, classNameType) { const className = - 'com.gccloud.bigscreen.core.module.chart.components.ScreenBorderChart' + 'com.gccloud.dataroom.core.module.chart.components.ScreenBorderChart' switch (type) { case 'border1': return { diff --git a/data-room-ui/packages/js/utils/getComponentConfig.js b/data-room-ui/packages/js/utils/getComponentConfig.js index 3bf7b722..6a6cdd8f 100644 --- a/data-room-ui/packages/js/utils/getComponentConfig.js +++ b/data-room-ui/packages/js/utils/getComponentConfig.js @@ -10,7 +10,7 @@ export default function getComponentConfig (type) { title: '文本', icon: Icon.getNameList()[0], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenTextChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenTextChart', w: 150, h: 30, x: 0, @@ -23,7 +23,7 @@ export default function getComponentConfig (type) { title: '超链接', icon: Icon.getNameList()[15], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenLinkChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenLinkChart', w: 150, h: 30, x: 0, @@ -37,7 +37,7 @@ export default function getComponentConfig (type) { icon: Icon.getNameList()[10], component: null, className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenBorderChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenBorderChart', w: 300, h: 40, x: 0, @@ -51,7 +51,7 @@ export default function getComponentConfig (type) { icon: Icon.getNameList()[11], component: null, className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenBorderChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenBorderChart', w: 40, h: 300, x: 0, @@ -65,7 +65,7 @@ export default function getComponentConfig (type) { title: '图片', icon: Icon.getNameList()[1], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenPictureChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenPictureChart', w: 280, h: 200, x: 0, @@ -78,7 +78,7 @@ export default function getComponentConfig (type) { title: '轮播表', icon: Icon.getNameList()[2], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenScrollBoardChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenScrollBoardChart', w: 500, h: 300, x: 0, @@ -91,7 +91,7 @@ export default function getComponentConfig (type) { title: '排名表', icon: Icon.getNameList()[3], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenScrollRankingChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenScrollRankingChart', w: 550, h: 350, x: 0, @@ -104,7 +104,7 @@ export default function getComponentConfig (type) { title: '表格', icon: Icon.getNameList()[4], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenTablesChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenTablesChart', w: 600, h: 400, x: 0, @@ -117,7 +117,7 @@ export default function getComponentConfig (type) { title: '当前时间', icon: Icon.getNameList()[6], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenCurrentTimeChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenCurrentTimeChart', w: 380, h: 130, x: 0, @@ -130,7 +130,7 @@ export default function getComponentConfig (type) { title: '倒计时', icon: Icon.getNameList()[7], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenTimeCountDownChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenTimeCountDownChart', w: 500, h: 130, x: 0, @@ -143,7 +143,7 @@ export default function getComponentConfig (type) { title: '外链', icon: Icon.getNameList()[8], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenIframeChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenIframeChart', w: 500, h: 500, x: 0, @@ -157,7 +157,7 @@ export default function getComponentConfig (type) { icon: null, img: require('packages/BasicComponents/DigitalFlop/images/fanpaiqi.png'), className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenDigitalFlopChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenDigitalFlopChart', w: 800, h: 150, x: 0, @@ -170,7 +170,7 @@ export default function getComponentConfig (type) { title: '播放器', icon: Icon.getNameList()[12], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenVideoChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenVideoChart', w: 800, h: 500, x: 0, @@ -183,7 +183,7 @@ export default function getComponentConfig (type) { name: '输入框', title: '输入框', icon: Icon.getNameList()[13], - className: 'com.gccloud.bigscreen.core.module.chart.components.ScreenInputChart', + className: 'com.gccloud.dataroom.core.module.chart.components.ScreenInputChart', w: 180, h: 40, x: 0, @@ -195,7 +195,7 @@ export default function getComponentConfig (type) { name: '按钮', title: '按钮', icon: Icon.getNameList()[14], - className: 'com.gccloud.bigscreen.core.module.chart.components.ScreenButtonChart', + className: 'com.gccloud.dataroom.core.module.chart.components.ScreenButtonChart', w: 80, h: 40, x: 0, diff --git a/data-room-ui/packages/js/utils/getDecorationComponentsConfig.js b/data-room-ui/packages/js/utils/getDecorationComponentsConfig.js index 34f678cc..0e7e4a0f 100644 --- a/data-room-ui/packages/js/utils/getDecorationComponentsConfig.js +++ b/data-room-ui/packages/js/utils/getDecorationComponentsConfig.js @@ -3,7 +3,7 @@ */ export default function getComponentConfig (type, classNameType) { const className = - 'com.gccloud.bigscreen.core.module.chart.components.ScreenDecorationChart' + 'com.gccloud.dataroom.core.module.chart.components.ScreenDecorationChart' switch (type) { case 'decoration1': return {