Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
R
recruit-sys
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
李文光
recruit-sys
Commits
e5a79462
Commit
e5a79462
authored
Sep 24, 2026
by
李文光
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 移除评估卡冻结的能力锚点前置要求
parent
ff10a62c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
RoleEvaluationCardPanel.vue
vue-app/src/components/reviews/RoleEvaluationCardPanel.vue
+3
-19
No files found.
vue-app/src/components/reviews/RoleEvaluationCardPanel.vue
View file @
e5a79462
...
@@ -58,9 +58,6 @@ const coveredMatchSurfaceCount = computed(
...
@@ -58,9 +58,6 @@ const coveredMatchSurfaceCount = computed(
const
competencyAnchorCount
=
computed
(()
=>
const
competencyAnchorCount
=
computed
(()
=>
competencyRulers
.
reduce
((
sum
,
item
)
=>
sum
+
(
card
.
value
?.
competencyCriteria
?.[
item
.
key
]?.
length
||
0
),
0
)
competencyRulers
.
reduce
((
sum
,
item
)
=>
sum
+
(
card
.
value
?.
competencyCriteria
?.[
item
.
key
]?.
length
||
0
),
0
)
)
)
const
coveredCompetencyCount
=
computed
(
()
=>
competencyRulers
.
filter
((
item
)
=>
(
card
.
value
?.
competencyCriteria
?.[
item
.
key
]?.
length
||
0
)
>
0
).
length
)
const
gateCount
=
computed
(()
=>
card
.
value
?.
hardGates
?.
length
||
0
)
const
gateCount
=
computed
(()
=>
card
.
value
?.
hardGates
?.
length
||
0
)
const
highlightCount
=
computed
(()
=>
card
.
value
?.
highlights
?.
length
||
0
)
const
highlightCount
=
computed
(()
=>
card
.
value
?.
highlights
?.
length
||
0
)
const
requiredChecks
=
computed
(()
=>
[
const
requiredChecks
=
computed
(()
=>
[
...
@@ -72,15 +69,6 @@ const requiredChecks = computed(() => [
...
@@ -72,15 +69,6 @@ const requiredChecks = computed(() => [
:
'至少添加一条可复核判据'
,
:
'至少添加一条可复核判据'
,
ready
:
matchCriterionCount
.
value
>
0
,
ready
:
matchCriterionCount
.
value
>
0
,
},
},
{
key
:
'competency'
,
label
:
'四把能力尺子'
,
detail
:
coveredCompetencyCount
.
value
===
competencyRulers
.
length
?
`
${
competencyAnchorCount
.
value
}
条锚点 · 四个尺子均已配置`
:
`
${
coveredCompetencyCount
.
value
}
/4 个尺子已有锚点,冻结前需补齐`
,
ready
:
coveredCompetencyCount
.
value
===
competencyRulers
.
length
,
},
])
])
const
requiredReadyCount
=
computed
(()
=>
requiredChecks
.
value
.
filter
((
item
)
=>
item
.
ready
).
length
)
const
requiredReadyCount
=
computed
(()
=>
requiredChecks
.
value
.
filter
((
item
)
=>
item
.
ready
).
length
)
const
readinessPercent
=
computed
(()
=>
Math
.
round
((
requiredReadyCount
.
value
/
requiredChecks
.
value
.
length
)
*
100
))
const
readinessPercent
=
computed
(()
=>
Math
.
round
((
requiredReadyCount
.
value
/
requiredChecks
.
value
.
length
)
*
100
))
...
@@ -93,15 +81,11 @@ const readinessHint = computed(() => {
...
@@ -93,15 +81,11 @@ const readinessHint = computed(() => {
if
(
stale
.
value
)
return
'岗位信息已经变化,请基于当前岗位重新生成并冻结标准。'
if
(
stale
.
value
)
return
'岗位信息已经变化,请基于当前岗位重新生成并冻结标准。'
if
(
!
editable
.
value
)
return
'当前冻结版本正在用于该岗位所有候选人的正式 AI 评估。'
if
(
!
editable
.
value
)
return
'当前冻结版本正在用于该岗位所有候选人的正式 AI 评估。'
if
(
standardReady
.
value
)
return
'当前标准已满足冻结条件,冻结后将用于所有候选人的正式 AI 评估。'
if
(
standardReady
.
value
)
return
'当前标准已满足冻结条件,冻结后将用于所有候选人的正式 AI 评估。'
return
'
补齐岗位匹配判据和四把能力尺子
后即可冻结。'
return
'
至少添加一条岗位匹配判据
后即可冻结。'
})
})
const
canFreeze
=
computed
(()
=>
{
const
canFreeze
=
computed
(()
=>
{
if
(
!
editable
.
value
)
return
false
if
(
!
editable
.
value
)
return
false
const
matchCount
=
matchSurfaces
.
reduce
((
sum
,
item
)
=>
sum
+
(
card
.
value
?.
matchCriteria
?.[
item
.
key
]?.
length
||
0
),
0
)
return
matchCriterionCount
.
value
>
0
const
competencyReady
=
competencyRulers
.
every
(
(
item
)
=>
(
card
.
value
?.
competencyCriteria
?.[
item
.
key
]?.
length
||
0
)
>
0
)
return
matchCount
>
0
&&
competencyReady
})
})
const
sourceLabel
=
(
value
)
=>
const
sourceLabel
=
(
value
)
=>
...
@@ -221,7 +205,7 @@ function saveDraft() {
...
@@ -221,7 +205,7 @@ function saveDraft() {
async
function
freezeCard
()
{
async
function
freezeCard
()
{
if
(
!
card
.
value
||
!
canFreeze
.
value
)
{
if
(
!
card
.
value
||
!
canFreeze
.
value
)
{
showToast
(
'至少需要一条岗位匹配判据
,且四把能力尺子都要配置锚点
'
,
'warning'
)
showToast
(
'至少需要一条岗位匹配判据'
,
'warning'
)
return
return
}
}
try
{
try
{
...
...
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