|
|
|
|
@ -242,7 +242,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<xy-table :height="280" :list="sitem[1].departments" :table-item="departmentTable">
|
|
|
|
|
<xy-table :height="253" :list="sitem[1].departments" :table-item="departmentTable">
|
|
|
|
|
<template v-slot:btns>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:width="80"
|
|
|
|
|
@ -260,6 +260,33 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</xy-table>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<div slot="header" class="box-card-header" style="padding-bottom:11px">
|
|
|
|
|
<SvgIcon style="color: #2D8cF0;width: 24px;height: 24px;" icon-class="caidan" />
|
|
|
|
|
<span style="padding-left:10px;">{{ sitem[2].type_text }}</span>
|
|
|
|
|
<i class="el-icon-more" style="margin-left: auto; font-size: 20px" />
|
|
|
|
|
</div>
|
|
|
|
|
<xy-table :height="254" :list="sitem[2].departments" :table-item="departmentTable">
|
|
|
|
|
<template v-slot:btns>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:width="80"
|
|
|
|
|
fixed="right"
|
|
|
|
|
label="操作"
|
|
|
|
|
header-align="center"
|
|
|
|
|
align="center"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<router-link
|
|
|
|
|
:to="`/statisticalReport/budgetProgress?departmentId=${scope.row.department_id}&type=${sitem[2].type}`"
|
|
|
|
|
>查看
|
|
|
|
|
</router-link>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</xy-table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</el-card>
|
|
|
|
|
</el-col>
|
|
|
|
|
</template>
|
|
|
|
|
@ -1320,7 +1347,7 @@ export default {
|
|
|
|
|
this.statistic = res
|
|
|
|
|
if (res.typeList) {
|
|
|
|
|
var arr = []
|
|
|
|
|
for (var i = 0; i < res.typeList.length; i = i + 2) {
|
|
|
|
|
for (var i = 0; i < res.typeList.length; i = i + 3) {
|
|
|
|
|
if (res.typeList[i]) {
|
|
|
|
|
res.typeList[i].per = this.getPer(res.typeList[i])
|
|
|
|
|
// arr.push(res.typeList[i])
|
|
|
|
|
@ -1328,8 +1355,12 @@ export default {
|
|
|
|
|
if (res.typeList[i + 1]) {
|
|
|
|
|
res.typeList[i + 1].per = this.getPer(res.typeList[i + 1])
|
|
|
|
|
// arr.push(res.typeList[i + 1])
|
|
|
|
|
}
|
|
|
|
|
if (res.typeList[i + 2]) {
|
|
|
|
|
res.typeList[i + 2].per = this.getPer(res.typeList[i + 2])
|
|
|
|
|
// arr.push(res.typeList[i + 1])
|
|
|
|
|
}
|
|
|
|
|
arr.push([res.typeList[i], res.typeList[i + 1]])
|
|
|
|
|
arr.push([res.typeList[i], res.typeList[i + 1],res.typeList[i + 2]])
|
|
|
|
|
}
|
|
|
|
|
this.typeList = arr
|
|
|
|
|
}
|
|
|
|
|
|