Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-science-front
Commits
708ccdb8
Commit
708ccdb8
authored
Nov 30, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
716b6cf9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
24 deletions
+64
-24
projectInfo.vue
src/views/report/project/components/projectInfo.vue
+2
-2
projectKPI.vue
src/views/report/project/components/projectKPI.vue
+34
-22
projectView.vue
src/views/report/project/components/projectView.vue
+28
-0
No files found.
src/views/report/project/components/projectInfo.vue
View file @
708ccdb8
...
...
@@ -531,8 +531,8 @@
<equipments-info
:equipments
.
sync=
"value.equipments"
/>
<!-- 设备费-购置设备预算明细表 -->
<unit-payment-info
:unitPayment
.
sync=
"value.unitPayment"
/>
<!-- 项目绩效目标表 -->
<project-kpi
v-if=
"value.proj
State >= 50"
:projectKPI
.
sync=
"formData
.projectKPI"
/>
<!-- 项目绩效目标表
v-if="value.projState >= 50"
-->
<project-kpi
v-if=
"value.proj
ectKPI"
:projectKPI
.
sync=
"value
.projectKPI"
/>
<!-- 项目课题设置 -->
<project-sub-info
:dataList
.
sync=
"value.projectSubList"
/>
...
...
src/views/report/project/components/projectKPI.vue
View file @
708ccdb8
<
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:
9
pt;
font-size:
10
pt;
text-align: left;
line-height: 25px;
height: 25px;
...
...
src/views/report/project/components/projectView.vue
View file @
708ccdb8
...
...
@@ -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
:
[],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment