master
xy 2 years ago
parent adc2463c36
commit 514d570775

@ -220,7 +220,7 @@
>
<template slot-scope="scope">
<router-link
:to="`/statisticalReport/budgetProgress?departmentId=${scope.row.plan_department_id}`"
:to="`/contract/statisticalReport/budgetProgress?departmentId=${scope.row.plan_department_id}`"
>查看
</router-link>
</template>
@ -260,7 +260,7 @@
>
<template slot-scope="scope">
<router-link
:to="`/statisticalReport/budgetProgress?typeId=${scope.row.type}`"
:to="`/contract/statisticalReport/budgetProgress?typeId=${scope.row.type}`"
>查看
</router-link>
</template>
@ -279,7 +279,7 @@
<Card>
<template #title>
<div style="display: flex;justify-content: space-between;align-items: center;">
<p>各科室执行率</p>
<p>各科室预算计划完成对比图</p>
<el-date-picker v-model="carrySelect.month"
format="yyyy-MM"
:clearable="false"
@ -567,16 +567,16 @@ export default {
}
let curPlan = res?.map(i => {
const { use_money_total,paid_plan_total } = i
return paid_plan_total ? (Math.round((Number(use_money_total||0) / Number(paid_plan_total ||0)) * 10000) / 100) : 0;
const { use_money_total,paid_plan_total,money_total_2 } = i
return paid_plan_total ? (Math.round((Number(paid_plan_total||0) / Number(money_total_2 ||0)) * 10000) / 100) : 0;
});
let curAct = res?.map(i => {
const { use_money_total,money_total_2 } = i
return money_total_2 ? (Math.round((Number(use_money_total||0) / Number(money_total_2||0)) * 10000) / 100) : 0;
});
let nextPlan = res?.map(i => {
const { use_money_total_next,paid_plan_total_next } = i
return paid_plan_total_next ? (Math.round((Number(use_money_total_next||0) / Number(paid_plan_total_next||0)) * 10000) / 100) : 0;
const { use_money_total_next,paid_plan_total_next,money_total_2 } = i
return paid_plan_total_next ? (Math.round((Number(paid_plan_total_next||0) / Number(money_total_2||0)) * 10000) / 100) : 0;
});
let barWidth = 23;
let constData1 = [];

@ -12,7 +12,7 @@
<span style="padding: 0 6px;word-break: keep-all;">预算类型</span>
<span>
<el-cascader
:options="type"
:options="types"
:props="{
checkStrictly: false,
label: 'name',
@ -74,7 +74,7 @@
export default {
data() {
return {
type: [], //
types: [], //
departments: [],
select: {
pageIndex: 1,

Loading…
Cancel
Save