|
@ -79,11 +79,11 @@ |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
titles:[ |
|
|
titles:[ |
|
|
{icon:'total.png',label:'当年累计发电量',unit:'万度',value:'-'}, |
|
|
{icon:'total.png',label:'当年累计发电量',unit:'度',value:'-'}, |
|
|
{icon:'used.png',label:'当年累计用电量',unit:'万度',value:'-'}, |
|
|
{icon:'used.png',label:'当年累计用电量',unit:'度',value:'-'}, |
|
|
{icon:'CO2.png',label:'CO₂减排',unit:'吨',value:'-'}, |
|
|
{icon:'CO2.png',label:'CO₂减排',unit:'kg',value:'-'}, |
|
|
{icon:'tree.png',label:'等效植树',unit:'棵',value:'-'}, |
|
|
{icon:'tree.png',label:'等效植树',unit:'棵',value:'-'}, |
|
|
{icon:'coal.png',label:'节约标准煤',unit:'吨',value:'-'}, |
|
|
{icon:'coal.png',label:'节约标准煤',unit:'kg',value:'-'}, |
|
|
{icon:'error.png',label:'放电异常设备',unit:'个',value:'-'}, |
|
|
{icon:'error.png',label:'放电异常设备',unit:'个',value:'-'}, |
|
|
], |
|
|
], |
|
|
chart1:null, |
|
|
chart1:null, |
|
@ -123,21 +123,10 @@ |
|
|
initQueryTable() { |
|
|
initQueryTable() { |
|
|
this.loading = true; |
|
|
this.loading = true; |
|
|
this.loading = false; |
|
|
this.loading = false; |
|
|
this.total = 1000; |
|
|
this.total = 0; |
|
|
this.tableData = [ |
|
|
this.tableData = [ |
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
|
|
|
] |
|
|
] |
|
|
|
|
|
//{stakeNumber:'1',state:1,s1:1,s2:1,s3:1,s4:1,s5:1,s6:1,s7:1,s8:1}, |
|
|
// request({ |
|
|
// request({ |
|
|
// url: "/system/status/tablist", |
|
|
// url: "/system/status/tablist", |
|
|
// method: "get", |
|
|
// method: "get", |
|
|