Commit 708ccdb8 authored by 徐俊's avatar 徐俊

xujun

parent 716b6cf9
......@@ -531,8 +531,8 @@
<equipments-info :equipments.sync="value.equipments"/>
<!-- 设备费-购置设备预算明细表 -->
<unit-payment-info :unitPayment.sync="value.unitPayment"/>
<!-- 项目绩效目标表 -->
<project-kpi v-if="value.projState >= 50" :projectKPI.sync="formData.projectKPI" />
<!-- 项目绩效目标表v-if="value.projState >= 50" -->
<project-kpi v-if="value.projectKPI" :projectKPI.sync="value.projectKPI" />
<!-- 项目课题设置 -->
<project-sub-info :dataList.sync="value.projectSubList" />
......
<template>
<div class="from-table font-line-space">
<a-row>
<a-col :span="24">
<div class="tb-title">
<span>项目绩效目标表</span>
</div>
</a-col>
</a-row>
<table class="tab-content" cellpadding="3" cellspacing="3" style="width: 98%;">
<tr>
<td colspan="20" class="bg-title">2020年度</td>
<td colspan="20" class="bg-title">{{ projectKPI.reportYear }}年度</td>
</tr>
<tr>
<td class="bg-title">项目名称</td>
<td colspan="19"></td>
<td colspan="19">{{ projectKPI.projName }}</td>
</tr>
<tr>
<td class="bg-title">主管处室</td>
<td colspan="10"></td>
<td colspan="2" class="bg-title">实施单位</td>
<td colspan="7"></td>
<td colspan="7">{{ projectKPI.appUnitName }}</td>
</tr>
<tr>
<td class="bg-title">项目属性</td>
<td colspan="10"></td>
<td colspan="10">
<a-radio-group v-model="projectKPI.projAttribute">
<a-radio :value="newProject">新增项目</a-radio>
<a-radio :value="delayProject">延期项目</a-radio>
</a-radio-group>
</td>
<td colspan="2" class="bg-title">项目期</td>
<td colspan="7"></td>
<td colspan="7">{{ projectKPI.projDeadline }}</td>
</tr>
<tr>
<td rowspan="3" class="bg-title">项目资金(万元)</td>
<td colspan="2" class="bg-title">总体资金总额:</td>
<td colspan="8"></td>
<td colspan="8">{{ parseFloat(projectKPI.totalBudget).toFixed(2) }}</td>
<td colspan="2" class="bg-title">年度资金总额:</td>
<td colspan="7"></td>
<td colspan="7">{{ parseFloat(projectKPI.yearTotal).toFixed(2) }}</td>
</tr>
<tr>
<td colspan="2" class="bg-title">其中:财政拨款</td>
<td colspan="8"></td>
<td colspan="8">{{ parseFloat(projectKPI.applyFunds).toFixed(2) }}</td>
<td colspan="2" class="bg-title">其中:财政拨款</td>
<td colspan="7"></td>
<td colspan="7">{{ parseFloat(projectKPI.yearApply).toFixed(2) }}</td>
</tr>
<tr>
<td colspan="2" class="bg-title">其他资金</td>
<td colspan="8"></td>
<td colspan="8">{{ parseFloat(projectKPI.selfFunds).toFixed(2) }}</td>
<td colspan="2" class="bg-title">其他资金</td>
<td colspan="7"></td>
<td colspan="7">{{ parseFloat(projectKPI.yearSelf).toFixed(2) }}</td>
</tr>
<tr>
<td rowspan="3" class="bg-title">总体考核目标</td>
<td colspan="10" class="bg-title">总体目标(2020年—2022年)</td>
<td colspan="10" class="bg-title">总体目标({{ projectKPI.reportYear }}年—{{ projectKPI.reportYear + 2 }}年)</td>
<td class="bg-title" colspan="9">分年度指标</td>
</tr>
<tr>
<td colspan="10" rowspan="2"></td>
<td class="target-value" colspan="3">2020</td>
<td class="target-value" colspan="3">2021</td>
<td class="target-value" colspan="3">2022</td>
<td class="target-value" colspan="3">{{ projectKPI.reportYear }}</td>
<td class="target-value" colspan="3">{{ projectKPI.reportYear + 1 }}</td>
<td class="target-value" colspan="3">{{ projectKPI.reportYear + 2 }}</td>
</tr>
<tr>
<td colspan="3"></td>
......@@ -56,7 +68,7 @@
<td colspan="3"></td>
</tr>
<tr>
<td :rowspan="kpiData.totalRowSpan"></td>
<td :rowspan="projectKPI.totalRowSpan"></td>
<td rowspan="2" class="bg-title">一级指标</td>
<td rowspan="2" class="bg-title">二级指标</td>
<td rowspan="2" colspan="6" class="bg-title">三级指标</td>
......@@ -71,7 +83,7 @@
<td>2021</td>
<td>2022</td>
</tr>
<tr v-for="(item, index) in kpiData.threeLevel" :key="index">
<tr v-for="(item, index) in projectKPI.threeLevel" :key="index">
<td class="bg-title" v-if="item.oneDisplay" :rowspan="item.oneRowSpan">{{ item.oneLevelName }}</td>
<td class="bg-title" v-if="item.towDisplay" :rowspan="item.towRowSpan">{{ item.towLevelName }}</td>
<td colspan="6">{{ item.kpitName }}</td>
......@@ -92,7 +104,7 @@ export default {
name: "projectKPI",
props: {
projectKPI: {
type: String,
type: Object,
default: () => {
return null
}
......@@ -100,17 +112,17 @@ export default {
},
data() {
return {
kpiData: {},
newProject: "5b9d6509-aece-11ef-b6cb-0c42a1380f01",
delayProject: "5b9d6509-aece-11ef-b6cb-0c42a1380f02",
};
},
created () {
this.getProjectKpitStatistic()
//this.getProjectKpitStatistic()
},
methods: {
getProjectKpitStatistic() {
this.$api.statistical.getProjectKpitStatistic().then(({ data = {} }) => {
if (data) {
this.kpiData = data
}
})
}
......@@ -123,7 +135,7 @@ table,
tr,
td {
border: 1px solid #080808;
font-size: 9pt;
font-size: 10pt;
text-align: left;
line-height: 25px;
height: 25px;
......
......@@ -10,6 +10,33 @@
</div>
</template>
<script>
const projectKPI = {
reportYear: "",
projName: "",
appUnitName: "",
projAttribute: "",
projDeadline: "",
totalBudget: 0.00,
applyFunds: 0.00,
selfFunds: 0.00,
yearTotal: 0.00,
yearApply: 0.00,
yearSelf: 0.00,
totalRowSpan: 0, //总合并行数
outTarget: 0, //一级指标(产出指标)
benefitTarget: 0, //一级指标(效益指标)
satisfactionDegree: 0, //一级指标(满意度指标)
quantityTarget: 0, //二级指标(数量指标)
qualityTarget: 0, //二级指标(质量指标)
validityTarget: 0, //二级指标(时效指标)
costTarget: 0, //二级指标(成本指标)
economicTarget: 0, //二级指标(经济效益指标)
socialTarget: 0, //二级指标(社会效益指标)
ecologicalTarget: 0, //二级指标(生态效益指标)
sustainableTarget: 0, //二级指标(可持续影响指标)
serviceTarget: 0, //二级指标(服务对象满意度指标)
threeLevel: [],
};
import { budgetList } from '@/views/report/project/config'
import { getType } from '@/views/utils/auth'
......@@ -62,6 +89,7 @@ export default {
economyTarget: null,
achievementTarget: null,
otherTarget: null,
projectKPI: projectKPI,
cooperativeUnits: [],
members: [],
budget: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment