main
jn517618 2 years ago
parent 5c32b44cef
commit b24c28cd61
  1. BIN
      public/img/energySourcesProvince/ringPercent.png
  2. BIN
      public/img/energySourcesProvince/togetherPercent.png
  3. 8
      src/views/energySourcesProvince/component/emissionAll.vue

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 100 KiB

@ -17,7 +17,7 @@
碳排放计划量 碳排放计划量
</div> </div>
<div class="font2"> <div class="font2">
{{ jnjhl }} {{ jnjhzl }}
<span>t</span> <span>t</span>
</div> </div>
<div id="mainEmissionAll"></div> <div id="mainEmissionAll"></div>
@ -32,7 +32,7 @@ export default {
data() { data() {
return { return {
num: 0, num: 0,
jnjhl: 0, jnjhzl: 0,
timeFun: null timeFun: null
}; };
}, },
@ -53,8 +53,8 @@ export default {
methods: { methods: {
getData() { getData() {
getTotalCarbonEmissions().then(res => { getTotalCarbonEmissions().then(res => {
const { ypfzb, jnzl, jnjhl } = res.data.data const { ypfzb, jnzl, jnjhzl } = res.data.data
this.jnjhl = jnjhl this.jnjhzl = jnjhzl
this.num = jnzl.toString().split('') this.num = jnzl.toString().split('')
this.echartsInit(ypfzb)// this.echartsInit(ypfzb)//
}) })

Loading…
Cancel
Save