|
|
@ -144,7 +144,6 @@ const widgetTools = [
|
|
|
|
value: 'center'
|
|
|
|
value: 'center'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
// 数据
|
|
|
|
// 数据
|
|
|
|
data: [
|
|
|
|
data: [
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -194,7 +193,7 @@ const widgetTools = [
|
|
|
|
relactiveDomValue: 'dynamicData',
|
|
|
|
relactiveDomValue: 'dynamicData',
|
|
|
|
chartType: 'widget-text',
|
|
|
|
chartType: 'widget-text',
|
|
|
|
value: '',
|
|
|
|
value: '',
|
|
|
|
},
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
// 坐标
|
|
|
|
// 坐标
|
|
|
@ -304,37 +303,66 @@ const widgetTools = [
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'normal'
|
|
|
|
value: 'normal'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
/* {
|
|
|
|
type: 'el-select',
|
|
|
|
type: 'el-input-number',
|
|
|
|
label: '对齐方式',
|
|
|
|
label: '滚动速度',
|
|
|
|
name: 'textAlign',
|
|
|
|
name: 'marqueeQuit',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
|
|
|
|
value: '1',
|
|
|
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
// 数据
|
|
|
|
|
|
|
|
data: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
type: 'el-radio-group',
|
|
|
|
|
|
|
|
label: '数据类型',
|
|
|
|
|
|
|
|
name: 'dataType',
|
|
|
|
|
|
|
|
require: false,
|
|
|
|
|
|
|
|
placeholder: '',
|
|
|
|
|
|
|
|
selectValue: true,
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'center', name: '居中'},
|
|
|
|
{
|
|
|
|
{code: 'left', name: '左对齐'},
|
|
|
|
code: 'staticData',
|
|
|
|
{code: 'right', name: '右对齐'},
|
|
|
|
name: '静态数据',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
code: 'dynamicData',
|
|
|
|
|
|
|
|
name: '动态数据',
|
|
|
|
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'center'
|
|
|
|
value: 'staticData',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 'el-switch',
|
|
|
|
type: 'el-input-number',
|
|
|
|
label: '开启滚动',
|
|
|
|
label: '刷新时间(毫秒)',
|
|
|
|
name: 'marqueeSet',
|
|
|
|
name: 'refreshTime',
|
|
|
|
required: false,
|
|
|
|
relactiveDom: 'dataType',
|
|
|
|
placeholder: '',
|
|
|
|
relactiveDomValue: 'dynamicData',
|
|
|
|
value: true,
|
|
|
|
value: 5000
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 'el-input-text',
|
|
|
|
type: 'el-button',
|
|
|
|
label: '滚动速度',
|
|
|
|
label: '静态数据',
|
|
|
|
name: 'marqueeQuit',
|
|
|
|
name: 'staticData',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: 'px',
|
|
|
|
|
|
|
|
relactiveDom: 'dataType',
|
|
|
|
|
|
|
|
relactiveDomValue: 'staticData',
|
|
|
|
|
|
|
|
value: '文本框',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
type: 'dycustComponents',
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
name: 'dynamicData',
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
placeholder: 'px',
|
|
|
|
|
|
|
|
relactiveDom: 'dataType',
|
|
|
|
|
|
|
|
relactiveDomValue: 'dynamicData',
|
|
|
|
|
|
|
|
chartType: 'widget-text',
|
|
|
|
|
|
|
|
value: '',
|
|
|
|
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
// 数据
|
|
|
|
|
|
|
|
data: [],
|
|
|
|
|
|
|
|
// 坐标
|
|
|
|
// 坐标
|
|
|
|
position: [
|
|
|
|
position: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|