Explorar el Código

fix(warningManage): 调整默认选中组织及预警显示优化

- 将 employeeDimensionDetails 页面默认组织改为 group_143 和 dept_143
- 修改红线预警页面员工综合评估说明文本
- 注释掉红线预警页面的红色预警及优秀标杆说明部分
- 调整 employeeDimensionDetails 页面标题颜色从红色改为黑色
huoyi hace 13 horas
padre
commit
644059110e

+ 3 - 3
src/views/warningManage/employeeDimensionDetails/index.vue

@@ -60,7 +60,7 @@ import { getDimensionAll } from '@/api/score/index'
60 60
 const activeRange = ref('month')
61 61
 const startDate = ref(null)
62 62
 const endDate = ref(null)
63
-const selectedOrg = ref('')
63
+const selectedOrg = ref('group_143')
64 64
 const selectedDimension = ref('')
65 65
 const cascadeOptions = ref([])
66 66
 
@@ -231,7 +231,7 @@ const handleReset = () => {
231 231
     startDate.value = null
232 232
     endDate.value = null
233 233
     activeRange.value = 'month'
234
-    selectedOrg.value = ''
234
+    selectedOrg.value = 'dept_143'
235 235
     selectedDimension.value = ''
236 236
     queryParams.pageNum = 1
237 237
     sortState.value = { prop: '', order: '' }
@@ -346,7 +346,7 @@ onMounted(async () => {
346 346
 .title-text {
347 347
     font-size: 1.1rem;
348 348
     font-weight: 700;
349
-    color: #dc2626;
349
+    color: black;
350 350
 }
351 351
 
352 352
 .title-badge {

+ 3 - 3
src/views/warningManage/redLineWarning/index.vue

@@ -3,7 +3,7 @@
3 3
         <div class="header">
4 4
             <div class="title-section">
5 5
                 <h1><i class="fas fa-shield-alt" style="color:#2c5282; margin-right: 8px;"></i>红线指标预警</h1>
6
-                <p>员工综合评估(<75分红色预警 | ≥90分优秀)</p>
6
+                <p>员工综合评估(平均每月>=3次触发预警)</p>
7 7
             </div>
8 8
             <div class="badge-group">
9 9
                 <div class="alert-badge"><i class="fas fa-exclamation-triangle"></i> 实时预警</div>
@@ -90,13 +90,13 @@
90 90
                         layout="total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange"
91 91
                         @current-change="handlePageChange" style="margin-top: 16px; justify-content: flex-end;" />
92 92
                 </div>
93
-                <div class="warning-summary">
93
+                <!-- <div class="warning-summary">
94 94
                     <div><i class="fas fa-circle" style="color:#ef4444;"></i> <strong>红色预警</strong> (综合评估 &lt; 75分) 共计
95 95
                         {{ redAlertCount }} 人 → 立即约谈/培训</div>
96 96
                     <div><i class="fas fa-circle" style="color:#22c55e;"></i> <strong>优秀标杆</strong> (综合评估 ≥ 90分) 共计 {{
97 97
                         excellentCount }} 人 → 表彰激励</div>
98 98
                     <div><i class="fas fa-chart-simple"></i> 全员平均综合得分: <strong>{{ avgScore }}</strong> 分</div>
99
-                </div>
99
+                </div> -->
100 100
             </div>
101 101
         </div>
102 102