From ece0e7412d55384c7819a4cd5966e72668ceeeeb Mon Sep 17 00:00:00 2001 From: bigrocs Date: Fri, 26 Jan 2018 15:44:28 +0800 Subject: [PATCH] dialog width 1236px --- src/App/Listeners/StorageEventSubscriber.php | 1 + src/Routes/api.php | 22 ++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/App/Listeners/StorageEventSubscriber.php b/src/App/Listeners/StorageEventSubscriber.php index a5a20dc..c05892f 100644 --- a/src/App/Listeners/StorageEventSubscriber.php +++ b/src/App/Listeners/StorageEventSubscriber.php @@ -32,6 +32,7 @@ public function onBuilderTablePackage($event) 'apiUrl'=> route('api.storage.config.index'), 'type'=>'info', 'icon'=>'fa fa-edit', + 'width'=> '1236px', 'method'=>'dialog' ] ]; diff --git a/src/Routes/api.php b/src/Routes/api.php index fd6d12b..c85dc99 100644 --- a/src/Routes/api.php +++ b/src/Routes/api.php @@ -17,15 +17,15 @@ |-------------------------------------------------------------------------- */ Route::group(['prefix' => 'storage', 'as' => 'storage.', 'middleware' => ['auth:api','adminRole']], function () { - Route::group(['prefix' => 'config', 'as' => 'config.'], function () { - Route::post('/', ['as' => 'index', 'uses' => 'ConfigController@index']); - Route::post('status', ['as' => 'status', 'uses' => 'ConfigController@status']); - Route::post('delete', ['as' => 'delete', 'uses' => 'ConfigController@delete']); - Route::post('add', ['as' => 'add', 'uses' => 'ConfigController@add']); - Route::post('store', ['as' => 'store', 'uses' => 'ConfigController@store']); - Route::post('edit', ['as' => 'edit', 'uses' => 'ConfigController@edit']); - Route::post('update', ['as' => 'update', 'uses' => 'ConfigController@update']); - Route::post('check', ['as' => 'check', 'uses' => 'ConfigController@check']); - }); - }); + Route::group(['prefix' => 'config', 'as' => 'config.'], function () { + Route::post('/', ['as' => 'index', 'uses' => 'ConfigController@index']); + Route::post('status', ['as' => 'status', 'uses' => 'ConfigController@status']); + Route::post('delete', ['as' => 'delete', 'uses' => 'ConfigController@delete']); + Route::post('add', ['as' => 'add', 'uses' => 'ConfigController@add']); + Route::post('store', ['as' => 'store', 'uses' => 'ConfigController@store']); + Route::post('edit', ['as' => 'edit', 'uses' => 'ConfigController@edit']); + Route::post('update', ['as' => 'update', 'uses' => 'ConfigController@update']); + Route::post('check', ['as' => 'check', 'uses' => 'ConfigController@check']); + }); + }); });