Преглед изворни кода

员工档案状态 tag「全职」改绿色:statusNameTagType 原关键词不含「全职」(接口 statusName 实际返回该文案),落到默认灰色,用户要求与在职/正式同为 success 绿色

lihaiting пре 1 недеља
родитељ
комит
5bbbc3b1d3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/hrManagement/employeeArchive/index.vue

+ 1 - 1
src/views/hrManagement/employeeArchive/index.vue

@@ -643,7 +643,7 @@ export default {
       if (text.includes('离职')) return 'info';
       if (text.includes('试用')) return 'warning';
       if (text.includes('待岗')) return 'danger';
-      if (text.includes('在职') || text.includes('正式')) return 'success';
+      if (text.includes('在职') || text.includes('正式') || text.includes('全职')) return 'success';
       return 'info';
     },
     /** 「员工状态」筛选值的文案:入参是 hr_user_status 字典值 */