Commit d5234f7f authored by 李文光's avatar 李文光

feat: 重构岗位评估标准配置页

parent 11457fc4
......@@ -786,16 +786,29 @@ const mainAction = async () => {
<RoleEvaluationCardPanel :job="job" />
<section class="quick-match-panel">
<span class="quick-match-mark" aria-hidden="true">
<el-icon><Histogram /></el-icon>
</span>
<div class="quick-match-copy">
<span class="section-kicker">快速匹配规则</span>
<h3>简历库快速匹配</h3>
<p>用于简历库快速排序,与上方岗位评估卡相互独立,不作为正式 AI 评估标准。</p>
<div class="quick-match-title">
<span class="section-kicker">辅助排序</span>
<h3>简历库快速匹配</h3>
</div>
<p>按当前 JD 与硬性条件做本地初步筛选和排序,不生成 HR 决策报告,也不替代正式 AI 评估。</p>
<div class="quick-match-facts">
<span>规则来源:当前 JD</span>
<span>输出用途:简历排序</span>
<span>正式报告:不生成</span>
</div>
</div>
<div class="quick-match-action">
<el-tag :type="job.matchRuleStatus === '已确认' ? 'success' : 'info'" effect="plain">
{{ job.matchRuleStatus || '未配置' }}
</el-tag>
<el-button type="primary" plain @click="confirmMatchRules">确认匹配规则</el-button>
<el-button type="primary" plain @click="confirmMatchRules">
<el-icon><Checked /></el-icon>
{{ job.matchRuleStatus === '已确认' ? '重新确认规则' : '确认匹配规则' }}
</el-button>
</div>
</section>
</section>
......@@ -1647,30 +1660,36 @@ const mainAction = async () => {
// ---- 评估标准:快速匹配规则 ----
.quick-match-panel {
display: flex;
display: grid;
grid-template-columns: 42px minmax(0, 1fr) auto;
align-items: center;
justify-content: space-between;
gap: 20px;
gap: 16px;
margin-top: 18px;
padding: 16px 20px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 10px;
padding: 18px 20px;
background: color-mix(in srgb, var(--blue) 3%, var(--panel));
border: 1px solid color-mix(in srgb, var(--blue) 18%, var(--line));
border-radius: 12px;
.quick-match-copy {
min-width: 0;
}
.quick-match-title {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 9px;
}
.section-kicker {
display: block;
color: var(--blue);
font-size: 12px;
font-size: 11px;
font-weight: 600;
}
h3 {
margin: 5px 0 0;
font-size: 16px;
margin: 0;
font-size: 15px;
}
p {
......@@ -1682,6 +1701,34 @@ const mainAction = async () => {
}
}
.quick-match-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
color: var(--blue);
background: color-mix(in srgb, var(--blue) 10%, var(--panel));
border: 1px solid color-mix(in srgb, var(--blue) 18%, var(--line));
border-radius: 10px;
.el-icon {
font-size: 19px;
}
}
.quick-match-facts {
display: flex;
flex-wrap: wrap;
gap: 6px 14px;
margin-top: 8px;
span {
color: var(--muted);
font-size: 11px;
}
}
.quick-match-action {
display: flex;
flex: 0 0 auto;
......@@ -2093,12 +2140,14 @@ const mainAction = async () => {
}
.quick-match-panel {
grid-template-columns: 42px minmax(0, 1fr);
align-items: flex-start;
flex-direction: column;
}
.quick-match-action {
grid-column: 2;
width: 100%;
flex-wrap: wrap;
}
.publish-align-panel {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment