From 6906ea3cc58d6d3d3842f39c3e266c929039d9c5 Mon Sep 17 00:00:00 2001 From: qianming Date: Tue, 18 Jan 2022 16:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E6=9F=B1=E7=BA=BF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tools/configure/widget-more-bar-line.js | 37 +-- .../widget/bar/widgetMoreBarLineChart.vue | 224 ++++++++++-------- 2 files changed, 133 insertions(+), 128 deletions(-) diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js index 247aed32..04d49c19 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js @@ -351,14 +351,6 @@ export const widgetMoreBarLine = { placeholder: '', value: 14, }, - { - type: 'el-input-number', - label: '左均分', - name: 'splitNumberLeft', - required: false, - placeholder: '', - value: '' - }, { type: 'el-switch', label: '右显示', @@ -391,14 +383,6 @@ export const widgetMoreBarLine = { placeholder: '', value: 14, }, - { - type: 'el-input-number', - label: '右均分', - name: 'splitNumberRight', - required: false, - placeholder: '', - value: '' - }, { type: 'vue-color', label: '数值颜色', @@ -415,14 +399,6 @@ export const widgetMoreBarLine = { placeholder: '', value: 14, }, - { - type: 'el-switch', - label: '轴反转', - name: 'reversalY', - required: false, - placeholder: '', - value: false - }, { type: 'vue-color', label: '轴颜色', @@ -642,11 +618,14 @@ export const widgetMoreBarLine = { relactiveDom: 'dataType', relactiveDomValue: 'staticData', value: [ - {"datetime": "2021-06-18", "unsales": 21, "manus": 252, "rework": 38, "sales": 231, "return": 7}, - {"datetime": "2021-06-19", "unsales": 8, "manus": 133, "rework": 22, "sales": 140, "return": 14}, - {"datetime": "2021-06-20", "unsales": 19, "manus": 189, "rework": 26, "sales": 170, "return": 7}, - {"datetime": "2021-06-21", "unsales": 28, "manus": 219, "rework": 21, "sales": 191, "return": 6}, - {"datetime": "2021-06-22", "unsales": 15, "manus": 159, "rework": 19, "sales": 144, "return": 9} + {"date": "2014", "unsales": 400, "manus": 300, "rework": 400, "sales": 4.2,}, + {"date": "2015", "unsales": 400, "manus": 500, "rework": 300, "sales": 3.6,}, + {"date": "2016", "unsales": 300, "manus": 500, "rework": 500, "sales": 5.8,}, + {"date": "2017", "unsales": 300, "manus": 500, "rework": 700, "sales": 3.4,}, + {"date": "2018", "unsales": 400, "manus": 400, "rework": 1000, "sales": 2.5,}, + {"date": "2019", "unsales": 400, "manus": 500, "rework": 500, "sales": 5.8,}, + {"date": "2020", "unsales": 300, "manus": 400, "rework": 600, "sales": 7.6,}, + {"date": "2021", "unsales": 300, "manus": 600, "rework": 400, "sales": 3.4,}, ] }, { diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue index ba341a59..0f120fc2 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue @@ -6,8 +6,9 @@