|
|
@@ -182,26 +182,6 @@ let app = new Vue({
|
|
|
}
|
|
|
},
|
|
|
beforeMount () {
|
|
|
- // dataL7[0].forEach((item, index) => {
|
|
|
- // if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
|
|
|
- // let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
|
|
|
- // this.twinkle7.push(obj)
|
|
|
- // }
|
|
|
- // })
|
|
|
- // // if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
|
|
|
- // dataL8[0].forEach((item, index) => {
|
|
|
- // if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
|
|
|
- // let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
|
|
|
- // this.twinkle8.push(obj)
|
|
|
- // }
|
|
|
- // })
|
|
|
- // // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
|
|
|
- // fjxdataL2[0].forEach((item, index) => {
|
|
|
- // if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
|
|
|
- // let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
|
|
|
- // this.twinkleR6.push(obj)
|
|
|
- // }
|
|
|
- // })
|
|
|
},
|
|
|
mounted () {
|
|
|
if (!sessionStorage.getItem('accounts', this.accounts)) {
|
|
|
@@ -214,7 +194,7 @@ let app = new Vue({
|
|
|
this.time = formatDate()
|
|
|
}, 1000)
|
|
|
this.centerData = data
|
|
|
- // this.generateEcharts()
|
|
|
+ this.generateEcharts()
|
|
|
},
|
|
|
beforeDestroy () {
|
|
|
if (this.timer) {
|
|
|
@@ -540,21 +520,21 @@ let app = new Vue({
|
|
|
// 数据整理
|
|
|
dataL7[0].forEach((item, index) => {
|
|
|
if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
|
|
|
- let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
|
|
|
+ let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
|
|
|
this.twinkle7.push(obj)
|
|
|
}
|
|
|
})
|
|
|
// if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
|
|
|
dataL8[0].forEach((item, index) => {
|
|
|
if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
|
|
|
- let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
|
|
|
+ let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
|
|
|
this.twinkle8.push(obj)
|
|
|
}
|
|
|
})
|
|
|
// params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
|
|
|
fjxdataL2[0].forEach((item, index) => {
|
|
|
if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
|
|
|
- let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
|
|
|
+ let obj = { value: [this.companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
|
|
|
this.twinkleR6.push(obj)
|
|
|
}
|
|
|
})
|
|
|
@@ -640,6 +620,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartL1'])
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#5e7ae9',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '本部机构数核定上限',
|
|
|
@@ -688,7 +684,6 @@ let app = new Vue({
|
|
|
name: '当前各省属企业本部机构数',
|
|
|
type: 'bar',
|
|
|
barWidth: 15,
|
|
|
-
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
color: params => {
|
|
|
@@ -734,7 +729,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartL2'])
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
- color: ['#69c0ff'],
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#69c0ff',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '当前本部共享服务中心/事业部数',
|
|
|
@@ -994,6 +1004,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartL4'])
|
|
|
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: '六定改革前本部中层管理人数',
|
|
|
@@ -1140,6 +1166,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartL5'])
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#69c0ff',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '各省属企业总人数',
|
|
|
@@ -1668,7 +1710,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartC1'])
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
- color: ['#69c0ff'],
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#69c0ff',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '全员劳动生产率(万/人)',
|
|
|
@@ -1826,7 +1883,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartC2'])
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
- color: ['#69c0ff'],
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#69c0ff',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '人工成本利润率',
|
|
|
@@ -2166,7 +2238,22 @@ let app = new Vue({
|
|
|
commonOptions.yAxis[0].splitNumber = 2
|
|
|
let option = {
|
|
|
..._.cloneDeep(commonOptions),
|
|
|
- color: ['#45DAD1'],
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#45DAD1',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '2022年利润(万)',
|
|
|
@@ -2343,6 +2430,22 @@ let app = new Vue({
|
|
|
commonOptions.yAxis[0].splitNumber = 2
|
|
|
let option = {
|
|
|
..._.cloneDeep(commonOptions),
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#6480f3',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '2022年退出人数和2023年当前累计退出人数之和',
|
|
|
@@ -2640,6 +2743,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartR7'])
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#B889EA',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '全员绩效考核完成率',
|
|
|
@@ -2689,6 +2808,22 @@ let app = new Vue({
|
|
|
let myChart = echarts.init(this.$refs['echartR8'])
|
|
|
let option = {
|
|
|
..._.cloneDeep(this.commonOption),
|
|
|
+ color: [
|
|
|
+ {
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 0,
|
|
|
+ y2: 1,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#43ede3',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#082550',
|
|
|
+ },],
|
|
|
+ }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '任期制契约化完成率',
|