web.php 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Web Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register web routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | contains the "web" middleware group. Now create something great!
  10. |
  11. */
  12. Route::get('/', function () {
  13. return redirect('login');
  14. });
  15. Route::get('test/{method}', 'TestController@method'); //测试
  16. Route::get('password/change', 'Auth\PasswordController@change'); //测试
  17. Route::post('password/update', 'Auth\PasswordController@update'); //测试
  18. Auth::routes();
  19. Route::get('/home', 'HomeController@index')->name('home');
  20. Route::get('maintenance/commodity/import', 'CommodityController@import');
  21. Route::post('maintenance/commodity/import/excel', 'CommodityController@importExcel');
  22. Route::resource('maintenance/log', 'LogController');
  23. Route::resource('maintenance/user', 'UserController');
  24. Route::resource('maintenance/role', 'RoleController');
  25. Route::resource('maintenance/authority', 'AuthorityController');
  26. Route::resource('maintenance/owner', 'OwnerController');
  27. Route::resource('maintenance/logistic', 'LogisticController');
  28. Route::resource('maintenance/qualityLabel', 'QualityLabelController');
  29. Route::resource('maintenance/carrier', 'CarriersController');
  30. Route::resource('maintenance/carType','CarTypesController');
  31. Route::resource('maintenance/unit','UnitsController');
  32. Route::resource('maintenance/province','ProvincesController');
  33. Route::resource('maintenance/city','CitiesController');
  34. Route::resource('maintenance/commodity', 'CommodityController');
  35. Route::resource('maintenance/measuringMachine', 'MeasuringMachineController');
  36. Route::get('maintenance/paperBox/index/model', 'PaperBoxController@indexModel');
  37. Route::get('maintenance/paperBox/index/owner', 'PaperBoxController@indexOwner');
  38. Route::resource('maintenance/paperBox', 'PaperBoxController');
  39. Route::get('waybill/relating',function (){return view('waybill.menuWaybill');});
  40. Route::resource('maintenance/waybillPriceModel','WaybillPriceModelsController');
  41. Route::get('maintenance/waybillPriceModel/excel/goImport',function (){return view('maintenance.waybillPriceModel.import');});
  42. Route::get('maintenance/waybillPriceModel/cities/{province_id}','WaybillPriceModelsController@getCities');
  43. Route::get('waybill/waybillFinancialSnapshot/ZF','WaybillFinancialSnapshotsController@indexZF');
  44. Route::get('waybill/waybillFinancialSnapshot/ZX','WaybillFinancialSnapshotsController@indexZX');
  45. Route::get('waybill/waybillFinancialExcepted/ZF','WaybillFinancialExceptedController@indexZF');
  46. Route::get('waybill/waybillFinancialExcepted/ZX','WaybillFinancialExceptedController@indexZX');
  47. Route::resource('waybill/waybillFinancialSnapshot','WaybillFinancialSnapshotsController');
  48. Route::resource('waybill/waybillFinancialExcepted','WaybillFinancialExceptedController');
  49. Route::any('waybill/create/ZF','WaybillsController@createZF');
  50. Route::any('waybill/create/ZX','WaybillsController@createZX');
  51. Route::get('waybill/index','WaybillsController@index');
  52. Route::resource('waybill','WaybillsController');
  53. Route::get('waybill/index/ZF','WaybillsController@indexZF');
  54. Route::get('waybill/index/ZX','WaybillsController@indexZX');
  55. Route::post('waybill/is/waybillPriceModel','WaybillsController@isWaybillPriceModel');
  56. Route::any('waybill/waybillAudit','WaybillsController@waybillAudit');
  57. Route::any('waybill/waybillEdit/{id}','WaybillsController@waybillEdit');
  58. Route::any('waybill/waybillRetreatAudit','WaybillsController@waybillRetreatAudit');
  59. Route::any('waybill/waybillEndAudit','WaybillsController@waybillEndAudit');
  60. Route::any('waybillExport/{id}','WaybillsController@waybillExport');
  61. Route::any('waybill/waybillUpdate/{id}','WaybillsController@waybillUpdate');
  62. Route::any('waybillFinancialSnapshot/export/{id}','WaybillFinancialSnapshotsController@export');
  63. Route::post('waybillPriceModel/excel/import','WaybillPriceModelsController@import');
  64. Route::resource('weigh/measureMonitor','MeasureMonitorController');
  65. Route::get('weigh/relating', function () {return view('weigh.menuWeigh');});
  66. Route::post('rejectedBill/{rejectedBill}/edit', 'RejectedBillController@edit');
  67. Route::resource('rejectedBill', 'RejectedBillController');
  68. Route::get('rejected/import', 'RejectedController@import');
  69. Route::post('rejected/import/excel', 'RejectedController@importExcel');
  70. Route::get('rejected/relating', function () {return view('rejected.relating');});
  71. Route::get('rejected/recycle', 'RejectedController@recycle');
  72. Route::post('rejected/ajaxCheck', 'RejectedController@ajaxCheck');
  73. Route::post('rejected/ajaxCheckAll', 'RejectedController@ajaxCheckAll');
  74. Route::post('rejected/ajaxFinishAll', 'RejectedController@ajaxFinishAll');
  75. Route::post('rejected/exportExcel', 'RejectedController@exportExcel');
  76. Route::post('rejected/exportExcelOnFilterParams', 'RejectedController@exportExcelOnFilterParams');
  77. Route::resource('rejected', 'RejectedController');
  78. Route::get('maintenance/', function () {return view('maintenance.index');});
  79. Route::get('weigh/', function () {return view('weigh.index');});
  80. Route::any('test/{method}', 'TestController@method'); //测试