refactor: 修改组件的className

main
wu.jian2 2 years ago
parent 0421a09d3b
commit 91a4a65e83

@ -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,

@ -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,

@ -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,

@ -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,

@ -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,

@ -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,

@ -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,

@ -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,

@ -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,

@ -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,

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

@ -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: '',

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

@ -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 {

@ -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 {

Loading…
Cancel
Save