diff --git a/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barchart.js b/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barchart.js index da853d14..b20af1f2 100644 --- a/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barchart.js +++ b/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barchart.js @@ -111,7 +111,7 @@ export const widgetBarchart = { }, { type: 'el-input-number', - label: '字体大小', + label: '字体字号', name: 'textFontSize', required: false, placeholder: '', @@ -162,7 +162,7 @@ export const widgetBarchart = { }, { type: 'el-input-number', - label: '字体大小', + label: '字体字号', name: 'subTextFontSize', required: false, placeholder: '', @@ -203,7 +203,7 @@ export const widgetBarchart = { name: 'nameFontSizeX', required: false, placeholder: '', - value: 12 + value: 14 }, { type: 'vue-color', @@ -219,7 +219,7 @@ export const widgetBarchart = { name: 'fontSizeX', required: false, placeholder: '', - value: 12, + value: 14, }, { type: 'el-slider', @@ -389,11 +389,19 @@ export const widgetBarchart = { name: 'isShow', required: false, placeholder: '', - value: false + value: true }, { type: 'el-input-number', - label: '字体大小', + label: '距离', + name: 'distance', + required: false, + placeholder: '', + value: 5 + }, + { + type: 'el-input-number', + label: '字体字号', name: 'fontSize', required: false, placeholder: '', @@ -428,17 +436,17 @@ export const widgetBarchart = { list: [ { type: 'el-input-number', - label: '字体大小', - name: 'fontSize', + label: '字体字号', + name: 'tipFontSize', required: false, - placeholder: '', + placeholder: 16, }, { type: 'vue-color', label: '字体颜色', name: 'lineColor', required: false, - placeholder: '', + placeholder: '#ff7f50', }, ], }, @@ -497,7 +505,7 @@ export const widgetBarchart = { }, { type: 'el-input-number', - label: '字体大小', + label: '字体字号', name: 'lengedFontSize', required: false, placeholder: '', diff --git a/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barlinechart.js b/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barlinechart.js index afaa2aaa..7c687d83 100644 --- a/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barlinechart.js +++ b/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-barlinechart.js @@ -433,13 +433,115 @@ export const widgetBarlinechart = { }, ], }, + { + name: '折线数值设定', + list: [ + { + type: 'el-switch', + label: '显示', + name: 'isShowLine', + required: false, + placeholder: '', + value: false + }, + { + type: 'el-input-number', + label: '距离', + name: 'distanceLine', + required: false, + placeholder: '', + value: 5 + }, + { + type: 'el-input-number', + label: '字体字号', + name: 'fontSizeLine', + required: false, + placeholder: '', + value: 14 + }, + { + type: 'vue-color', + label: '字体颜色', + name: 'subTextColorLine', + required: false, + placeholder: '', + value: '#fff' + }, + { + type: 'el-select', + label: '字体粗细', + name: 'fontWeightLine', + required: false, + placeholder: '', + selectOptions: [ + {code: 'normal', name: '正常'}, + {code: 'bold', name: '粗体'}, + {code: 'bolder', name: '特粗体'}, + {code: 'lighter', name: '细体'} + ], + value: 'normal' + }, + ], + }, + { + name: '柱体数值设定', + list: [ + { + type: 'el-switch', + label: '显示', + name: 'isShowBar', + required: false, + placeholder: '', + value: false + }, + { + type: 'el-input-number', + label: '距离', + name: 'distanceBar', + required: false, + placeholder: '', + value: 5 + }, + { + type: 'el-input-number', + label: '字体字号', + name: 'fontSizeBar', + required: false, + placeholder: '', + value: 14 + }, + { + type: 'vue-color', + label: '字体颜色', + name: 'subTextColorBar', + required: false, + placeholder: '', + value: '#fff' + }, + { + type: 'el-select', + label: '字体粗细', + name: 'fontWeightBar', + required: false, + placeholder: '', + selectOptions: [ + {code: 'normal', name: '正常'}, + {code: 'bold', name: '粗体'}, + {code: 'bolder', name: '特粗体'}, + {code: 'lighter', name: '细体'} + ], + value: 'normal' + }, + ], + }, { name: '提示语设置', list: [ { type: 'el-input-number', label: '字体大小', - name: 'fontSize', + name: 'tipFontSize', required: false, placeholder: '', value: 12 @@ -450,7 +552,7 @@ export const widgetBarlinechart = { name: 'lineColor', required: false, placeholder: '', - value: '#fff' + value: '#e68b55' }, ], }, diff --git a/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-gradient-barchart.js b/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-gradient-barchart.js index fb8855e6..c7fc447f 100644 --- a/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-gradient-barchart.js +++ b/report-ui/src/views/report/bigscreen/designer/tools/componentsJSON/widget-gradient-barchart.js @@ -58,14 +58,6 @@ export const widgetGradientBarchart = { placeholder: '', value: 5, }, -/* { - type: 'el-slider', - label: '最小高度', - name: 'minHeight', - require: false, - placeholder: '', - value: 0, - },*/ ], }, { @@ -388,7 +380,15 @@ export const widgetGradientBarchart = { name: 'isShow', required: false, placeholder: '', - value: false + value: true + }, + { + type: 'el-input-number', + label: '距离', + name: 'distance', + required: false, + placeholder: '', + value: 5 }, { type: 'el-input-number', @@ -438,7 +438,7 @@ export const widgetGradientBarchart = { label: '字体颜色', name: 'lineColor', required: false, - placeholder: '', + placeholder: '#ff7f50', }, ], }, @@ -485,7 +485,7 @@ export const widgetGradientBarchart = { name: 'bar0color', required: false, placeholder: '', - value: '#00F4FF' + value: 'rgba(0,244,255,1)' }, { type: 'vue-color', @@ -493,7 +493,7 @@ export const widgetGradientBarchart = { name: 'bar100color', required: false, placeholder: '', - value: '#004DA7' + value: 'rgba(0,77,167,1)' }, { type: 'vue-color', @@ -501,7 +501,7 @@ export const widgetGradientBarchart = { name: 'shadowColor', required: false, placeholder: '', - value: '#00A0DD' + value: 'rgba(0,160,221,1)' }, { type: 'el-input-number', diff --git a/report-ui/src/views/report/bigscreen/designer/widget/bar/widgetGradientColorBarchart.vue b/report-ui/src/views/report/bigscreen/designer/widget/bar/widgetGradientColorBarchart.vue index 48cfd4ca..eed79f71 100644 --- a/report-ui/src/views/report/bigscreen/designer/widget/bar/widgetGradientColorBarchart.vue +++ b/report-ui/src/views/report/bigscreen/designer/widget/bar/widgetGradientColorBarchart.vue @@ -1,11 +1,12 @@