Commit a86e564b by 289446646@qq.com

柱状图、颜色修改

parent e9e334d7
......@@ -1043,6 +1043,7 @@
}
_this.$echarts.init(document.getElementById("pag3charts1")).setOption(_this.option, true)
}).catch(err => {
console.log("--测试定义接口报错--");
})
......@@ -1192,28 +1193,17 @@
normal: {
color: new this.$echarts.graphic.LinearGradient(
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
},
{
offset: 0.5,
color: '#115D5D'
},
{
offset: 0.5,
color: '#4195EE'
},
{
offset: 1,
color: '#4195EE'
}
[
{offset: 0, color: '#2A5B78'},
{offset: 0.5, color: '#2A5B78'},
{offset: 0.6, color: '#4093E9'},
{offset: 1, color: '#4093E9'}
]
)
}
},
barWidth: null,
data: _this.data101
data: null,
},
{
name: '管理/签约人群累计死后随访人数', //签
......@@ -1221,7 +1211,19 @@
stack: '1',
itemStyle: {
normal: {
color: '#4195EE'
color: '#4093E9'
}
},
barWidth: null,
data: _this.data101
},
{
name: '管理/签约人群累计死后随访人数', //签
type: 'bar',
stack: '1',
itemStyle: {
normal: {
color: '#2A5B78'
}
},
barWidth: null,
......@@ -1245,31 +1247,44 @@
},
{
offset: 0.5,
color: '#00D6DF'
color: '#4195EE'
},
{
offset: 1,
color: '#00D6DF'
color: '#4195EE'
}
]
)
}
},
barWidth: null,
data: null
},
{
name: '去年管理/签约人群累计死后随访人数', //签
type: 'bar',
stack: '1',
itemStyle: {
normal: {
color: '#4093E9'
}
},
barWidth: null,
data: _this.data103
},
{
name: '去年管理/签约人群累计死后随访人数', //签
type: 'bar',
stack: '2',
stack: '1',
itemStyle: {
normal: {
color: '#00D6DF'
color: '#115D5D'
}
},
barWidth: null,
data: _this.data104
},
{
name: '管·累计死后随访比/去年',
type: 'line',
......@@ -1296,21 +1311,48 @@
},
{
offset: 0.5,
color: '#FFC54E'
color: '#00BEBE'
},
{
offset: 1,
color: '#FFC54E'
color: '#00BEBE'
}
]
)
}
},
z: 12,
data: null
},
{
name: '管·累计死后随访比/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#00BEBE'
}
},
barWidth: null,
data: _this.data105
},
{
name: '管·累计死后随访比/去年',
name: '管·累计死后随访比/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#115D5D'
}
},
barWidth: null,
data: _this.data106
},
{
name: '签·累计死后随访比/去年',
type: 'line',
smooth: true,
yAxisIndex: 1,
......@@ -1327,26 +1369,26 @@
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
color: '#FF8E00'
},
{
offset: 0.5,
color: '#115D5D'
color: '#FF8E00'
},
{
offset: 0.5,
color: '#FFC54E'
color: '#ffc85a'
},
{
offset: 1,
color: '#FFC54E'
color: '#ffc85a'
}
]
)
}
},
z: 12,
data: _this.data106
data: null
},
{
name: '签·累计死后随访比/去年',
......@@ -1362,12 +1404,13 @@
},
itemStyle: {
normal: {
color: '#FFC54E'
color: '#ffc85a'
}
},
z: 12,
data: _this.data107
},
}
,
{
name: '签·累计死后随访比/去年',
type: 'line',
......@@ -1382,7 +1425,7 @@
},
itemStyle: {
normal: {
color: '#FFC54E'
color: '#FF8E00'
}
},
z: 12,
......@@ -1393,6 +1436,8 @@
_this.option2.xAxis[0].data = _this.data_x
_this.option2.series = series
_this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true)
} else if (_this.bingNo == 2) {
_this.data201 = []
_this.data202 = []
......@@ -1503,28 +1548,17 @@
normal: {
color: new this.$echarts.graphic.LinearGradient(
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
},
{
offset: 0.5,
color: '#115D5D'
},
{
offset: 0.5,
color: '#FFC54E'
},
{
offset: 1,
color: '#FFC54E'
}
[
{offset: 0, color: '#2A5B78'},
{offset: 0.5, color: '#2A5B78'},
{offset: 0.6, color: '#4093E9'},
{offset: 1, color: '#4093E9'}
]
)
}
},
barWidth: null,
data: _this.data201
data: null
},
{
name: '管理/签约人群病史未标记人数', //签
......@@ -1532,7 +1566,19 @@
stack: '1',
itemStyle: {
normal: {
color: '#4195EE'
color: '#4093E9'
}
},
barWidth: null,
data: _this.data201
},
{
name: '管理/签约人群病史未标记人数', //签
type: 'bar',
stack: '1',
itemStyle: {
normal: {
color: '#2A5B78'
}
},
barWidth: null,
......@@ -1546,27 +1592,28 @@
normal: {
color: new this.$echarts.graphic.LinearGradient(
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
},
{
offset: 0.5,
color: '#115D5D'
},
{
offset: 0.5,
color: '#00D6DF'
},
{
offset: 1,
color: '#00D6DF'
}
[
{offset: 0, color: '#115D5D'},
{offset: 0.5, color: '#115D5D'},
{offset: 0.6, color: '#00BEBE'},
{offset: 1, color: '#00BEBE'}
]
)
}
},
barWidth: null,
data: null
},
{
name: '去年管理/签约人群病史未标记人数', //签
type: 'bar',
stack: '2',
itemStyle: {
normal: {
color: '#00BEBE'
}
},
barWidth: null,
data: _this.data203
},
{
......@@ -1575,7 +1622,7 @@
stack: '2',
itemStyle: {
normal: {
color: '#00D6DF'
color: '#115D5D'
}
},
barWidth: null,
......@@ -1599,29 +1646,57 @@
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
color: '#2A5B78'
},
{
offset: 0.5,
color: '#115D5D'
color: '#2A5B78'
},
{
offset: 0.5,
color: '#FFC54E'
color: '#4093E9'
},
{
offset: 1,
color: '#FFC54E'
color: '#4093E9'
}
]
)
}
},
z: 12,
data: null
},
{
name: '管·未标记率/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#4093E9'
}
},
barWidth: null,
data: _this.data205
},
{
name: '管·未标记率/去年',
name: '管·未标记率/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#2A5B78'
}
},
barWidth: null,
data: _this.data206
},
{
name: '签·未标记率/去年',
type: 'line',
smooth: true,
yAxisIndex: 1,
......@@ -1646,57 +1721,44 @@
},
{
offset: 0.5,
color: '#FFC54E'
color: '#00BEBE'
},
{
offset: 1,
color: '#FFC54E'
color: '#00BEBE'
}
]
)
}
},
z: 12,
data: _this.data206
data: null
},
{
name: '签·未标记率/去年',
name: '签·未标记率/去年', //签
type: 'line',
smooth: true,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 6,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#FFC54E'
color: '#00BEBE'
}
},
z: 12,
barWidth: null,
data: _this.data207
},
{
name: '签·未标记率/去年',
name: '签·未标记率/去年', //签
type: 'line',
smooth: true,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 6,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#FFC54E'
color: '#115D5D'
}
},
z: 12,
barWidth: null,
data: _this.data208
},
{
......@@ -1717,29 +1779,56 @@
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
color: '#FF8E00'
},
{
offset: 0.5,
color: '#115D5D'
color: '#FF8E00'
},
{
offset: 0.5,
color: '#3FDCB7'
color: '#ffc85a'
},
{
offset: 1,
color: '#3FDCB7'
color: '#ffc85a'
}
]
)
}
},
z: 12,
data: null
},
{
name: '管·批量异常随访率/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#ffc85a'
}
},
barWidth: null,
data: _this.data209
},
{
name: '管·批量异常随访率/去年',
name: '管·批量异常随访率/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#FF8E00'
}
},
barWidth: null,
data: _this.data210
},
{
name: '签·批量异常随访率/去年',
type: 'line',
smooth: true,
yAxisIndex: 1,
......@@ -1756,67 +1845,55 @@
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
color: '#0cb74c'
},
{
offset: 0.5,
color: '#115D5D'
color: '#0cb74c'
},
{
offset: 0.5,
color: '#3FDCB7'
color: '#69ffc4'
},
{
offset: 1,
color: '#3FDCB7'
color: '#69ffc4'
}
]
)
}
},
z: 12,
data: _this.data210
data: null
},
{
name: '签·批量异常随访率/去年',
name: '签·批量异常随访率/去年', //签
type: 'line',
smooth: true,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 6,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#3FDCB7'
color: '#69ffc4'
}
},
z: 12,
barWidth: null,
data: _this.data211
},
{
name: '签·批量异常随访率/去年',
name: '签·批量异常随访率/去年', //签
type: 'line',
smooth: true,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 6,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#3FDCB7'
color: '#0cb74c'
}
},
z: 12,
barWidth: null,
data: _this.data212
},
{
name: '管·指标不一致率/去年',
type: 'line',
......@@ -1835,29 +1912,57 @@
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
color: '#FF5722'
},
{
offset: 0.5,
color: '#115D5D'
color: '#FF5722'
},
{
offset: 0.5,
color: '#3FDCB7'
color: '#FFC8C1'
},
{
offset: 1,
color: '#3FDCB7'
color: '#FFC8C1'
}
]
)
}
},
z: 12,
data: null
},
{
name: '管·指标不一致率/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#FFC8C1'
}
},
barWidth: null,
data: _this.data213
},
{
name: '管·指标不一致率/去年',
name: '管·指标不一致率/去年', //签
type: 'line',
yAxisIndex: 1,
symbol: 'circle',
itemStyle: {
normal: {
color: '#FF5722'
}
},
barWidth: null,
data: _this.data214
},
{
name: '签·指标不一致率/去年',
type: 'line',
smooth: true,
yAxisIndex: 1,
......@@ -1874,67 +1979,56 @@
0, 0, 0, 1,
[{
offset: 0,
color: '#115D5D'
color: '#1E10B7'
},
{
offset: 0.5,
color: '#115D5D'
color: '#1E10B7'
},
{
offset: 0.5,
color: '#3FDCB7'
color: '#1761B7'
},
{
offset: 1,
color: '#3FDCB7'
color: '#1761B7'
}
]
)
}
},
z: 12,
data: _this.data214
data: null
},
{
name: '签·指标不一致率/去年',
name: '签·指标不一致率/去年', //签
type: 'line',
smooth: true,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 6,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#3FDCB7'
color: '#1761B7'
}
},
z: 12,
barWidth: null,
data: _this.data215
},
{
name: '签·指标不一致率/去年',
name: '签·指标不一致率/去年', //签
type: 'line',
smooth: true,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 6,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#3FDCB7'
color: '#1E10B7'
}
},
z: 12,
barWidth: null,
data: _this.data216
}
},
]
_this.option2.xAxis[0].data = _this.data_x
_this.option2.series = series
......@@ -2164,6 +2258,7 @@
})
},
DieaChange(Num) {
console.log("点击了---Num="+Num)
let _this = this
_this.DieaNo = Num
_this.bingChange(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment