Commit eee1e1e9 authored by 王启林's avatar 王启林

新增画像

parent 65cda932
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<barChart :id="`six_bar`" :height="300" :width="800" :datas="oneBarData2" /> <barChart :id="`six_bar`" :height="300" :width="800" :datas="oneBarData2" />
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<barChart :id="`three_bar`" :height="300" :width="800" :datas="twoBarData2" /> <barChart :id="`three_bar`" :height="300" :width="800" :datas="twoBarData" />
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<pieChart :id="`six_pie`" :height="300" :width="800" :datas="threePieData" /> <pieChart :id="`six_pie`" :height="300" :width="800" :datas="threePieData" />
...@@ -143,7 +143,6 @@ export default { ...@@ -143,7 +143,6 @@ export default {
oneBarData: {}, oneBarData: {},
oneBarData2: {}, oneBarData2: {},
twoBarData: {}, twoBarData: {},
twoBarData2: {},
threePieData: {}, threePieData: {},
provinces: [ provinces: [
{ {
...@@ -378,7 +377,7 @@ export default { ...@@ -378,7 +377,7 @@ export default {
return parseFloat((i / total * 10000).toFixed(2)) return parseFloat((i / total * 10000).toFixed(2))
}) })
// console.log(zb) // console.log(zb)
this.twoBarData2 = { this.twoBarData = {
title: '年龄分布', title: '年龄分布',
xData: age_area, xData: age_area,
data: [ data: [
...@@ -486,7 +485,7 @@ export default { ...@@ -486,7 +485,7 @@ export default {
//办件年龄分析 //办件年龄分析
getAgeRate() { getAgeRate() {
ageRate({ siteid: localStorage.getItem('siteId'), selected: 2 }).then(res => { ageRate({ siteid: localStorage.getItem('siteId'), selected: 2 }).then(res => {
console.log(res) // console.log(res)
}) })
} }
} }
......
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