Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
山
山西华远大屏
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lichunliang
山西华远大屏
Commits
16ef6413
Commit
16ef6413
authored
Feb 21, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 菜单 顶部栏处理
parent
3d9edc03
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
29 deletions
+16
-29
Navbar.vue
src/layout/components/Navbar.vue
+1
-14
index.js
src/router/index.js
+12
-12
bigscreen.vue
src/views/bigscreen.vue
+1
-1
index.vue
src/views/system/user/profile/index.vue
+2
-2
No files found.
src/layout/components/Navbar.vue
View file @
16ef6413
...
...
@@ -7,22 +7,9 @@
<div
class=
"right-menu"
>
<template
v-if=
"device!=='mobile'"
>
<search
id=
"header-search"
class=
"right-menu-item"
/>
<el-tooltip
content=
"源码地址"
effect=
"dark"
placement=
"bottom"
>
<ruo-yi-git
id=
"ruoyi-git"
class=
"right-menu-item hover-effect"
/>
</el-tooltip>
<el-tooltip
content=
"文档地址"
effect=
"dark"
placement=
"bottom"
>
<ruo-yi-doc
id=
"ruoyi-doc"
class=
"right-menu-item hover-effect"
/>
</el-tooltip>
<!--
<search
id=
"header-search"
class=
"right-menu-item"
/>
-->
<screenfull
id=
"screenfull"
class=
"right-menu-item hover-effect"
/>
<el-tooltip
content=
"布局大小"
effect=
"dark"
placement=
"bottom"
>
<size-select
id=
"size-select"
class=
"right-menu-item hover-effect"
/>
</el-tooltip>
</
template
>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"click"
>
...
...
src/router/index.js
View file @
16ef6413
...
...
@@ -74,18 +74,18 @@ export const constantRoutes = [
// }
// ]
},
{
path
:
'
/home
'
,
component
:
Layout
,
children
:
[
{
path
:
'
index
'
,
component
:
()
=>
import
(
'
@/views/system/user/index
'
),
name
:
'
Home
'
,
meta
:
{
title
:
'
首页
'
,
icon
:
'
dashboard
'
,
affix
:
true
}
}
]
},
//
{
//
path: '/home',
//
component: Layout,
//
children: [
//
{
//
path: 'index',
//
component: () => import('@/views/system/user/index'),
//
name: 'Home',
//
meta: { title: '首页', icon: 'dashboard', affix: true }
//
}
//
]
//
},
{
path
:
'
/user
'
,
component
:
Layout
,
...
...
src/views/bigscreen.vue
View file @
16ef6413
...
...
@@ -144,7 +144,7 @@ export default {
},
methods
:
{
gohome
(){
this
.
$router
.
push
({
path
:
"
/
home/index
"
});
this
.
$router
.
push
({
path
:
"
/
user/profile
"
});
},
getEquipmentNum
()
{
getEquipmentNum
().
then
((
response
)
=>
{
...
...
src/views/system/user/profile/index.vue
View file @
16ef6413
...
...
@@ -23,14 +23,14 @@
<svg-icon
icon-class=
"email"
/>
用户邮箱
<div
class=
"pull-right"
>
{{
user
.
email
}}
</div>
</li>
<li
class=
"list-group-item"
>
<
!--
<
li
class=
"list-group-item"
>
<svg-icon
icon-class=
"tree"
/>
所属部门
<div
class=
"pull-right"
v-if=
"user.dept"
>
{{
user
.
dept
.
deptName
}}
/
{{
postGroup
}}
</div>
</li>
<li
class=
"list-group-item"
>
<svg-icon
icon-class=
"peoples"
/>
所属角色
<div
class=
"pull-right"
>
{{
roleGroup
}}
</div>
</li>
</li>
-->
<li
class=
"list-group-item"
>
<svg-icon
icon-class=
"date"
/>
创建日期
<div
class=
"pull-right"
>
{{
user
.
createTime
}}
</div>
...
...
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