Browse Source

fix(staff): update staff search params

gemercheung 3 years ago
parent
commit
fcff2154f4
1 changed files with 1 additions and 7 deletions
  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 {