manage-client 3.2.296 → 3.2.297
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -60,7 +60,7 @@ export default {
|
|
|
60
60
|
set (naturedata, num1, num2, num3) {
|
|
61
61
|
this.xc = echarts.init(document.getElementById('bm'))
|
|
62
62
|
this.xc.setOption({
|
|
63
|
-
color: ['#
|
|
63
|
+
color: ['#ed7d31', '#00b050', '#5b9bd5'],
|
|
64
64
|
title: {
|
|
65
65
|
text: '新增用户散列图',
|
|
66
66
|
subtext: '数据查询来源',
|
|
@@ -56,6 +56,9 @@ let getData = function* (self) {
|
|
|
56
56
|
arrparams[i] = res.data[i].name
|
|
57
57
|
item1.name = res.data[i].name
|
|
58
58
|
item1.value = res.data[i].money_value
|
|
59
|
+
item1.itemStyle = {
|
|
60
|
+
color: res.data[i].color
|
|
61
|
+
}
|
|
59
62
|
moneydata.push(item1)
|
|
60
63
|
}
|
|
61
64
|
console.log('加载echars组件')
|
|
@@ -147,9 +150,9 @@ export default {
|
|
|
147
150
|
setMoney (arrparams, moneydata) {
|
|
148
151
|
console.log('进入组件')
|
|
149
152
|
let option = {
|
|
150
|
-
color: ['#
|
|
151
|
-
'#
|
|
152
|
-
'#
|
|
153
|
+
color: ['#00b050', '#ff0000',
|
|
154
|
+
'#7030a0', '#0070c0',
|
|
155
|
+
'#8acf57', '#e1a822',
|
|
153
156
|
'#FFE400', '#9FDB1D',
|
|
154
157
|
'#165DFF', '#00FF2A'],
|
|
155
158
|
title: [
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
77
77
|
setNum (arrparams1, numdata1, arrparams2, numdata2, arrparams3, numdata3, color1, color2, color3) {
|
|
78
78
|
console.log('进入组件')
|
|
79
79
|
let option1 = {
|
|
80
|
-
color: ['#
|
|
80
|
+
color: ['#00b050', '#ed7d31', '#5b9bd5'],
|
|
81
81
|
title: [
|
|
82
82
|
{
|
|
83
83
|
text: '销售气量饼状图',
|