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
410430cc
Commit
410430cc
authored
Mar 07, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
232fd6fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
+32
-2
index.vue
src/views/evaluation/index.vue
+32
-2
No files found.
src/views/evaluation/index.vue
View file @
410430cc
...
...
@@ -33,6 +33,14 @@
<a-button
type=
"link"
size=
"small"
v-if=
"!!record.auditState && record.auditState == 2"
@
click=
"recordClick(record,'eView')"
>
查看
</a-button>
<a-button
type=
"link"
size=
"small"
v-if=
"isButten"
@
click=
"recordClick(record,'eva')"
>
评分
</a-button>
</
template
>
<
template
slot=
"evaluationType"
slot-scope=
"record"
>
<a-tag
:color=
"'#87d068'"
v-if=
"record.evaluationType==1"
>
{{
evaluationTypeA
}}
</a-tag>
<a-tag
:color=
"'#2db7f5'"
v-if=
"record.evaluationType==2"
>
{{
evaluationTypeB
}}
</a-tag>
<a-tag
:color=
"'#f50'"
v-if=
"record.evaluationType==3"
>
{{
evaluationTypeC
}}
</a-tag>
</
template
>
<
template
slot=
"supportState"
slot-scope=
"record"
>
{{
record
.
supportState
==
1
?
"是"
:
"否"
}}
</
template
>
</a-table>
<a-pagination
v-if=
"pagination.total > 0"
:total=
"pagination.total"
show-size-changer
show-quick-jumper
v-model=
"pagination.pageIndex"
:page-size=
"pagination.pageSize"
:page-size-options=
"pagination.pageSizeOptions"
@
showSizeChange=
"showSizeChange"
@
change=
"change"
:showTotal=
"() => `共 ${pagination.total} 条`"
/>
<a-modal
v-model=
"visibleEvaluationView"
title=
"专家评分"
width=
"90%"
:dialog-style=
"{ top: '5%' }"
:footer=
"null"
destroyOnClose
>
...
...
@@ -55,7 +63,7 @@
<
script
>
import
{
getType
}
from
'@/views/utils/auth'
import
moment
from
'moment'
import
{
isEmptyParams
,
filterExportExcelData
,
tableColumnsName
}
from
'@/views/utils/common'
import
{
isEmptyParams
,
filterExportExcelData
,
tableColumnsName
,
getEvaluationType
}
from
'@/views/utils/common'
import
assignExpertView
from
'@/views/assign/components/assignExpertView'
import
evaluationEdit
from
'@/views/evaluation/components/evaluationEdit'
import
score
from
'@/views/evaluation/components/score'
...
...
@@ -78,6 +86,8 @@ export default {
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projectName'
,
colName
:
'projName'
},
align
:
'left'
},
{
title
:
"项目类别"
,
scopedSlots
:
{
customRender
:
'projClassInfo'
},
align
:
'center'
,
width
:
80
},
{
title
:
'评分'
,
dataIndex
:
'totalScore'
,
align
:
'center'
},
{
title
:
'评审结果'
,
scopedSlots
:
{
customRender
:
'evaluationType'
},
align
:
'center'
},
{
title
:
'是否推荐立项支持'
,
scopedSlots
:
{
customRender
:
'supportState'
},
align
:
'center'
},
{
title
:
'评审状态'
,
scopedSlots
:
{
customRender
:
'expertEvaluation'
,
colName
:
'gradeScore'
},
align
:
'center'
},
{
title
:
'操作'
,
scopedSlots
:
{
customRender
:
'option'
},
align
:
'center'
,
fixed
:
'right'
,
width
:
120
,
},
],
...
...
@@ -104,6 +114,17 @@ export default {
totalFunding
:
0.00
,
}
},
computed
:
{
evaluationTypeA
()
{
return
getEvaluationType
(
0
)
},
evaluationTypeB
()
{
return
getEvaluationType
(
1
)
},
evaluationTypeC
()
{
return
getEvaluationType
(
2
)
},
},
created
()
{
this
.
getYear
()
},
...
...
@@ -213,7 +234,15 @@ export default {
},
previewFile
()
{
this
.
visibleStandard
=
true
}
},
DetermineType
(
totalScore
)
{
if
(
totalScore
>=
80
)
this
.
evaluationType
=
1
else
if
(
totalScore
<
80
&&
totalScore
>=
60
)
this
.
evaluationType
=
2
else
this
.
evaluationType
=
3
},
}
};
</
script
>
\ No newline at end of file
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