소스 검색

fix: 调整人员分组筛选默认类型

wyf 1 년 전
부모
커밋
5467d4d6a4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/message/persongroup/hook/usePersonGroupFilterList.ts

+ 2 - 2
src/views/message/persongroup/hook/usePersonGroupFilterList.ts

@@ -9,13 +9,13 @@ import { ref } from 'vue';
 
 export const usePersonGroupFilterList = () => {
   const FILTER_TYPES = [
-    { type: 'staffNo', label: '工号' },
     { type: 'nickname', label: '姓名' },
+    { type: 'staffNo', label: '工号' },
     { type: 'deptName', label: '部门' },
   ];
 
   // 复用输入框类型及标签
-  const personFilterType = ref({ type: 'staffNo', label: '工号' });
+  const personFilterType = ref({ type: 'nickname', label: '姓名' });
   // 输入框绑定数据
   const personFilterValue = ref<string>();
   // 查询参数