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
15700270
Commit
15700270
authored
Jul 25, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
333
parent
4c3fdc2a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
48 deletions
+27
-48
index.js
src/api/index.js
+3
-1
index.vue
src/views/evaluation/talent/index.vue
+24
-47
No files found.
src/api/index.js
View file @
15700270
...
...
@@ -507,7 +507,6 @@ export default {
deleteAssignGroupExpert
(
params
)
{
return
fetch
(
`/v1/science-admin/com-talent-group/deleteAssignGroupExpert/
${
params
.
id
}
`
,
params
,
'delete'
,
'json'
)
},
getTalentGroupListByPage
(
params
)
{
return
fetch
(
'/v1/science-admin/com-talent-group/getTalentGroupListByPage'
,
params
)
},
...
...
@@ -560,6 +559,9 @@ export default {
getAuditListByPage
(
params
)
{
return
fetch
(
`/v1/science-admin/com-talent-assign/getAuditListByPage`
,
params
)
},
getTalentAssignListByPage
(
params
)
{
return
fetch
(
`/v1/science-admin/com-talent-assign/getTalentAssignListByPage`
,
params
)
},
expertEvaluation
(
params
)
{
return
fetch
(
`/v1/science-admin/com-talent-assign/expertEvaluation`
,
params
,
'post'
,
'json'
)
},
...
...
src/views/evaluation/talent/index.vue
View file @
15700270
...
...
@@ -2,15 +2,14 @@
<div
class=
"app-content"
>
<a-form
:form=
"form"
:model=
"searchForm"
layout=
"inline"
class=
"search_form"
>
<a-form-item>
<a-input
placeholder=
"
项目名称"
v-model=
"searchForm.projName"
:maxLength=
"100"
style=
"width: 16
0px"
/>
<a-input
placeholder=
"
身份证号"
v-model=
"searchForm.certId"
:maxLength=
"100"
style=
"width: 18
0px"
/>
</a-form-item>
<a-form-item>
<a-input
placeholder=
"
申请编号"
v-model=
"searchForm.appNo"
:maxLength=
"100"
style=
"width: 16
0px"
/>
<a-input
placeholder=
"
姓名"
v-model=
"searchForm.personName"
:maxLength=
"100"
style=
"width: 18
0px"
/>
</a-form-item>
<a-form-item>
<a-button
type=
"primary"
icon=
"search"
@
click=
"search"
>
搜索
</a-button>
<a-button
icon=
"reload"
style=
"margin-left: 10px"
@
click=
"reset"
class=
"bt-normal"
>
重置
</a-button>
<a-tag
color=
"#108ee9"
style=
"margin-left: 10px"
@
click=
"previewFile"
>
查看专家评分标准
</a-tag>
</a-form-item>
</a-form>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
...
...
@@ -20,36 +19,27 @@
<span
class=
"form-description"
>
※ 注:保存评审内容后,请及时提交! 专家评分时间:
{{
description
}}
</span>
</div>
<a-table
:dataSource=
"tableData"
:columns=
"columns"
rowKey=
"id"
:pagination=
"false"
:loading=
"loading"
>
<template
slot=
"projectName"
slot-scope=
"record"
>
<a
@
click=
"recordClick(record,'pView')"
>
{{
record
.
projName
}}
</a>
</
template
>
<
template
slot=
"expertEvaluation"
slot-scope=
"record"
>
<a-tag
:color=
"evaluationColor(record)"
>
{{
evaluationText
(
record
)
}}
</a-tag>
</
template
>
<
template
slot=
"projClassInfo"
slot-scope=
"record"
>
{{
record
.
projClass
==
1
?
"一般项目"
:
"重点项目"
}}
<template
slot=
"talentInfo"
slot-scope=
"record"
>
<a
@
click=
"recordClick(record, 'tView')"
>
{{
record
.
personName
}}
</a>
</
template
>
<
template
slot=
"option"
slot-scope=
"record"
>
<a-button
type=
"link"
size=
"small"
v-if=
"!!record.auditState && record.auditState == 2"
@
click=
"recordClick(record,'view')"
>
查看
</a-button>
<a-button
type=
"link"
size=
"small"
v-if=
"isButten"
@
click=
"recordClick(record,'score')"
>
评分
</a-button>
</
template
>
<
template
slot=
"supportState"
slot-scope=
"record"
>
{{
record
.
supportState
!=
null
?(
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=
"scoreVisible"
title=
"专家评分"
width=
"90%"
:dialog-style=
"{ top: '5%' }"
:footer=
"null"
destroyOnClose
>
<score
v-model=
"id"
:exportTime=
"exportTime"
@
close=
"closeWindow"
ref=
"scoreEdit"
/>
</a-modal>
<a-modal
v-model=
"scoreViewVisible"
title=
"专家评分表"
width=
"90%"
:dialog-style=
"{ top: '5%' }"
:footer=
"null"
destroyOnClose
>
<score-view
v-model=
"id"
@
close=
"() => this.scoreViewVisible = false"
/>
</a-modal>
<a-modal
v-model=
"
scoreVisible"
title=
"专家评分"
width=
"90%"
:dialog-style=
"{ top: '5%' }"
:footer=
"null"
destroyOnClose
>
<
score
v-model=
"id"
:exportTime=
"exportTime"
@
close=
"closeWindow"
ref=
"scoreEdit"
/
>
<a-modal
v-model=
"
talentVisible"
title=
"查看"
width=
"94%"
:footer=
"null"
:dialog-style=
"{ top: '8%' }"
destroyOnClose
:maskClosable=
"false"
>
<
talent-view
v-model=
"talentId"
@
close=
"closeWindow"
></talent-view
>
</a-modal>
<a-modal
v-model=
"visibleStandard"
title=
"专家评分标准"
width=
"1000px"
:dialog-style=
"{ top: '5%' }"
:footer=
"null"
destroyOnClose
>
<pdf-view
v-model=
"url.downloadUrl"
:fileName=
"url.fileDownload"
></pdf-view>
</a-modal>
<a-modal
v-model=
"visibleView"
v-if=
"visibleView"
title=
"项目详情"
width=
"94%"
:footer=
"null"
:dialog-style=
"{ top: '8%' }"
destroyOnClose
:maskClosable=
"false"
>
<project-view
v-model=
"projectId"
@
close=
"() => this.visibleView = false"
/>
</a-modal>
</div>
</template>
...
...
@@ -59,13 +49,13 @@ import moment from 'moment'
import
{
isEmptyParams
,
filterExportExcelData
,
tableColumnsName
,
getEvaluationType
}
from
'@/views/utils/common'
import
score
from
'@/views/evaluation/talent/components/score'
import
scoreView
from
'@/views/evaluation/talent/components/scoreView'
import
projectView
from
'@/views/evaluation/project/components/projectView'
import
talentView
from
"@/views/report/talent/components/talentView"
import
pdfView
from
'@/views/components/common/pdfView'
export
default
{
name
:
"talentEvaluation"
,
components
:
{
projec
tView
,
score
,
scoreView
,
pdfView
talen
tView
,
score
,
scoreView
,
pdfView
},
data
()
{
return
{
...
...
@@ -73,12 +63,14 @@ export default {
searchForm
:
{
projName
:
null
,
appNo
:
null
,
assignYear
:
null
,
personId
:
null
,
systemType
:
getType
(),
isShow
:
1
},
tableData
:
[],
columns
:
[
{
title
:
'申请编号'
,
dataIndex
:
'appNo'
,
align
:
'center'
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projectName'
,
colName
:
'projName'
},
align
:
'left'
},
{
title
:
"项目类别"
,
scopedSlots
:
{
customRender
:
'projClassInfo'
},
align
:
'center'
,
width
:
80
},
{
title
:
"身份证号"
,
dataIndex
:
'certId'
,
align
:
'center'
},
{
title
:
'姓名'
,
scopedSlots
:
{
customRender
:
'talentInfo'
},
align
:
'center'
},
{
title
:
'性别'
,
dataIndex
:
'sex'
,
align
:
'center'
},
{
title
:
'手机号'
,
dataIndex
:
'mobile'
,
align
:
'center'
},
{
title
:
'现从事专业'
,
dataIndex
:
'professionName'
,
align
:
'center'
},
{
title
:
'职称'
,
dataIndex
:
'titleName'
,
align
:
'center'
},
{
title
:
'申报年度'
,
dataIndex
:
'reportYear'
,
align
:
'center'
},
{
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
,
},
],
...
...
@@ -87,10 +79,10 @@ export default {
description
:
''
,
isButten
:
false
,
id
:
null
,
visibleView
:
false
,
talentVisible
:
false
,
scoreVisible
:
false
,
scoreViewVisible
:
false
,
projec
tId
:
null
,
talen
tId
:
null
,
url
:
{
downloadUrl
:
'/downloadFile/20250108.pdf'
,
fileDownload
:
'专家评分标准.pdf'
,
...
...
@@ -124,7 +116,7 @@ export default {
this
.
searchForm
.
systemType
=
getType
()
let
pars
=
isEmptyParams
(
this
.
searchForm
)
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
this
.
$api
.
projectAssign
.
getAudit
ListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
talentAssign
.
getTalentAssign
ListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
tableData
=
dataList
...
...
@@ -161,9 +153,9 @@ export default {
}
else
if
(
type
===
'score'
)
{
this
.
id
=
record
.
id
this
.
scoreVisible
=
true
}
else
if
(
type
===
'
p
View'
)
{
this
.
projectId
=
record
.
proj
Id
this
.
visibleView
=
true
}
else
if
(
type
===
'
t
View'
)
{
this
.
talentId
=
record
.
talent
Id
this
.
talentVisible
=
true
}
},
closeWindow
(
value
)
{
...
...
@@ -179,21 +171,6 @@ export default {
exportData
()
{
this
.
$ToDoExcel
(
`人才评分列表`
,
tableColumnsName
(
this
.
columns
),
filterExportExcelData
(
this
.
columns
,
this
.
tableData
))
},
evaluationColor
(
record
)
{
let
color
=
''
switch
(
record
.
auditState
)
{
case
0
:
color
=
'#f50'
;
break
;
case
1
:
color
=
'#f50'
;
break
;
case
2
:
color
=
'#87d068'
;
break
;
}
return
color
},
evaluationText
(
record
)
{
let
text
=
''
switch
(
record
.
auditState
)
{
...
...
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