Jelajahi Sumber

Merge branch 'wyf-dev' into 'all'

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

See merge request skyeye/skyeye_frontend/skyeye-admin!153
yunfeng wu 1 tahun lalu
induk
melakukan
f5c5532cc9

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