Browse Source

默认值调整

qianming 2 năm trước cách đây
mục cha
commit
b757bc84a6

+ 11 - 9
report-ui/src/views/bigscreenDesigner/designer/tools/configure/lineCharts/widget-line-compare.js

@@ -321,7 +321,7 @@ export const widgetLineCompare = {
             {
               type: 'el-input-text',
               label: '坐标名',
-              name: 'xName',
+              name: 'nameX',
               required: false,
               placeholder: '',
               value: ''
@@ -414,14 +414,15 @@ export const widgetLineCompare = {
             {
               type: 'el-input-text',
               label: '坐标名',
-              name: 'textNameYTop',
+              name: 'textNameY',
               require: false,
               placeholder: '',
               value: ''
-            }, {
+            },
+            {
               type: 'vue-color',
               label: '坐标名颜色',
-              name: 'nameColorYTop',
+              name: 'nameColorY',
               required: false,
               placeholder: '',
               value: '#fff',
@@ -429,7 +430,7 @@ export const widgetLineCompare = {
             {
               type: 'el-input-number',
               label: '坐标名字号',
-              name: 'nameFontSizeYTop',
+              name: 'nameFontSizeY',
               required: false,
               placeholder: '',
               value: 14,
@@ -530,14 +531,15 @@ export const widgetLineCompare = {
             {
               type: 'el-input-text',
               label: '坐标名',
-              name: 'textNameYBottom',
+              name: 'textNameY',
               require: false,
               placeholder: '',
               value: ''
-            }, {
+            },
+            {
               type: 'vue-color',
               label: '坐标名颜色',
-              name: 'nameColorYBottom',
+              name: 'nameColorY',
               required: false,
               placeholder: '',
               value: '#fff',
@@ -545,7 +547,7 @@ export const widgetLineCompare = {
             {
               type: 'el-input-number',
               label: '坐标名字号',
-              name: 'nameFontSizeYBottom',
+              name: 'nameFontSizeY',
               required: false,
               placeholder: '',
               value: 14,

+ 1 - 1
report-ui/src/views/bigscreenDesigner/designer/tools/configure/pieCharts/widget-pie-nightingale.js

@@ -277,7 +277,7 @@ export const widgetPieNightingale = {
               name: 'legendFontSize',
               required: false,
               placeholder: '',
-              value: 16,
+              value: 12,
             },
             {
               type: 'el-input-number',

+ 2 - 2
report-ui/src/views/bigscreenDesigner/designer/tools/configure/pieCharts/widget-piechart.js

@@ -272,12 +272,12 @@ export const widgetPiechart = {
               value: '#fff',
             },
             {
-              type: 'el-input-text',
+              type: 'el-input-number',
               label: '字体字号',
               name: 'legendFontSize',
               required: false,
               placeholder: '',
-              value: 16,
+              value: 12,
             },
             {
               type: 'el-input-number',

+ 7 - 7
report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineCompareChart.vue

@@ -308,7 +308,7 @@ export default {
       const xAxis0 = {
         gridIndex: 0,
         show: optionsSetup.isShowX,
-        name: optionsSetup.xName, // 坐标轴名称
+        name: optionsSetup.nameX, // 坐标轴名称
         nameTextStyle: {
           color: optionsSetup.nameColorX,
           fontSize: optionsSetup.nameFontSizeX
@@ -364,10 +364,10 @@ export default {
         splitNumber: optionsSetup.splitNumberYTop,
         show: optionsSetup.isShowYTop,
         scale: optionsSetup.scaleYTop, // 缩放
-        name: optionsSetup.textNameYTop, // 坐标轴名称
+        name: optionsSetup.textNameY, // 坐标轴名称
         nameTextStyle: {
-          color: optionsSetup.nameColorYTop,
-          fontSize: optionsSetup.nameFontSizeYTop
+          color: optionsSetup.nameColorY,
+          fontSize: optionsSetup.nameFontSizeY
         },
         axisLabel: {
           show: true,
@@ -406,10 +406,10 @@ export default {
         splitNumber: optionsSetup.splitNumberYBottom,
         show: optionsSetup.isShowYBottom,
         scale: optionsSetup.scaleYBottom, // 缩放
-        name: optionsSetup.textNameYBottom, // 坐标轴名称
+        name: optionsSetup.textNameY, // 坐标轴名称
         nameTextStyle: {
-          color: optionsSetup.nameColorYBottom,
-          fontSize: optionsSetup.nameFontSizeYBottom
+          color: optionsSetup.nameColorY,
+          fontSize: optionsSetup.nameFontSizeY
         },
         inverse: true, // 翻转
         axisLabel: {