web.php 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891
  1. <?php
  2. use Illuminate\Support\Facades\Gate;
  3. use Illuminate\Support\Facades\Route;
  4. use Illuminate\Support\Facades\Auth;
  5. /*
  6. |--------------------------------------------------------------------------
  7. | Web Routes
  8. |--------------------------------------------------------------------------
  9. |
  10. | Here is where you can register web routes for your application. These
  11. | routes are loaded by the RouteServiceProvider within a group which
  12. | contains the "web" middleware group. Now create something great!
  13. |
  14. */
  15. //auth组件的一些注册路由
  16. Auth::routes();
  17. /*
  18. * 需要认证的路由
  19. * */
  20. Route::group(['middleware'=>'auth'],function ($route){
  21. /** @var Route $route */
  22. $route->get('/home', 'HomeController@index')->name('home');
  23. /** 密码 */
  24. $route->group(['prefix'=>'password'],function(){
  25. Route::get('change', 'Auth\PasswordController@change');
  26. Route::post('update', 'Auth\PasswordController@update');
  27. });
  28. /** 全局 */
  29. $route->get('denied',function (){return view('exception.authority');});
  30. $route->post('getMenu','MenuController@get');
  31. /** 基础设置 */
  32. $route->group(['prefix'=>'maintenance'],function(){
  33. /** 菜单 */
  34. Route::get('menu', 'MenuController@index');
  35. Route::group(['prefix'=>"menu"],function (){
  36. Route::post('update', 'MenuController@update');
  37. Route::post('save', 'MenuController@save');
  38. Route::post('sort', 'MenuController@sort');
  39. Route::post('delete', 'MenuController@delete');
  40. });
  41. /** 权限 */
  42. Route::get('authority', 'AuthorityController@index');
  43. Route::group(['prefix'=>"authority"],function (){
  44. Route::post('store', 'AuthorityController@store');
  45. Route::post('update', 'AuthorityController@update');
  46. Route::post('destroy', 'AuthorityController@destroy');
  47. });
  48. /** 权限 */
  49. Route::get('role', 'AuthorityController@index');
  50. Route::group(['prefix'=>"role"],function (){
  51. Route::post('save', 'RoleController@save');
  52. Route::post('loadRelevance', 'RoleController@loadRelevance');
  53. Route::post('destroy', 'RoleController@destroy');
  54. Route::post('saveAuthority', 'RoleController@saveAuthority');
  55. Route::post('saveOwner', 'RoleController@saveOwner');
  56. Route::post('saveUserWorkGroup', 'RoleController@saveUserWorkGroup');
  57. });
  58. /** 商品 */
  59. Route::group(['prefix'=>'commodity'],function(){
  60. /** 导出 */
  61. Route::group(['prefix'=>'import'],function(){
  62. Route::post('excel', 'CommodityController@importExcel');
  63. });
  64. Route::get('import', 'CommodityController@import');
  65. Route::post('syncWMS','CommodityController@syncWMS');
  66. Route::post('isExist','CommodityController@isExist');
  67. });
  68. /** 货主 */
  69. Route::group(['prefix'=>'owner'],function (){
  70. Route::post("get","OwnerController@get");
  71. Route::post("apiStore","OwnerController@apiStore");
  72. Route::get('recycle','OwnerController@recycle');
  73. Route::post('restoreSelected', 'OwnerController@restoreSelected');
  74. });
  75. /** 教程 */
  76. Route::group(['prefix'=>'tutorial'],function(){
  77. Route::post('showContent/{id}', 'TutorialController@showContent');
  78. });
  79. /** 临时工 */
  80. Route::group(['prefix'=>'userLabor'],function(){
  81. Route::post('getWorkRecord', 'UserLaborController@getWorkRecord');
  82. Route::post('getClockRecord', 'UserLaborController@getClockRecord');
  83. Route::post('relieve', 'UserLaborController@relieve');
  84. Route::post('conversion', 'UserLaborController@conversion');
  85. });
  86. /** 纸箱 */
  87. Route::group(['prefix'=>'paperBox'],function(){
  88. /** 首页 */
  89. Route::group(['prefix'=>'index'],function(){
  90. Route::get('model', 'PaperBoxController@indexModel');
  91. Route::get('owner', 'PaperBoxController@indexOwner');
  92. });
  93. /** excel */
  94. Route::group(['prefix'=>'excel'],function(){
  95. Route::post('import','PaperBoxController@import');
  96. Route::get('goImport',function (){return view('maintenance.paperBox.import');});
  97. });
  98. });
  99. /** 计费模型 */
  100. Route::group(['prefix'=>'priceModel'],function() {
  101. Route::group(['prefix'=>'waybillPriceModel'],function(){
  102. /** excel */
  103. Route::group(['prefix'=>'excel'],function(){
  104. Route::get('goImport',function (){return view('maintenance.priceModel.waybillPriceModel.import');});
  105. });
  106. Route::get('cities/{province_id}','WaybillPriceModelController@getCities');
  107. });
  108. Route::resource('waybillPriceModel','WaybillPriceModelController');
  109. Route::group(['prefix'=>'storage'],function(){
  110. Route::get('create','PriceModelController@storageCreate');
  111. Route::post('store','PriceModelController@storageStore');
  112. Route::get('{id}/edit','PriceModelController@storageEdit');
  113. Route::delete("{id}","PriceModelController@storageDestroy");
  114. Route::post('update','PriceModelController@storageUpdate');
  115. });
  116. Route::get('storage','PriceModelController@storageIndex');
  117. Route::group(['prefix'=>'operation'],function(){
  118. Route::get('create','PriceModelController@operationCreate');
  119. Route::post('getItems','PriceModelController@getItems');
  120. Route::post('updateItem','PriceModelController@updateItem');
  121. Route::post('createItem','PriceModelController@createItem');
  122. Route::post('getFeatures','PriceModelController@getFeatures');
  123. Route::post('addFeature','PriceModelController@addFeature');
  124. Route::post('getFeature','PriceModelController@getFeature');
  125. Route::delete('{id}','PriceModelController@operationDestroy');
  126. Route::get('{id}/edit','PriceModelController@operationEdit');
  127. Route::post('{id}/edit','PriceModelController@operationUpdate');
  128. });
  129. Route::get('operation','PriceModelController@operationIndex');
  130. Route::post('operation','PriceModelController@operationStore');
  131. Route::group(['prefix'=>'express'],function(){
  132. Route::get('create','PriceModelController@expressCreate');
  133. Route::post('getDetail','PriceModelController@expressGetDetail');
  134. Route::post('import','PriceModelController@expressImport');
  135. Route::post('updateDetail','PriceModelController@expressUpdateDetail');
  136. Route::post('destroyDetail','PriceModelController@expressDestroyDetail');
  137. Route::delete('{id}','PriceModelController@expressDestroy');
  138. Route::get('{id}/edit','PriceModelController@expressEdit');
  139. Route::post('{id}/edit','PriceModelController@expressUpdate');
  140. Route::get('export/{id}','PriceModelController@expressExport');
  141. });
  142. Route::get('express','PriceModelController@expressIndex');
  143. Route::post('express','PriceModelController@expressStore');
  144. Route::group(['prefix'=>'logistic'],function(){
  145. Route::get('create','PriceModelController@logisticCreate');
  146. Route::delete('{id}','PriceModelController@logisticDestroy');
  147. Route::get('{id}/edit','PriceModelController@logisticEdit');
  148. Route::post('{id}/edit','PriceModelController@logisticUpdate');
  149. Route::post('getDetail','PriceModelController@logisticGetDetail');
  150. Route::post('import','PriceModelController@logisticImport');
  151. Route::post('updateDetail','PriceModelController@logisticUpdateDetail');
  152. Route::post('destroyDetail','PriceModelController@logisticDestroyDetail');
  153. Route::get('export/{id}','PriceModelController@logisticExport');
  154. });
  155. Route::get('logistic','PriceModelController@logisticIndex');
  156. Route::post('logistic','PriceModelController@logisticStore');
  157. Route::group(['prefix'=>'directLogistic'],function(){
  158. Route::get('create','PriceModelController@directLogisticCreate');
  159. Route::delete('{id}','PriceModelController@directLogisticDestroy');
  160. Route::get('{id}/edit','PriceModelController@directLogisticEdit');
  161. Route::post('{id}/edit','PriceModelController@directLogisticUpdate');
  162. Route::post('getDetail','PriceModelController@directLogisticGetDetail');
  163. Route::post('import','PriceModelController@directLogisticImport');
  164. Route::post('updateDetail','PriceModelController@directLogisticUpdateDetail');
  165. Route::post('destroyDetail','PriceModelController@directLogisticDestroyDetail');
  166. });
  167. Route::get('directLogistic','PriceModelController@directLogisticIndex');
  168. Route::post('directLogistic','PriceModelController@directLogisticStore');
  169. //api 录入计费模型
  170. Route::post('apiStoreStorage','PriceModelController@apiStoreStorage');
  171. Route::post('apiStoreOperation','PriceModelController@apiStoreOperation');
  172. Route::post('apiStoreExpress','PriceModelController@apiStoreExpress');
  173. Route::post('apiStoreLogistic','PriceModelController@apiStoreLogistic');
  174. Route::post('apiStoreDirectLogistic','PriceModelController@apiStoreDirectLogistic');
  175. Route::post('apiStoreSystem','PriceModelController@apiStoreSystem');
  176. //api 获取计费模型
  177. Route::post('apiGetStorage','PriceModelController@apiGetStorage');
  178. Route::post('apiGetOperation','PriceModelController@apiGetOperation');
  179. Route::post('apiGetExpress','PriceModelController@apiGetExpress');
  180. Route::post('apiGetLogistic','PriceModelController@apiGetLogistic');
  181. Route::post('apiGetDirectLogistic','PriceModelController@apiGetDirectLogistic');
  182. //api 删除计费模型
  183. Route::post('apiDelStorage','PriceModelController@apiDelStorage');
  184. Route::post('apiDelOperation','PriceModelController@apiDelOperation');
  185. Route::post('apiDelOperationItem','PriceModelController@apiDelOperationItem');
  186. Route::post('apiDelExpress','PriceModelController@apiDelExpress');
  187. Route::post('apiDelExpressItem','PriceModelController@apiDelExpressItem');
  188. Route::post('apiDelLogistic','PriceModelController@apiDelLogistic');
  189. Route::post('apiDelLogisticItem','PriceModelController@apiDelLogisticItem');
  190. Route::post('apiDelDirectLogistic','PriceModelController@apiDelDirectLogistic');
  191. Route::post('apiDelDirectLogisticItem','PriceModelController@apiDelDirectLogisticItem');
  192. Route::post('apiDelSystem','PriceModelController@apiDelSystem');
  193. //审核或恢复计费模型
  194. Route::post('auditOrRecoverModel','PriceModelController@auditOrRecoverModel');
  195. //审核对比
  196. Route::post('getPriceModelAudit','PriceModelController@getPriceModelAudit');
  197. });
  198. Route::group(['prefix'=>'unit'],function(){
  199. Route::post('getUnits','UnitController@getUnits');
  200. Route::post('save','UnitController@save');
  201. Route::post('sort','UnitController@sort');
  202. });
  203. Route::group(['prefix'=>'province'],function(){
  204. Route::post('get','ProvincesController@get');
  205. });
  206. Route::group(['prefix'=>'city'],function(){
  207. Route::post('get','CitiesController@get');
  208. });
  209. Route::group(['prefix'=>'carType'],function (){
  210. Route::post('get','CarTypesController@get');
  211. Route::post('batchInsert','CarTypesController@batchInsert');
  212. });
  213. Route::group(['prefix'=>'taxRate'],function (){
  214. Route::post('get','TaxRateController@get');
  215. Route::post('save','TaxRateController@save');
  216. Route::post('destroy','TaxRateController@destroy');
  217. });
  218. Route::group(['prefix'=>"log"],function (){
  219. Route::get("exception",'LogController@exception');
  220. });
  221. Route::group(['prefix'=>"logistic"],function (){
  222. Route::post("get",'LogisticController@get');
  223. });
  224. Route::group(['prefix'=>"region"],function (){
  225. Route::post("get",'RegionController@get');
  226. Route::post("store",'RegionController@store');
  227. Route::post("getProvinces",'RegionController@getProvinces');
  228. });
  229. /** 耗材 */
  230. Route::get('material','MaterialController@index');
  231. /** 用户 */
  232. Route::group(['prefix'=>"user"],function (){
  233. Route::post("resetPassword",'UserController@resetPassword');
  234. });
  235. /** 项目耗材 */
  236. Route::group(['prefix'=>"ownerMaterial"],function (){
  237. Route::get("/",'OwnerMaterialController@index');
  238. Route::get('downFile','OwnerMaterialController@downFile');
  239. });
  240. /** 供应商 */
  241. Route::get('supplier','SupplierController@index');
  242. /** 系统配置 */
  243. Route::get('configuration','ConfigurationController@index');
  244. /** 服务商 */
  245. Route::resource('facilitator','FacilitatorController');
  246. /** 快递打印 */
  247. Route::group(['prefix'=>'expressPrinting'],function(){
  248. Route::get('/part','PrintPartController@index');
  249. Route::get('/part/create','PrintPartController@create');
  250. Route::group(['prefix'=>'template'],function(){
  251. Route::get('/index','PrintTemplateController@index');
  252. Route::get('/create','PrintTemplateController@create');
  253. });
  254. });
  255. Route::get('syncRedisLogs','LogController@syncRedisLogs');
  256. Route::get('region', 'RegionController@index');
  257. Route::get('taxRate', 'TaxRateController@index');
  258. Route::resource('log', 'LogController');
  259. Route::resource('user', 'UserController');
  260. Route::resource('role', 'RoleController');
  261. Route::resource('owner', 'OwnerController');
  262. Route::resource('logistic', 'LogisticController');
  263. Route::resource('qualityLabel', 'QualityLabelController');
  264. Route::resource('carrier', 'CarriersController');
  265. Route::resource('carType','CarTypesController');
  266. Route::resource('unit','UnitController');
  267. Route::resource('province','ProvincesController');
  268. Route::resource('city','CitiesController');
  269. Route::resource('commodity', 'CommodityController');
  270. Route::resource('measuringMachine', 'MeasuringMachineController');
  271. Route::resource('userWorkgroup', 'UserWorkgroupController');
  272. Route::resource('laborCompany', 'LaborCompanyController');
  273. Route::resource('warehouse', 'WarehouseController');
  274. Route::resource('tutorial', 'TutorialController');
  275. Route::resource('userLabor','UserLaborController');
  276. Route::resource('paperBox', 'PaperBoxController');
  277. Route::resource('userOwnerGroup', 'UserOwnerGroupController');
  278. Route::resource('processMethod', 'ProcessMethodController');
  279. Route::resource('feature', 'FeatureController');
  280. Route::resource('mail', 'SendEmailsController');
  281. Route::post('mail/addRole', 'SendEmailsController@addRole')->name('mail.addRole');
  282. Route::post('mail/deleteRole', 'SendEmailsController@deleteRole')->name('mail.deleteRole');
  283. Route::post('mail/updateTemplate', 'SendEmailsController@updateTemplate')->name('mail.updateTemplate');
  284. Route::post('mail/updateRemark', 'SendEmailsController@updateRemark')->name('mail.updateRemark');
  285. Route::post('mail/active', 'SendEmailsController@active')->name('mail.active');
  286. });
  287. $route->get('maintenance', function () {return view('maintenance.index');});
  288. $route->group(['prefix'=>'transport'],function(){
  289. /** 运单 */
  290. Route::group(['prefix'=>'waybill'],function(){
  291. /** 置顶 */
  292. Route::group(['prefix'=>'ontop'],function(){
  293. Route::post('top','WaybillController@waybillOnTop');
  294. Route::post('cancel','WaybillController@cancelOnTop');
  295. });
  296. /** 判断 */
  297. Route::group(['prefix'=>'is'],function(){
  298. Route::post('waybillPriceModel','WaybillController@isWaybillPriceModel');
  299. });
  300. Route::post('deleteImg','WaybillController@deleteImg');
  301. Route::post('seekOrder','WaybillController@seekOrder');
  302. Route::post('upload','WaybillController@upload');
  303. Route::get('relating',function (){return view('transport.waybill.menuWaybill');});
  304. Route::get('recycle', 'WaybillController@recycle');
  305. Route::post('refreshWaveHouseWeight','WaybillController@refreshWaveHouseWeight');
  306. Route::get('index','WaybillController@index');
  307. Route::get('delivering','WaybillController@delivering');
  308. Route::any('deliveringExport','WaybillController@deliveringExport');
  309. Route::post('storeCarrierBill','WaybillController@storeCarrierBill');
  310. Route::post('addCounty','WaybillController@addCounty');
  311. Route::any('waybillAudit','WaybillController@waybillAudit');
  312. Route::any('waybillEdit/{id}','WaybillController@waybillEdit');
  313. Route::any('waybillRetreatAudit','WaybillController@waybillRetreatAudit');
  314. Route::any('waybillEndAudit','WaybillController@waybillEndAudit');
  315. Route::any('export','WaybillController@export');
  316. Route::any('waybillUpdate/{id}','WaybillController@waybillUpdate');
  317. Route::post('batchUploadImages','WaybillController@batchUploadImages');
  318. Route::post('dailyBilling','WaybillController@dailyBilling');
  319. Route::post('countPickUpFee','WaybillController@countPickUpFee');
  320. Route::resource('waybillFinancialSnapshot','WaybillFinancialSnapshotsController');
  321. Route::resource('waybillFinancialExcepted','WaybillFinancialExceptedController');
  322. });
  323. Route::resource('waybill','WaybillController');
  324. });
  325. /** 运输财务 */
  326. $route->group(['prefix'=>'waybillFinancialSnapshot'],function(){
  327. Route::any('export','WaybillFinancialSnapshotsController@export');
  328. });
  329. /** 运输计费模型 */
  330. $route->group(['prefix'=>'waybillPriceModel'],function(){
  331. /** excel */
  332. Route::group(['prefix'=>'excel'],function(){
  333. Route::post('import','WaybillPriceModelController@import');
  334. });
  335. });
  336. /** 退货明细 */
  337. $route->group(['prefix'=>'rejectedBill'],function(){
  338. Route::post('{rejectedBill}/edit', 'RejectedBillController@edit');
  339. });
  340. $route->resource('rejectedBill', 'RejectedBillController');
  341. /** 退货 */
  342. $route->group(['prefix'=>'rejected'],function(){
  343. /** 导出 */
  344. Route::group(['prefix'=>'import'],function(){
  345. Route::post('excel', 'RejectedController@importExcel');
  346. });
  347. /** 主页 */
  348. Route::group(['prefix'=>'index'],function(){
  349. Route::any('general','RejectedController@index');
  350. Route::any('analyze','RejectedController@indexAnalyze');
  351. Route::get('import', 'RejectedController@import');
  352. Route::post('cancelCheck', 'RejectedController@cancelCheck');
  353. });
  354. /** 分析 */
  355. Route::group(['prefix'=>'analyze'],function(){
  356. Route::post('exportExcelOnParams', 'RejectedController@exportExcelOnParams');
  357. Route::post('exportAllExcelOnParams', 'RejectedController@exportAllExcelOnParams');
  358. });
  359. Route::get('relating', function () {return view('rejected.relating');});
  360. Route::get('recycle', 'RejectedController@recycle');
  361. Route::post('ajaxCheck', 'RejectedController@ajaxCheck');
  362. Route::post('ajaxCheckAll', 'RejectedController@ajaxCheckAll');
  363. Route::post('ajaxFinishAll', 'RejectedController@ajaxFinishAll');
  364. Route::any('export', 'RejectedController@export');
  365. Route::any('exportAnalyze', 'RejectedController@exportAnalyze');
  366. Route::post('ajaxGetRejected', 'RejectedController@ajaxGetRejected');
  367. Route::post('changeRejectedBillRemark', 'RejectedController@changeRejectedBillRemark');
  368. Route::get('importRejectedNumber','RejectedBillController@importRejectedNumber');
  369. });
  370. $route->resource('rejected', 'RejectedController');
  371. /** 包裹 */
  372. $route->group(['prefix'=>'package'],function(){
  373. /** 统计 */
  374. Route::group(['prefix'=>'statistics'],function(){
  375. Route::any('export','WeighController@statisticsExport');
  376. });
  377. /** 异常 */
  378. Route::group(['prefix'=>'weightExcepted'],function(){
  379. Route::get('indexCreate','WeighExceptedController@indexCreate');
  380. Route::get('indexIssued','WeighExceptedController@indexIssued');
  381. Route::any('export/{type}','WeighExceptedController@export');
  382. });
  383. Route::any('export','WeighController@export');
  384. Route::get('statistics','WeighController@statistics');
  385. Route::get('relating', function () {return view('package.measureMonitor.menu');});
  386. Route::resource('measureMonitor','MeasureMonitorController');
  387. Route::group(['prefix'=>'measureMonitor'],function(){
  388. Route::post('data','MeasureMonitorController@data');
  389. });
  390. Route::group(['prefix' => 'weigh'], function () {
  391. Route::get('statistics','WeighController@statistics');
  392. /** 设备 */
  393. Route::group(['prefix'=>'measureMonitor'],function(){
  394. Route::post('data','MeasureMonitorController@data');
  395. });
  396. /** 统计 */
  397. Route::group(['prefix'=>'statistics'],function(){
  398. Route::any('export','WeighController@statisticsExport');
  399. });
  400. });
  401. Route::get('weigh/index','WeighController@index');
  402. Route::resource('weigh','WeighController');
  403. Route::put('logistic/batchUpdate','PackageLogisticController@batchUpdate');
  404. Route::any('logistic/export','PackageLogisticController@export');
  405. Route::resource('logistic','PackageLogisticController');
  406. });
  407. $route->resource('package','WeighController');
  408. /** 入库 */
  409. $route->group(['prefix'=>'store'],function(){
  410. Route::group(['prefix'=>'inStorage'],function() {
  411. Route::get('index','StoreController@storage');
  412. Route::get('cacheRackStorage','StoreController@cacheRackStorage');
  413. Route::get('halfChestStorage','StoreController@halfChestStorage');
  414. Route::post('putShelf','StorageController@putShelf');
  415. Route::post('resetCacheShelf','StorageController@resetCacheShelf');
  416. Route::post('setMaximum','StorageController@setMaximum');
  417. Route::post('checkMaximum','StorageController@checkMaximum');
  418. Route::post('overflowRevision','StorageController@overflowRevision');
  419. Route::post('acquireBox','StorageController@acquireBox');
  420. Route::post('syncStorage','StorageController@syncStorage');
  421. Route::post('checkAsnAmount','StorageController@checkAsnAmount');
  422. Route::get('android.index',function (){if (!Auth::user())return view("store.inStorage.login");return view('store.inStorage.androidIndex');});
  423. Route::post('android.login','StorageController@androidLogin');
  424. });
  425. Route::group(['prefix'=>'fast'],function() {
  426. Route::resource('storeItem','StoreItemController');
  427. });
  428. Route::resource('fast',"StoreController");
  429. /** 盲收 */
  430. Route::group(['prefix'=>'blindReceive'],function(){
  431. Route::get('/', function () { return view('store.blindReceive.index');});
  432. Route::get('excels', 'StoreBlindReceiveController@index');
  433. Route::post('excels/apiStore', 'StoreBlindReceiveController@apiStore');
  434. });
  435. /** 盘收 */
  436. Route::group(['prefix'=>'checkingReceive'],function(){
  437. Route::group(['prefix'=>'mission'],function(){
  438. Route::post('import','StoreCheckingReceiveController@import');
  439. Route::get('export','StoreCheckingReceiveController@export');
  440. Route::post('resetAmount','StoreCheckingReceiveController@resetAmount');
  441. Route::post('matchASN','StoreCheckingReceiveController@matchASN');
  442. Route::post('receipt','StoreCheckingReceiveController@receipt');
  443. Route::get('{id}','StoreCheckingReceiveController@show');
  444. });
  445. Route::post('updateCountedAmount','StoreCheckingReceiveController@updateCountedAmount');
  446. Route::post('insertItem','StoreCheckingReceiveController@insertItem');
  447. Route::get('mission','StoreCheckingReceiveController@mission');
  448. Route::post('destroyItem','StoreCheckingReceiveController@destroyItem');
  449. });
  450. /** 入库预约 */
  451. Route::group(['prefix'=>'deliveryAppointment'],function(){
  452. Route::get('appointment','DeliveryAppointmentController@appointment');
  453. Route::post('getCapacity','DeliveryAppointmentController@getCapacity');
  454. Route::post('submitAppointment','DeliveryAppointmentController@submitAppointment');
  455. Route::get('showAppointmentInfo','DeliveryAppointmentController@showAppointmentInfo');
  456. Route::get('list','DeliveryAppointmentController@list');
  457. Route::post('delivery','DeliveryAppointmentController@checkAppointment');
  458. Route::post('cancel','DeliveryAppointmentController@cancel');
  459. Route::post('unloading','DeliveryAppointmentController@unloading');
  460. Route::post('signIn','DeliveryAppointmentController@signIn');
  461. Route::any('export','DeliveryAppointmentController@export');
  462. Route::get('qrcode',function (){
  463. if(!Gate::allows('入库管理-入库预约-二维码')){ return view("exception.authority"); }
  464. return view("store.deliveryAppointment.qrcode");
  465. });
  466. Route::group(['prefix'=>'appointment'],function(){
  467. Route::post('import','DeliveryAppointmentController@import');
  468. });
  469. Route::get('capacityMaintenance','DeliveryAppointmentController@capacityMaintenance');
  470. Route::post('updateCapacity','DeliveryAppointmentController@updateCapacity');
  471. Route::post('verifyASN','DeliveryAppointmentController@verifyASN');
  472. Route::post('updateAppointment','DeliveryAppointmentController@updateAppointment');
  473. Route::post('qualityInspectionMark','DeliveryAppointmentController@qualityInspectionMark');
  474. });
  475. });
  476. /** 二次加工 */
  477. $route->group(['prefix'=>'process'],function(){
  478. /** 统计 */
  479. Route::group(['prefix'=>'statistic'],function(){
  480. Route::any("export",'ProcessStatisticController@export');
  481. });
  482. Route::get('relating',function (){return view('process.menuProcess');});
  483. Route::get("statistic",'ProcessStatisticController@index');
  484. Route::post('getDailyParticipant','ProcessController@getDailyParticipant');
  485. Route::post('reject/{id}','ProcessController@reject');
  486. Route::post('receive/{id}','ProcessController@receive');
  487. Route::post('accomplish','ProcessController@accomplish');
  488. Route::post('updateDailyOutput','ProcessController@updateDailyOutput');
  489. Route::post('storeProcessDailyParticipant','ProcessController@storeProcessDailyParticipant');
  490. Route::post('verifyUserName','ProcessController@verifyUserName');
  491. Route::post('updateProcessDailyParticipant','ProcessController@updateProcessDailyParticipant');
  492. Route::post('processDailyParticipantAudit/{id}','ProcessController@processDailyParticipantAudit');
  493. Route::post('getTutorials/{id}','ProcessController@getTutorials');
  494. Route::post('selectedTutorial','ProcessController@selectedTutorial');
  495. Route::post('deleteTutorial','ProcessController@deleteTutorial');
  496. Route::post('ownerGetTutorials/{owner_id}','ProcessController@ownerGetTutorials');
  497. Route::post('rollback','ProcessController@rollback');
  498. Route::get('recycle','ProcessController@recycle');
  499. Route::post('recover','ProcessController@recover');
  500. Route::post('audit','ProcessController@audit');
  501. Route::post('processAccomplish','ProcessController@processAccomplish');
  502. Route::post('checkAndAccept','ProcessController@checkAndAccept');
  503. Route::post('updateUnitPrice','ProcessController@updateUnitPrice');
  504. Route::post('workGroupVerify','ProcessController@workGroupVerify');
  505. Route::post('accountantVerify','ProcessController@accountantVerify');
  506. Route::post('updateStartDate','ProcessController@updateStartDate');
  507. Route::post('updateEndDate','ProcessController@updateEndDate');
  508. Route::delete('destroyDailyParticipant/{id}','ProcessController@destroyDailyParticipant');
  509. Route::post('importPasteData','ProcessController@importPasteData');
  510. Route::any('export','ProcessController@export');
  511. Route::post('deleteProcessContent/{id}','ProcessController@deleteProcessContent');
  512. });
  513. $route->resource('process','ProcessController');
  514. /** 人事 */
  515. $route->group(['prefix'=>'personnel'],function(){
  516. /** 绩效 */
  517. Route::group(['prefix'=>'report'],function(){
  518. Route::match(['GET','POST'],'export','CustomerController@projectReportExport');
  519. });
  520. Route::get('report','CustomerController@projectReport');
  521. /** 打卡 */
  522. Route::group(['prefix'=>'checking-in'],function(){
  523. /** 打卡记录 */
  524. Route::group(['prefix'=>'userDutyCheck'],function(){
  525. Route::get('importAndExportClock','UserDutyCheckController@importAndExportClock');
  526. Route::get('clock','UserDutyCheckController@clock');
  527. Route::any('storeClock','UserDutyCheckController@storeClock');
  528. Route::post('绑定临时工并进组','UserDutyCheckController@绑定临时工并进组');
  529. Route::post('importGroupClock','UserDutyCheckController@importGroupClock');
  530. Route::get('createUserDetail/{mobile_phone}','UserDutyCheckController@createUserDetail');
  531. Route::get('updateUserLaborCompanies/{mobile_phone}','UserDutyCheckController@updateUserLaborCompanies');
  532. Route::any('storeUserDetail','UserDutyCheckController@storeUserDetail');
  533. Route::any('storeUpdateUserLaborCompanies','UserDutyCheckController@storeUpdateUserLaborCompanies');
  534. });
  535. Route::get('createReplenishClock','PersonnelController@createReplenishClock');
  536. Route::post('checkUserLabors','PersonnelController@checkUserLabors');
  537. Route::post('storeReplenishClock','PersonnelController@storeReplenishClock');
  538. Route::get('clockAudit','PersonnelController@clockAudit');
  539. Route::get('missionAudit','PersonnelController@missionAudit');
  540. Route::post('storeClockAudit','PersonnelController@storeClockAudit');
  541. Route::post('updateDutyCheckType','PersonnelController@updateDutyCheckType');
  542. Route::post('storeGroupAudit','PersonnelController@storeGroupAudit');
  543. Route::post('isException','PersonnelController@isException');
  544. Route::post('storeMissionAudit','PersonnelController@storeMissionAudit');
  545. });
  546. Route::get('relating',function (){return view('personnel/menuPersonnel');});
  547. Route::group(['prefix'=>'discharge'],function(){
  548. /** 卸货任务 */
  549. Route::group(['prefix'=>'task'],function(){
  550. Route::get('index','DischargeTaskController@index');
  551. Route::any('export','DischargeTaskController@export');
  552. Route::any('receipt','DischargeTaskController@receipt');
  553. });
  554. /** 结算报表 */
  555. Route::group(['prefix'=>'statement'],function(){
  556. Route::get('index','DischargeTaskController@statementIndex');
  557. Route::any('export','DischargeTaskController@exportStatements');
  558. });
  559. /** 服务商 对账单*/
  560. Route::group(['prefix'=>'facilitator'],function(){
  561. Route::get('index','FacilitatorController@statementIndex');
  562. Route::any('export','FacilitatorController@exportStatement');
  563. Route::get('qrCode','FacilitatorController@getQrCode');
  564. Route::group(['prefix'=> 'external'],function(){
  565. Route::get('{id}/index','FacilitatorExternalController@index');
  566. Route::any('{id}/export','FacilitatorExternalController@export');
  567. });
  568. });
  569. });
  570. /** 临时工报表 */
  571. Route::group(['prefix'=>'laborReport'],function(){
  572. Route::get('index','LaborReportController@index');
  573. Route::post('recover','LaborReportController@recover');
  574. Route::get('recycle','LaborReportController@recycle');
  575. Route::post('guardClockAudit','LaborReportController@guardClockAudit');
  576. Route::post('groupClockAudit','LaborReportController@groupClockAudit');
  577. Route::post('addRemarkAndGroupClock','LaborReportController@addRemarkAndGroupClock');
  578. Route::post('groupExport','LaborReportController@groupExport');
  579. Route::post('groupExportEnsure','LaborReportController@groupExportEnsure');
  580. Route::any('export','LaborReportController@export');
  581. Route::post('updateLaborCompany','LaborReportController@updateLaborCompany');
  582. Route::any('删除/{id}','LaborReportController@删除');
  583. Route::post('changeLaborReportRemark', 'LaborReportController@changeLaborReportRemark');
  584. });
  585. });
  586. /** 库存 */
  587. $route->group(['prefix'=>'inventory'],function(){
  588. /** 说明 */
  589. Route::group(['prefix'=>'statement'],function(){
  590. /** 动库报表 */
  591. Route::group(['prefix'=>'changeInventory'],function(){
  592. Route::any('export','InventoryController@exportData');
  593. Route::get('downLoadExcel','InventoryController@downLoadExcel');
  594. Route::post('deleteExcel','InventoryController@deleteExcel');
  595. });
  596. Route::get('changeInventory','InventoryController@changeInventory');
  597. /** 全部库存 */
  598. Route::group(['prefix'=>'allInventory'],function(){
  599. Route::any('export','InventoryController@exportAllInventory');
  600. });
  601. Route::get('allInventory','InventoryController@allInventory');
  602. /** 每日记录 */
  603. Route::group(['prefix'=>'dailyLog'],function(){
  604. Route::any('export','InventoryController@exportDailyLog');
  605. Route::post('getLoggingOwner','InventoryController@getLoggingOwner');
  606. Route::post('addLoggingOwner','InventoryController@addLoggingOwner');
  607. });
  608. Route::get('dailyLog','InventoryController@dailyLog');
  609. Route::get('inventoryCompare','InventoryCompareController@inventoryCompare');
  610. Route::any('inventoryCompare/export','InventoryCompareController@exportInventoryCompare');
  611. });
  612. /** 库存盘点 */
  613. Route::group(['prefix'=>'stockInventory'],function(){
  614. Route::get('mission','InventoryAccountController@mission');
  615. Route::any('enterStockInventory/{id}','InventoryAccountController@enterStockInventory');
  616. Route::any('inventoryAccountMission/export','InventoryAccountController@exportInventoryAccountMission');
  617. Route::get('mission','InventoryAccountController@mission');
  618. Route::post('createStockInventoryMission','InventoryAccountController@createStockInventoryMission');
  619. Route::post('searchCommodityByBarcode','InventoryAccountController@searchCommodityByBarcode');
  620. Route::get('blindReceive/{id}','InventoryAccountController@enterBlindReceive');
  621. Route::post('baseOnBlindReceive','InventoryAccountController@baseOnBlindReceive');
  622. Route::post('batchStockByLocation','InventoryAccountController@batchStockByLocation');
  623. });
  624. /** 库存比对 */
  625. Route::group(['prefix'=>'inventoryCompare'],function(){
  626. /** excel */
  627. Route::group(['prefix'=>'import'],function(){
  628. Route::post('excel','InventoryCompareController@importExcel');
  629. });
  630. });
  631. Route::get('syncOwners','InventoryAccountController@syncOwners');
  632. Route::post('inventoryChecked','InventoryAccountController@inventoryChecked');
  633. Route::any('删除盘点记录','InventoryAccountController@删除盘点记录');
  634. Route::post('跳过盘点记录','InventoryAccountController@跳过盘点记录');
  635. Route::post('确认盘点差异','InventoryAccountController@确认盘点差异');
  636. Route::post('批量跳过或确认差异','InventoryAccountController@批量跳过或确认差异');
  637. Route::get('完结盘点任务/{id}','InventoryAccountController@完结盘点任务');
  638. Route::post('修改质量状态','InventoryAccountController@修改质量状态');
  639. Route::post('增加系统之外的盘点记录','InventoryAccountController@增加系统之外的盘点记录');
  640. Route::post('盘点选中任务','InventoryAccountController@盘点选中任务');
  641. Route::post('stockInventoryEnd','InventoryAccountController@stockInventoryEnd');
  642. Route::any('deleteStockInventoryMission/{id}','InventoryAccountController@deleteStockInventoryMission');
  643. Route::any('stockInventoryExport','InventoryAccountController@stockInventoryExport');
  644. Route::any('stockInventory','InventoryAccountController@stockInventory');
  645. Route::post('searchStockInventoryRecord','InventoryAccountController@searchStockInventoryRecord');
  646. });
  647. /** 订单 */
  648. $route->group(['prefix'=>'order'],function(){
  649. /** 主页 */
  650. Route::group(['prefix'=>'index'],function(){
  651. Route::get('delivering','OrderController@delivering');
  652. Route::get('commodityAssign','OrderCommodityAssignController@index');
  653. Route::match(['get','post'],'export','OrderController@export');
  654. Route::group(['prefix'=>'commodityAssign'],function(){
  655. Route::post('import','OrderCommodityAssignController@import');
  656. });
  657. Route::group(['prefix'=>'freeze'],function(){
  658. Route::post('delFreeze','OrderFreezeController@delFreeze');
  659. });
  660. Route::resource('freeze','OrderFreezeController');
  661. });
  662. /** 创建 */
  663. Route::group(['prefix'=>'create'],function(){
  664. Route::post('batchComments','OrderController@batchComments');
  665. });
  666. /** 波次 */
  667. Route::group(['prefix'=>'wave'],function(){
  668. Route::get('index','WaveController@index');
  669. Route::post('cancelPrinting','WaveController@cancelPrinting');
  670. Route::any('exportExcel','WaveController@exportExcelOnParams');
  671. Route::post('repairBatch','WaveController@repairBatch');
  672. });
  673. /** 问题件 */
  674. Route::group(['prefix'=>'issue'],function(){
  675. /** 工作量 */
  676. Route::group(['prefix'=>'workLoad'],function(){
  677. Route::get('index','OrderIssuePerformanceController@workLoadPage');
  678. Route::any('export','OrderIssuePerformanceController@exportWorkLoad');
  679. });
  680. /** 绩效 */
  681. Route::group(['prefix'=>'orderIssuePerformance'],function(){
  682. Route::get('index','OrderIssuePerformanceController@index');
  683. Route::any('export','OrderIssuePerformanceController@export');
  684. });
  685. Route::get('index','OrderIssueController@index');
  686. Route::get('create','OrderIssueController@create');
  687. Route::post('store','OrderIssueController@store');
  688. Route::post('batchImport','OrderIssueController@batchImport');
  689. Route::get('excelImport','OrderIssueController@excelImport');
  690. Route::get('edit/{id}','OrderIssueController@edit');
  691. Route::get('recycle','OrderIssueController@recycleBin');
  692. Route::match(['get','post'],'export','OrderIssueController@exportJsonExcel');
  693. });
  694. /** 跟踪 */
  695. Route::group(['prefix'=>'tracking'],function(){
  696. Route::get('index',"OrderTrackingController@index");
  697. Route::any('export',"OrderTrackingController@export");
  698. Route::get('update','OrderTrackingController@updateApi');
  699. Route::post('upload','OrderTrackingController@upload');
  700. Route::post('destroyImg','OrderTrackingController@destroyImg');
  701. });
  702. Route::post('freeze','OrderController@freeze');
  703. Route::post('freezeAll','OrderController@freezeAll');
  704. Route::post('thaw','OrderController@thaw');
  705. Route::post('deAllocation','OrderController@deAllocation');
  706. Route::post('deAllocationAll','OrderController@deAllocationAll');
  707. Route::post('resetLogisticsGetMark','OrderController@resetLogisticsGetMark');
  708. Route::post('resetInterfaceReturnMark','OrderController@resetInterfaceReturnMark');
  709. Route::post('createRejectedBill','OrderController@createRejectedBill');
  710. Route::post('isRejectedBillExist','OrderController@isRejectedBillExist');
  711. });
  712. /** 结算 */
  713. $route->group(['prefix'=>'finance'],function(){
  714. Route::group(['prefix'=>'instantBill'],function(){
  715. Route::match(['GET','POST'],'export','CustomerController@financeInstantBillExport');
  716. });
  717. Route::get('instantBill','CustomerController@financeInstantBill');
  718. Route::group(['prefix'=>'billConfirmation'],function(){
  719. Route::match(['GET','POST'],'export','CustomerController@financeBillConfirmationExport');
  720. });
  721. Route::get('billConfirmation','CustomerController@financeBillConfirmation');
  722. Route::post('updateBillReport','CustomerController@updateBillReport');
  723. Route::post('billConfirm','CustomerController@billConfirm');
  724. Route::group(['prefix'=>'settlementBills'],function(){
  725. Route::group(['prefix' => 'logisticFee'], function () {
  726. Route::post('detail/confirmBill', 'OwnerLogisticFeeDetailController@confirmBill');
  727. Route::post('report/confirmBill', 'OwnerLogisticFeeReportController@confirmBill');
  728. Route::any('detail/export', 'OwnerLogisticFeeDetailController@export');
  729. Route::any('report/export', 'OwnerLogisticFeeReportController@export');
  730. Route::resource('detail', 'OwnerLogisticFeeDetailController', ['only' => ['index']]);
  731. Route::resource('report', 'OwnerLogisticFeeReportController', ['only' => ['index']]);
  732. });
  733. Route::get('areaFee','SettlementBillOwnerAreaFeeController@index');
  734. Route::post('areaFee/confirmBill','SettlementBillOwnerAreaFeeController@confirmBill');
  735. Route::any('areaFee/confirmBill/export','SettlementBillOwnerAreaFeeController@export');
  736. });
  737. });
  738. /** 客户 */
  739. $route->group(['prefix'=>'customer'],function(){
  740. /** 项目 */
  741. //杂项费
  742. Route::group(['prefix' => 'ownerSundryFee'], function () {
  743. Route::any('export','OwnerSundryFeeDetailsController@export');
  744. });
  745. Route::group(['prefix'=>'project'],function(){
  746. Route::group(['prefix'=>'index'],function(){
  747. Route::match(['GET','POST'],'export','CustomerController@projectIndexExport');
  748. });
  749. Route::get('index','CustomerController@projectIndex');
  750. Route::get('create','CustomerController@projectCreate');
  751. Route::group(['prefix'=>'area'],function(){
  752. Route::match(['GET','POST'],'export','CustomerController@projectAreaExport');
  753. });
  754. Route::get('area','CustomerController@projectArea');
  755. Route::get('{id}/edit','CustomerController@projectEdit');
  756. Route::post('projectUpdate','CustomerController@projectUpdate');
  757. Route::post('getOwnerPriceModel','CustomerController@getOwnerPriceModel');
  758. Route::post('updateArea','CustomerController@updateArea');
  759. Route::post('verify','CustomerController@verifyProject');
  760. Route::post('areaReportAudit','CustomerController@areaReportAudit');
  761. //获取现有计费模型
  762. Route::post('getPriceModel','PriceModelController@getPriceModel');
  763. //手动生成账单
  764. Route::post("createReport","CustomerController@createReport");
  765. Route::post("createAreaReport","CustomerController@createAreaReport");
  766. //手动重置账单数据
  767. Route::post("resetInstantBill","CustomerController@resetInstantBill");
  768. Route::post("resetBillConfirmation","CustomerController@resetBillConfirmation");
  769. });
  770. Route::get('relating',function (){return view('customer.relating');});
  771. Route::group(['prefix' => 'customer'], function () {
  772. Route::get('customerLogStatus', 'CustomerLogStatusController@index');
  773. Route::post('getLog', 'CustomerLogController@get');
  774. Route::post('editLog', 'CustomerLogController@update');
  775. Route::post('getLogStatus', 'CustomerLogStatusController@get');
  776. Route::post('storeLog', 'CustomerLogController@store');
  777. Route::post('relatedOwner', 'CustomerBaseController@relatedOwner');
  778. Route::post('addTag', 'CustomerBaseController@addTag');
  779. Route::post('delTag', 'CustomerBaseController@delTag');
  780. Route::post('destroyLog', 'CustomerBaseController@destroyLog');
  781. Route::group(['prefix' => 'customerLogStatus'], function () {
  782. Route::post('save', 'CustomerLogStatusController@save');
  783. Route::post('destroy', 'CustomerLogStatusController@destroy');
  784. });
  785. Route::group(['prefix' => 'customerTag'], function () {
  786. Route::post('save', 'CustomerTagController@save');
  787. Route::post('get', 'CustomerTagController@get');
  788. });
  789. Route::resource('customerTag', 'CustomerTagController',['only' => ['index',"destroy"]]);
  790. Route::resource('customerLog', 'CustomerLogController', ['only' => ['index', 'show', 'create', 'store', 'update', 'edit', 'destroy']]);
  791. });
  792. Route::group(['prefix' => 'ownerContract'], function () {
  793. Route::post('store', 'OwnerContractController@store');
  794. Route::get('down', 'OwnerContractController@downFile');
  795. });
  796. Route::resource('customer', 'CustomerBaseController');
  797. Route::resource('ownerSundryFeeDetails', 'OwnerSundryFeeDetailsController', ['only' => ['index', 'create', 'store', 'update', 'edit','destroy']]);
  798. });
  799. /** 站管理 */
  800. $route->group(['prefix'=>'station'],function(){
  801. Route::get('index','StationController@monitorIndex');
  802. /** 监视器 */
  803. Route::group(['prefix'=>'monitor'],function(){
  804. Route::get('/','StationController@monitorIndex');
  805. Route::get('/index','StationController@monitorIndex');
  806. });
  807. /** 缓存架 */
  808. Route::group(['prefix'=>'cachingShelf'],function(){
  809. Route::get('/index','CacheShelfController@index');
  810. });
  811. /** 栈规则 */
  812. Route::group(['prefix'=>'rule'],function(){
  813. Route::get('/index','StationRuleBatchController@index');
  814. });
  815. });
  816. /** 控制台 */
  817. $route->group(['prefix'=>'control'],function () {
  818. Route::get('panel/menu','ControlPanelController@index') ;
  819. });
  820. /** 采购管理 */
  821. $route->group(['prefix'=>'procurement'],function () {
  822. /** 采购 */
  823. Route::group(['prefix'=>'procurement'],function(){
  824. Route::get('index','ProcurementController@index');
  825. Route::get('create','ProcurementController@create');
  826. Route::post('store','ProcurementController@store');
  827. Route::post('getOwnerMaterial','ProcurementController@getOwnerMaterial');
  828. Route::post('createProcurement','ProcurementController@createProcurement');
  829. Route::post('createEnquiry','ProcurementController@createEnquiry');
  830. Route::post('createProof','ProcurementController@createProof');
  831. Route::any('procurementExport','ProcurementController@procurementExport');
  832. Route::get('cancel/{id}','ProcurementController@cancel');
  833. Route::post('initiateProcurement','ProcurementController@initiateProcurement');
  834. Route::post('submitProcurement','ProcurementController@submitProcurement');
  835. Route::post('createAnew','ProcurementController@createAnew');
  836. });
  837. /** 财务 */
  838. Route::group(['prefix'=>'finance'],function(){
  839. Route::get('checkBill','ProcurementController@checkBill');
  840. Route::get('procurementBill','ProcurementController@procurementBill');
  841. Route::get('monthlyBillReport','ProcurementController@monthlyBillReport');
  842. Route::post('fillInvoice','ProcurementController@fillInvoice');
  843. Route::any('procurementTotalBillExport','ProcurementController@procurementTotalBillExport');
  844. Route::any('procurementBillExport','ProcurementController@procurementBillExport');
  845. Route::any('checkBillExport','ProcurementController@checkBillExport');
  846. Route::post('costPrice','ProcurementController@costPrice');
  847. Route::post('getCheckBillMonth','ProcurementController@getCheckBillMonth');
  848. });
  849. Route::get('relating',function (){return view('procurement.menuProcurement');});
  850. });
  851. /** 需求管理 */
  852. $route->group(['prefix'=>'demand'],function (){
  853. Route::get('/','DemandController@index');
  854. });
  855. });
  856. /*
  857. * 无需认证的路由
  858. * */
  859. Route::get('/', function () {return redirect('login');});
  860. Route::any('test/{method}', 'TestController@method');
  861. //称重广播
  862. Route::post('package/weigh/measureMonitor/speech','MeasureMonitorController@speech');
  863. //称重显示
  864. Route::resource('package/weigh/measureMonitor','MeasureMonitorController');
  865. //入库预约终端
  866. Route::get('store/deliveryAppointment/exhibition','DeliveryAppointmentController@exhibition');
  867. //入库预约预约码输入
  868. Route::get('store/deliveryAppointment/delivery','DeliveryAppointmentController@delivery');
  869. //入库预约错误页面
  870. Route::get('store/deliveryAppointment/errMsg','DeliveryAppointmentController@errMsg');
  871. //入库预约成功页面
  872. Route::get('store/deliveryAppointment/successMsg','DeliveryAppointmentController@successMsg');
  873. //入库预约展览数据
  874. Route::post('store/deliveryAppointment/getExhibitionList','DeliveryAppointmentController@getExhibitionList');
  875. //入库预约验证密匙
  876. Route::post('store/deliveryAppointment/getKey','DeliveryAppointmentController@getKey');
  877. //临时工二维码
  878. Route::get('personnel/checking-in/goGetQRCode','QRCodeController@goGetQRCode');
  879. Route::get('personnel/checking-in/QRCode','QRCodeController@QRCode');
  880. Route::get('personnel/checking-in/importAndExportQRCode','QRCodeController@importAndExportQRCode');
  881. Route::post('personnel/checking-in/refreshQRCode','QRCodeController@refreshQRCode');
  882. //监视器
  883. Route::get('station/index/{station}','StationController@monitorShow');