Browse Source

试课的资料放到注册里来

lizhen_gitee 1 year ago
parent
commit
448de6783b
2 changed files with 12 additions and 2 deletions
  1. 7 1
      application/admin/lang/en/user/user.php
  2. 5 1
      public/assets/js/backend/user/user.js

+ 7 - 1
application/admin/lang/en/user/user.php

@@ -41,5 +41,11 @@ return [
     'Notice_whatsapp'   => 'Notice whatsapp',
     'Notice_whatsapp 1' => 'On',
     'Notice_whatsapp 0' => 'Off',
-    'Whatsapp'          => 'Whatsapp'
+    'Whatsapp'          => 'Whatsapp',
+    'Knowus'            => 'know about us',
+    'Health'            => 'health',
+    'Emergency'         => 'Emergency',
+    'Is_first'          => 'is first',
+    'Is_first 0'        => 'no',
+    'Is_first 1'        => 'yes'
 ];

+ 5 - 1
public/assets/js/backend/user/user.js

@@ -64,7 +64,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1')}, formatter: Table.api.formatter.status},
 //                        {field: 'verification', title: __('Verification'), operate: 'LIKE'},
 
-//                        {field: 'notice_type', title: __('Notice_type'), searchList: {"1":__('Notice_type 1'),"2":__('Notice_type 2')}, formatter: Table.api.formatter.normal},
+                        {field: 'knowus', title: __('Knowus'), operate: 'LIKE'},
+                        {field: 'health', title: __('Health'), operate: 'LIKE'},
+                        {field: 'emergency', title: __('Emergency'), operate: 'LIKE'},
+                        {field: 'is_first', title: __('Is_first'), searchList: {"0":__('Is_first 0'),"1":__('Is_first 1')}, formatter: Table.api.formatter.normal},
+
                         {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
                     ]
                 ]