From 91a4a65e834f080402056f794eb05ea70089c988 Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Mon, 19 Jun 2023 15:58:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84className?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data-room-ui/packages/BasicComponents/Map/settingConfig.js | 2 +- data-room-ui/packages/BigScreenDesign/index.vue | 2 +- data-room-ui/packages/BigScreenList/EditForm.vue | 2 +- data-room-ui/packages/BigScreenManagement/addDialog.vue | 2 +- data-room-ui/packages/BigScreenManagement/index.vue | 2 +- data-room-ui/packages/ComponentList/EditForm.vue | 4 ++-- data-room-ui/packages/G2Plots/plotList.js | 4 ++-- data-room-ui/packages/SourceList/EditForm.vue | 2 +- data-room-ui/packages/Svgs/svgConfigList.js | 2 +- data-room-ui/packages/TemplateList/index.vue | 2 +- data-room-ui/packages/js/config/commonConfig.js | 2 +- data-room-ui/packages/js/store/state.js | 2 +- data-room-ui/packages/js/utils/commonConfig.js | 2 +- data-room-ui/packages/js/utils/getBorderComponentsConfig.js | 2 +- .../packages/js/utils/getDecorationComponentsConfig.js | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/data-room-ui/packages/BasicComponents/Map/settingConfig.js b/data-room-ui/packages/BasicComponents/Map/settingConfig.js index b894a699..e2b45099 100644 --- a/data-room-ui/packages/BasicComponents/Map/settingConfig.js +++ b/data-room-ui/packages/BasicComponents/Map/settingConfig.js @@ -91,7 +91,7 @@ export const mapData = { title: '地图', icon: Icon.getNameList()[5], className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenMapChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenMapChart', w: 800, h: 700, x: 0, diff --git a/data-room-ui/packages/BigScreenDesign/index.vue b/data-room-ui/packages/BigScreenDesign/index.vue index 16b3b849..df920494 100644 --- a/data-room-ui/packages/BigScreenDesign/index.vue +++ b/data-room-ui/packages/BigScreenDesign/index.vue @@ -313,7 +313,7 @@ export default { name: val.originalName, icon: null, className: - 'com.gccloud.bigscreen.core.module.chart.components.ScreenPictureChart', + 'com.gccloud.dataroom.core.module.chart.components.ScreenPictureChart', w: 300, h: 300, x: 0, diff --git a/data-room-ui/packages/BigScreenList/EditForm.vue b/data-room-ui/packages/BigScreenList/EditForm.vue index 1c2ac46d..65ff7829 100644 --- a/data-room-ui/packages/BigScreenList/EditForm.vue +++ b/data-room-ui/packages/BigScreenList/EditForm.vue @@ -286,7 +286,7 @@ export default { ? (form) => post('/bigScreen/design/add', form) : (form) => post('/bigScreen/design/update', form) const form = { - className: 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO', + className: 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO', chartList: this.dataForm.chartList, code: this.dataForm.code, icon: this.dataForm.icon, diff --git a/data-room-ui/packages/BigScreenManagement/addDialog.vue b/data-room-ui/packages/BigScreenManagement/addDialog.vue index 16baec50..98a9798e 100644 --- a/data-room-ui/packages/BigScreenManagement/addDialog.vue +++ b/data-room-ui/packages/BigScreenManagement/addDialog.vue @@ -349,7 +349,7 @@ export default { ? (form) => post('/bigScreen/design/add', form) : (form) => post('/bigScreen/design/update', form) const form = { - className: 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO', + className: 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO', chartList: this.dataForm.chartList, code: this.dataForm.code, icon: this.dataForm.icon, diff --git a/data-room-ui/packages/BigScreenManagement/index.vue b/data-room-ui/packages/BigScreenManagement/index.vue index a0092955..7e41f619 100644 --- a/data-room-ui/packages/BigScreenManagement/index.vue +++ b/data-room-ui/packages/BigScreenManagement/index.vue @@ -585,7 +585,7 @@ export default { // 大屏 dashboard从模版新建, 使用某个模版新建 useIt (pageTemplateId, parentNode, type) { this.templateLoading = true - const className = 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO' + const className = 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO' post(`/bigScreen/${type}/design/add/template`, { pageTemplateId, parentCode: parentNode.code, diff --git a/data-room-ui/packages/ComponentList/EditForm.vue b/data-room-ui/packages/ComponentList/EditForm.vue index b3a39419..d1ed6e44 100644 --- a/data-room-ui/packages/ComponentList/EditForm.vue +++ b/data-room-ui/packages/ComponentList/EditForm.vue @@ -323,7 +323,7 @@ export default { ? (form) => post('/bigScreen/bizComponent/add', form) : (form) => post('/bigScreen/bizComponent/update', form) const form = { - className: 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO', + className: 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO', id: this.dataForm.id, code: this.dataForm.code, name: this.dataForm.name, @@ -371,7 +371,7 @@ export default { ? (form) => post('/bigScreen/design/add', form) : (form) => post('/bigScreen/design/update', form) const form = { - className: 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO', + className: 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO', chartList: this.dataForm.chartList, code: this.dataForm.code, icon: this.dataForm.icon, diff --git a/data-room-ui/packages/G2Plots/plotList.js b/data-room-ui/packages/G2Plots/plotList.js index 6993afc9..f296e34d 100644 --- a/data-room-ui/packages/G2Plots/plotList.js +++ b/data-room-ui/packages/G2Plots/plotList.js @@ -32,7 +32,7 @@ function getPlotList (files) { icon: null, img: require(`packages/G2Plots/images/componentLogo/${config.title}.png`), className: - 'com.gccloud.bigscreen.core.module.chart.components.CustomComponentChart', + 'com.gccloud.dataroom.core.module.chart.components.CustomComponentChart', w: config?.option?.width || 450, h: config?.option?.height || 320, x: 0, @@ -63,7 +63,7 @@ export function getCustomPlots () { icon: null, img: config.img, className: - 'com.gccloud.bigscreen.core.module.chart.components.CustomComponentChart', + 'com.gccloud.dataroom.core.module.chart.components.CustomComponentChart', w: 450, h: 320, x: 0, diff --git a/data-room-ui/packages/SourceList/EditForm.vue b/data-room-ui/packages/SourceList/EditForm.vue index c00b3c04..b09c91ec 100644 --- a/data-room-ui/packages/SourceList/EditForm.vue +++ b/data-room-ui/packages/SourceList/EditForm.vue @@ -271,7 +271,7 @@ export default { ? (form) => post('/bigScreen/design/add', form) : (form) => post('/bigScreen/design/update', form) const form = { - className: 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO', + className: 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO', chartList: this.dataForm.chartList, code: this.dataForm.code, icon: this.dataForm.icon, diff --git a/data-room-ui/packages/Svgs/svgConfigList.js b/data-room-ui/packages/Svgs/svgConfigList.js index 66f4b60b..51a686d6 100644 --- a/data-room-ui/packages/Svgs/svgConfigList.js +++ b/data-room-ui/packages/Svgs/svgConfigList.js @@ -17,7 +17,7 @@ function getSvgList (iconList) { title: svg + '图标', name: svg, icon: svg, - className: 'com.gccloud.bigscreen.core.module.chart.components.ScreenSvgsChart', + className: 'com.gccloud.dataroom.core.module.chart.components.ScreenSvgsChart', w: 100, h: 100, x: 0, diff --git a/data-room-ui/packages/TemplateList/index.vue b/data-room-ui/packages/TemplateList/index.vue index 1ae2ef6e..83d0f98c 100644 --- a/data-room-ui/packages/TemplateList/index.vue +++ b/data-room-ui/packages/TemplateList/index.vue @@ -124,7 +124,7 @@ export default { type: 'warning', customClass: 'bs-el-message-box' }).then(() => { - const className = this.type === 'com.gccloud.bigscreen.core.module.manage.dto.BigScreenPageDTO' + const className = this.type === 'com.gccloud.dataroom.core.module.manage.dto.BigScreenPageDTO' this.innerLoading = true post(`/bigScreen/${this.type}/design/get/template`, { pageTemplateId: id, 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 7a102482..cf14aa32 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/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 {