diff --git a/src/router/index.js b/src/router/index.js index 1d22bea..8a99945 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -410,27 +410,27 @@ export const constantRoutes = [ meta: { title: '分红配置' }, hidden: true }, - { - path: 'waresBonus', - name: 'WaresBonus', - component: ParentView, - redirect: 'waresBonus/index', - children: [ { path: 'waresBonus', name: 'WaresBonus', - component: () => import('@/views/information/waresBonus/index'), - meta: { title: i18n.t('特殊品奖金分配') } + component: ParentView, + redirect: 'waresBonus/index', + children: [ + { + path: 'waresBonus', + name: 'WaresBonus', + component: () => import('@/views/information/waresBonus/index'), + meta: { title: i18n.t('特殊品奖金分配') } + }, + { + path: 'waresBonusRules', + name: 'WaresBonusRules', + component: () => import('@/views/information/waresBonus/waresRule'), + meta: { title: '规则设置' }, + hidden: true + } + ] }, - { - path: 'waresBonusRules', - name: 'WaresBonusRules', - component: () => import('@/views/information/waresBonus/waresRule'), - meta: { title: '规则设置' }, - hidden: true - } - ] - }, { path: 'policyMoneyDetails', name: 'policyMoneyDetails', @@ -491,13 +491,13 @@ export const constantRoutes = [ path: 'kValue', name: 'KValue', component: () => import('@/views/configManage/kValue/index'), - meta: { title: "K值风控设置" }, + meta: { title: 'K值风控设置' } }, { path: 'memberSubsidyConfig', name: 'MemberSubsidyConfig', component: () => import('@/views/information/specialBusiness/memberSubsidyConfig/index'), - meta: { title: '会员补贴配置' }, + meta: { title: '会员补贴配置' } }, { path: 'memberSubsidyConfigDetail', @@ -517,48 +517,47 @@ export const constantRoutes = [ path: 'memberRenewal', name: 'MemberRenewal', component: () => import('@/views/information/specialBusiness/memberRenewal/index'), - meta: { title: '会员续约' }, - }, - + meta: { title: '会员续约' } + } + ] }, - - + { path: 'removeOrderList', name: 'removeOrderList', meta: { title: '撤单列表' }, component: () => import('@/views/information/removeOrderList/index') }, - { - path: 'memberTarget', - name: 'MemberTarget', - meta: { title: '会员目标' }, - component: ParentView, - redirect: 'memberTarget/index', - children: [ - { - path: 'memberTarget', - name: 'MemberTarget', - component: () => import('@/views/information/memberTarget/index'), - meta: { title: '会员目标' } - }, - { - path: 'memberMonth', - name: 'memberMonth', - component: () => import('@/views/information/memberTarget/month'), - meta: { title: '会员目标' }, - hidden: true - }, - { - path: 'memberYear', - name: 'memberYear', - component: () => import('@/views/information/memberTarget/year'), - meta: { title: '会员目标' }, - hidden: true - } - ] - }, + // { + // path: 'memberTarget', + // name: 'MemberTarget', + // meta: { title: '会员目标' }, + // component: ParentView, + // redirect: 'memberTarget/index', + // children: [ + // { + // path: 'memberTarget', + // name: 'MemberTarget', + // component: () => import('@/views/information/memberTarget/index'), + // meta: { title: '会员目标' } + // }, + // { + // path: 'memberMonth', + // name: 'memberMonth', + // component: () => import('@/views/information/memberTarget/month'), + // meta: { title: '会员目标' }, + // hidden: true + // }, + // { + // path: 'memberYear', + // name: 'memberYear', + // component: () => import('@/views/information/memberTarget/year'), + // meta: { title: '会员目标' }, + // hidden: true + // } + // ] + // }, { path: 'markerSpace', name: 'markerSpace', @@ -653,28 +652,28 @@ export const constantRoutes = [ } ] }, - { - path: 'energySilo', - name: 'EnergySilo', - meta: { title: '生态科技舱' }, - component: ParentView, - redirect: 'energySilo/index', - children: [ - { - path: 'energySilo', - name: 'EnergySilo', - component: () => import('@/views/information/energySilo/index'), - meta: { title: '生态科技舱' } - } - // { - // path: 'detail', - // name: 'detail', - // component: () => import('@/views/information/dealer/detail'), - // meta: { title: '经销商详情' }, - // hidden: true - // } - ] - }, + // { + // path: 'energySilo', + // name: 'EnergySilo', + // meta: { title: '生态科技舱' }, + // component: ParentView, + // redirect: 'energySilo/index', + // children: [ + // { + // path: 'energySilo', + // name: 'EnergySilo', + // component: () => import('@/views/information/energySilo/index'), + // meta: { title: '生态科技舱' } + // } + // // { + // // path: 'detail', + // // name: 'detail', + // // component: () => import('@/views/information/dealer/detail'), + // // meta: { title: '经销商详情' }, + // // hidden: true + // // } + // ] + // }, { path: 'operationRecord', name: 'operationRecord', @@ -720,29 +719,29 @@ export const constantRoutes = [ name: 'BusinessZxqc', component: () => import('@/views/information/businessLicense/zxqc'), meta: { title: '在线签呈' } - }, + } ] - }, - { - path: 'ecoTechnology', - name: 'EcoTechnology', - component: () => import('@/views/information/ecoTechnology/index'), - meta: { title: '生态科技舱卡' } - }, - { - path: 'ecologicalCabin', - name: 'EcologicalCabin', - component: () => import('@/views/information/ecologicalCabin/index'), - meta: { title: '生态科技舱绑定' }, - hidden: true - }, - { - path: 'ecoTechnologyRepur', - name: 'EcoTechnologyRepur', - component: () => import('@/views/information/ecoTechnologyRepur/index'), - meta: { title: '生态科技舱复购' }, - hidden: true - }, + } + // { + // path: 'ecoTechnology', + // name: 'EcoTechnology', + // component: () => import('@/views/information/ecoTechnology/index'), + // meta: { title: '生态科技舱卡' } + // }, + // { + // path: 'ecologicalCabin', + // name: 'EcologicalCabin', + // component: () => import('@/views/information/ecologicalCabin/index'), + // meta: { title: '生态科技舱绑定' }, + // hidden: true + // }, + // { + // path: 'ecoTechnologyRepur', + // name: 'EcoTechnologyRepur', + // component: () => import('@/views/information/ecoTechnologyRepur/index'), + // meta: { title: '生态科技舱复购' }, + // hidden: true + // } ] }, @@ -885,13 +884,13 @@ export const constantRoutes = [ path: 'lenTopPerformance', name: 'LenTopPerformance', component: () => import('@/views/settlementCenter/lenTopPerformance/index'), - meta: { title: '乐享顶点奖金拨比列表' }, + meta: { title: '乐享顶点奖金拨比列表' } }, { path: 'personalAllocation', name: 'PersonalAllocation', component: () => import('@/views/settlementCenter/performanceRatio/personalAllocation'), - meta: { title: '个人伞下拨比查询' }, + meta: { title: '个人伞下拨比查询' } }, { path: 'sourceBonus', @@ -929,7 +928,7 @@ export const constantRoutes = [ path: 'recommendData', name: 'recommendData', component: () => import('@/views/settlementCenter/recommendData/index'), - meta: { title: '推荐数据' }, + meta: { title: '推荐数据' } }, { path: 'recommendDatas', @@ -948,8 +947,8 @@ export const constantRoutes = [ path: 'foreNumber', name: 'ForeNumber', component: () => import('@/views/settlementCenter/foreNumber/index'), - meta: { title: '4-n配置' }, - }, + meta: { title: '4-n配置' } + } ] }, { @@ -1128,116 +1127,116 @@ export const constantRoutes = [ hidden: true } ] - }, - ] - - }, - { - path: '/threeGoodsManage', - component: Layout, - name: 'ThreeGoodsManage', - meta: { title: '三方商品管理', icon: 'goods', icon1: 'goodsSel' }, - children: [ - { - path: 'directGoods', - name: 'DirectGoods', - meta: { title: '直供商品' }, - component: ParentView, - redirect: 'directGoods/index', - children: [ - { - path: 'directGoods', - name: 'DirectGoods', - component: () => import('@/views/threeGoodsManage/directGoods/index.vue'), - meta: { title: '直供商品' } - } - - ] - }, - { - path: 'threeGoodsList', - name: 'ThreeGoodsList', - meta: { title: '商品列表' }, - component: ParentView, - redirect: 'threeGoodsList/index', - children: [ - { - path: 'threeGoodsList', - name: 'ThreeGoodsList', - component: () => import('@/views/threeGoodsManage/threeGoodsList/index.vue'), - meta: { title: '商品列表' } - } - - ] - }, - { - path: 'orderGoods', - name: 'OrderGoods', - meta: { title: '商品订单' }, - component: ParentView, - redirect: 'orderGoods/index', - children: [ - { - path: 'orderGoods', - name: 'OrderGoods', - component: () => import('@/views/threeGoodsManage/orderGoods/index.vue'), - meta: { title: '商品订单' } - } - - ] - }, - { - path: 'statisticsGoods', - name: 'StatisticsGoods', - meta: { title: '商品统计' }, - component: ParentView, - redirect: 'statisticsGoods/index', - children: [ - { - path: 'statisticsGoods', - name: 'StatisticsGoods', - component: () => import('@/views/threeGoodsManage/statisticsGoods/index.vue'), - meta: { title: '商品统计' } - } - - ] - }, - - { - path: 'classificationGoods', - name: 'ClassificationGoods', - meta: { title: '分类维护' }, - component: ParentView, - redirect: 'classificationGoods/index', - children: [ - { - path: 'classificationGoods', - name: 'ClassificationGoods', - component: () => import('@/views/threeGoodsManage/classificationGoods/index.vue'), - meta: { title: '分类维护' } - } - - ] - }, - { - path: 'sourceChannel', - name: 'SourceChannel', - meta: { title: '渠道维护' }, - component: ParentView, - redirect: 'sourceChannel/index', - children: [ - { - path: 'sourceChannel', - name: 'SourceChannel', - component: () => import('@/views/threeGoodsManage/sourceChannel/index.vue'), - meta: { title: '渠道维护' } - } - - ] } - ] + }, + // { + // path: '/threeGoodsManage', + // component: Layout, + // name: 'ThreeGoodsManage', + // meta: { title: '三方商品管理', icon: 'goods', icon1: 'goodsSel' }, + // children: [ + // { + // path: 'directGoods', + // name: 'DirectGoods', + // meta: { title: '直供商品' }, + // component: ParentView, + // redirect: 'directGoods/index', + // children: [ + // { + // path: 'directGoods', + // name: 'DirectGoods', + // component: () => import('@/views/threeGoodsManage/directGoods/index.vue'), + // meta: { title: '直供商品' } + // } + + // ] + // }, + // { + // path: 'threeGoodsList', + // name: 'ThreeGoodsList', + // meta: { title: '商品列表' }, + // component: ParentView, + // redirect: 'threeGoodsList/index', + // children: [ + // { + // path: 'threeGoodsList', + // name: 'ThreeGoodsList', + // component: () => import('@/views/threeGoodsManage/threeGoodsList/index.vue'), + // meta: { title: '商品列表' } + // } + + // ] + // }, + // { + // path: 'orderGoods', + // name: 'OrderGoods', + // meta: { title: '商品订单' }, + // component: ParentView, + // redirect: 'orderGoods/index', + // children: [ + // { + // path: 'orderGoods', + // name: 'OrderGoods', + // component: () => import('@/views/threeGoodsManage/orderGoods/index.vue'), + // meta: { title: '商品订单' } + // } + + // ] + // }, + // { + // path: 'statisticsGoods', + // name: 'StatisticsGoods', + // meta: { title: '商品统计' }, + // component: ParentView, + // redirect: 'statisticsGoods/index', + // children: [ + // { + // path: 'statisticsGoods', + // name: 'StatisticsGoods', + // component: () => import('@/views/threeGoodsManage/statisticsGoods/index.vue'), + // meta: { title: '商品统计' } + // } + + // ] + // }, + + // { + // path: 'classificationGoods', + // name: 'ClassificationGoods', + // meta: { title: '分类维护' }, + // component: ParentView, + // redirect: 'classificationGoods/index', + // children: [ + // { + // path: 'classificationGoods', + // name: 'ClassificationGoods', + // component: () => import('@/views/threeGoodsManage/classificationGoods/index.vue'), + // meta: { title: '分类维护' } + // } + + // ] + // }, + // { + // path: 'sourceChannel', + // name: 'SourceChannel', + // meta: { title: '渠道维护' }, + // component: ParentView, + // redirect: 'sourceChannel/index', + // children: [ + // { + // path: 'sourceChannel', + // name: 'SourceChannel', + // component: () => import('@/views/threeGoodsManage/sourceChannel/index.vue'), + // meta: { title: '渠道维护' } + // } + + // ] + // } + + // ] + // }, { path: '/logistics', component: Layout, @@ -1263,7 +1262,7 @@ export const constantRoutes = [ component: () => import('@/views/logistics/commodity/ckspdd'), meta: { title: '查看商品订单' }, hidden: true - }, + } ] }, @@ -1315,7 +1314,7 @@ export const constantRoutes = [ path: 'spInvoicing', name: 'SpInvoicing', component: () => import('@/views/logistics/spInvoicing/index'), - meta: { title: '订单开票' }, + meta: { title: '订单开票' } } ] }, @@ -1429,7 +1428,7 @@ export const constantRoutes = [ path: 'onSiteConfig', name: 'OnSiteConfig', component: () => import('@/views/announcement/onSiteConfig/index'), - meta: { title: '站内信配置' }, + meta: { title: '站内信配置' } }, { path: 'fbZxqc', @@ -1572,7 +1571,7 @@ export const constantRoutes = [ { path: 'balanceSummary', name: 'BalanceSummary', - meta: { title: "余额汇总" }, + meta: { title: '余额汇总' }, component: ParentView, redirect: 'balanceSummary/index', children: [ @@ -1580,13 +1579,13 @@ export const constantRoutes = [ path: 'balanceSummary', name: 'BalanceSummary', component: () => import('@/views/financial/balanceSummary/index'), - meta: { title: "余额汇总" } + meta: { title: '余额汇总' } }, { path: 'detailSummary', name: 'DetailSummary', component: () => import('@/views/financial/balanceSummary/detail'), - meta: { title: "余额汇总详情" }, + meta: { title: '余额汇总详情' }, hidden: true } @@ -1595,7 +1594,7 @@ export const constantRoutes = [ { path: 'balanceSummaryTotal', name: 'BalanceSummaryTotal', - meta: { title: "余额汇总统计" }, + meta: { title: '余额汇总统计' }, component: ParentView, redirect: 'balanceSummaryTotal/index', children: [ @@ -1603,9 +1602,8 @@ export const constantRoutes = [ path: 'balanceSummaryTotal', name: 'BalanceSummaryTotal', component: () => import('@/views/financial/balanceSummaryTotal/index'), - meta: { title: "余额汇总统计" } - }, - + meta: { title: '余额汇总统计' } + } ] }, @@ -1613,8 +1611,8 @@ export const constantRoutes = [ path: 'technologyTtansaction', name: 'TechnologyTtansaction', component: () => import('@/views/financial/technologyTtansaction/index'), - meta: { title: "生态科技舱交易流水" }, - }, + meta: { title: '生态科技舱交易流水' } + } ] }, { @@ -1857,15 +1855,15 @@ export const constantRoutes = [ path: 'agreementWhitelist', name: 'AgreementWhitelist', component: () => import('@/views/configManage/dealSet/agreementWhitelist'), - meta: { title: "续约白名单" } + meta: { title: '续约白名单' } }, { path: 'transferWhite', name: 'TransferWhite', component: () => import('@/views/configManage/dealSet/transferWhite'), - meta: { title: "转账账户白名单" } - }, - + meta: { title: '转账账户白名单' } + } + ] }, { @@ -2269,15 +2267,15 @@ export const constantRoutes = [ path: 'memberControl', name: 'MemberControl', component: () => import('@/views/configManage/memberControl/index'), - meta: { title: '会员控制' }, + meta: { title: '会员控制' } }, { path: 'serviceNumber', name: 'ServiceNumber', component: () => import('@/views/configManage/serviceNumber/index'), - meta: { title: '服务编号配置' }, - }, - + meta: { title: '服务编号配置' } + } + ] }, { @@ -2511,7 +2509,7 @@ export const constantRoutes = [ name: 'LotteryDetailsListSign', component: () => import('@/views/marketing/lotteryDetails/onlineSign'), meta: { title: '抽奖明细' }, - hidden:true + hidden: true } ] @@ -2796,7 +2794,7 @@ export const constantRoutes = [ name: 'EquitygiftDataList', component: () => import('@/views/marketing/equitygiftData/index'), meta: { title: '权益赠送数据' } - }, + } ] }, { @@ -2853,7 +2851,6 @@ export const constantRoutes = [ ] } - ] }, // 统计分析 @@ -2888,7 +2885,7 @@ export const constantRoutes = [ component: () => import('@/views/statistics/underDirectAddNew'), meta: { title: '伞下直推新増业绩(新)' } }, - + { path: 'underBalance', name: 'UnderBalance', @@ -2954,45 +2951,45 @@ export const constantRoutes = [ path: 'reportSummary', name: 'ReportSummary', component: () => import('@/views/statistics/reportSummary'), - meta: { title: '报单汇总' }, + meta: { title: '报单汇总' } }, { path: 'directStatistics', name: 'DirectStatistics', component: () => import('@/views/statistics/directStatistics'), - meta: { title: '直推统计' }, + meta: { title: '直推统计' } }, { path: 'incomeDetail', name: 'IncomeDetail', component: () => import('@/views/statistics/incomeDetail'), - meta: { title: '收入明细' }, + meta: { title: '收入明细' } }, { path: 'memOrderStatistics', name: 'MemOrderStatistics', component: () => import('@/views/statistics/memOrderStatistics'), - meta: { title: '会员订单分布统计' }, + meta: { title: '会员订单分布统计' } }, { path: 'productDetailQuery', name: 'ProductDetailQuery', component: () => import('@/views/statistics/productDetailQuery'), - meta: { title: '产品明细查询' }, + meta: { title: '产品明细查询' } }, { path: 'umbrellaBloodline', name: 'UmbrellaBloodline', component: () => import('@/views/statistics/umbrellaBloodline'), - meta: { title: '伞下血缘去重' }, + meta: { title: '伞下血缘去重' } }, { path: 'umbrellaBloodlineNew', name: 'UmbrellaBloodlineNew', component: () => import('@/views/statistics/umbrellaBloodlineNew'), - meta: { title: "伞下血缘去重(新)" }, + meta: { title: '伞下血缘去重(新)' } }, - + // { // path: 'lcDataReport', // name: 'LcDataReport', @@ -3028,9 +3025,9 @@ export const constantRoutes = [ path: 'newLc', name: 'NewLc', component: () => import('@/views/statistics/lcDataReport/newLc'), - meta: { title: "新联创" }, + meta: { title: '新联创' }, hidden: true - }, + } ] }, { @@ -3073,19 +3070,19 @@ export const constantRoutes = [ path: 'awardPromotion', name: 'AwardPromotion', component: () => import('@/views/statistics/awardPromotion'), - meta: { title: "奖衔晋升查询" }, + meta: { title: '奖衔晋升查询' } }, { path: 'personalRepurchaseSta', name: 'PersonalRepurchaseSta', component: () => import('@/views/statistics/personalRepurchaseSta'), - meta: { title: "个人复购统计" }, + meta: { title: '个人复购统计' } }, { path: 'placementPVSta', name: 'PlacementPVSta', component: () => import('@/views/statistics/placementPVSta'), - meta: { title: "安置业绩统计" }, + meta: { title: '安置业绩统计' } }, { path: 'underDirectProduct', @@ -3103,78 +3100,78 @@ export const constantRoutes = [ path: 'underDirectProductDetails', name: 'UnderDirectProductDetails', component: () => import('@/views/statistics/underDirectProduct/details'), - meta: { title:'伞下直推产品明细' }, + meta: { title: '伞下直推产品明细' }, hidden: true }, { path: 'underDirectProductToTal', name: 'UnderDirectProductToTal', component: () => import('@/views/statistics/underDirectProduct/total'), - meta: { title:'伞下直推产品汇总' }, + meta: { title: '伞下直推产品汇总' }, hidden: true - }, + } ] }, { path: 'userConsumpionSta', name: 'UserConsumpionSta', component: () => import('@/views/statistics/userConsumpionSta'), - meta: { title: "用户消费统计" }, + meta: { title: '用户消费统计' } }, { path: 'comNewlyAddPV', name: 'ComNewlyAddPV', component: () => import('@/views/statistics/comNewlyAddPV'), - meta: { title: "小区新增业绩统计" }, + meta: { title: '小区新增业绩统计' } }, { path: 'memberRegistered', name: 'MemberRegistered', component: () => import('@/views/statistics/memberRegistered'), - meta: { title: "会员户籍数据查询" }, + meta: { title: '会员户籍数据查询' } }, { path: 'umbrellaWalletDetail', name: 'UmbrellaWalletDetail', component: () => import('@/views/statistics/umbrellaWalletDetail'), - meta: { title: "伞下钱包明细" }, + meta: { title: '伞下钱包明细' } }, { path: 'regionalPerformance', name: 'RegionalPerformance', component: () => import('@/views/statistics/regionalPerformance'), - meta: { title: "地区业绩统计" }, + meta: { title: '地区业绩统计' } }, { path: 'goodsSaleTotal', name: 'GoodsSaleTotal', component: () => import('@/views/statistics/goodsSaleTotal'), - meta: { title: "单品销量统计" }, + meta: { title: '单品销量统计' } }, { path: 'systemPerformance', name: 'SegionalPerformance', component: () => import('@/views/statistics/systemPerformance'), - meta: { title: "系统业绩统计" }, + meta: { title: '系统业绩统计' } }, { path: 'monthlyRank', name: 'MonthlyRank', component: () => import('@/views/statistics/monthlyRank'), - meta: { title: "月度职级名单查询" }, + meta: { title: '月度职级名单查询' } }, { path: 'productSalesRanking', name: 'ProductSalesRanking', component: () => import('@/views/statistics/productSalesRanking/index'), - meta: { title: "产品销量排行" }, + meta: { title: '产品销量排行' } }, { path: 'goodsAllTotal', name: 'goodsAllTotal', component: () => import('@/views/statistics/goodsAllTotal/index'), - meta: { title: "商品销售统计" }, - }, + meta: { title: '商品销售统计' } + } ] }, { @@ -3411,7 +3408,7 @@ export const constantRoutes = [ { path: 'bindWarehouseConfig', name: 'BindWarehouseConfig', - meta: { title: "产品绑定仓库配置" }, + meta: { title: '产品绑定仓库配置' }, component: () => import('@/views/system/bindWarehouseConfig/index') }, // { @@ -3502,7 +3499,7 @@ export const constantRoutes = [ name: 'WarnSet', meta: { title: '预警配置' }, component: () => import('@/views/system/warnSet/index') - }, + } ] }, @@ -3645,127 +3642,127 @@ export const constantRoutes = [ } ] }, - { - path: '/equipmentManage', - name: 'EquipmentManage', - meta: { title: "设备管理", icon: 'xt', icon1: 'xtSel' }, - component: Layout, - children: [ - { - path: 'devices', - name: 'Devices', - meta: { title: "设备列表" }, - component: ParentView, - redirect: 'devices/index', - children: [ - { - path: 'devices', - name: 'Devices', - component: () => import('@/views/equipmentManage/devices/index'), - meta: { title: "设备列表" } - }, - { - path: 'purchases', - name: 'Purchases', - component: () => import('@/views/equipmentManage/devices/purchases'), - meta: { title: "购买次数" }, - hidden: true - }, + // { + // path: '/equipmentManage', + // name: 'EquipmentManage', + // meta: { title: '设备管理', icon: 'xt', icon1: 'xtSel' }, + // component: Layout, + // children: [ + // { + // path: 'devices', + // name: 'Devices', + // meta: { title: '设备列表' }, + // component: ParentView, + // redirect: 'devices/index', + // children: [ + // { + // path: 'devices', + // name: 'Devices', + // component: () => import('@/views/equipmentManage/devices/index'), + // meta: { title: '设备列表' } + // }, + // { + // path: 'purchases', + // name: 'Purchases', + // component: () => import('@/views/equipmentManage/devices/purchases'), + // meta: { title: '购买次数' }, + // hidden: true + // }, - { - path: 'devicesDetail', - name: 'DevicesDetail', - component: () => import('@/views/equipmentManage/devices/devicesDetail'), - meta: { title: "设备列表详情" }, - hidden: true - }, - { - path: 'purchaseDetail', - name: 'PurchaseDetail', - component: () => import('@/views/equipmentManage/devices/purchaseDetail'), - meta: { title: "购买次数详情" }, - hidden: true - }, - { - path: 'bindDevices', - name: 'BindDevices', - component: () => import('@/views/equipmentManage/devices/bindDevices'), - meta: { title: "设备绑定" }, - hidden: true - }, - ] - }, - { - path: 'equipmentBanner', - name: 'EquipmentBanner', - meta: { title: "Banner" }, - component: ParentView, - redirect: 'equipmentBanner/index', - children: [ - { - path: 'equipmentBanner', - name: 'EquipmentBanner', - component: () => import('@/views/equipmentManage/equipmentBanner/index'), - meta: { title: "Banner" } - } - ] - }, - { - path: 'equipmentProduct', - name: 'EquipmentProduct', - meta: { title: "商品配置" }, - component: ParentView, - redirect: 'equipmentProduct/index', - children: [ - { - path: 'equipmentProduct', - name: 'EquipmentProduct', - component: () => import('@/views/equipmentManage/equipmentProduct/index'), - meta: { title: "商品配置" } - }, - { - path: 'addEquProduct', - name: 'AddEquProduct', - component: () => import('@/views/equipmentManage/equipmentProduct/addEquProduct'), - meta: { title: "添加商品配置" }, - hidden: true - } - ] - }, - { - path: 'equipmentPackage', - name: 'EquipmentPackage', - meta: { title: "套餐配置" }, - component: ParentView, - redirect: 'equipmentPackage/index', - children: [ - { - path: 'equipmentPackage', - name: 'EquipmentPackage', - component: () => import('@/views/equipmentManage/equipmentPackage/index'), - meta: { title: "套餐配置" } - }, - { - path: 'addPackage', - name: 'AddPackage', - component: () => import('@/views/equipmentManage/equipmentPackage/addPackage'), - meta: { title: "添加套餐配置" }, - hidden: true - } - ] - }, - ] - }, + // { + // path: 'devicesDetail', + // name: 'DevicesDetail', + // component: () => import('@/views/equipmentManage/devices/devicesDetail'), + // meta: { title: '设备列表详情' }, + // hidden: true + // }, + // { + // path: 'purchaseDetail', + // name: 'PurchaseDetail', + // component: () => import('@/views/equipmentManage/devices/purchaseDetail'), + // meta: { title: '购买次数详情' }, + // hidden: true + // }, + // { + // path: 'bindDevices', + // name: 'BindDevices', + // component: () => import('@/views/equipmentManage/devices/bindDevices'), + // meta: { title: '设备绑定' }, + // hidden: true + // } + // ] + // }, + // { + // path: 'equipmentBanner', + // name: 'EquipmentBanner', + // meta: { title: 'Banner' }, + // component: ParentView, + // redirect: 'equipmentBanner/index', + // children: [ + // { + // path: 'equipmentBanner', + // name: 'EquipmentBanner', + // component: () => import('@/views/equipmentManage/equipmentBanner/index'), + // meta: { title: 'Banner' } + // } + // ] + // }, + // { + // path: 'equipmentProduct', + // name: 'EquipmentProduct', + // meta: { title: '商品配置' }, + // component: ParentView, + // redirect: 'equipmentProduct/index', + // children: [ + // { + // path: 'equipmentProduct', + // name: 'EquipmentProduct', + // component: () => import('@/views/equipmentManage/equipmentProduct/index'), + // meta: { title: '商品配置' } + // }, + // { + // path: 'addEquProduct', + // name: 'AddEquProduct', + // component: () => import('@/views/equipmentManage/equipmentProduct/addEquProduct'), + // meta: { title: '添加商品配置' }, + // hidden: true + // } + // ] + // }, + // { + // path: 'equipmentPackage', + // name: 'EquipmentPackage', + // meta: { title: '套餐配置' }, + // component: ParentView, + // redirect: 'equipmentPackage/index', + // children: [ + // { + // path: 'equipmentPackage', + // name: 'EquipmentPackage', + // component: () => import('@/views/equipmentManage/equipmentPackage/index'), + // meta: { title: '套餐配置' } + // }, + // { + // path: 'addPackage', + // name: 'AddPackage', + // component: () => import('@/views/equipmentManage/equipmentPackage/addPackage'), + // meta: { title: '添加套餐配置' }, + // hidden: true + // } + // ] + // } + // ] + // }, { path: '/supplyChain', name: 'SupplyChain', - meta: { title: "供应链", icon: 'xt', icon1: 'xtSel' }, + meta: { title: '供应链', icon: 'xt', icon1: 'xtSel' }, component: Layout, children: [ { path: 'orderManage', name: 'OrderManage', - meta: { title: "订单管理" }, + meta: { title: '订单管理' }, component: ParentView, redirect: '/procureOrder/index', alwaysShow: true, @@ -3774,65 +3771,65 @@ export const constantRoutes = [ path: 'procureOrder', name: 'ProcureOrder', component: () => import('@/views/supplyChain/orderManage/procureOrder/index'), - meta: { title: "采购订单" } + meta: { title: '采购订单' } }, { path: 'procureOrderDetails', name: 'procureOrderDetails', component: () => import('@/views/supplyChain/orderManage/procureOrder/details'), - meta: { title: "采购订单详情" } + meta: { title: '采购订单详情' } }, { path: 'procureOrderZxqc', name: 'procureOrderZxqc', component: () => import('@/views/supplyChain/orderManage/procureOrder/onlineSign'), - meta: { title: "采购订单在线签呈" } + meta: { title: '采购订单在线签呈' } }, { path: 'inOrOut', name: 'InOrOut', component: () => import('@/views/supplyChain/orderManage/inOrOut/index'), - meta: { title: "调拨订单" }, + meta: { title: '调拨订单' } }, { path: 'inOrOutDetails', name: 'inOrOutDetails', component: () => import('@/views/supplyChain/orderManage/inOrOut/details'), - meta: { title: "调拨订单详情" } + meta: { title: '调拨订单详情' } }, { path: 'inOrOutZxqc', name: 'inOrOutZxqc', component: () => import('@/views/supplyChain/orderManage/inOrOut/onlineSign'), - meta: { title: "调拨订单在线签呈" } + meta: { title: '调拨订单在线签呈' } }, { path: 'businessUse', name: 'BusinessUse', component: () => import('@/views/supplyChain/inventoryManage/businessUse/index'), - meta: { title: "业务领用" }, + meta: { title: '业务领用' }, hidden: true }, { path: 'businessUseDetails', name: 'BusinessUseDetails', component: () => import('@/views/supplyChain/inventoryManage/businessUse/details'), - meta: { title: "详情" }, + meta: { title: '详情' }, hidden: true }, { path: 'businessUseOnline', name: 'BusinessUseOnline', component: () => import('@/views/supplyChain/inventoryManage/businessUse/onlineSign'), - meta: { title: "在线签呈" }, + meta: { title: '在线签呈' }, hidden: true - }, + } ] }, { path: 'inventoryManage', name: 'InventoryManage', - meta: { title: "库存管理" }, + meta: { title: '库存管理' }, component: ParentView, alwaysShow: true, children: [ @@ -3840,191 +3837,191 @@ export const constantRoutes = [ path: 'procureIn', name: 'ProcureIn', component: () => import('@/views/supplyChain/inventoryManage/procureIn/index'), - meta: { title: "采购入库" } + meta: { title: '采购入库' } }, { path: 'procureInDetails', name: 'procureInDetails', component: () => import('@/views/supplyChain/inventoryManage/procureIn/details'), - meta: { title: "详情" } + meta: { title: '详情' } }, { path: 'procureInZxqc', name: 'procureInZxqc', component: () => import('@/views/supplyChain/inventoryManage/procureIn/onlineSign'), - meta: { title: "采购入库在线签呈" } + meta: { title: '采购入库在线签呈' } }, { path: 'saleOut', name: 'SaleOut', component: () => import('@/views/supplyChain/inventoryManage/saleOut/index'), - meta: { title: "销售出库" }, + meta: { title: '销售出库' } }, { path: 'procureBack', name: 'ProcureBack', component: () => import('@/views/supplyChain/inventoryManage/procureBack/index'), - meta: { title: "采购退货单" }, + meta: { title: '采购退货单' } }, { path: 'procureBackZxqc', name: 'ProcureBackZxqc', component: () => import('@/views/supplyChain/inventoryManage/procureBack/onlineSign'), - meta: { title: "采购退货单在线签呈" }, + meta: { title: '采购退货单在线签呈' } }, { path: 'saleBack', name: 'SaleBack', component: () => import('@/views/supplyChain/inventoryManage/saleBack/index'), - meta: { title: "销售退货单" }, + meta: { title: '销售退货单' } }, { path: 'saleBackZxqc', name: 'SaleBackZxqc', component: () => import('@/views/supplyChain/inventoryManage/saleBack/onlineSign'), - meta: { title: "销售退货单在线签呈" }, + meta: { title: '销售退货单在线签呈' } }, { path: 'inOutOut', name: 'InOutOut', component: () => import('@/views/supplyChain/inventoryManage/inOutOut/index'), - meta: { title: "调拨出库" }, + meta: { title: '调拨出库' } }, { path: 'inOutOutDetails', name: 'inOutOutDetails', component: () => import('@/views/supplyChain/inventoryManage/inOutOut/details'), - meta: { title: "详情" } + meta: { title: '详情' } }, { path: 'inOutOutZxqc', name: 'inOutOutZxqc', component: () => import('@/views/supplyChain/inventoryManage/inOutOut/onlineSign'), - meta: { title: "调拨出库在线签呈" } + meta: { title: '调拨出库在线签呈' } }, { path: 'inOutIn', name: 'InOutIn', component: () => import('@/views/supplyChain/inventoryManage/inOutIn/index'), - meta: { title: "调拨入库" } + meta: { title: '调拨入库' } }, { path: 'inOutInDetails', name: 'inOutInDetails', component: () => import('@/views/supplyChain/inventoryManage/inOutIn/details'), - meta: { title: "详情" } + meta: { title: '详情' } }, { path: 'inOutInZxqc', name: 'inOutInZxqc', component: () => import('@/views/supplyChain/inventoryManage/inOutIn/onlineSign'), - meta: { title: "调拨入库在线签呈" } + meta: { title: '调拨入库在线签呈' } }, { path: 'inventoryCount', name: 'InventoryCount', component: () => import('@/views/supplyChain/inventoryManage/inventoryCount/index'), - meta: { title: "库存盘点" } + meta: { title: '库存盘点' } }, { path: 'inCountDetails', name: 'inCountDetails', component: () => import('@/views/supplyChain/inventoryManage/inventoryCount/details'), - meta: { title: "库存盘点详情" } + meta: { title: '库存盘点详情' } }, { path: 'inCountZxqc', name: 'inCountZxqc', component: () => import('@/views/supplyChain/inventoryManage/inventoryCount/onlineSign'), - meta: { title: "库存盘点在线签呈" } + meta: { title: '库存盘点在线签呈' } }, { path: 'availableQuantity', name: 'AvailableQuantity', component: () => import('@/views/supplyChain/inventoryManage/availableQuantity/index'), - meta: { title: "可用量" }, + meta: { title: '可用量' } }, { path: 'updateAvailableQuantity', name: 'UpdateAvailableQuantity', component: () => import('@/views/supplyChain/inventoryManage/availableQuantity/update'), - meta: { title: "可用量" }, + meta: { title: '可用量' }, hidden: true }, { path: 'quantityOnhand', name: 'QuantityOnhand', component: () => import('@/views/supplyChain/inventoryManage/quantityOnhand/index'), - meta: { title: "现存量" }, + meta: { title: '现存量' } }, { path: 'quantityOnhandDetail', name: 'QuantityOnhandDetail', component: () => import('@/views/supplyChain/inventoryManage/quantityOnhand/detail'), - meta: { title: "现存量详情" }, + meta: { title: '现存量详情' }, hidden: true }, { path: 'otherWarehousing', name: 'OtherWarehousing', component: () => import('@/views/supplyChain/inventoryManage/otherWarehousing/index'), - meta: { title: "其他入库" }, + meta: { title: '其他入库' } }, { path: 'otherWarehousingadd', name: 'OtherWarehousingAdd', component: () => import('@/views/supplyChain/inventoryManage/otherWarehousing/addrow.vue'), - meta: { title: "其他入库" }, + meta: { title: '其他入库' }, hidden: true }, { path: 'otherWarehousingOnline', name: 'OtherWarehousingOnline', component: () => import('@/views/supplyChain/inventoryManage/otherWarehousing/onlineSign.vue'), - meta: { title: "其他入库签呈" }, + meta: { title: '其他入库签呈' }, hidden: true }, { path: 'otherOutbound', name: 'OtherOutbound', component: () => import('@/views/supplyChain/inventoryManage/otherOutbound/index'), - meta: { title: "其他出库" }, + meta: { title: '其他出库' } }, { path: 'otherOutboundadd', name: 'OtherOutboundAdd', component: () => import('@/views/supplyChain/inventoryManage/otherOutbound/addrow.vue'), - meta: { title: "其他出库" }, + meta: { title: '其他出库' }, hidden: true }, { path: 'otherOutboundOnline', name: 'OtherOutboundOnline', component: () => import('@/views/supplyChain/inventoryManage/otherOutbound/onlineSign.vue'), - meta: { title: "其他出库签呈" }, + meta: { title: '其他出库签呈' }, hidden: true }, { path: 'batchNumberManage', name: 'BatchNumberManage', component: () => import('@/views/supplyChain/inventoryManage/batchNumberManage/index'), - meta: { title: "批次号管理" }, + meta: { title: '批次号管理' } }, { path: 'batchNumberManageAdd', name: 'BatchNumberManageAdd', component: () => import('@/views/supplyChain/inventoryManage/batchNumberManage/addRow'), - meta: { title: "批次号管理" }, + meta: { title: '批次号管理' }, hidden: true - }, + } ] }, { path: 'supplyChainAnalysis', name: 'SupplyChainAnalysis', - meta: { title: "统计分析" }, + meta: { title: '统计分析' }, component: ParentView, redirect: '/supplyChainAnalysis/index', alwaysShow: true, @@ -4033,66 +4030,66 @@ export const constantRoutes = [ path: 'procureInAnalysis', name: 'ProcureInAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/procureInAnalysis/index'), - meta: { title: "采购入库" } + meta: { title: '采购入库' } }, { path: 'inOutInAnalysis', name: 'InOutInAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/inOutInAnalysis/index'), - meta: { title: "调拨入库" } + meta: { title: '调拨入库' } }, { path: 'otherWarehousingAnalysis', name: 'OtherWarehousingAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/otherWarehousingAnalysis/index'), - meta: { title: "其他入库" } + meta: { title: '其他入库' } }, { path: 'otherOutboundAnalysis', name: 'OtherOutboundAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/otherOutboundAnalysis/index'), - meta: { title: "其他出库" } + meta: { title: '其他出库' } }, { path: 'saleOutAnalysis', name: 'SaleOutAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/saleOutAnalysis/index'), - meta: { title: "销售出库" } + meta: { title: '销售出库' } }, { path: 'procureBackOrder', name: 'ProcureBackOrder', component: () => import('@/views/supplyChain/supplyChainAnalysis/procureBackOrder/index'), - meta: { title: "采购退货" } + meta: { title: '采购退货' } }, { path: 'saleBackOrder', name: 'SaleBackOrder', component: () => import('@/views/supplyChain/supplyChainAnalysis/saleBackOrder/index'), - meta: { title: "销售退货" } - }, + meta: { title: '销售退货' } + } ] }, { path: 'shippingLog', name: 'ShippingLog', component: () => import('@/views/supplyChain/shippingLog/index'), - meta: { title: "发货日志" }, + meta: { title: '发货日志' }, hidden: true - }, + } ] }, { path: '/supplierManaged', name: 'SupplierManaged', alwaysShow: true, - meta: { title: '中台',icon: 'info', icon1: 'infoSel' }, + meta: { title: '中台', icon: 'info', icon1: 'infoSel' }, component: Layout, children: [ { path: 'supplierManage', name: 'SupplierManage', - meta: { title: "供应商管理" }, + meta: { title: '供应商管理' }, component: ParentView, alwaysShow: true, children: [ @@ -4163,13 +4160,13 @@ export const constantRoutes = [ name: 'SupplyPost', component: () => import('@/views/supplierManage/supplyPost/index'), meta: { title: '供应商邮费配置' } - }, + } ] }, { path: 'supplierTotal', name: 'SupplierTotal', - meta: { title: "供应商统计" }, + meta: { title: '供应商统计' }, component: ParentView, alwaysShow: true, children: [ @@ -4178,93 +4175,93 @@ export const constantRoutes = [ name: 'SupplierProduct', component: () => import('@/views/supplierManage/supplierProduct/index'), meta: { title: '供应商产品统计' } - }, - ] - }, - ] - }, - { - path: '/shopManage', - name: 'shopManage', - alwaysShow: true, - meta: { title: '店务管理',icon: 'info', icon1: 'infoSel' }, - component: Layout, - children: [ - { - path: 'shopConfig', - name: 'shopConfig', - meta: { title: "店务配置" }, - component: ParentView, - alwaysShow: true, - children: [ - { - path: 'shopSysConfig', - name: 'shopSysConfig', - component: () => import('@/views/shopManage/shopConfig/shopSysConfig/index'), - meta: { title: '参数配置' } - }, - { - path: 'shopNotice', - name: 'shopNotice', - component: () => import('@/views/shopManage/shopConfig/shopNotice/index'), - meta: { title: '公告管理' } - }, - { - path: 'vipCardSet', - name: 'vipCardSet', - component: () => import('@/views/shopManage/shopConfig/vipCardSet/index'), - meta: { title: '会员卡配置' } - }, - { - path: 'bannerSet', - name: 'bannerSet', - component: () => import('@/views/shopManage/shopConfig/bannerSet/index'), - meta: { title: 'banner维护' } - }, - ] - }, - { - path: 'shopInfoManaged', - name: 'shopInfoManaged', - meta: { title: "店务信息管理" }, - component: ParentView, - alwaysShow: true, - children: [ - { - path: 'shopInfoVip', - name: 'shopInfoVip', - component: () => import('@/views/shopManage/shopInfoManaged/shopInfoVip/index'), - meta: { title: '店务会员' } - }, - { - path: 'shopToManage', - name: 'shopToManage', - component: () => import('@/views/shopManage/shopInfoManaged/shopToManage/index'), - meta: { title: '店铺管理' } - }, - { - path: 'shopMemberInfo', - name: 'shopMemberInfo', - component: () => import('@/views/shopManage/shopInfoManaged/shopMemberInfo/index'), - meta: { title: '门店发起人数据' } - }, - { - path: 'shopUpdata', - name: 'shopUpdata', - component: () => import('@/views/shopManage/shopInfoManaged/shopUpdata/index'), - meta: { title: '门店升级改造' } - }, - { - path: 'experienceCardData', - name: 'ExperienceCardData', - component: () => import('@/views/shopManage/shopInfoManaged/experienceCardData/index'), - meta: { title: '体验卡数据' } - }, + } ] } ] }, // { + // path: '/shopManage', + // name: 'shopManage', + // alwaysShow: true, + // meta: { title: '店务管理', icon: 'info', icon1: 'infoSel' }, + // component: Layout, + // children: [ + // { + // path: 'shopConfig', + // name: 'shopConfig', + // meta: { title: '店务配置' }, + // component: ParentView, + // alwaysShow: true, + // children: [ + // { + // path: 'shopSysConfig', + // name: 'shopSysConfig', + // component: () => import('@/views/shopManage/shopConfig/shopSysConfig/index'), + // meta: { title: '参数配置' } + // }, + // { + // path: 'shopNotice', + // name: 'shopNotice', + // component: () => import('@/views/shopManage/shopConfig/shopNotice/index'), + // meta: { title: '公告管理' } + // }, + // { + // path: 'vipCardSet', + // name: 'vipCardSet', + // component: () => import('@/views/shopManage/shopConfig/vipCardSet/index'), + // meta: { title: '会员卡配置' } + // }, + // { + // path: 'bannerSet', + // name: 'bannerSet', + // component: () => import('@/views/shopManage/shopConfig/bannerSet/index'), + // meta: { title: 'banner维护' } + // } + // ] + // }, + // { + // path: 'shopInfoManaged', + // name: 'shopInfoManaged', + // meta: { title: '店务信息管理' }, + // component: ParentView, + // alwaysShow: true, + // children: [ + // { + // path: 'shopInfoVip', + // name: 'shopInfoVip', + // component: () => import('@/views/shopManage/shopInfoManaged/shopInfoVip/index'), + // meta: { title: '店务会员' } + // }, + // { + // path: 'shopToManage', + // name: 'shopToManage', + // component: () => import('@/views/shopManage/shopInfoManaged/shopToManage/index'), + // meta: { title: '店铺管理' } + // }, + // { + // path: 'shopMemberInfo', + // name: 'shopMemberInfo', + // component: () => import('@/views/shopManage/shopInfoManaged/shopMemberInfo/index'), + // meta: { title: '门店发起人数据' } + // }, + // { + // path: 'shopUpdata', + // name: 'shopUpdata', + // component: () => import('@/views/shopManage/shopInfoManaged/shopUpdata/index'), + // meta: { title: '门店升级改造' } + // }, + // { + // path: 'experienceCardData', + // name: 'ExperienceCardData', + // component: () => import('@/views/shopManage/shopInfoManaged/experienceCardData/index'), + // meta: { title: '体验卡数据' } + // } + // ] + // } + // ] + // }, + // { // path: 'external-link', // component: Layout, // children: [ diff --git a/src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue b/src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue index 2df6f9f..babbd95 100644 --- a/src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue +++ b/src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue @@ -7,37 +7,49 @@