Ver código fonte

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

wyf 1 ano atrás
pai
commit
5467d4d6a4

+ 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>();
   // 查询参数