|
|
@@ -4,15 +4,17 @@ let app = new Vue({
|
|
|
el: '#app',
|
|
|
data () {
|
|
|
return {
|
|
|
+ start: 0,
|
|
|
+ end: 9,
|
|
|
touch: true,
|
|
|
timeCommon: '',
|
|
|
- echartC1:{
|
|
|
- national:'',
|
|
|
- province:''
|
|
|
+ echartC1: {
|
|
|
+ national: '',
|
|
|
+ province: ''
|
|
|
},
|
|
|
- echartC2:{
|
|
|
- national:'',
|
|
|
- province:''
|
|
|
+ echartC2: {
|
|
|
+ national: '',
|
|
|
+ province: ''
|
|
|
},
|
|
|
titleName: '',
|
|
|
twinkle7: [],
|
|
|
@@ -60,33 +62,21 @@ let app = new Vue({
|
|
|
this.time = formatDate()
|
|
|
}, 1000)
|
|
|
this.centerData = data
|
|
|
- // 左侧图表
|
|
|
- this.initChartL1()
|
|
|
- // this.initChartL2()
|
|
|
- this.initChartL3()
|
|
|
- // this.initChartL4()
|
|
|
- // this.initChartL5()
|
|
|
- this.initChartL6()
|
|
|
- // this.initChartL7()
|
|
|
- // this.initChartL8()
|
|
|
- // 中间图表
|
|
|
- this.initChartC1()
|
|
|
- this.initChartC2()
|
|
|
- // 右侧图表
|
|
|
- // this.initChartR1()
|
|
|
- // this.initChartR2()
|
|
|
- // this.initChartR3()
|
|
|
- this.initChartR4()
|
|
|
- this.initChartR5()
|
|
|
- // this.initChartR6()
|
|
|
- this.initChartR7()
|
|
|
- // this.initChartR8()
|
|
|
},
|
|
|
beforeDestroy () {
|
|
|
clearInterval(this.timer);
|
|
|
clearInterval(this.timeCommon);
|
|
|
},
|
|
|
methods: {
|
|
|
+ change () {
|
|
|
+ if (this.end < this.companyList.length) {
|
|
|
+ this.start += 9
|
|
|
+ this.end += 9
|
|
|
+ } else {
|
|
|
+ this.start = 0
|
|
|
+ this.end = 9
|
|
|
+ }
|
|
|
+ },
|
|
|
judgeCarousel () {
|
|
|
let a = {
|
|
|
title: {
|
|
|
@@ -219,8 +209,52 @@ let app = new Vue({
|
|
|
this.access_token = obj.access_token
|
|
|
this.orgNumber = obj.id
|
|
|
this.titleName = decodeURIComponent(obj.name)
|
|
|
- this.getData()
|
|
|
- this.judgeCarousel()
|
|
|
+ // this.getData()
|
|
|
+ this.getInstitutional()
|
|
|
+ },
|
|
|
+ // 获取组织机构
|
|
|
+ getInstitutional () {
|
|
|
+ return new Promise((resolve, err) => {
|
|
|
+ let value = {
|
|
|
+ access_token: this.access_token,
|
|
|
+ "Data": {
|
|
|
+ "paramType": "ORG",
|
|
|
+ "orgNumber": this.orgNumber
|
|
|
+ // "orgNumber": '1494979736584079360'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ post('/ierp/kapi/v2/mdnb/mdnb_das/Data/CockpitScreen', value).then(res => {
|
|
|
+ this.companyList = res.data.map(item => {
|
|
|
+ return { name: item.orgName, id: item.orgNumber }
|
|
|
+ })
|
|
|
+ this.getData()
|
|
|
+ this.judgeCarousel()
|
|
|
+ resolve(1);
|
|
|
+ })
|
|
|
+ });
|
|
|
+ },
|
|
|
+ generateEcharts () {
|
|
|
+ // 左侧图表
|
|
|
+ this.initChartL1()
|
|
|
+ // this.initChartL2()
|
|
|
+ this.initChartL3()
|
|
|
+ // this.initChartL4()
|
|
|
+ // this.initChartL5()
|
|
|
+ this.initChartL6()
|
|
|
+ // this.initChartL7()
|
|
|
+ // this.initChartL8()
|
|
|
+ // 中间图表
|
|
|
+ this.initChartC1()
|
|
|
+ this.initChartC2()
|
|
|
+ // 右侧图表
|
|
|
+ // this.initChartR1()
|
|
|
+ // this.initChartR2()
|
|
|
+ // this.initChartR3()
|
|
|
+ this.initChartR4()
|
|
|
+ this.initChartR5()
|
|
|
+ // this.initChartR6()
|
|
|
+ this.initChartR7()
|
|
|
+ // this.initChartR8()
|
|
|
},
|
|
|
getData () {
|
|
|
return new Promise((resolve, err) => {
|
|
|
@@ -232,7 +266,7 @@ let app = new Vue({
|
|
|
}
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_das/Data/CockpitScreen', value).then(res => {
|
|
|
- // res.orgData = res.data[0]
|
|
|
+ res.orgData = res.data[0]
|
|
|
// 定机构
|
|
|
// 弹窗
|
|
|
// return
|
|
|
@@ -286,8 +320,12 @@ let app = new Vue({
|
|
|
})
|
|
|
// 各二级企业本部员额数
|
|
|
dataL6[0] = []
|
|
|
+ dataL6[2] = []
|
|
|
+ dataL6[1] = []
|
|
|
res.orgData.area3.card2.forEach(item => {
|
|
|
dataL6[0].push(item['ZBPZ0031'])
|
|
|
+ dataL6[2].push(item['ZBPZ0094'])
|
|
|
+ dataL6[1].push(item['ZBPZ0095'])
|
|
|
})
|
|
|
// 人数变化和全员劳动生产率变化率分析
|
|
|
dataL7[0] = []
|
|
|
@@ -362,7 +400,7 @@ let app = new Vue({
|
|
|
res.orgData.area6.card1.forEach(item => {
|
|
|
dataR7[0].push(item['ZBPZ0066'])
|
|
|
})
|
|
|
- // 各二级企业任期制契约化完成率
|
|
|
+ // 各二级企业任期制契约化考核完成率
|
|
|
dataR8[0] = []
|
|
|
res.orgData.area6.card2.forEach(item => {
|
|
|
dataR8[0].push(item['ZBPZ0065'])
|
|
|
@@ -462,8 +500,11 @@ let app = new Vue({
|
|
|
this.showTip = true
|
|
|
this.tipNum = index
|
|
|
},
|
|
|
- handleGoPage (url) {
|
|
|
- window.location.href = './index4.html?id=' + id + `&access_token=${this.access_token}`
|
|
|
+ handleGoPage (id,name) {
|
|
|
+ // window.location.href = './index4.html?id=' + id + `&access_token=${this.access_token}`
|
|
|
+ this.orgNumber = id
|
|
|
+ this.titleName = name
|
|
|
+ this.getInstitutional()
|
|
|
},
|
|
|
handleGoIndex () {
|
|
|
window.location.href = './index.html'
|
|
|
@@ -513,7 +554,7 @@ let app = new Vue({
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '六个四级企业本部机构数核定上限',
|
|
|
+ name: '六个企业本部机构数核定上限',
|
|
|
type: 'line',
|
|
|
// yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
|
|
|
smooth: true, //平滑曲线显示
|
|
|
@@ -536,7 +577,7 @@ let app = new Vue({
|
|
|
data: dataL1[2],
|
|
|
},
|
|
|
{
|
|
|
- name: '六定改革前各四级企业本部机构数',
|
|
|
+ name: '六定改革前各企业本部机构数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -556,7 +597,7 @@ let app = new Vue({
|
|
|
data: dataL1[0],
|
|
|
},
|
|
|
{
|
|
|
- name: '当前各四级企业本部机构数',
|
|
|
+ name: '当前各企业本部机构数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -589,7 +630,7 @@ let app = new Vue({
|
|
|
}
|
|
|
|
|
|
option.title.text = '本部机构数'
|
|
|
- option.legend.data = ['六定改革前各四级企业本部机构数', '当前各四级企业本部机构数', '六个四级企业本部机构数核定上限']
|
|
|
+ option.legend.data = ['六定改革前各企业本部机构数', '当前各企业本部机构数', '六个企业本部机构数核定上限']
|
|
|
option.yAxis.push({
|
|
|
splitLine: {
|
|
|
show: false,
|
|
|
@@ -622,7 +663,7 @@ let app = new Vue({
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '当前各四级企业所属架构数',
|
|
|
+ name: '当前各企业所属架构数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -643,8 +684,8 @@ let app = new Vue({
|
|
|
}
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业所属架构数'
|
|
|
- option.legend.data = ['当前各四级企业所属架构数']
|
|
|
+ option.title.text = '各企业所属架构数'
|
|
|
+ option.legend.data = ['当前各企业所属架构数']
|
|
|
option.yAxis.push({
|
|
|
splitLine: {
|
|
|
show: false,
|
|
|
@@ -657,20 +698,93 @@ let app = new Vue({
|
|
|
},
|
|
|
initChartL3 () {
|
|
|
let myChart = echarts.init(this.$refs['echartL3'])
|
|
|
- console.log(this.commonOption, "this.commonOption")
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#6480f3',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '当前本部中层管理人数',
|
|
|
+ name: '六定改革前各本部中层管理人数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
+ label: {
|
|
|
+ normal: {
|
|
|
+ show: true,
|
|
|
+ position: 'top',
|
|
|
+ textStyle: {
|
|
|
+ color: '#69c0ff',
|
|
|
+ fontStyle: 'normal',
|
|
|
+ textAlign: 'left',
|
|
|
+ fontSize: 16,
|
|
|
+ },
|
|
|
+ formatter: function (data) {
|
|
|
+ if (data.name == '云时代') {
|
|
|
+ return data.value
|
|
|
+ } else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
offset: 0,
|
|
|
- color: '#5e7ae9',
|
|
|
+ color: '#6480f3',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },
|
|
|
+ ]),
|
|
|
+ },
|
|
|
+ },
|
|
|
+ data: dataL4[0],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '当前各本部中层管理人数',
|
|
|
+ type: 'bar',
|
|
|
+ barWidth: 15,
|
|
|
+ label: {
|
|
|
+ normal: {
|
|
|
+ show: true,
|
|
|
+ position: 'top',
|
|
|
+ textStyle: {
|
|
|
+ color: '#6480f3',
|
|
|
+ fontStyle: 'normal',
|
|
|
+ textAlign: 'left',
|
|
|
+ fontSize: 16,
|
|
|
+ },
|
|
|
+ formatter: function (data) {
|
|
|
+ if (data.name == '云时代') {
|
|
|
+ return data.value
|
|
|
+ } else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
+ {
|
|
|
+ offset: 0,
|
|
|
+ color: '#43ede3',
|
|
|
},
|
|
|
{
|
|
|
offset: 1,
|
|
|
@@ -679,12 +793,54 @@ let app = new Vue({
|
|
|
]),
|
|
|
},
|
|
|
},
|
|
|
- data: dataL3[0],
|
|
|
+ data: dataL4[1],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '各本部中层管理人数核定上限',
|
|
|
+ type: 'line',
|
|
|
+ // yAxisIndex: 1,
|
|
|
+ smooth: true, //平滑曲线显示
|
|
|
+ showAllSymbol: true, //显示所有图形。
|
|
|
+ symbol: 'circle', //标记的图形为实心圆
|
|
|
+ symbolSize: 8, //标记的大小
|
|
|
+ smooth: false,
|
|
|
+ label: {
|
|
|
+ normal: {
|
|
|
+ show: true,
|
|
|
+ position: 'top',
|
|
|
+ textStyle: {
|
|
|
+ color: '#fbe138',
|
|
|
+ fontStyle: 'normal',
|
|
|
+ textAlign: 'left',
|
|
|
+ fontSize: 16,
|
|
|
+ },
|
|
|
+ formatter: function (data) {
|
|
|
+ if (data.name == '云时代') {
|
|
|
+ return data.value
|
|
|
+ } else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ itemStyle: {
|
|
|
+ //折线拐点标志的样式
|
|
|
+ color: '#fbe138',
|
|
|
+ borderColor: '#fbe138',
|
|
|
+ width: 2,
|
|
|
+ shadowColor: '#fbe138',
|
|
|
+ shadowBlur: 4,
|
|
|
+ },
|
|
|
+ lineStyle: {
|
|
|
+ color: '#fbe138',
|
|
|
+ width: 2,
|
|
|
+ },
|
|
|
+ data: dataL4[2],
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业本部中层管理人数'
|
|
|
- option.legend.data = ['当前本部中层管理人数']
|
|
|
+ option.title.text = '各企业本部中层管理人数'
|
|
|
+ option.legend.data = ['六定改革前各本部中层管理人数', '当前各本部中层管理人数', '各本部中层管理人数核定上限']
|
|
|
option.yAxis.push({
|
|
|
type: 'value',
|
|
|
axisLine: {
|
|
|
@@ -718,7 +874,7 @@ let app = new Vue({
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '六定改革前各四级中层管理人数',
|
|
|
+ name: '六定改革前各本部中层管理人数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
label: {
|
|
|
@@ -757,7 +913,7 @@ let app = new Vue({
|
|
|
data: dataL4[0],
|
|
|
},
|
|
|
{
|
|
|
- name: '当前各四级中层管理人数',
|
|
|
+ name: '当前各本部中层管理人数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
label: {
|
|
|
@@ -796,7 +952,7 @@ let app = new Vue({
|
|
|
data: dataL4[1],
|
|
|
},
|
|
|
{
|
|
|
- name: '各四级中层管理人数核定上限',
|
|
|
+ name: '各本部中层管理人数核定上限',
|
|
|
type: 'line',
|
|
|
// yAxisIndex: 1,
|
|
|
smooth: true, //平滑曲线显示
|
|
|
@@ -839,8 +995,8 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业本部中层管理人数'
|
|
|
- option.legend.data = ['六定改革前各四级中层管理人数', '当前各四级中层管理人数', '各四级中层管理人数核定上限']
|
|
|
+ option.title.text = '各企业本部中层管理人数'
|
|
|
+ option.legend.data = ['六定改革前各本部中层管理人数', '当前各本部中层管理人数', '各本部中层管理人数核定上限']
|
|
|
option.legend.show = true
|
|
|
// option.yAxis.push({
|
|
|
// splitLine: {
|
|
|
@@ -874,7 +1030,7 @@ let app = new Vue({
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '各四级企业总人数',
|
|
|
+ name: '各企业总人数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -894,7 +1050,7 @@ let app = new Vue({
|
|
|
data: dataL5[0],
|
|
|
},
|
|
|
{
|
|
|
- name: '去年同期人数变化率',
|
|
|
+ name: '人数变化率',
|
|
|
type: 'line',
|
|
|
yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
|
|
|
smooth: true, //平滑曲线显示
|
|
|
@@ -918,8 +1074,8 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业总人数'
|
|
|
- option.legend.data = ['各四级企业总人数', '去年同期人数变化率']
|
|
|
+ option.title.text = '各企业总人数'
|
|
|
+ option.legend.data = ['各企业总人数', '人数变化率']
|
|
|
option.legend.show = true
|
|
|
option.tooltip = {
|
|
|
trigger: 'axis',
|
|
|
@@ -965,7 +1121,7 @@ let app = new Vue({
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '各四级员额数',
|
|
|
+ name: '各企业本部员额数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -989,7 +1145,7 @@ let app = new Vue({
|
|
|
data: dataL6[0],
|
|
|
},
|
|
|
{
|
|
|
- name: '六定改革前各四级员额数',
|
|
|
+ name: '六定改革前各企业本部员额数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -1009,7 +1165,7 @@ let app = new Vue({
|
|
|
data: dataL6[2],
|
|
|
},
|
|
|
{
|
|
|
- name: '各四级员额数核定上限',
|
|
|
+ name: '各企业本部员额数核定上限值',
|
|
|
type: 'line',
|
|
|
yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
|
|
|
smooth: true, //平滑曲线显示
|
|
|
@@ -1033,8 +1189,8 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业本部员额数'
|
|
|
- option.legend.data = ['当前各四级企业本部员额数', '六定改革前各四级企业本部员额数','各四级企业本部员额数核定上限值']
|
|
|
+ option.title.text = '各企业本部员额数'
|
|
|
+ option.legend.data = ['各企业本部员额数', '六定改革前各企业本部员额数', '各企业本部员额数核定上限值']
|
|
|
option.legend.show = true
|
|
|
option.yAxis.push({
|
|
|
splitLine: {
|
|
|
@@ -1395,8 +1551,8 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级全员劳动生产率'
|
|
|
- option.legend.data = ['全员劳动生产率同比变化', '全员劳动生产率(万/人)']
|
|
|
+ option.title.text = '各全员劳动生产率'
|
|
|
+ option.legend.data = ['全员劳动生产率(万/人)', '全员劳动生产率同比变化']
|
|
|
option.legend.show = true
|
|
|
option.grid.right = '15%'
|
|
|
option.tooltip = {
|
|
|
@@ -1531,8 +1687,8 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级人工成本利润率'
|
|
|
- option.legend.data = ['人工成本利润率同比变化', '人工成本利润率']
|
|
|
+ option.title.text = '各人工成本利润率'
|
|
|
+ option.legend.data = ['人工成本利润率', '人工成本利润率同比变化']
|
|
|
option.legend.show = true
|
|
|
option.tooltip = {
|
|
|
trigger: 'axis',
|
|
|
@@ -1610,7 +1766,7 @@ let app = new Vue({
|
|
|
data: dataR1[0],
|
|
|
},
|
|
|
{
|
|
|
- name: '招聘需求公告累计招聘人次',
|
|
|
+ name: '招聘需求公告累计公开招聘人数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -1632,8 +1788,8 @@ let app = new Vue({
|
|
|
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业招聘需求公告人次情况'
|
|
|
- option.legend.data = ['招聘需求公告次数', '招聘需求公告累计招聘人次']
|
|
|
+ option.title.text = '各企业招聘需求公告人次情况'
|
|
|
+ option.legend.data = ['招聘需求公告次数', '招聘需求公告累计公开招聘人数']
|
|
|
option.legend.show = true
|
|
|
option.yAxis.push({
|
|
|
splitLine: {
|
|
|
@@ -1694,7 +1850,7 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业录用结果公示人次'
|
|
|
+ option.title.text = '各企业录用结果公示人次'
|
|
|
option.legend.data = ['录用结果公示次数', '录用结果公示累计公示人数']
|
|
|
option.legend.show = true
|
|
|
option.yAxis.push({
|
|
|
@@ -1719,19 +1875,19 @@ let app = new Vue({
|
|
|
y: 0,
|
|
|
x2: 0,
|
|
|
y2: 1,
|
|
|
- colorStops: [ {
|
|
|
- offset: 0,
|
|
|
- color: '#45DAD1',
|
|
|
- },
|
|
|
- {
|
|
|
- offset: 1,
|
|
|
- color: '#082550',
|
|
|
- },],
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#45DAD1',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
}
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '2022年利润(万)',
|
|
|
+ name: '年利润(万)',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -1777,8 +1933,8 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业年利润与招聘情况分析'
|
|
|
- option.legend.data = ['2022年利润(万)', '2022年累计招聘数']
|
|
|
+ option.title.text = '各企业年利润与招聘情况分析'
|
|
|
+ option.legend.data = ['年利润(万)', '2022年累计招聘数']
|
|
|
option.legend.show = true
|
|
|
option.yAxis[0].max = function (value) {
|
|
|
if (Math.abs(value.max) > Math.abs(value.min)) {
|
|
|
@@ -1878,7 +2034,7 @@ let app = new Vue({
|
|
|
color: params => {
|
|
|
if (dataR4[0][params.dataIndex] / 2 < params.value) {
|
|
|
return 'red'
|
|
|
- }
|
|
|
+ }
|
|
|
else {
|
|
|
return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
@@ -1898,7 +2054,7 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各省属企业"退二进一"完成情况'
|
|
|
+ option.title.text = '各企业"退二进一"完成情况'
|
|
|
option.legend.data = ['2022年退出人数和2023年当前累计退出人数之和', '2022年招聘人数和2023年当前累计招聘人数之和']
|
|
|
option.legend.show = true
|
|
|
option.yAxis[0] = {
|
|
|
@@ -1974,7 +2130,7 @@ let app = new Vue({
|
|
|
}
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业在岗职工平均薪酬'
|
|
|
+ option.title.text = '各企业在岗职工平均薪酬'
|
|
|
option.legend.data = ['在岗职工平均薪酬', '去年同期在岗职工平均薪酬']
|
|
|
option.legend.show = true
|
|
|
option.yAxis.push({
|
|
|
@@ -2072,7 +2228,7 @@ let app = new Vue({
|
|
|
],
|
|
|
}
|
|
|
|
|
|
- option.title.text = '各四级企业利润与薪酬变动情况'
|
|
|
+ option.title.text = '各企业利润与薪酬变动情况'
|
|
|
option.legend.data = ['2022年利润累计涨幅率', '2022年薪酬累计涨幅率']
|
|
|
option.tooltip = {
|
|
|
trigger: 'axis',
|
|
|
@@ -2174,7 +2330,7 @@ let app = new Vue({
|
|
|
color: params => {
|
|
|
if (params.value < 50) {
|
|
|
return 'yellow'
|
|
|
- }
|
|
|
+ }
|
|
|
else {
|
|
|
return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
@@ -2194,7 +2350,7 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业全员绩效考核'
|
|
|
+ option.title.text = '各企业全员绩效考核'
|
|
|
// option.legend.data = ['劳动合同签约完成率', '目标值']
|
|
|
option.tooltip = {
|
|
|
trigger: 'axis',
|
|
|
@@ -2231,7 +2387,7 @@ let app = new Vue({
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '任期制契约化完成率',
|
|
|
+ name: '任期制契约化考核完成率',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
itemStyle: {
|
|
|
@@ -2252,7 +2408,7 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
- option.title.text = '各四级企业任期制契约化完成率'
|
|
|
+ option.title.text = '各企业任期制契约化考核完成率'
|
|
|
option.tooltip = {
|
|
|
trigger: 'axis',
|
|
|
formatter: '{a0}:{c0}' + '%'
|