소스 검색

fix(staff): update staff search params

gemercheung 3 년 전
부모
커밋
fcff2154f4
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      src/views/staff/list.vue

+ 1 - 7
src/views/staff/list.vue

@@ -140,7 +140,7 @@
         labelWidth: 100,
         schemas: [
           {
-            field: 'phone',
+            field: 'staffName',
             label: t('routes.corporation.phone'),
             component: 'Input',
             colProps: {
@@ -163,12 +163,6 @@
         rowKey: 'id',
         pagination: { pageSize: 20 },
         bordered: true,
-        fetchSetting: {
-          pageField: 'pageNum',
-          sizeField: 'pageSize',
-          listField: 'list',
-          totalField: 'totalCount',
-        },
       });
 
       function renderRoleType(type: number): string {