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
d8e846d4
Commit
d8e846d4
authored
Jul 29, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
069fea1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
20 deletions
+18
-20
index.js
src/api/index.js
+3
-0
index.vue
src/views/talentAssign/index.vue
+15
-20
No files found.
src/api/index.js
View file @
d8e846d4
...
...
@@ -117,6 +117,9 @@ export default {
},
getProjectKpitStatistic
()
{
return
fetch
(
`/v1/science-admin/com-project-kpit/getProjectKpitStatistic`
)
},
getTalentEvaluationStatistic
(
params
)
{
return
fetch
(
`/v1/science-admin/statistical/getTalentEvaluationStatistic`
,
params
)
}
},
//单位管理
...
...
src/views/talentAssign/index.vue
View file @
d8e846d4
...
...
@@ -33,13 +33,13 @@
</a-form>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<div
class=
"submit-btn"
>
<a-button
icon=
"plus-circle"
type=
"primary"
@
click=
"onAdd
Projec
tGroup"
>
添加人才分组
</a-button>
<a-button
icon=
"plus-circle"
type=
"primary"
@
click=
"onAdd
Talen
tGroup"
>
添加人才分组
</a-button>
<a-button
icon=
"plus-circle"
type=
"primary"
@
click=
"onAssignTalentIntoGroup"
>
分配人才进入人才分组
</a-button>
<a-button
type=
"primary"
@
click=
"onaAssignDetail"
>
分配明细
</a-button>
<a-button
icon=
"download"
type=
"primary"
@
click=
"exportEvaluationExcel"
>
项目
评审结果导出
</a-button>
<a-button
icon=
"download"
type=
"primary"
@
click=
"export
ProjGroupScoreExcel"
>
项目
分组排名导出
</a-button>
<a-button
icon=
"download"
type=
"primary"
@
click=
"exportEvaluationExcel"
>
人才
评审结果导出
</a-button>
<a-button
icon=
"download"
type=
"primary"
@
click=
"export
TalentGroupScoreExcel"
>
人才
分组排名导出
</a-button>
</div>
<a-table
:dataSource=
"tableData2"
:columns=
"columns2"
rowKey=
"id"
:pagination=
"false"
:loading=
"loading"
:row-selection=
"
{ selectedRowKeys: talentGroupSelectedRowKeys, onChange: on
Proj
GroupSelectChange, type: selectType }">
<a-table
:dataSource=
"tableData2"
:columns=
"columns2"
rowKey=
"id"
:pagination=
"false"
:loading=
"loading"
:row-selection=
"
{ selectedRowKeys: talentGroupSelectedRowKeys, onChange: on
Talent
GroupSelectChange, type: selectType }">
<template
slot=
"groupName"
slot-scope=
"record"
>
<a
@
click=
"recordClick(record, 'groupView')"
>
{{
record
.
groupName
}}
</a>
</
template
>
...
...
@@ -100,16 +100,11 @@ import talentSelectIntoGroup from '@/views/talentAssign/components/talentSelectI
import
assignDetail
from
'@/views/talentAssign/components/assignDetail'
import
assignGroupExpertView
from
'@/views/talentAssign/components/assignGroupExpertView'
import
projectGroupAdjust
from
'@/views/assign/components/projectGroupAdjust'
import
knowledgeSelect
from
'@/views/peAssign/components/knowledgeSelect'
import
projectStatistic
from
'@/views/peAssign/components/projectStatistic'
export
default
{
name
:
"projKeyAssign"
,
components
:
{
paraSelect
,
groupDetail
,
groupEdit
,
talentSelectIntoGroup
,
groupExpertSelect
,
projectGroupAdjust
,
assignGroupExpertView
,
knowledgeSelect
,
projectStatistic
,
assignDetail
paraSelect
,
groupDetail
,
groupEdit
,
talentSelectIntoGroup
,
groupExpertSelect
,
assignGroupExpertView
,
assignDetail
},
data
()
{
return
{
...
...
@@ -228,7 +223,7 @@ export default {
parChange
(
value
)
{
this
.
searchForm
.
knowledgeParentId
=
value
},
on
Proj
GroupSelectChange
(
selectedRowKeys
)
{
on
Talent
GroupSelectChange
(
selectedRowKeys
)
{
this
.
talentGroupSelectedRowKeys
=
selectedRowKeys
},
recordClick
(
record
,
type
)
{
...
...
@@ -271,7 +266,7 @@ export default {
}
},
onAdd
Projec
tGroup
()
{
onAdd
Talen
tGroup
()
{
this
.
groupId
=
null
this
.
groupEditVisible
=
true
},
...
...
@@ -355,9 +350,9 @@ export default {
},
exportEvaluationExcel
()
{
this
.
loading
=
true
const
rowMarks
=
[
'A'
,
'B'
,
'C'
,
'D'
,
'E'
,
'P'
,
'Q
'
]
const
rowMarks
=
[
'A'
,
'B'
,
'C'
,
'D'
,
'L'
,
'M
'
]
this
.
$api
.
statistical
.
get
EvaluationExportExcel
({
this
.
$api
.
statistical
.
get
TalentEvaluationStatistic
({
reportYear
:
this
.
reportYear
,
startRow
:
3
,
rowMarks
:
rowMarks
...
...
@@ -368,13 +363,13 @@ export default {
import
(
'@/views/utils/Export2Excel'
).
then
(
excel
=>
{
try
{
const
multiHeader
=
[[
this
.
reportYear
+
'
项目
评审结果列表'
,
''
,
''
]]
const
header
=
[
'
项目编号'
,
'项目名称'
,
'一级学科'
,
'二级学科'
,
'所属市州'
,
'证件号'
,
'专家姓名'
,
'专家单位'
,
'手机号'
,
'专家类型'
,
'专家评分'
,
'评审类别'
,
'评审内容'
,
'评审状态'
,
'总分'
,
'最终得
分'
]
const
filterVal
=
[
'
projNo'
,
'projName'
,
'parentName'
,
'knowledgeName'
,
'unitName'
,
'certId'
,
'personName'
,
'expertUnitName'
,
'mobile'
,
'expertTypeName'
,
'evaluationScore'
,
'evaluationTypeName'
,
'remark'
,
'auditStateName'
,
'totalScore'
,
'calculat
eScore'
]
const
multiHeader
=
[[
this
.
reportYear
+
'
人才
评审结果列表'
,
''
,
''
]]
const
header
=
[
'
证件号'
,
'姓名'
,
'人才类别'
,
'人才单位'
,
'专家证件号'
,
'专家姓名'
,
'专家单位'
,
'专家手机号'
,
'专家评分'
,
'评审内容'
,
'审核状态名称'
,
'总分'
,
'平均
分'
]
const
filterVal
=
[
'
certId'
,
'personName'
,
'talentCategoryName'
,
'unitName'
,
'expertCertId'
,
'expertName'
,
'expertUnitName'
,
'mobile'
,
'evaluationScore'
,
'remark'
,
'auditStateName'
,
'totalScore'
,
'averag
eScore'
]
const
list
=
this
.
eTableData
const
merges
=
[
'A1:
Q
1'
].
concat
(
this
.
eMergeList
)
const
merges
=
[
'A1:
M
1'
].
concat
(
this
.
eMergeList
)
const
data
=
list
.
map
(
item
=>
filterVal
.
map
(
j
=>
item
[
j
]))
const
filename
=
this
.
reportYear
+
'
项目
评审结果列表'
const
filename
=
this
.
reportYear
+
'
人才
评审结果列表'
excel
.
exportJsonToExcel
({
multiHeader
,
...
...
@@ -408,7 +403,7 @@ export default {
this
.
eMergeList
=
[]
})
},
export
Proj
GroupScoreExcel
()
{
export
Talent
GroupScoreExcel
()
{
this
.
loading
=
true
const
rowMarks
=
[
'A'
]
...
...
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