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']
router.beforeEach((to, from, next) => {
NProgress.start()
debugger;
if (getToken()) {
to.meta.title && store.dispatch('settings/setTitle', to.meta.title)
/* has token*/
......
......@@ -91,26 +91,20 @@ export const constantRoutes = [
},
{
path:'/customer-management',
path: '/financial-management',
name: "Financial-management",
component: Layout,
hidden: true,
permissions: ['*:*:*'],
children: [
//设备
{
path: 'pet-owner-management',
name: 'Revenue-management',
path: 'revenue-management',
props: true,
permissions: ['*:*:*'],
component: () => import('@/views/customer-management/pet-owner-management/pet-owner-management'),
name: 'PetOwnerManagement',
meta: {
title: '宠主管理',
icon: 'dashboard',
activeMenu: '/customer-management/pet-owner-management',
}
},
component: () => import('@/views/financial-management/revenue-management/revenue-management'),
meta: { title: '收入管理', icon: 'validCode' }
}
]
},
//行政详情路由
{
......
<template>
<div>收入管理</div>
<div>收入管理--微应用</div>
</template>
<script>
......
......@@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '萌宠医院信息管理平台' // 网页标题
const port = 1099 // 端口
const port = 1098 // 端口
// vue.config.js 配置说明
//官方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