rabin 3 years ago
parent
commit
5909ecadea
1 changed files with 5 additions and 1 deletions
  1. 5 1
      service/setting/database/role_reward.php

+ 5 - 1
service/setting/database/role_reward.php

@@ -79,10 +79,11 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => '推荐角色',
             'desc'      => '推荐角色',
             'match'     => 'is_numeric',
             'match'     => 'is_numeric',
-            'update'    => 'select',
+            'update'    => 'radio',
             'search'    => 'select',
             'search'    => 'select',
             'option'	=> $role,
             'option'	=> $role,
             'list'      => 'Dever::load("setting/role-one#name", {t_role_id})',
             'list'      => 'Dever::load("setting/role-one#name", {t_role_id})',
+            'control'   => 't_role_id',
         ),
         ),
 
 
         'num'      => array
         'num'      => array
@@ -116,6 +117,7 @@ return array
             'desc'      => '直推区内数值',
             'desc'      => '直推区内数值',
             'match'     => 'is_string',
             'match'     => 'is_string',
             'update'    => $update,
             'update'    => $update,
+            'show'      => 't_role_id=3,4',
             //'search'    => 'fulltext',
             //'search'    => 'fulltext',
             //'list'      => true,
             //'list'      => true,
         ),
         ),
@@ -128,6 +130,7 @@ return array
             'desc'      => '直推区外数值',
             'desc'      => '直推区外数值',
             'match'     => 'is_string',
             'match'     => 'is_string',
             'update'    => $update,
             'update'    => $update,
+            'show'      => 't_role_id=3,4',
             //'search'    => 'fulltext',
             //'search'    => 'fulltext',
             //'list'      => true,
             //'list'      => true,
         ),
         ),
@@ -140,6 +143,7 @@ return array
             'desc'      => '非直推区内数值',
             'desc'      => '非直推区内数值',
             'match'     => 'is_string',
             'match'     => 'is_string',
             'update'    => $update,
             'update'    => $update,
+            'show'      => 't_role_id=3,4',
             //'search'    => 'fulltext',
             //'search'    => 'fulltext',
             //'list'      => true,
             //'list'      => true,
         ),
         ),