Kaynağa Gözat

feat(account): search params

gemercheung 4 yıl önce
ebeveyn
işleme
3e43d169fa

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

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

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

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