Kaynağa Gözat

用户展示注册来源

lizhen_gitee 2 yıl önce
ebeveyn
işleme
6ce3a3f4bc

+ 1 - 0
application/admin/lang/zh-cn/user/user.php

@@ -80,4 +80,5 @@ return [
     'Gonghui.id'          => '公会ID',
     'Gonghui.name'        => '公会名称',
     'Leave password blank if dont want to change' => '不修改密码请留空',
+    'Register_from' => '注册来源',
 ];

+ 4 - 2
public/assets/js/backend/user/user.js

@@ -34,7 +34,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     [
                         {checkbox: true},
                         {field: 'id', title: __('Id')},
-                        {field: 'gh_id', title: __('Gh_id')},
+//                        {field: 'gh_id', title: __('Gh_id')},
+                        {field: 'gonghui.name', title: __('Gonghui.name'), operate: false},
                         {field: 'username', title: __('Username'), operate: 'LIKE'},
 //                        {field: 'truename', title: __('Truename'), operate: 'LIKE'},
                         {field: 'nickname', title: __('Nickname'), operate: 'LIKE'},
@@ -69,6 +70,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         //{field: 'verification', title: __('Verification'), operate: 'LIKE'},
                         //{field: 'longitude', title: __('Longitude'), operate: 'LIKE'},
                         //{field: 'latitude', title: __('Latitude'), operate: 'LIKE'},
+                        {field: 'register_from', title: __('Register_from'), operate: 'LIKE'},
                         {field: 'cityname', title: __('Cityname'), operate: 'LIKE'},
                         //{field: 'photo_images', title: __('Photo_images'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.images},
                         //{field: 'education_id', title: __('Education_id')},
@@ -85,7 +87,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         //{field: 'free_audio', title: __('Free_audio'), searchList: {"1":__('Free_audio 1'),"0":__('Free_audio 0')}, formatter: Table.api.formatter.normal},
                         //{field: 'free_typing', title: __('Free_typing'), searchList: {"1":__('Free_typing 1'),"0":__('Free_typing 0')}, formatter: Table.api.formatter.normal},
                         //{field: 'gonghui.id', title: __('Gonghui.id')},
-                        {field: 'gonghui.name', title: __('Gonghui.name'), operate: false},
+
                         {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
                     ]
                 ]