|
|
@@ -136,6 +136,7 @@ export const HOME_MENU_ITEMS = {
|
|
|
purchaseRecord: { name: '买花记录', icon: homeIcon('purchase-record'), url: '/pagesPurchase/shopping', pf: 1 },
|
|
|
priceIncrease: { name: '涨价设置', icon: homeIcon('price-increase'), url: '/admin/goods/price-increase', pf: 1 },
|
|
|
shopNotice: { name: '公告', icon: homeIcon('notice'), url: '/admin/shopNotice/list', pf: 1 },
|
|
|
+ homePageConfig: { name: '首页配置', icon: homeIcon('settings-filled'), url: '/admin/homePageConfig/index', pf: 1 },
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -147,8 +148,7 @@ export const HOME_MENU_DEFAULT_KEYS = {
|
|
|
quickMenus: ['itemBill', 'itemQuickBill', 'buyItem','purchaseRecord'],
|
|
|
bizMenus: [
|
|
|
'itemMall', 'flowerCategory', 'flowerSort', 'goodsManage', 'addFlower', 'priceIncrease', 'shopNotice',
|
|
|
- 'plant', 'itemBill', 'itemQuickBill', 'freeRefund', 'freeRefundList',
|
|
|
- 'part', 'changePrice', 'breakage', 'plantCategory', 'buyItem', 'purchaseRecord', 'task'
|
|
|
+ 'plant', 'freeRefund', 'freeRefundList','part', 'changePrice', 'breakage', 'plantCategory', 'task', 'homePageConfig'
|
|
|
],
|
|
|
// 兼容旧 storage 读取(迁移时会去掉 mall,并把 task 挪到买花记录后)
|
|
|
flowerMenus: ['flowerCategory', 'flowerSort', 'goodsManage', 'addFlower', 'priceIncrease', 'shopNotice'],
|
|
|
@@ -198,7 +198,7 @@ const mergeUniqueKeys = (...lists) => {
|
|
|
}
|
|
|
|
|
|
/** 合并栏菜单结构版本:变更默认顺序时递增,强制覆盖本地旧缓存顺序 */
|
|
|
-export const HOME_MENU_BIZ_SCHEMA = 3
|
|
|
+export const HOME_MENU_BIZ_SCHEMA = 4
|
|
|
const HOME_MENU_BIZ_SCHEMA_KEY = 'mallHome.bizMenusSchema'
|
|
|
|
|
|
/**
|
|
|
@@ -222,6 +222,7 @@ const MENU_KEY_ALIASES = {
|
|
|
'/pagesPurchase/shopping': 'purchaseRecord',
|
|
|
'/admin/goods/price-increase': 'priceIncrease',
|
|
|
'/admin/shopNotice/list': 'shopNotice',
|
|
|
+ '/admin/homePageConfig/index': 'homePageConfig',
|
|
|
'/admin/billing/freeRefundList': 'freeRefundList',
|
|
|
'/admin/custom/selectCustom?style=1&refund=1': 'freeRefund',
|
|
|
goItemKd: 'itemBill',
|