Ver código fonte

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

lihaiting 1 semana atrás
pai
commit
5bbbc3b1d3
1 arquivos alterados com 1 adições e 1 exclusões
  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 字典值 */