menu_store.php 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 平台端菜单设置
  4. // +----------------------------------------------------------------------
  5. return [
  6. [
  7. 'name' => 'ADDON_STORE_INDEX',
  8. 'title' => '概况',
  9. 'url' => 'store://store/index/index',
  10. 'is_show' => 1,
  11. 'is_control' => 0,
  12. 'is_icon' => 0,
  13. 'picture' => 'addon/store/store/view/public/img/store_icon/intro.png',
  14. 'sort' => 1,
  15. ],
  16. [
  17. 'name' => 'ADDON_STORE_GOODS',
  18. 'title' => '商品管理',
  19. 'url' => 'store://store/goods/index',
  20. 'is_show' => 1,
  21. 'is_control' => 1,
  22. 'is_icon' => 0,
  23. 'picture' => 'addon/store/store/view/public/img/store_icon/goods.png',
  24. 'sort' => 2,
  25. ],
  26. [
  27. 'name' => 'STORE_STOCK_IMPORT',
  28. 'title' => '批量入库',
  29. 'url' => 'store://store/storestockimport/lists',
  30. 'is_show' => 1,
  31. 'is_control' => 1,
  32. 'is_icon' => 0,
  33. 'picture' => 'addon/store/store/view/public/img/store_icon/stock_import.png',
  34. 'sort' => 3,
  35. 'child_list' => [
  36. [
  37. 'name' => 'STORE_STOCK_IMPORT_DETAIL',
  38. 'title' => '详情',
  39. 'url' => 'store://store/storestockimport/detail',
  40. 'is_show' => 0,
  41. 'is_control' => 1,
  42. 'is_icon' => 0,
  43. 'sort' => 2,
  44. 'child_list' => []
  45. ],
  46. ]
  47. ],
  48. [
  49. 'name' => 'ADDON_STORE_ORDER',
  50. 'title' => '订单管理',
  51. 'url' => 'store://store/order/lists',
  52. 'is_show' => 1,
  53. 'is_control' => 1,
  54. 'is_icon' => 0,
  55. 'picture' => 'addon/store/store/view/public/img/store_icon/order.png',
  56. 'sort' => 4,
  57. 'child_list' => [
  58. [
  59. 'name' => 'ADDON_STORE_ORDER_MANAGE',
  60. 'title' => '订单列表',
  61. 'url' => 'store://store/order/lists',
  62. 'is_show' => 1,
  63. 'is_control' => 1,
  64. 'is_icon' => 0,
  65. 'sort' => 1,
  66. 'child_list' => [
  67. [
  68. 'name' => 'ADDON_STORE_ORDER_DETAIL',
  69. 'title' => '自提订单详情',
  70. 'url' => 'store://store/order/detail',
  71. 'is_show' => 0,
  72. 'is_control' => 1,
  73. 'is_icon' => 0,
  74. 'picture' => '',
  75. 'picture_selected' => '',
  76. 'sort' => 1,
  77. ],
  78. ],
  79. ],
  80. [
  81. 'name' => 'ADDON_STORE_ORDER_VERIFY',
  82. 'title' => '核销台',
  83. 'url' => 'store://store/verify/verifycard',
  84. 'is_show' => 1,
  85. 'is_control' => 1,
  86. 'is_icon' => 0,
  87. 'sort' => 2,
  88. 'child_list' => []
  89. ],
  90. ]
  91. ],
  92. [
  93. 'name' => 'ADDON_STORE_CASH',
  94. 'title' => '收银台',
  95. 'url' => 'store://store/cash/cash',
  96. 'is_show' => 1,
  97. 'is_control' => 1,
  98. 'is_icon' => 0,
  99. 'picture' => 'addon/store/store/view/public/img/store_icon/sellte.png',
  100. 'sort' => 5,
  101. 'child_list' => []
  102. ],
  103. [
  104. 'name' => 'ADDON_STORE_ACCOUNT',
  105. 'title' => '结算管理',
  106. 'url' => 'store://store/settlement/index',
  107. 'is_show' => 1,
  108. 'is_control' => 1,
  109. 'is_icon' => 0,
  110. 'picture' => 'addon/store/store/view/public/img/store_icon/settlement.png',
  111. 'sort' => 6,
  112. 'child_list' => []
  113. ],
  114. [
  115. 'name' => 'ADDON_STORE_MEMBER',
  116. 'title' => '会员管理',
  117. 'url' => 'store://store/member/index',
  118. 'is_show' => 1,
  119. 'is_control' => 1,
  120. 'is_icon' => 0,
  121. 'picture' => 'addon/store/store/view/public/img/store_icon/member.png',
  122. 'sort' => 7,
  123. 'child_list' => [
  124. [
  125. 'name' => 'ADDON_STORE_MEMBER_INDEX',
  126. 'title' => '会员概况',
  127. 'url' => 'store://store/member/index',
  128. 'sort' => 1,
  129. 'is_show' => 1
  130. ],
  131. [
  132. 'name' => 'ADDON_STORE_MEMBER_LIST',
  133. 'title' => '会员列表',
  134. 'url' => 'store://store/member/lists',
  135. 'sort' => 2,
  136. 'is_show' => 1,
  137. 'child_list' => [
  138. [
  139. 'name' => 'ADDON_STORE_MEMBER_DETAIL',
  140. 'title' => '会员详情',
  141. 'url' => 'store://store/member/detail',
  142. 'sort' => 1,
  143. 'is_show' => 1
  144. ]
  145. ]
  146. ],
  147. ]
  148. ],
  149. [
  150. 'name' => 'ADDON_STORE_USER',
  151. 'title' => '员工管理',
  152. 'url' => 'store://store/user/index',
  153. 'is_show' => 1,
  154. 'is_control' => 1,
  155. 'is_icon' => 0,
  156. 'picture' => 'addon/store/store/view/public/img/store_icon/user.png',
  157. 'sort' => 8,
  158. 'child_list' => [
  159. [
  160. 'name' => 'ADDON_STORE_USER_LIST',
  161. 'title' => '员工管理',
  162. 'url' => 'store://store/user/index',
  163. 'sort' => 1,
  164. 'is_show' => 1,
  165. 'child_list' => [
  166. [
  167. 'name' => 'ADDON_STORE_USER_ADD',
  168. 'title' => '添加员工',
  169. 'url' => 'store://store/user/addUser',
  170. 'sort' => 1,
  171. 'is_show' => 0
  172. ],
  173. [
  174. 'name' => 'ADDON_STORE_USER_EDIT',
  175. 'title' => '修改员工',
  176. 'url' => 'store://store/user/editUser',
  177. 'sort' => 1,
  178. 'is_show' => 0
  179. ],
  180. ]
  181. ],
  182. [
  183. 'name' => 'ADDON_STORE_USERLOG',
  184. 'title' => '操作日志',
  185. 'url' => 'store://store/user/userlog',
  186. 'sort' => 2,
  187. 'is_show' => 1
  188. ],
  189. [
  190. 'name' => 'ADDON_STORE_USER_GROUP',
  191. 'title' => '角色管理',
  192. 'url' => 'store://store/user/group',
  193. 'sort' => 3,
  194. 'is_show' => 1,
  195. 'child_list' => [
  196. [
  197. 'name' => 'ADDON_STORE_USER_GROUP_ADD',
  198. 'title' => '添加角色',
  199. 'url' => 'store://store/user/addGroup',
  200. 'sort' => 1,
  201. 'is_show' => 0
  202. ],
  203. [
  204. 'name' => 'ADDON_STORE_USER_GROUP_EDIT',
  205. 'title' => '修改角色',
  206. 'url' => 'store://store/user/editGroup',
  207. 'sort' => 1,
  208. 'is_show' => 0
  209. ],
  210. ]
  211. ],
  212. ]
  213. ],
  214. [
  215. 'name' => 'ADDON_STORE_INFO',
  216. 'title' => '门店设置',
  217. 'url' => 'store://store/store/config',
  218. 'is_show' => 1,
  219. 'is_control' => 1,
  220. 'is_icon' => 0,
  221. 'picture' => 'addon/store/store/view/public/img/store_icon/info.png',
  222. 'sort' => 9,
  223. 'child_list' => []
  224. ],
  225. [
  226. 'name' => 'ADDON_STORE_DIY',
  227. 'title' => '主页装修',
  228. 'url' => 'store://store/diy/index',
  229. 'is_show' => 1,
  230. 'is_control' => 1,
  231. 'is_icon' => 0,
  232. 'picture' => 'addon/store/store/view/public/img/store_icon/diy.png',
  233. 'sort' => 10,
  234. 'child_list' => []
  235. ]
  236. ];