Explorar o código

feat(account): search params

gemercheung %!s(int64=4) %!d(string=hai) anos
pai
achega
3e43d169fa
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      src/views/devices/list.vue
  2. 2 2
      src/views/system/account/account.data.ts

+ 1 - 1
src/views/devices/list.vue

@@ -138,7 +138,7 @@
           // },
           {
             field: 'searchKey',
-            label: '手机号',
+            label: '手机号(用户名)',
             component: 'Input',
             colProps: {
               span: 6,

+ 2 - 2
src/views/system/account/account.data.ts

@@ -47,13 +47,13 @@ export const columns: BasicColumn[] = [
 
 export const searchFormSchema: FormSchema[] = [
   {
-    field: 'account',
+    field: 'userName',
     label: '用户名',
     component: 'Input',
     colProps: { span: 8 },
   },
   {
-    field: 'nickname',
+    field: 'nickName',
     label: '昵称',
     component: 'Input',
     colProps: { span: 8 },