Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
42744e20
Commit
42744e20
authored
Jun 20, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b068b800
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
23 deletions
+24
-23
header.vue
src/layout/components/header.vue
+23
-23
getters.js
src/store/getters.js
+1
-0
No files found.
src/layout/components/header.vue
View file @
42744e20
...
...
@@ -6,25 +6,25 @@
class=
"hamburger-container"
@
toggleClick=
"toggleSideBar"
/>
<!--
<el-dropdown-->
<!-- class="change-sys"-->
<!-- @command="handleCommand"-->
<!-- >-->
<!--
<span
class=
"el-dropdown-link"
>
-->
<!-- 业务中台
<i
class=
"el-icon-arrow-down el-icon--right"
/>
-->
<!--
</span>
-->
<!--
<el-dropdown-menu-->
<!-- slot="dropdown"-->
<!-- >-->
<!--
<el-dropdown-item-->
<!-- v-for="(item) in appList"-->
<!-- :key="item.businessId"-->
<!-- :command="specialTag !== '1' ? item.pcUrl : ''"-->
<!-- >-->
<!--
{{
item
.
system
}}
-->
<!--
</el-dropdown-item>
-->
<!--
</el-dropdown-menu>
-->
<!--
</el-dropdown>
-->
<!--
<el-dropdown-->
<!-- class="change-sys"-->
<!-- @command="handleCommand"-->
<!-- >-->
<!--
<span
class=
"el-dropdown-link"
>
-->
<!-- 业务中台
<i
class=
"el-icon-arrow-down el-icon--right"
/>
-->
<!--
</span>
-->
<!--
<el-dropdown-menu-->
<!-- slot="dropdown"-->
<!-- >-->
<!--
<el-dropdown-item-->
<!-- v-for="(item) in appList"-->
<!-- :key="item.businessId"-->
<!-- :command="specialTag !== '1' ? item.pcUrl : ''"-->
<!-- >-->
<!--
{{
item
.
system
}}
-->
<!--
</el-dropdown-item>
-->
<!--
</el-dropdown-menu>
-->
<!--
</el-dropdown>
-->
<span
style=
"padding-left: 10px; color: white;"
>
Manufacturing Execution System
</span>
</div>
<div
class=
"right-menu"
>
...
...
@@ -42,7 +42,7 @@
</span>
<el-dropdown
class=
"avatar-container"
trigger=
"click"
>
<div
class=
"avatar-wrapper"
>
<!--
<img
:src=
"avatar"
class=
"user-avatar"
>
-->
<!--
<img
:src=
"avatar"
class=
"user-avatar"
>
-->
<i
class=
"el-icon-caret-bottom"
/>
</div>
<el-dropdown-menu
slot=
"dropdown"
class=
"user-dropdown"
>
...
...
@@ -65,6 +65,9 @@ import { mapGetters } from 'vuex'
import
{
queryInAdhibitions
}
from
'@/api/internal.js'
import
Hamburger
from
'@/components/Hamburger'
export
default
{
components
:
{
Hamburger
},
data
()
{
return
{
appList
:
[],
...
...
@@ -72,9 +75,6 @@ export default {
specialTag
:
this
.
$store
.
state
.
user
.
specialTag
}
},
components
:
{
Hamburger
},
computed
:
{
...
mapGetters
([
'sidebar'
,
...
...
src/store/getters.js
View file @
42744e20
...
...
@@ -6,6 +6,7 @@ const getters = {
name
:
state
=>
state
.
user
.
name
,
specialTag
:
state
=>
state
.
user
.
specialTag
,
roles
:
state
=>
state
.
user
.
roles
,
contract
:
state
=>
state
.
user
.
contract
,
introduction
:
state
=>
state
.
user
.
introduction
,
permissions
:
state
=>
state
.
user
.
permissions
,
permission_routes
:
state
=>
state
.
permission
.
routes
,
...
...
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