Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-finance-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-finance-web
Commits
f0e7cf87
Commit
f0e7cf87
authored
May 23, 2023
by
v_liuhuaizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init--pet-finance-web
parent
911c5264
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
16 deletions
+9
-16
permission.js
src/permission.js
+0
-1
index.js
src/router/index.js
+7
-13
revenue-management.vue
...cial-management/revenue-management/revenue-management.vue
+1
-1
vue.config.js
vue.config.js
+1
-1
No files found.
src/permission.js
View file @
f0e7cf87
...
...
@@ -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*/
...
...
src/router/index.js
View file @
f0e7cf87
...
...
@@ -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'
}
}
]
},
//行政详情路由
{
...
...
src/views/financial-management/revenue-management/revenue-management.vue
View file @
f0e7cf87
<
template
>
<div>
收入管理
</div>
<div>
收入管理
--微应用
</div>
</
template
>
<
script
>
...
...
vue.config.js
View file @
f0e7cf87
...
...
@@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
const
name
=
process
.
env
.
VUE_APP_TITLE
||
'萌宠医院信息管理平台'
// 网页标题
const
port
=
109
9
// 端口
const
port
=
109
8
// 端口
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment