|
@@ -50,10 +50,6 @@ class DistAdminDistributorController extends AdminController
|
|
|
$grid->column('id')->sortable();
|
|
|
$grid->column('client_code',admin_trans_label('client_code'))->width('15%');
|
|
|
$grid->column('dist_email',admin_trans_label('email'));
|
|
|
-// $grid->column('dist_contact_number',admin_trans_label('contact_number'));
|
|
|
-// $grid->column('domain_type')->using(admin_trans_array(config('dictionary.domain_type')));
|
|
|
-// $grid->column('secondary_domain');
|
|
|
-// $grid->column('custom_domain');
|
|
|
$grid->column('country',);
|
|
|
$grid->column('enabled')->switch();
|
|
|
$grid->column('created_at')->sortable();
|
|
@@ -72,7 +68,6 @@ class DistAdminDistributorController extends AdminController
|
|
|
$grid->enableDialogCreate();
|
|
|
$grid->disableEditButton();
|
|
|
$grid->disableDeleteButton();
|
|
|
- //$grid->disableBatchDelete();
|
|
|
//批量操作
|
|
|
$grid->batchActions(function (Grid\Tools\BatchActions $batch) {
|
|
|
$batch->disableDelete();
|
|
@@ -98,15 +93,11 @@ class DistAdminDistributorController extends AdminController
|
|
|
$show->field('country_alpha_2');
|
|
|
$show->field('country_lang');
|
|
|
$show->field('address');
|
|
|
-// $show->field('domain_type')->using([0=>admin_trans_field('secondary_domain'),1=>admin_trans_field('custom_domain')]);
|
|
|
-// $show->field('secondary_domain');
|
|
|
-// $show->field('custom_domain');
|
|
|
$show->field('created_at');
|
|
|
$show->field('updated_at');
|
|
|
$show->field('enabled')->using(admin_trans_array(config('dictionary.enabled')));
|
|
|
// 按钮
|
|
|
$show->disableDeleteButton();
|
|
|
-
|
|
|
});
|
|
|
}
|
|
|
|