|
@@ -161,6 +161,12 @@ let app = new Vue({
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleGoPage(url){
|
|
|
+ window.location.href = url
|
|
|
+ },
|
|
|
+ handleGoBack(){
|
|
|
+ window.history.go(-1)
|
|
|
+ },
|
|
|
numFormat (value) {
|
|
|
if (!value) return '0'
|
|
|
var intPart = Number(value).toFixed(0) // 获取整数部分
|
|
@@ -812,7 +818,7 @@ let app = new Vue({
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
series: [
|
|
|
{
|
|
|
- name: '人工成本利润同比',
|
|
|
+ name: '人工成本利润率同比',
|
|
|
type: 'line',
|
|
|
yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
|
|
|
smooth: true, //平滑曲线显示
|
|
@@ -833,6 +839,27 @@ let app = new Vue({
|
|
|
width: 2,
|
|
|
},
|
|
|
data: dataC2[0],
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '人工成本利润率',
|
|
|
+ type: 'bar',
|
|
|
+ barWidth: 15,
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
+ {
|
|
|
+ offset: 0,
|
|
|
+ color: '#69c0ff',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },
|
|
|
+ ]),
|
|
|
+ },
|
|
|
+ },
|
|
|
+ data: dataC2[1],
|
|
|
markLine: {
|
|
|
data: [
|
|
|
{
|
|
@@ -865,30 +892,10 @@ let app = new Vue({
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- name: '人工成本利润率',
|
|
|
- type: 'bar',
|
|
|
- barWidth: 15,
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
- {
|
|
|
- offset: 0,
|
|
|
- color: '#69c0ff',
|
|
|
- },
|
|
|
- {
|
|
|
- offset: 1,
|
|
|
- color: '#082550',
|
|
|
- },
|
|
|
- ]),
|
|
|
- },
|
|
|
- },
|
|
|
- data: dataC2[1]
|
|
|
- },
|
|
|
],
|
|
|
}
|
|
|
option.title.text = '人工成本利润率'
|
|
|
- option.legend.data = ['人工成本利润同比', '人工成本利润率']
|
|
|
+ option.legend.data = ['人工成本利润率同比', '人工成本利润率']
|
|
|
option.legend.show = true
|
|
|
option.tooltip = {
|
|
|
trigger: 'axis',
|
|
@@ -1372,7 +1379,7 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各三级企业任期制考核'
|
|
|
+ option.title.text = '各三级企业任期制契约化完成率'
|
|
|
// option.legend.data = ['劳动合同签约完成率', '目标值']
|
|
|
option.yAxis.push({
|
|
|
splitLine: {
|