瀏覽代碼

refactor: 修改组件的className

wu.jian2 2 年之前
父節點
當前提交
91a4a65e83

+ 1 - 1
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,

+ 1 - 1
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,

+ 1 - 1
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,

+ 1 - 1
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,

+ 1 - 1
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,

+ 2 - 2
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,

+ 2 - 2
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,

+ 1 - 1
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,

+ 1 - 1
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,

+ 1 - 1
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,

+ 1 - 1
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: '', // 维度

+ 1 - 1
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: '',

+ 1 - 1
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: '', // 维度

+ 1 - 1
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 {

+ 1 - 1
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 {