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
016c1ad7
Commit
016c1ad7
authored
Dec 25, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
333
parent
18a3adb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
126 deletions
+26
-126
economyInfo.vue
src/views/evaluation/components/economyInfo.vue
+25
-125
scoreView.vue
src/views/evaluation/components/scoreView.vue
+1
-1
No files found.
src/views/evaluation/components/economyInfo.vue
View file @
016c1ad7
<
template
>
<div>
<!--
<a-form-model
ref=
"form"
:model=
"value"
:rules=
"rules"
class=
"from-table font-line-space"
>
-->
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
申报项目
</div>
</div>
</a-col>
<a-col
:span=
"20"
>
<div
class=
"special-middle"
>
<div>
{{
value
.
projName
}}
</div>
</div>
</a-col>
</a-row>
<a-row
type=
"flex"
style=
"border-bottom:0;"
class=
"none-bottom"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
申报单位
</div>
</div>
</a-col>
<a-col
:span=
"8"
>
<div
class=
"special-middle"
>
<div>
{{
value
.
appUnitName
}}
</div>
</div>
</a-col>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
项目申请人
</div>
</div>
</a-col>
<a-col
:span=
"8"
>
<div
class=
"special-middle"
>
<div>
{{
value
.
appPersonName
}}
</div>
</div>
</a-col>
</a-row>
<table
class=
"tab-content"
style=
"width: 100%"
>
<tr>
<th>
序号
</th>
...
...
@@ -55,63 +20,25 @@
<td
style=
"text-align: center;"
>
{{
item
.
score
}}
</td>
<td>
{{
item
.
meaning
}}
</td>
<td
style=
"text-align: center;"
:rowspan=
"item.row3"
v-if=
"item.row3>0"
>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==1"
>
<a-input-number
v-model=
"value.score1"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==2"
>
<a-input-number
v-model=
"value.score2"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==3"
>
<a-input-number
v-model=
"value.score3"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==4"
>
<a-input-number
v-model=
"value.score4"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==5"
>
<a-input-number
v-model=
"value.score5"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==6"
>
<a-input-number
v-model=
"value.score6"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==7"
>
<a-input-number
v-model=
"value.score7"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==8"
>
<a-input-number
v-model=
"value.score8"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==9"
>
<a-input-number
v-model=
"value.score9"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==10"
>
<a-input-number
v-model=
"value.score10"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==11"
>
<a-input-number
v-model=
"value.score11"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==12"
>
<a-input-number
v-model=
"value.score12"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==13"
>
<a-input-number
v-model=
"value.score13"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==14"
>
<a-input-number
v-model=
"value.score14"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==15"
>
<a-input-number
v-model=
"value.score15"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==16"
>
<a-input-number
v-model=
"value.score16"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==17"
>
<a-input-number
v-model=
"value.score17"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==18"
>
<a-input-number
v-model=
"value.score18"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<a-form-model-item
:prop=
"'score' + item.order"
v-if=
"item.order==19"
>
<a-input-number
v-model=
"value.score19"
:min=
"0"
:max=
"item.max"
style=
"width: 60%"
/>
</a-form-model-item>
<span
v-if=
"item.order==1"
>
{{
value
.
score1
}}
</span>
<span
v-if=
"item.order==2"
>
{{
value
.
score2
}}
</span>
<span
v-if=
"item.order==3"
>
{{
value
.
score3
}}
</span>
<span
v-if=
"item.order==4"
>
{{
value
.
score4
}}
</span>
<span
v-if=
"item.order==5"
>
{{
value
.
score5
}}
</span>
<span
v-if=
"item.order==6"
>
{{
value
.
score6
}}
</span>
<span
v-if=
"item.order==7"
>
{{
value
.
score7
}}
</span>
<span
v-if=
"item.order==8"
>
{{
value
.
score8
}}
</span>
<span
v-if=
"item.order==9"
>
{{
value
.
score9
}}
</span>
<span
v-if=
"item.order==10"
>
{{
value
.
score10
}}
</span>
<span
v-if=
"item.order==11"
>
{{
value
.
score11
}}
</span>
<span
v-if=
"item.order==12"
>
{{
value
.
score12
}}
</span>
<span
v-if=
"item.order==13"
>
{{
value
.
score13
}}
</span>
<span
v-if=
"item.order==14"
>
{{
value
.
score14
}}
</span>
<span
v-if=
"item.order==15"
>
{{
value
.
score15
}}
</span>
<span
v-if=
"item.order==16"
>
{{
value
.
score16
}}
</span>
<span
v-if=
"item.order==17"
>
{{
value
.
score17
}}
</span>
<span
v-if=
"item.order==18"
>
{{
value
.
score18
}}
</span>
<span
v-if=
"item.order==19"
>
{{
value
.
score19
}}
</span>
</td>
</tr>
<tr>
...
...
@@ -121,15 +48,13 @@
<td>
申报单位所承担科技计划项目在接受审计中期评估、“双随机一公开”等工作中的情况。
</td>
<td
colspan=
"3"
>
未发现问题,则该指标不适用;发现问题的,每涉及一个项目扣3分
<br
/><span
style=
"color: red;"
>
(注:本项填写0或负数)
</span></td>
<td
style=
"text-align: center;"
>
<a-form-model-item
:prop=
"'additionalScore'"
>
<a-input-number
v-model=
"value.additionalScore"
:max=
"0"
:step=
"-3"
style=
"width: 60%"
/>
</a-form-model-item>
<span
style=
"color: red;"
>
{{
value
.
additionalScore
}}
</span>
</td>
</tr>
<tr>
<td
style=
"text-align: center;"
colspan=
"7"
>
总得分
</td>
<td
style=
"text-align: center;"
>
{{
Count
()
}}
<span>
{{
value
.
totalScore
}}
</span>
</td>
</tr>
<tr>
...
...
@@ -139,17 +64,13 @@
<tr>
<td
colspan=
"4"
style=
"text-align: right;"
>
项目预算评审建议财政支持金额(万元)
</td>
<td
colspan=
"4"
style=
"text-align: left;"
>
<a-form-model-item
:prop=
"'recommendFunding'"
>
<a-input-number
v-model=
"value.recommendFunding"
:min=
"0"
style=
"width:100px"
/>
</a-form-model-item>
<span>
{{
value
.
recommendFunding
}}
</span>
</td>
</tr>
<tr>
<td
colspan=
"4"
style=
"text-align: right;"
>
意见与建议
</td>
<td
colspan=
"4"
style=
"text-align: left;"
>
<a-form-model-item
prop=
"remark"
>
<a-textarea
placeholder=
"评审意见"
v-model=
"value.remark"
:maxLength=
"1000"
style=
"width: 80%; height: 120px; margin-top: 6px"
/>
</a-form-model-item>
<div
v-html=
"toTextarea(value.remark)"
></div>
</td>
</tr>
<tr>
...
...
@@ -170,6 +91,7 @@
</
template
>
<
script
>
import
{
toTextarea
}
from
'@/views/utils/common'
import
{
standardList
}
from
'@/views/evaluation/components/config'
export
default
{
name
:
"economy"
,
...
...
@@ -243,29 +165,7 @@ export default {
},
methods
:
{
Count
()
{
var
s
=
0.0
;
for
(
var
i
=
1
;
i
<=
19
;
i
++
)
{
if
(
this
.
value
[
'score'
+
i
])
{
s
+=
parseFloat
(
this
.
value
[
'score'
+
i
])
}
}
if
(
!!
this
.
value
.
additionalScore
)
{
s
+=
parseFloat
(
this
.
value
.
additionalScore
)
}
s
=
s
.
toFixed
(
1
)
*
10
/
10
this
.
value
.
totalScore
=
s
this
.
determineType
()
return
s
},
determineType
()
{
if
(
this
.
value
.
totalScore
>=
80
)
this
.
value
.
evaluationType
=
1
else
if
(
this
.
value
.
totalScore
<
80
&&
this
.
value
.
totalScore
>=
60
)
this
.
value
.
evaluationType
=
2
else
this
.
value
.
evaluationType
=
3
},
toTextarea
,
},
};
</
script
>
...
...
src/views/evaluation/components/scoreView.vue
View file @
016c1ad7
<
template
>
<div
style=
"height:70vh;overflow:auto"
>
<div
style=
"height:70vh;overflow:auto"
class=
"app-content from-table font-line-space"
>
<a-spin
:spinning=
"loading"
style=
"width: 100%;height: 100%;"
>
<economy-info
v-model=
"formData"
v-if=
"formData.expertType == 2"
/>
</a-spin>
...
...
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