shish 1 gün önce
ebeveyn
işleme
b01f11cec6
1 değiştirilmiş dosya ile 65 ekleme ve 31 silme
  1. 65 31
      hdApp/src/admin/home/apply.vue

+ 65 - 31
hdApp/src/admin/home/apply.vue

@@ -1,6 +1,6 @@
-<!--
+  <!--
   应用 Tab:全量功能入口
   应用 Tab:全量功能入口
-  用途:按分组展示门店功能;菜单项直接写死在本页,不依赖 homeMenus 配置文件
+  用途:按业务域分组展示门店功能;菜单写死在本页,不依赖 homeMenus 配置。
 -->
 -->
 <template>
 <template>
   <view class="app-content">
   <view class="app-content">
@@ -60,10 +60,10 @@ export default {
     return {
     return {
       /** 售后待审核条数,供应用页待办条;宫格入口不跟这个数跳转 */
       /** 售后待审核条数,供应用页待办条;宫格入口不跟这个数跳转 */
       pendingRefundCount: 0,
       pendingRefundCount: 0,
-      /** 应用页菜单分组(写死) */
+      /** 应用页菜单分组(按业务域拆细,避免单组入口过多) */
       applyMenuList: [
       applyMenuList: [
         {
         {
-          title: '花束花材',
+          title: '商品商城',
           titleIcon: 'bouquet',
           titleIcon: 'bouquet',
           list: [
           list: [
             { name: '商城码', icon: 'mall-filled', url: '/admin/cg/item', pf: 1 },
             { name: '商城码', icon: 'mall-filled', url: '/admin/cg/item', pf: 1 },
@@ -73,57 +73,81 @@ export default {
             { name: '使用场景', icon: 'category-filled', url: '/admin/useCase/list', pf: 1 },
             { name: '使用场景', icon: 'category-filled', url: '/admin/useCase/list', pf: 1 },
             { name: '花束排序', icon: 'sort-filled', url: '/admin/goods/categorySort', pf: 1 },
             { name: '花束排序', icon: 'sort-filled', url: '/admin/goods/categorySort', pf: 1 },
             { name: '涨价管理', icon: 'price-increase', url: '/admin/goods/price-increase', pf: 1 },
             { name: '涨价管理', icon: 'price-increase', url: '/admin/goods/price-increase', pf: 1 },
-            { name: '公告', icon: 'notice', url: '/admin/shopNotice/list', pf: 1 },
-            { name: '绿植花材', icon: 'plant-material', url: '/admin/item/list2', pf: 1 },
-            { name: '开单', icon: 'plant-billing', action: 'goItemKd', pf: 1 },
-            { name: '快捷开单', icon: 'plant-quick-billing', action: 'goItemKjKd', pf: 1 },
-            { name: '退款', icon: 'order-filled', url: '/admin/custom/selectCustom?style=1&refund=1', pf: 1 },
-            // 稳定入口:始终进全部列表;待审核走页顶待办条
-            { name: '退款记录', icon: 'order-filled', url: '/admin/billing/freeRefundList', pf: 1 },
-            { name: '花材排序', icon: 'sort-filled', url: '/admin/itemClass/sort', pf: 1 },
+            { name: '花材排序', icon: 'sort-filled', url: '/admin/itemClass/sort', pf: 1 }
+          ]
+        },
+        {
+          title: '花材库存',
+          titleIcon: 'inventory',
+          list: [
             { name: '改价', icon: 'change-price-filled', url: '/admin/changePrice/list2', pf: 1 },
             { name: '改价', icon: 'change-price-filled', url: '/admin/changePrice/list2', pf: 1 },
             { name: '报损', icon: 'breakage', url: '/admin/breakage/list', pf: 1 },
             { name: '报损', icon: 'breakage', url: '/admin/breakage/list', pf: 1 },
-            { name: '花材分类', icon: 'category-filled', url: '/admin/goods/categoryV2?tab=1', pf: 1 },
             { name: '拆散', icon: 'disassemble', url: '/admin/part/list', pf: 1 },
             { name: '拆散', icon: 'disassemble', url: '/admin/part/list', pf: 1 },
-            { name: '调拨出库', icon: 'allot-out', url: '/pagesStorehouse/allot/allotEx', pf: 0 },
-            { name: '调拨入库', icon: 'allot-in', url: '/pagesStorehouse/allot/allotPut', pf: 0 },
+            { name: '盘点', icon: 'inventory', url: '/pagesStorehouse/inventory/list', pf: 1 },
             { name: '库存预警', icon: 'stock-warning', url: '/pagesStorehouse/stockWarn/manage', pf: 1 },
             { name: '库存预警', icon: 'stock-warning', url: '/pagesStorehouse/stockWarn/manage', pf: 1 },
+            { name: '调拨出库', icon: 'allot-out', url: '/pagesStorehouse/allot/allotEx', pf: 0 },
+            { name: '调拨入库', icon: 'allot-in', url: '/pagesStorehouse/allot/allotPut', pf: 0 }
+          ]
+        },
+        {
+          title: '开单收银',
+          titleIcon: 'plant-billing',
+          list: [
+            { name: '绿植花材', icon: 'plant-material', url: '/admin/item/list2', pf: 1 },
+            { name: '开单', icon: 'plant-billing', action: 'goItemKd', pf: 1 },
+            { name: '快捷开单', icon: 'plant-quick-billing', action: 'goItemKjKd', pf: 1 }
+          ]
+        },
+        {
+          title: '售后',
+          titleIcon: 'order-filled',
+          list: [
+            { name: '退款', icon: 'order-filled', url: '/admin/custom/selectCustom?style=1&refund=1', pf: 1 },
+            // 稳定入口:始终进全部列表;待审核走页顶待办条
+            { name: '退款记录', icon: 'order-filled', url: '/admin/billing/freeRefundList', pf: 1 }
+          ]
+        },
+        {
+          title: '采购',
+          titleIcon: 'buy-item',
+          list: [
             { name: '买花', icon: 'buy-item', url: '/pagesPurchase/order', pf: 1 },
             { name: '买花', icon: 'buy-item', url: '/pagesPurchase/order', pf: 1 },
-            { name: '买花记录', icon: 'purchase-record', url: '/pagesPurchase/shopping', pf: 1 },
-            { name: '任务', icon: 'task-filled', url: '/admin/work/list', pf: 1 },
-            { name: '盘点', icon: 'inventory', url: '/pagesStorehouse/inventory/list', pf: 1 }
+            { name: '买花记录', icon: 'purchase-record', url: '/pagesPurchase/shopping', pf: 1 }
           ]
           ]
         },
         },
         {
         {
-          title: '门店设置',
+          title: '门店组织',
           titleIcon: 'shop-filled',
           titleIcon: 'shop-filled',
           list: [
           list: [
             { name: '门店', icon: 'shop-filled', url: '/admin/shop/list', pf: 1 },
             { name: '门店', icon: 'shop-filled', url: '/admin/shop/list', pf: 1 },
             { name: '首页配置', icon: 'settings-filled', url: '/admin/homePageConfig/index', pf: 1 },
             { name: '首页配置', icon: 'settings-filled', url: '/admin/homePageConfig/index', pf: 1 },
             { name: '员工', icon: 'staff', url: '/admin/staff/list', pf: 1 },
             { name: '员工', icon: 'staff', url: '/admin/staff/list', pf: 1 },
             { name: '员工业绩', icon: 'staff-performance', url: '/admin/staff/achieve', pf: 1 },
             { name: '员工业绩', icon: 'staff-performance', url: '/admin/staff/achieve', pf: 1 },
+            { name: '公告', icon: 'notice', url: '/admin/shopNotice/list', pf: 1 },
             { name: '失信人员', icon: 'dishonest-person', url: '/admin/ll/list', pf: 1 },
             { name: '失信人员', icon: 'dishonest-person', url: '/admin/ll/list', pf: 1 },
-            { name: '已删商家', icon: 'store-delete', url: '/pagesPurchase/pb', pf: 1 },
+            { name: '已删商家', icon: 'store-delete', url: '/pagesPurchase/pb', pf: 1 }
+          ]
+        },
+        {
+          title: '会员营销',
+          titleIcon: 'member-level',
+          list: [
             { name: '会员等级', icon: 'member-level', url: '/admin/member/level', pf: 1 },
             { name: '会员等级', icon: 'member-level', url: '/admin/member/level', pf: 1 },
             { name: '红包管理', icon: 'red-packet', url: '/admin/hb/list', pf: 1 },
             { name: '红包管理', icon: 'red-packet', url: '/admin/hb/list', pf: 1 },
             { name: '充值设置', icon: 'recharge', url: '/admin/recharge/rechargeSetting', pf: 1 },
             { name: '充值设置', icon: 'recharge', url: '/admin/recharge/rechargeSetting', pf: 1 },
-            { name: '收款码', icon: 'pay-code', url: '/admin/cg/code', pf: 1 },
-            { name: '收款流水', icon: 'pay-code-flow', url: '/admin/order/scanPay', pf: 1 },
-            { name: '绑定跑腿', icon: 'delivery', url: '/admin/delivery/deliveryManage', pf: 1 },
-            { name: '配送方式', icon: 'delivery-outline', url: '/admin/home/psMethod', pf: 1 },
-            { name: '配置范围', icon: 'address', url: '/admin/shop/sk', pf: 1 },
             { name: '分销规则', icon: 'settings-filled', url: '/admin/home/distributionRule', pf: 1 },
             { name: '分销规则', icon: 'settings-filled', url: '/admin/home/distributionRule', pf: 1 },
             { name: '分销报表', icon: 'stats-pie-filled', url: '/admin/home/distributionReport', pf: 1 }
             { name: '分销报表', icon: 'stats-pie-filled', url: '/admin/home/distributionReport', pf: 1 }
           ]
           ]
         },
         },
         {
         {
-          title: '硬件设置',
-          titleIcon: 'settings-filled',
+          title: '收款配送',
+          titleIcon: 'pay-code',
           list: [
           list: [
-            { name: '打印设置', icon: 'print-settings', url: '/admin/shop/print', pf: 1 },
-            { name: '音响设置', icon: 'sound-filled', url: '/admin/shop/trumpet', pf: 1 },
-            { name: '操作台打印', icon: 'print-settings', url: '/admin/shop/makePrint', pf: 1 },
-            { name: '操作台音响', icon: 'sound-filled', url: '/admin/shop/makeTrumpet', pf: 1 }
+            { name: '收款码', icon: 'pay-code', url: '/admin/cg/code', pf: 1 },
+            { name: '收款流水', icon: 'pay-code-flow', url: '/admin/order/scanPay', pf: 1 },
+            { name: '绑定跑腿', icon: 'delivery', url: '/admin/delivery/deliveryManage', pf: 1 },
+            { name: '配送方式', icon: 'delivery-outline', url: '/admin/home/psMethod', pf: 1 },
+            { name: '配置范围', icon: 'address', url: '/admin/shop/sk', pf: 1 }
           ]
           ]
         },
         },
         {
         {
@@ -143,6 +167,16 @@ export default {
             { name: '红包统计', icon: 'red-packet', url: '/admin/hb/stat', pf: 1 }
             { name: '红包统计', icon: 'red-packet', url: '/admin/hb/stat', pf: 1 }
           ]
           ]
         },
         },
+        {
+          title: '硬件设置',
+          titleIcon: 'settings-filled',
+          list: [
+            { name: '打印设置', icon: 'print-settings', url: '/admin/shop/print', pf: 1 },
+            { name: '音响设置', icon: 'sound-filled', url: '/admin/shop/trumpet', pf: 1 },
+            { name: '操作台打印', icon: 'print-settings', url: '/admin/shop/makePrint', pf: 1 },
+            { name: '操作台音响', icon: 'sound-filled', url: '/admin/shop/makeTrumpet', pf: 1 }
+          ]
+        },
         {
         {
           title: '生产',
           title: '生产',
           titleIcon: 'bouquet',
           titleIcon: 'bouquet',