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
be2a532d
Commit
be2a532d
authored
Jul 28, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
e66af28d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
192 additions
and
14 deletions
+192
-14
assignGroupExpertView.vue
src/views/talentAssign/components/assignGroupExpertView.vue
+179
-0
groupExpertSelect.vue
src/views/talentAssign/components/groupExpertSelect.vue
+10
-10
index.vue
src/views/talentAssign/index.vue
+3
-4
No files found.
src/views/talentAssign/components/assignGroupExpertView.vue
0 → 100644
View file @
be2a532d
<
template
>
<div
class=
"from-table"
style=
"height:650px;overflow:auto;"
>
<a-spin
:spinning=
"loading"
style=
"width: 100%;height: 100%;"
>
<a-row>
<a-col
:span=
"4"
class=
"bg-gray"
>
姓名:
</a-col>
<a-col
:span=
"8"
>
{{
assignExpertInfo
.
expertName
}}
</a-col>
<a-col
:span=
"4"
class=
"bg-gray"
>
证件号:
</a-col>
<a-col
:span=
"8"
>
{{
assignExpertInfo
.
expertCertId
}}
</a-col>
</a-row>
<a-row>
<a-col
:span=
"4"
class=
"bg-gray"
>
性别:
</a-col>
<a-col
:span=
"8"
>
{{
assignExpertInfo
.
sex
}}
</a-col>
<a-col
:span=
"4"
class=
"bg-gray"
>
职称:
</a-col>
<a-col
:span=
"8"
>
{{
assignExpertInfo
.
titleName
}}
</a-col>
</a-row>
<a-row>
<a-col
:span=
"4"
class=
"bg-gray"
>
联系电话:
</a-col>
<a-col
:span=
"8"
>
{{
assignExpertInfo
.
mobile
}}
</a-col>
<a-col
:span=
"4"
class=
"bg-gray"
>
邮箱:
</a-col>
<a-col
:span=
"8"
>
{{
assignExpertInfo
.
email
}}
</a-col>
</a-row>
<a-row>
<a-col
:span=
"4"
class=
"bg-gray"
>
专业:
</a-col>
<a-col
:span=
"20"
>
<a-tag
v-for=
"data in assignExpertInfo.specList"
:key=
"data.id"
:color=
"'green'"
>
{{
data
.
specName
}}
</a-tag>
</a-col>
</a-row>
<a-row>
<a-col
:span=
"4"
class=
"bg-gray"
>
工作单位:
</a-col>
<a-col
:span=
"20"
>
{{
assignExpertInfo
.
unitName
}}
</a-col>
</a-row>
<a-row>
<a-col
:span=
"24"
class=
"titalCol"
>
<div>
评审人才列表
</div>
</a-col>
</a-row>
<a-row>
<a-col
:span=
"24"
>
<a-table
style=
"margin: 5px;"
:dataSource=
"assignExpertInfo.talentAssignList"
size=
"small"
:scroll=
"
{ y: 300 }" :columns="columns" rowKey="id" :pagination="false" :loading="loading">
<template
slot=
"evaluationInfo"
slot-scope=
"record"
>
<a-tag
v-if=
"!!record.auditState && record.auditState == 2"
:color=
"'green'"
>
{{
record
.
totalScore
}}
</a-tag>
<a-tag
v-else
:color=
"'red'"
>
未评审
</a-tag>
</
template
>
</a-table>
</a-col>
</a-row>
<a-row>
<a-col
:span=
"24"
style=
"text-align:center;"
>
<a-button
type=
"danger"
size=
"small"
@
click=
"del"
>
删除
</a-button>
</a-col>
</a-row>
</a-spin>
</div>
</template>
<
script
>
export
default
{
name
:
"assignExpertView"
,
props
:
{
value
:
{
type
:
String
,
default
:
()
=>
{
return
null
;
},
},
},
data
()
{
return
{
assignExpertInfo
:
{
},
loading
:
true
,
tableData
:
[],
columns
:
[
{
title
:
'证件号'
,
dataIndex
:
'certId'
,
ellipsis
:
true
},
{
title
:
'姓名'
,
dataIndex
:
'personName'
,
ellipsis
:
true
},
{
title
:
"人才类别"
,
dataIndex
:
'talentCategoryName'
,
align
:
'center'
},
{
title
:
'评分'
,
scopedSlots
:
{
customRender
:
'evaluationInfo'
},
align
:
'center'
,
width
:
100
},
{
dataIndex
:
'remark'
,
title
:
'内容'
,
align
:
'center'
,
ellipsis
:
true
},
]
};
},
created
()
{
this
.
getAssignExpertById
()
},
computed
:
{
},
methods
:
{
getAssignExpertById
()
{
let
pars
=
{
id
:
this
.
value
}
this
.
$api
.
talentAssign
.
getAssignGroupExpertById
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
assignExpertInfo
=
data
this
.
loading
=
false
}
else
{
this
.
$message
.
error
(
'评审专家已删除'
)
this
.
$emit
(
'close'
)
}
}).
catch
(()
=>
{
})
},
del
()
{
let
self
=
this
this
.
$confirm
({
title
:
'评审专家及其评审人才明细删除'
,
content
:
'确定要删除该评审专家及其评审人才明细?'
,
okText
:
'确定'
,
okType
:
'danger'
,
cancelText
:
'取消'
,
onOk
()
{
self
.
loading
=
true
let
pars
=
{
id
:
self
.
value
}
self
.
$api
.
talentAssign
.
deleteAssignGroupExpert
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
self
.
$message
.
success
(
'删除成功'
)
self
.
$emit
(
'close'
)
}
self
.
loading
=
false
}).
catch
(()
=>
{
self
.
loading
=
false
})
},
onCancel
()
{
},
})
},
evaluationColor
(
value
)
{
if
(
value
)
return
'green'
else
return
'red'
},
evaluationText
(
value
)
{
if
(
value
)
return
'已评审'
else
return
'未评审'
},
}
};
</
script
>
<
style
scoped
>
.titalCol
{
text-align
:
center
;
background
:
#f8fafc
;
font-weight
:
bold
;
}
</
style
>
src/views/talentAssign/components/groupExpertSelect.vue
View file @
be2a532d
...
...
@@ -68,7 +68,16 @@ export default {
}
},
methods
:
{
getGroupProjectInfo
()
{
loadTreeSelect
()
{
this
.
$api
.
parameter
.
getKnowledgeInfoList1
().
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
treeData
=
data
// this.defaultExpandedKeys = [this.treeData[0].key]
this
.
getGroupTalentInfo
()
}
}).
catch
(()
=>
{
this
.
loading
=
true
});
},
getGroupTalentInfo
()
{
let
pars
=
{
groupIds
:
this
.
talentGroupSelectedRowKeys
}
this
.
$api
.
talentAssign
.
getGroupTalentInfo
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
...
...
@@ -94,15 +103,6 @@ export default {
onCancel
()
{
this
.
$emit
(
"close"
,
'cancel'
)
},
loadTreeSelect
()
{
this
.
$api
.
parameter
.
getKnowledgeInfoList1
().
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
treeData
=
data
// this.defaultExpandedKeys = [this.treeData[0].key]
this
.
getGroupProjectInfo
()
}
}).
catch
(()
=>
{
this
.
loading
=
true
});
},
changePersonName
()
{
this
.
seachExpert
()
},
...
...
src/views/talentAssign/index.vue
View file @
be2a532d
...
...
@@ -38,7 +38,6 @@
<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=
"exportProjGroupScoreExcel"
>
项目分组排名导出
</a-button>
<a-tag
:color=
"technology"
>
{{
'技术专家'
}}
</a-tag>
<a-tag
:color=
"finance"
>
{{
'财务专家'
}}
</a-tag>
</div>
<a-table
:dataSource=
"tableData2"
:columns=
"columns2"
rowKey=
"id"
:pagination=
"false"
:loading=
"loading"
:row-selection=
"
{ selectedRowKeys: talentGroupSelectedRowKeys, onChange: onProjGroupSelectChange, type: selectType }">
<template
slot=
"groupName"
slot-scope=
"record"
>
...
...
@@ -51,7 +50,7 @@
<template
slot=
"title"
>
<span>
{{
data
.
workUnit
}}
</span>
</
template
>
<a-tag
:color=
"
data.expertType == 1 ? technology : finance"
@
click=
"evaluationView(data)"
>
{{data.person
Name}}
</a-tag>
<a-tag
:color=
"
expertColor"
@
click=
"evaluationView(data)"
>
{{data.expert
Name}}
</a-tag>
</a-tooltip>
</template>
</template>
...
...
@@ -99,9 +98,9 @@ import groupEdit from '@/views/talentAssign/components/groupEdit'
import
groupExpertSelect
from
'@/views/talentAssign/components/groupExpertSelect'
import
talentSelectIntoGroup
from
'@/views/talentAssign/components/talentSelectIntoGroup.vue'
import
assignDetail
from
'@/views/talentAssign/components/assignDetail'
import
assignGroupExpertView
from
'@/views/talentAssign/components/assignGroupExpertView'
import
projectGroupAdjust
from
'@/views/assign/components/projectGroupAdjust'
import
assignGroupExpertView
from
'@/views/assign/components/assignGroupExpertView'
import
knowledgeSelect
from
'@/views/peAssign/components/knowledgeSelect'
import
projectStatistic
from
'@/views/peAssign/components/projectStatistic'
...
...
@@ -158,6 +157,7 @@ export default {
eMergeList
:
[],
talentIntoGroupVisible
:
false
,
talentIntoGroupTitle
:
null
,
expertColor
:
'orange'
,
technology
:
"#2db7f5"
,
finance
:
"#87d068"
,
groupList
:
[],
...
...
@@ -195,7 +195,6 @@ export default {
this
.
$api
.
talentAssign
.
getTalentGroupListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
console
.
log
(
dataList
)
this
.
tableData2
=
dataList
this
.
pagination
.
total
=
total
this
.
loading
=
false
...
...
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