11 changed files with 643 additions and 492 deletions
@ -1,173 +1,135 @@ |
|||
<template> |
|||
<div class="m-zyqd"> |
|||
<el-row :gutter="16"> |
|||
<el-col :span="8"> |
|||
<div class="kuangkuang"> |
|||
<h3>发布政策数</h3> |
|||
<h2>256</h2> |
|||
</div> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<div class="kuangkuang"> |
|||
<h3>指派服务数</h3> |
|||
<h2>2545</h2> |
|||
</div> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<div class="kuangkuang"> |
|||
<h3>政策找人数</h3> |
|||
<h2>2545</h2> |
|||
</div> |
|||
</el-col> |
|||
</el-row> |
|||
<div class="pieMain pieMain2"> |
|||
<div class="pie" ><screen-echarts-frame @myChartMethod="pieInitOk" ref="pieChart"></screen-echarts-frame></div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
<script> |
|||
import screenEchartsFrame from '@/views/dataBoard/cpts/screen-echarts-frame/index'; |
|||
import { pieOption } from './fwBarOption.js'; |
|||
import { requestPostBi } from '@/js/dai/request-bipass'; |
|||
export default { |
|||
props: { |
|||
orgId: { |
|||
type: String, |
|||
default: '' |
|||
}, |
|||
searchDate: Array |
|||
}, |
|||
data() { |
|||
return { |
|||
showNoData: false, |
|||
timer: null, |
|||
pieChart: '', |
|||
pieOption: {}, |
|||
pieInitState: false, |
|||
pieData: [] |
|||
}; |
|||
}, |
|||
components: { |
|||
screenEchartsFrame |
|||
}, |
|||
mounted() { |
|||
this.init(); |
|||
}, |
|||
|
|||
methods: { |
|||
async init() { |
|||
await this.getInfo(); |
|||
this.getPie(); |
|||
}, |
|||
|
|||
// 获取房屋总数等 |
|||
async getInfo() { |
|||
let url = 'common_service_view'; |
|||
|
|||
this.$refs.pieChart.showLoading(); |
|||
const { data, code, msg } = await requestPostBi( |
|||
url, |
|||
{ |
|||
queryParam: { |
|||
org_id: this.orgId, |
|||
start_date: this.searchDate[0], |
|||
end_date: this.searchDate[1] |
|||
} |
|||
}, |
|||
{ |
|||
// mockId: 60041615, |
|||
} |
|||
); |
|||
this.$refs.pieChart.hideLoading(); |
|||
if (code === 0) { |
|||
if (data && Array.isArray(data) && data.length > 0) { |
|||
let info = data[0]; |
|||
this.info = { |
|||
...this.info, |
|||
...info |
|||
}; |
|||
} |
|||
} else { |
|||
this.$message.error(msg); |
|||
} |
|||
}, |
|||
selItem(selItem, selIndex) { |
|||
this.tabList.forEach((element, index) => { |
|||
if (index === selIndex) { |
|||
element.sel = true; |
|||
} else { |
|||
element.sel = false; |
|||
} |
|||
}); |
|||
}, |
|||
pieInitOk() { |
|||
this.pieInitState = true; |
|||
}, |
|||
getPie() { |
|||
if (this.pieInitState) { |
|||
this.setPieData(); |
|||
} else { |
|||
setTimeout(() => { |
|||
this.getPie(); |
|||
}, 500); |
|||
} |
|||
}, |
|||
setPieData() { |
|||
let { data } = this; |
|||
data = [ |
|||
{ |
|||
org_id: '', |
|||
name: '健康医疗', |
|||
count: 10 |
|||
}, |
|||
{ |
|||
org_id: '', |
|||
name: '社区安全', |
|||
count: 20 |
|||
}, |
|||
{ |
|||
org_id: '', |
|||
name: '社区治安', |
|||
count: 30 |
|||
}, |
|||
{ |
|||
org_id: '', |
|||
name: '社区卫生', |
|||
count: 40 |
|||
}, |
|||
{ |
|||
org_id: '', |
|||
name: '社区环境', |
|||
count: 50 |
|||
}, |
|||
{ |
|||
org_id: '', |
|||
name: '社区救助', |
|||
count: 60 |
|||
}, |
|||
{ |
|||
org_id: '', |
|||
name: '社区养老', |
|||
count: 70 |
|||
} |
|||
]; |
|||
data = JSON.parse(JSON.stringify(data).replace(/count/g, 'value')); |
|||
console.log('data', data); |
|||
this.pieData = data; |
|||
|
|||
this.iniPieChart(); |
|||
}, |
|||
// 获取饼状图 |
|||
async iniPieChart() { |
|||
this.$refs.pieChart.clear(); |
|||
// 获取pieChart配置 |
|||
this.pieOption = pieOption(); |
|||
this.pieOption.series[0].name = this.currentTab; |
|||
this.pieOption.series[0].data = this.pieData; |
|||
this.$refs.pieChart.setOption(this.pieOption); |
|||
} |
|||
} |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="scss" src="@/assets/scss/dataBoard/renfang/index.scss" scoped></style> |
|||
<template> |
|||
<div class="m-zyqd"> |
|||
|
|||
<el-row :gutter="16"> |
|||
<el-col :span="8">
<div class="kuangkuang">
<h3>发布政策数</h3>
<h2>{{info.pub_policy_total}}</h2>
</div>
</el-col>
<el-col :span="8">
<div class="kuangkuang">
<h3>指派服务数</h3>
<h2>{{info.assign_service_total}}</h2>
</div>
</el-col>
<el-col :span="8">
<div class="kuangkuang">
<h3>政策找人数</h3>
<h2>{{info.policy_search_person_total}}</h2>
</div>
</el-col> |
|||
|
|||
</el-row> |
|||
<div class="pieMain pieMain2"> |
|||
<div class="pie"><screen-echarts-frame @myChartMethod="pieInitOk" ref="pieChart"></screen-echarts-frame></div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
<script> |
|||
import screenEchartsFrame from '@/views/dataBoard/cpts/screen-echarts-frame/index'; |
|||
import { pieOption } from './fwBarOption05.js'; |
|||
import { requestPostBi } from '@/js/dai/request-bipass'; |
|||
export default { |
|||
props: { |
|||
orgId: { |
|||
type: String, |
|||
default: '' |
|||
}, |
|||
searchDate: Array |
|||
}, |
|||
data() { |
|||
return { |
|||
showNoData: false, |
|||
timer: null, |
|||
pieChart: '', |
|||
pieOption: {}, |
|||
pieInitState: false, |
|||
pieData: [], |
|||
|
|||
info: {} |
|||
}; |
|||
}, |
|||
components: { |
|||
screenEchartsFrame |
|||
}, |
|||
mounted() { |
|||
this.init(); |
|||
}, |
|||
|
|||
methods: { |
|||
async init() { |
|||
await this.getInfo(); |
|||
this.getPie(); |
|||
}, |
|||
|
|||
// 公共服务数据统计 |
|||
async getInfo() { |
|||
let url = 'policy_search_person'; |
|||
this.$refs.pieChart.showLoading(); |
|||
const { data, code, msg } = await requestPostBi( |
|||
url, |
|||
{ |
|||
queryParam: { |
|||
org_id: this.orgId, |
|||
start_date: this.searchDate[0], |
|||
end_date: this.searchDate[1] |
|||
} |
|||
}, |
|||
{ |
|||
mockId: 69463163, |
|||
} |
|||
); |
|||
this.$refs.pieChart.hideLoading(); |
|||
if (code === 0) { |
|||
if (data && Array.isArray(data) && data.length > 0) { |
|||
let info = data[0]; |
|||
this.info = { |
|||
...this.info, |
|||
...info |
|||
}; |
|||
} |
|||
} else { |
|||
this.$message.error(msg); |
|||
} |
|||
}, |
|||
selItem(selItem, selIndex) { |
|||
this.tabList.forEach((element, index) => { |
|||
if (index === selIndex) { |
|||
element.sel = true; |
|||
} else { |
|||
element.sel = false; |
|||
} |
|||
}); |
|||
}, |
|||
pieInitOk() { |
|||
this.pieInitState = true; |
|||
}, |
|||
getPie() { |
|||
if (this.pieInitState) { |
|||
this.setPieData(); |
|||
} else { |
|||
setTimeout(() => { |
|||
this.getPie(); |
|||
}, 500); |
|||
} |
|||
}, |
|||
setPieData() { |
|||
let data = [...this.info.child]; |
|||
let pieData0 = []; |
|||
let pieData1 = []; |
|||
let pieData2 = []; |
|||
let pieData3 = []; |
|||
data.forEach((item, index) => { |
|||
pieData0.push(item.common_service_type_name); |
|||
pieData1.push(item.assign_service_num); |
|||
pieData2.push(item.pub_policy_num); |
|||
|
|||
}); |
|||
|
|||
this.pieData = [pieData0, pieData1, pieData2]; |
|||
this.iniPieChart(); |
|||
}, |
|||
// 获取饼状图 |
|||
async iniPieChart() { |
|||
this.$refs.pieChart.clear(); |
|||
// 获取pieChart配置 |
|||
this.pieOption = pieOption(); |
|||
this.pieOption.xAxis[0].data = this.pieData[0]; |
|||
this.pieOption.series[0].data = this.pieData[1]; |
|||
this.pieOption.series[1].data = this.pieData[2]; |
|||
// this.pieOption.series[2].data = this.pieData[3]; |
|||
this.$refs.pieChart.setOption(this.pieOption); |
|||
} |
|||
} |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="scss" src="@/assets/scss/dataBoard/renfang/index.scss" scoped></style> |
|||
<style scoped> |
|||
.pieMain2{margin-left:0px!important} |
|||
</style> |
|||
|
@ -1,130 +0,0 @@ |
|||
import * as echarts from 'echarts' |
|||
export function pieOption () { |
|||
|
|||
return { |
|||
title: { |
|||
text: '单位(户)', |
|||
left: 5, |
|||
textStyle: { |
|||
|
|||
fontSize: 14, |
|||
color: " rgba(255,255,255,0.65)", |
|||
fontWeight: 400, |
|||
}, |
|||
}, |
|||
tooltip: { |
|||
trigger: 'axis', |
|||
axisPointer: { |
|||
type: 'shadow' |
|||
} |
|||
}, |
|||
// legend: {},
|
|||
grid: { |
|||
top:40, |
|||
left: '3%', |
|||
right: '4%', |
|||
bottom: 19, |
|||
containLabel: true |
|||
}, |
|||
xAxis: [ |
|||
{ |
|||
type: 'category', |
|||
axisLine: { |
|||
lineStyle: { |
|||
color:'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisTick: { |
|||
alignWithLabel: true |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize : 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
|
|||
data: [] |
|||
} |
|||
], |
|||
yAxis: [ |
|||
{ |
|||
type: 'value', |
|||
max : 1000, |
|||
splitNumber : 5, |
|||
splitLine: { |
|||
show: true, |
|||
lineStyle:{ |
|||
color:'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize : 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
} |
|||
], |
|||
series: [ |
|||
|
|||
{ |
|||
name: '自住房屋', |
|||
type: 'bar', |
|||
stack: 'Ad', |
|||
barWidth:12, |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
|||
{ offset: 0, color: '#6FDEFF' }, |
|||
{ offset: 1, color: 'rgba(168,241,255,0)' } |
|||
]) |
|||
}, |
|||
data: [] |
|||
}, |
|||
{ |
|||
name: '出租房屋', |
|||
type: 'bar', |
|||
barWidth:12, |
|||
stack: 'Ad', |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
|||
{ offset: 0, color: '#1A95FF' }, |
|||
{ offset: 1, color: 'rgba(168,241,255,0)' } |
|||
]) |
|||
}, |
|||
data: [] |
|||
}, |
|||
{ |
|||
name: '闲置房屋', |
|||
type: 'bar', |
|||
barWidth:12, |
|||
stack: 'Ad', |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
|||
{ offset: 0, color: '#FFAA00' }, |
|||
{ offset: 1, color: 'rgba(168,241,255,0)' } |
|||
]) |
|||
}, |
|||
data: [] |
|||
}, |
|||
|
|||
|
|||
] |
|||
|
|||
} |
|||
} |
@ -0,0 +1,130 @@ |
|||
import * as echarts from 'echarts' |
|||
export function pieOption() { |
|||
return { |
|||
title: { |
|||
text: '单位(次)', |
|||
left: 5, |
|||
textStyle: { |
|||
fontSize: 14, |
|||
color: " rgba(255,255,255,0.65)", |
|||
fontWeight: 400, |
|||
}, |
|||
}, |
|||
tooltip: { |
|||
trigger: 'axis', |
|||
axisPointer: { |
|||
type: 'shadow' |
|||
} |
|||
}, |
|||
legend: { |
|||
right: '0%', |
|||
textStyle: { |
|||
fontSize: 14, //字体大小
|
|||
color: '#ffffff' //字体颜色
|
|||
}, |
|||
}, |
|||
grid: { |
|||
top: 40, |
|||
left: '0%', |
|||
right: '0%', |
|||
bottom: 19, |
|||
containLabel: true |
|||
}, |
|||
xAxis: [{ |
|||
type: 'category', |
|||
axisLine: { |
|||
lineStyle: { |
|||
color: 'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisTick: { |
|||
alignWithLabel: true |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize: 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
data: [] |
|||
}], |
|||
yAxis: [{ |
|||
type: 'value', |
|||
max: 1000, |
|||
splitNumber: 5, |
|||
splitLine: { |
|||
show: true, |
|||
lineStyle: { |
|||
color: 'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize: 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
}], |
|||
series: [{ |
|||
name: '公共服务', |
|||
type: 'bar', |
|||
stack: 'Ad', |
|||
barWidth: 12, |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#6FDEFF' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
}, { |
|||
name: '指派服务', |
|||
type: 'bar', |
|||
barWidth: 12, |
|||
stack: 'Ad', |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#eaff27' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
}, { |
|||
name: '服务人数', |
|||
type: 'bar', |
|||
barWidth: 12, |
|||
stack: 'Ad', |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#FFAA00' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
}, ] |
|||
} |
|||
} |
@ -0,0 +1,130 @@ |
|||
import * as echarts from 'echarts' |
|||
export function pieOption() { |
|||
return { |
|||
title: { |
|||
text: '单位(次)', |
|||
left: 5, |
|||
textStyle: { |
|||
fontSize: 14, |
|||
color: " rgba(255,255,255,0.65)", |
|||
fontWeight: 400, |
|||
}, |
|||
}, |
|||
tooltip: { |
|||
trigger: 'axis', |
|||
axisPointer: { |
|||
type: 'shadow' |
|||
} |
|||
}, |
|||
legend: { |
|||
right: '0%', |
|||
textStyle: { |
|||
fontSize: 14, //字体大小
|
|||
color: '#ffffff' //字体颜色
|
|||
}, |
|||
}, |
|||
grid: { |
|||
top: 40, |
|||
left: '0%', |
|||
right: '0%', |
|||
bottom: 19, |
|||
containLabel: true |
|||
}, |
|||
xAxis: [{ |
|||
type: 'category', |
|||
axisLine: { |
|||
lineStyle: { |
|||
color: 'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisTick: { |
|||
alignWithLabel: true |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize: 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
data: [] |
|||
}], |
|||
yAxis: [{ |
|||
type: 'value', |
|||
max: 1000, |
|||
splitNumber: 5, |
|||
splitLine: { |
|||
show: true, |
|||
lineStyle: { |
|||
color: 'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize: 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
}], |
|||
series: [{ |
|||
name: '个性服务', |
|||
type: 'bar', |
|||
stack: 'Ad', |
|||
barWidth: 12, |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#6FDEFF' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
}, { |
|||
name: '完成服务', |
|||
type: 'bar', |
|||
barWidth: 12, |
|||
stack: 'Ad', |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#eaff27' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
}, { |
|||
name: '服务完成率', |
|||
type: 'line', |
|||
barWidth: 12, |
|||
stack: 'Ad', |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#FFAA00' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
}, ] |
|||
} |
|||
} |
@ -0,0 +1,132 @@ |
|||
import * as echarts from 'echarts' |
|||
export function pieOption() { |
|||
return { |
|||
title: { |
|||
text: '单位(次)', |
|||
left: 5, |
|||
textStyle: { |
|||
fontSize: 14, |
|||
color: " rgba(255,255,255,0.65)", |
|||
fontWeight: 400, |
|||
}, |
|||
}, |
|||
tooltip: { |
|||
trigger: 'axis', |
|||
axisPointer: { |
|||
type: 'shadow' |
|||
} |
|||
}, |
|||
legend: { |
|||
right: '0%', |
|||
textStyle: { |
|||
fontSize: 14, //字体大小
|
|||
color: '#ffffff' //字体颜色
|
|||
}, |
|||
}, |
|||
grid: { |
|||
top: 40, |
|||
left: '0%', |
|||
right: '0%', |
|||
bottom: 19, |
|||
containLabel: true |
|||
}, |
|||
xAxis: [{ |
|||
type: 'category', |
|||
axisLine: { |
|||
lineStyle: { |
|||
color: 'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisTick: { |
|||
alignWithLabel: true |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize: 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
data: [] |
|||
}], |
|||
yAxis: [{ |
|||
type: 'value', |
|||
max: 1000, |
|||
splitNumber: 5, |
|||
splitLine: { |
|||
show: true, |
|||
lineStyle: { |
|||
color: 'rgba(255,255,255,0.15)', |
|||
width: 1, |
|||
type: 'solid' |
|||
} |
|||
}, |
|||
axisLabel: { |
|||
show: true, |
|||
textStyle: { |
|||
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|||
fontSize: 12 //更改坐标轴文字大小
|
|||
} |
|||
}, |
|||
}], |
|||
series: [{ |
|||
name: '发布政策数', |
|||
type: 'bar', |
|||
stack: 'Ad', |
|||
barWidth: 12, |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#6FDEFF' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
}, { |
|||
name: '指派服务数', |
|||
type: 'bar', |
|||
barWidth: 12, |
|||
stack: 'Ad', |
|||
emphasis: { |
|||
focus: 'series' |
|||
}, |
|||
itemStyle: { |
|||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ |
|||
offset: 0, |
|||
color: '#eaff27' |
|||
}, { |
|||
offset: 1, |
|||
color: 'rgba(168,241,255,0)' |
|||
}]) |
|||
}, |
|||
data: [] |
|||
} |
|||
// , {
|
|||
// name: '服务人数',
|
|||
// type: 'bar',
|
|||
// barWidth: 12,
|
|||
// stack: 'Ad',
|
|||
// emphasis: {
|
|||
// focus: 'series'
|
|||
// },
|
|||
// itemStyle: {
|
|||
// color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|||
// offset: 0,
|
|||
// color: '#FFAA00'
|
|||
// }, {
|
|||
// offset: 1,
|
|||
// color: 'rgba(168,241,255,0)'
|
|||
// }])
|
|||
// },
|
|||
// data: []
|
|||
// },
|
|||
] |
|||
} |
|||
} |
Loading…
Reference in new issue