|
@ -35,7 +35,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="right"> |
|
|
<div class="right"> |
|
|
<Table style="width:65vw" :data="tableData" v-loading="loading" height="calc(100vh - 220px)" > |
|
|
<Table style="width:65vw" :data="tableData" v-loading="loading" height="calc(100vh - 300px)" > |
|
|
<el-table-column label="序号" type="index" :index="indexMethod" width="100" align="center" |
|
|
<el-table-column label="序号" type="index" :index="indexMethod" width="100" align="center" |
|
|
header-align="center" /> |
|
|
header-align="center" /> |
|
|
<ElTableColumn prop="stakeNumber" width="120" label="设备桩号"></ElTableColumn> |
|
|
<ElTableColumn prop="stakeNumber" width="120" label="设备桩号"></ElTableColumn> |
|
@ -111,7 +111,7 @@ |
|
|
//翻页时不刷新序号 |
|
|
//翻页时不刷新序号 |
|
|
indexMethod(index) { |
|
|
indexMethod(index) { |
|
|
return ( |
|
|
return ( |
|
|
index + (this.queryParams.pageNum - 1) * this.queryParams.pageSize + 1 |
|
|
index + (this.searchData.pageNum - 1) * this.searchData.pageSize + 1 |
|
|
); |
|
|
); |
|
|
}, |
|
|
}, |
|
|
onSizeChange(pageSize) { |
|
|
onSizeChange(pageSize) { |
|
@ -250,7 +250,7 @@ |
|
|
}).then(result => { |
|
|
}).then(result => { |
|
|
if (result.code != 200) return; |
|
|
if (result.code != 200) return; |
|
|
const data = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] |
|
|
const data = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] |
|
|
const total = 0; |
|
|
let total = 0; |
|
|
for(let i in result.data){ |
|
|
for(let i in result.data){ |
|
|
total += result.data[i] |
|
|
total += result.data[i] |
|
|
const idx = parseInt(i.substr(11,2)); |
|
|
const idx = parseInt(i.substr(11,2)); |
|
@ -270,7 +270,7 @@ |
|
|
}).then(result => { |
|
|
}).then(result => { |
|
|
if (result.code != 200) return; |
|
|
if (result.code != 200) return; |
|
|
const data = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] |
|
|
const data = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] |
|
|
const total = 0; |
|
|
let total = 0; |
|
|
for(let i in result.data){ |
|
|
for(let i in result.data){ |
|
|
total += result.data[i] |
|
|
total += result.data[i] |
|
|
const idx = parseInt(i.substr(11,2)); |
|
|
const idx = parseInt(i.substr(11,2)); |
|
@ -290,7 +290,7 @@ |
|
|
}).then(result => { |
|
|
}).then(result => { |
|
|
if (result.code != 200) return; |
|
|
if (result.code != 200) return; |
|
|
const data = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] |
|
|
const data = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] |
|
|
const total = 0; |
|
|
let total = 0; |
|
|
for(let i in result.data){ |
|
|
for(let i in result.data){ |
|
|
total += result.data[i] |
|
|
total += result.data[i] |
|
|
const idx = parseInt(i.substr(11,2)); |
|
|
const idx = parseInt(i.substr(11,2)); |
|
@ -321,7 +321,6 @@ |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
.solarCont{ |
|
|
.solarCont{ |
|
|
height:calc(100vh - 160px); |
|
|
|
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: row; |
|
|
flex-direction: row; |
|
|
gap:10px; |
|
|
gap:10px; |
|
@ -331,6 +330,7 @@ |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
gap:10px; |
|
|
gap:10px; |
|
|
|
|
|
height: calc(100vh - 300px); |
|
|
.chartPanel{ |
|
|
.chartPanel{ |
|
|
flex:1; |
|
|
flex:1; |
|
|
background: linear-gradient(to top, #064151, #042b34); |
|
|
background: linear-gradient(to top, #064151, #042b34); |
|
|