Commit f0e7cf87 authored by v_liuhuaizhi's avatar v_liuhuaizhi

init--pet-finance-web

parent 911c5264
...@@ -12,7 +12,6 @@ const whiteList = ['/login', '/register', '/privacy-policy'] ...@@ -12,7 +12,6 @@ const whiteList = ['/login', '/register', '/privacy-policy']
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
NProgress.start() NProgress.start()
debugger;
if (getToken()) { if (getToken()) {
to.meta.title && store.dispatch('settings/setTitle', to.meta.title) to.meta.title && store.dispatch('settings/setTitle', to.meta.title)
/* has token*/ /* has token*/
......
...@@ -91,26 +91,20 @@ export const constantRoutes = [ ...@@ -91,26 +91,20 @@ export const constantRoutes = [
}, },
{ {
path:'/customer-management', path: '/financial-management',
name: "Financial-management",
component: Layout, component: Layout,
hidden: true, hidden: true,
permissions: ['*:*:*'], permissions: ['*:*:*'],
children: [ children: [
//设备
{ {
path: 'pet-owner-management', name: 'Revenue-management',
path: 'revenue-management',
props: true, props: true,
permissions: ['*:*:*'], component: () => import('@/views/financial-management/revenue-management/revenue-management'),
component: () => import('@/views/customer-management/pet-owner-management/pet-owner-management'), meta: { title: '收入管理', icon: 'validCode' }
name: 'PetOwnerManagement',
meta: {
title: '宠主管理',
icon: 'dashboard',
activeMenu: '/customer-management/pet-owner-management',
} }
},
] ]
}, },
//行政详情路由 //行政详情路由
{ {
......
<template> <template>
<div>收入管理</div> <div>收入管理--微应用</div>
</template> </template>
<script> <script>
......
...@@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin') ...@@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '萌宠医院信息管理平台' // 网页标题 const name = process.env.VUE_APP_TITLE || '萌宠医院信息管理平台' // 网页标题
const port = 1099 // 端口 const port = 1098 // 端口
// vue.config.js 配置说明 // vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment