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
0e4e3332
Commit
0e4e3332
authored
Jul 30, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3333
parent
7d86b010
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
36 deletions
+27
-36
edit.vue
src/views/evaluation/talent/components/edit.vue
+18
-22
score.vue
src/views/evaluation/talent/components/score.vue
+7
-7
index.vue
src/views/evaluation/talent/index.vue
+2
-7
No files found.
src/views/evaluation/talent/components/edit.vue
View file @
0e4e3332
<
template
>
<div>
<table
class=
"tab-content"
cellpadding=
"3"
cellspacing=
"3"
style=
"width: 98%"
>
<table
class=
"tab-content"
cellpadding=
"3"
cellspacing=
"3"
style=
"width: 98%
;margin-top: 6px;
"
>
<tr>
<td
class=
"bg-title"
>
指标分类
</td>
<td
class=
"bg-title"
>
评分标准
</td>
<td
class=
"bg-title"
>
评分项目
</td>
<td
class=
"bg-title"
>
单项得分
</td>
<td
class=
"bg-title"
>
明细
</td>
<td
class=
"bg-title"
>
数量
</td>
<td
class=
"bg-title"
>
评分
</td>
<td
class=
"bg-title"
>
备注
</td>
<td
class=
"bg-title"
style=
"width:7%"
>
指标分类
</td>
<td
class=
"bg-title"
style=
"width:10%"
>
评分标准
</td>
<td
class=
"bg-title"
style=
"width:10%"
>
评分项目
</td>
<td
class=
"bg-title"
style=
"width:8%"
>
单项得分
</td>
<td
class=
"bg-title"
style=
"width:30%"
>
明细
</td>
<td
class=
"bg-title"
style=
"width:10%"
>
数量
</td>
<td
class=
"bg-title"
style=
"width:10%"
>
评分
</td>
<td
class=
"bg-title"
style=
"width:25%"
>
备注
</td>
</tr>
<tr
v-for=
"(item,index) in scoreList"
:key=
"'scoreList'+index"
type=
"flex"
class=
"row_center"
>
<td
:rowspan=
"item.row1"
v-if=
"item.row1>0"
>
{{
item
.
content1
}}
</td>
<td
:rowspan=
"item.row1"
v-if=
"item.row1>0"
style=
"text-align:center;font-weight: 800;"
>
{{
item
.
content1
}}
</td>
<td
:rowspan=
"item.row2"
v-if=
"item.row2>0"
>
{{
item
.
content2
}}
</td>
<td>
{{
item
.
content
}}
</td>
<td>
{{
item
.
scoreDetail
}}
</td>
<td
style=
"text-align:center"
>
{{
item
.
scoreDetail
}}
</td>
<td>
<a-form-model-item
:prop=
"'scoreList.' + index + '.detail'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.detail"
style=
"width:
60
%"
/>
<a-input
v-model=
"item.detail"
style=
"width:
85
%"
/>
</a-form-model-item>
</td>
<td>
<a-form-model-item
:prop=
"'scoreList.' + index + '.count'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.count"
:min=
"0"
style=
"width:
6
0%"
/>
<a-input-number
v-model=
"item.count"
:min=
"0"
style=
"width:
8
0%"
/>
</a-form-model-item>
</td>
<td
style=
"text-align: center;"
>
<a-form-model-item
:prop=
"'scoreList.' + index + '.score'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.score"
:min=
"0"
:max=
"item.maxScore"
style=
"width:
6
0%"
/>
<a-input-number
v-model=
"item.score"
:min=
"0"
:max=
"item.maxScore"
style=
"width:
8
0%"
/>
</a-form-model-item>
</td>
<td>
{{
item
.
remark
}}
</td>
</tr>
<tr>
<td
colspan=
"7"
class=
"bg-title"
style=
"text-align: right;"
>
总分:
</td>
<td
style=
"text-align: left;padding-left: 12px;"
>
{{
Count
()
}}
分
</td>
<td
colspan=
"6"
style=
"text-align: right;"
>
总分:
</td>
<td
style=
"text-align: center;padding-left: 12px;"
>
{{
Count
()
}}
</td>
<td></td>
</tr>
</table>
<div
style=
"height: 10px;"
></div>
</div>
</
template
>
...
...
@@ -52,12 +54,6 @@ export default {
return
[]
}
},
totalScore
:
{
type
:
Number
,
default
()
{
return
0
;
},
},
},
data
()
{
return
{
...
...
src/views/evaluation/talent/components/score.vue
View file @
0e4e3332
...
...
@@ -200,6 +200,13 @@ export default {
changeScroll
()
{
this
.
$refs
.
main
.
scrollTop
=
document
.
getElementsByClassName
(
'x_modal_content'
)[
0
].
offsetHeight
},
checkInfo
()
{
if
(
!!!
this
.
formData
.
totalScore
)
{
return
false
}
else
{
return
true
}
},
save
()
{
if
(
this
.
checkInfo
())
{
this
.
loading
=
true
...
...
@@ -218,13 +225,6 @@ export default {
this
.
$message
.
warn
(
'请先评分再保存!'
)
}
},
checkInfo
()
{
if
(
!!!
this
.
formData
.
totalScore
)
{
return
false
}
else
{
return
true
}
},
submit
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
...
...
src/views/evaluation/talent/index.vue
View file @
0e4e3332
...
...
@@ -15,10 +15,9 @@
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<div
class=
"submit-btn"
>
<a-button
type=
"primary"
@
click=
"exportData"
>
导出Excel
</a-button>
<a-button
type=
"primary"
@
click=
"testScoreView"
>
查看评分表
</a-button>
<span
class=
"form-description"
>
※ 注:保存评审内容后,请及时提交! 专家评分时间:
{{
description
}}
</span>
</div>
<a-table
:dataSource=
"tableData"
:columns=
"columns"
:scroll=
"
{ x: 'max-content' }"
rowKey="id" :pagination="false" :loading="loading">
<a-table
:dataSource=
"tableData"
:columns=
"columns"
:scroll=
"
{ x: 'max-content' }" rowKey="id" :pagination="false" :loading="loading">
<template
slot=
"talentInfo"
slot-scope=
"record"
>
<a
@
click=
"recordClick(record, 'tView')"
>
{{
record
.
personName
}}
</a>
</
template
>
...
...
@@ -71,7 +70,7 @@ export default {
{
title
:
'职称'
,
dataIndex
:
'titleName'
,
align
:
'center'
},
{
title
:
'申报年度'
,
dataIndex
:
'assignYear'
,
align
:
'center'
},
{
title
:
'评分'
,
dataIndex
:
'totalScore'
,
align
:
'center'
},
{
title
:
'评审状态'
,
dataIndex
:
'stateName'
,
align
:
'center'
},
{
title
:
'评审状态'
,
dataIndex
:
'stateName'
,
align
:
'center'
},
{
title
:
'操作'
,
scopedSlots
:
{
customRender
:
'option'
},
align
:
'center'
,
fixed
:
'right'
,
width
:
120
,
},
],
pagination
:
{
pageIndex
:
1
,
pageSize
:
50
,
total
:
0
,
pageSizeOptions
:
this
.
$defaultPageSizeOptions
,
},
...
...
@@ -95,10 +94,6 @@ export default {
this
.
getYear
()
},
methods
:
{
testScoreView
()
{
this
.
id
=
''
this
.
scoreVisible
=
true
},
moment
,
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
5
,
systemType
:
getType
(),
timeType
:
4
}).
then
(({
data
=
{}
})
=>
{
...
...
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