food_permission.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. // 点餐模式
  8. return [
  9. [
  10. 'key' => 'userManage',
  11. 'title' => '用户',
  12. 'children' => [
  13. [
  14. 'key' => 'userManagement',
  15. 'title' => '用户管理',
  16. 'children' => [
  17. [
  18. 'key' => 'userManagementView',
  19. 'title' => '查看',
  20. 'type' => 'action',
  21. ],
  22. [
  23. 'key' => 'userManagementDetails',
  24. 'title' => '用户详情',
  25. 'children' => [
  26. [
  27. 'key' => 'userManagementDetailsEditUser',
  28. 'title' => '编辑用户',
  29. 'type' => 'action',
  30. ],
  31. [
  32. 'key' => 'userManagementDetailsSetProperty',
  33. 'title' => '设置积分/余额',
  34. 'type' => 'action',
  35. ],
  36. ],
  37. ]
  38. ],
  39. ],
  40. [
  41. 'key' => 'memberManage',
  42. 'title' => '会员等级',
  43. 'children' => [
  44. [
  45. 'key' => 'memberLevel',
  46. 'title' => '会员等级',
  47. 'children' => [
  48. [
  49. 'key' => 'memberLevelAdd',
  50. 'title' => '添加',
  51. 'type' => 'action',
  52. ],
  53. [
  54. 'key' => 'memberLevelEdit',
  55. 'title' => '编辑',
  56. 'type' => 'action',
  57. ],
  58. [
  59. 'key' => 'memberLevelDelete',
  60. 'title' => '删除',
  61. 'type' => 'action',
  62. ],
  63. ],
  64. ],
  65. [
  66. 'key' => 'levelOrderList',
  67. 'title' => '购买记录'
  68. ],
  69. ],
  70. ],
  71. [
  72. 'key' => 'userStoreClerk',
  73. 'title' => '核销员',
  74. 'children' => [],
  75. ]
  76. ]
  77. ],
  78. [
  79. 'key' => 'storeProfit',
  80. 'title' => '财务',
  81. 'children' => [
  82. [
  83. 'key' => 'storeAccount',
  84. 'title' => '结算账户',
  85. ],
  86. [
  87. 'key' => 'storeCash',
  88. 'title' => '结算提现',
  89. ],
  90. [
  91. 'key' => 'profitSharingRecord',
  92. 'title' => '分账记录'
  93. ],
  94. ]
  95. ],
  96. [
  97. 'key' => 'setting',
  98. 'title' => '系统',
  99. 'children' => [
  100. [
  101. 'key' => 'settingEdit',
  102. 'title' => '功能设置',
  103. 'children' => [
  104. [
  105. 'key' => 'store',
  106. 'title' => '基础设置',
  107. 'type' => 'action',
  108. 'children' => [
  109. [
  110. 'key' => 'basicEdit',
  111. 'title' => '编辑',
  112. 'type' => 'action',
  113. ],
  114. ]
  115. ],
  116. ],
  117. ],
  118. [
  119. 'key' => 'printSetting',
  120. 'title' => '打印设置',
  121. 'children' => [
  122. [
  123. 'key' => 'express',
  124. 'title' => '电子面单',
  125. 'children' => [
  126. [
  127. 'key' => 'expressAdd',
  128. 'title' => '添加',
  129. 'type' => 'action',
  130. ],
  131. [
  132. 'key' => 'expressEdit',
  133. 'title' => '编辑',
  134. 'type' => 'action',
  135. ],
  136. [
  137. 'key' => 'expressDelele',
  138. 'title' => '删除',
  139. 'type' => 'action',
  140. ],
  141. ],
  142. ],
  143. [
  144. 'key' => 'cloud',
  145. 'title' => '云打印设置',
  146. 'children' => [
  147. [
  148. 'key' => 'cloudAdd',
  149. 'title' => '添加',
  150. 'type' => 'action',
  151. ],
  152. [
  153. 'key' => 'cloudEdit',
  154. 'title' => '编辑',
  155. 'type' => 'action',
  156. ],
  157. [
  158. 'key' => 'cloudDelele',
  159. 'title' => '删除',
  160. 'type' => 'action',
  161. ],
  162. ],
  163. ],
  164. [
  165. 'key' => 'printer',
  166. 'title' => '小票打印',
  167. 'children' => [
  168. [
  169. 'key' => 'printerAdd',
  170. 'title' => '添加',
  171. 'type' => 'action',
  172. ],
  173. [
  174. 'key' => 'printerEdit',
  175. 'title' => '编辑',
  176. 'type' => 'action',
  177. ],
  178. [
  179. 'key' => 'printerDelele',
  180. 'title' => '删除',
  181. 'type' => 'action',
  182. ],
  183. ],
  184. ],
  185. ]
  186. ],
  187. [
  188. 'key' => 'unionShopSetting',
  189. 'title' => '联盟店铺',
  190. ],
  191. [
  192. 'key' => 'SettingVoiceBroadcast',
  193. 'title' => '收款播报设置',
  194. ],
  195. [
  196. 'key' => 'delivery',
  197. 'title' => '配送设置'
  198. ]
  199. ],
  200. ],
  201. [
  202. 'key' => 'channel',
  203. 'title' => '渠道/端口',
  204. 'children' => [
  205. [
  206. 'key' => 'appletManagementWechat',
  207. 'title' => '微信小程序',
  208. 'children' => [
  209. [
  210. 'key' => 'payIncoming',
  211. 'title' => '支付进件'
  212. ]
  213. ]
  214. ],
  215. [
  216. 'key' => 'appletManagementAlipay',
  217. 'title' => '支付宝小程序',
  218. 'children' => [
  219. [
  220. 'key' => 'miniConfigAlipay',
  221. 'title' => '小程序管理'
  222. ],
  223. ]
  224. ],
  225. ]
  226. ],
  227. [
  228. 'key' => 'orderManage',
  229. 'title' => '订单',
  230. 'children' => [
  231. [
  232. 'key' => 'orderList',
  233. 'title' => '订单列表',
  234. 'children' => [
  235. [
  236. 'key' => 'orderListSend',
  237. 'title' => '发货',
  238. 'type' => 'action',
  239. ],
  240. [
  241. 'key' => 'orderListCancel',
  242. 'title' => '取消',
  243. 'type' => 'action',
  244. ],
  245. [
  246. 'key' => 'orderListDetails',
  247. 'title' => '详情',
  248. ],
  249. [
  250. 'key' => 'orderListPrint',
  251. 'title' => '打印',
  252. ],
  253. [
  254. 'key' => 'orderListReceiptPrint',
  255. 'title' => '小票打印',
  256. ],
  257. [
  258. 'key' => 'orderListAddRemark',
  259. 'title' => '添加备注',
  260. ],
  261. [
  262. 'key' => 'orderListMoveRecycle',
  263. 'title' => '移入回收站',
  264. ],
  265. [
  266. 'key' => 'orderListExpressInfo',
  267. 'title' => '物流信息',
  268. ],
  269. [
  270. 'key' => 'orderListTransferOrder',
  271. 'title' => '转单',
  272. ],
  273. [
  274. 'key' => 'orderListAgree',
  275. 'title' => '同意',
  276. ],
  277. ],
  278. ],
  279. [
  280. 'key' => 'orderSameCityList',
  281. 'title' => '同城订单',
  282. 'children' => [
  283. [
  284. 'key' => 'orderSameCityListCancel',
  285. 'title' => '取消',
  286. 'type' => 'action',
  287. ],
  288. [
  289. 'key' => 'orderSameCityListDetails',
  290. 'title' => '详情',
  291. ],
  292. [
  293. 'key' => 'orderSameCityListPrint',
  294. 'title' => '打印',
  295. ],
  296. [
  297. 'key' => 'orderSameCityListReceiptPrint',
  298. 'title' => '小票打印',
  299. ],
  300. [
  301. 'key' => 'orderSameCityListAddRemark',
  302. 'title' => '添加备注',
  303. ],
  304. [
  305. 'key' => 'orderSameCityListMoveRecycle',
  306. 'title' => '移入回收站',
  307. ],
  308. [
  309. 'key' => 'orderSameCityListAgree',
  310. 'title' => '同意',
  311. ],
  312. ],
  313. ],
  314. [
  315. 'key' => 'orderOfflineList',
  316. 'title' => '自提订单',
  317. 'children' => [
  318. [
  319. 'key' => 'orderOfflineListVerify',
  320. 'title' => '核销',
  321. 'type' => 'action',
  322. ],
  323. [
  324. 'key' => 'orderOfflineListCancel',
  325. 'title' => '取消',
  326. 'type' => 'action',
  327. ],
  328. [
  329. 'key' => 'orderOfflineListDetails',
  330. 'title' => '详情',
  331. ],
  332. [
  333. 'key' => 'orderOfflineListPrint',
  334. 'title' => '打印',
  335. ],
  336. [
  337. 'key' => 'orderOfflineListReceiptPrint',
  338. 'title' => '小票打印',
  339. ],
  340. [
  341. 'key' => 'orderOfflineListAddRemark',
  342. 'title' => '添加备注',
  343. ],
  344. [
  345. 'key' => 'orderOfflineListMoveRecycle',
  346. 'title' => '移入回收站',
  347. ],
  348. ],
  349. ],
  350. [
  351. 'key' => 'orderRefundList',
  352. 'title' => '售后订单',
  353. 'children' => [
  354. [
  355. 'key' => 'orderRefundListConfirmReceive',
  356. 'title' => '确认收货',
  357. ],
  358. [
  359. 'key' => 'orderRefundListRefuseExchange',
  360. 'title' => '拒绝换货',
  361. ],
  362. [
  363. 'key' => 'orderRefundListAgreeRefund',
  364. 'title' => '同意退货',
  365. ],
  366. [
  367. 'key' => 'orderRefundListRefuseRefund',
  368. 'title' => '拒绝退货',
  369. ],
  370. [
  371. 'key' => 'orderRefundListAgreeExchange',
  372. 'title' => '同意换货',
  373. ],
  374. ],
  375. ],
  376. ]
  377. ],
  378. [
  379. 'key' => 'marketingManage',
  380. 'title' => '应用',
  381. 'children' => [
  382. [
  383. 'key' => 'industryCategory',
  384. 'title' => '行业类',
  385. 'children' => [
  386. [
  387. 'key' => 'cityDelivery',
  388. 'title' => '微信同城配送',
  389. ],
  390. [
  391. 'key' => 'food',
  392. 'title' => '点餐管理',
  393. 'children' => [
  394. [
  395. 'key' => 'foodGoods',
  396. 'title' => '商品管理',
  397. 'children' => [
  398. [
  399. 'key' => 'foodGoodsAdd',
  400. 'title' => '添加',
  401. 'type' => 'action',
  402. ],
  403. [
  404. 'key' => 'foodGoodsEdit',
  405. 'title' => '编辑',
  406. 'type' => 'action',
  407. ],
  408. [
  409. 'key' => 'foodGoodsSetting',
  410. 'title' => '设置',
  411. 'type' => 'action',
  412. ],
  413. [
  414. 'key' => 'foodGoodsDelete',
  415. 'title' => '删除',
  416. 'type' => 'action',
  417. ],
  418. [
  419. 'key' => 'foodGoodsBatchAction',
  420. 'title' => '批量操作',
  421. 'type' => 'action',
  422. ]
  423. ],
  424. ],
  425. [
  426. 'key' => 'foodCat',
  427. 'title' => '分类',
  428. 'children' => [
  429. [
  430. 'key' => 'foodCatAdd',
  431. 'title' => '添加',
  432. 'type' => 'action',
  433. ],
  434. [
  435. 'key' => 'foodEditEdit',
  436. 'title' => '编辑',
  437. 'type' => 'action',
  438. ],
  439. [
  440. 'key' => 'foodCatDelete',
  441. 'title' => '删除',
  442. 'type' => 'action',
  443. ],
  444. ],
  445. ],
  446. [
  447. 'key' => 'foodTable',
  448. 'title' => '餐桌管理',
  449. 'children' => [
  450. [
  451. 'key' => 'foodTableAdd',
  452. 'title' => '添加',
  453. 'type' => 'action',
  454. ],
  455. [
  456. 'key' => 'foodTableEdit',
  457. 'title' => '编辑',
  458. 'type' => 'action',
  459. ],
  460. [
  461. 'key' => 'foodTableDelete',
  462. 'title' => '删除',
  463. 'type' => 'action',
  464. ],
  465. [
  466. 'key' => 'foodTableQrcode',
  467. 'title' => '二维码',
  468. 'type' => 'action',
  469. ],
  470. ],
  471. ],
  472. [
  473. 'key' => 'foodSetting',
  474. 'title' => '设置',
  475. ],
  476. [
  477. 'key' => 'foodQrcode',
  478. 'title' => '店铺点餐二维码',
  479. ],
  480. [
  481. 'key' => 'saasAllianceCoupon',
  482. 'title' => '联盟券',
  483. ],
  484. [
  485. 'key' => 'foodSlide',
  486. 'title' => '轮播图',
  487. 'children' => [
  488. [
  489. 'key' => 'foodSlideAdd',
  490. 'title' => '添加',
  491. 'type' => 'action',
  492. ],
  493. [
  494. 'key' => 'foodSlideEdit',
  495. 'title' => '编辑',
  496. 'type' => 'action',
  497. ],
  498. [
  499. 'key' => 'foodSlideDelete',
  500. 'title' => '删除',
  501. 'type' => 'action',
  502. ]
  503. ],
  504. ]
  505. ],
  506. ],
  507. [
  508. 'key' => 'storeLocalDelivery',
  509. 'title' => '同城自配',
  510. ],
  511. ]
  512. ],
  513. [
  514. 'key' => 'thirdCategory',
  515. 'title' => '第三方',
  516. 'children' => [
  517. [
  518. 'key' => 'keloop',
  519. 'title' => '快跑者',
  520. ],
  521. [
  522. 'key' => 'saasAdapay',
  523. 'title' => '汇付支付',
  524. ],
  525. [
  526. 'key' => 'saasYunst',
  527. 'title' => '通联支付',
  528. ],
  529. ]
  530. ],
  531. ]
  532. ],
  533. ];