111
This commit is contained in:
parent
d9a0403981
commit
3d8f7cfff8
|
@ -180,7 +180,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="yyzy" label="应用资源" min-width="100%">
|
<el-table-column prop="yyzy" label="应用资源" min-width="100%">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zj" label="总计" min-width="100%">
|
<el-table-column prop="count" label="总计" min-width="100%">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table :data="tableData" :header-cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }"
|
<el-table :data="tableData" :header-cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }"
|
||||||
|
@ -205,7 +205,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="ysp" label="云视频" min-width="100%" >
|
<el-table-column prop="ysp" label="云视频" min-width="100%" >
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zj" label="总计" min-width="100%">
|
<el-table-column prop="count" label="总计" min-width="100%">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--明细表-->
|
<!--明细表-->
|
||||||
|
@ -517,33 +517,7 @@ export default {
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
const result = res.data.data
|
const result = res.data.data
|
||||||
for (let i = 0; i < result.length; i++) {
|
|
||||||
if (!result[i].hasOwnProperty('yyzy')) {
|
|
||||||
result[i].yyzy = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('kfzj')) {
|
|
||||||
result[i].kfzj = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('znsf')) {
|
|
||||||
result[i].znsf = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('tcfw')) {
|
|
||||||
result[i].tcfw = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('ywzj')) {
|
|
||||||
result[i].ywzj = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('hys')) {
|
|
||||||
result[i].hys = 0
|
|
||||||
}
|
|
||||||
result[i].zj =
|
|
||||||
parseInt(result[i].yyzy) +
|
|
||||||
parseInt(result[i].kfzj) +
|
|
||||||
parseInt(result[i].znsf) +
|
|
||||||
parseInt(result[i].ywzj) +
|
|
||||||
parseInt(result[i].tcfw) +
|
|
||||||
parseInt(result[i].hys)
|
|
||||||
}
|
|
||||||
this.tableData = res.data.data
|
this.tableData = res.data.data
|
||||||
this.tableDataClone = res.data.data
|
this.tableDataClone = res.data.data
|
||||||
this.total = res.data.data.total
|
this.total = res.data.data.total
|
||||||
|
@ -593,33 +567,7 @@ export default {
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
const result = res.data.data
|
const result = res.data.data
|
||||||
for (let i = 0; i < result.length; i++) {
|
|
||||||
if (!result[i].hasOwnProperty('yyzy')) {
|
|
||||||
result[i].yyzy = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('kfzj')) {
|
|
||||||
result[i].kfzj = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('znsf')) {
|
|
||||||
result[i].znsf = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('tcfw')) {
|
|
||||||
result[i].tcfw = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('ywzj')) {
|
|
||||||
result[i].ywzj = 0
|
|
||||||
}
|
|
||||||
if (!result[i].hasOwnProperty('hys')) {
|
|
||||||
result[i].hys = 0
|
|
||||||
}
|
|
||||||
result[i].zj =
|
|
||||||
parseInt(result[i].yyzy) +
|
|
||||||
parseInt(result[i].kfzj) +
|
|
||||||
parseInt(result[i].znsf) +
|
|
||||||
parseInt(result[i].ywzj) +
|
|
||||||
parseInt(result[i].tcfw) +
|
|
||||||
parseInt(result[i].hys)
|
|
||||||
}
|
|
||||||
this.tableData = res.data.data
|
this.tableData = res.data.data
|
||||||
this.tableDataClone = res.data.data
|
this.tableDataClone = res.data.data
|
||||||
this.total = res.data.data.total
|
this.total = res.data.data.total
|
||||||
|
|
Loading…
Reference in New Issue