Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d8d01b45
authored
2023-02-17 15:38:14 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:字典修改
1 parent
580eb1db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/layout/components/Navbar.vue
src/views/system/dictionaries/components/editDialog.vue
src/layout/components/Navbar.vue
View file @
d8d01b4
...
...
@@ -2,13 +2,12 @@
<div
class=
"navbar-con"
>
<div
class=
"navbar"
>
<div
class=
"title"
>
{{
dicData
[
"sysCode"
]
&&
dicData
[
"sysCode"
]
[
0
].
DNAME
}}
{{
logoName
[
0
].
DNAME
}}
</div>
<div
class=
"user"
>
欢迎进入系统
{{
userInfo
.
name
}}
<span
@
click=
"onCancel"
>
<svg-icon
icon-class=
"close"
class=
"closeStyle"
/>
退出系统
</span
>
<svg-icon
icon-class=
"close"
class=
"closeStyle"
/>
退出系统
</span>
</div>
<div
class=
"sidebarLeft"
>
<sidebarLeft
/>
...
...
@@ -17,7 +16,7 @@
<sidebarRight
/>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
sidebarLeft
from
"./Sidebar/sidebarLeft"
;
...
...
@@ -31,9 +30,14 @@ export default {
},
computed
:
{
...
mapGetters
([
"sidebar"
,
"dicData"
,
"userInfo"
]),
logoName
:
function
()
{
return
this
.
dicData
[
'sysCode'
]
&&
this
.
dicData
[
'sysCode'
].
filter
(
item
=>
item
.
DCODE
==
"systemTitle"
)
}
},
methods
:
{
onCancel
()
{
onCancel
()
{
logout
()
.
then
((
res
)
=>
{
sessionStorage
.
removeItem
(
"token"
);
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
d8d01b4
...
...
@@ -5,7 +5,7 @@
<div
class=
"editDialogBox-box "
>
<el-form
:model=
"ruleForm"
ref=
"ruleForm"
label-width=
"100px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
4
"
>
<el-col
:span=
"
5
"
>
<el-form-item
label=
"字典类型编码"
>
{{
ruleForm
.
DCODE
}}
</el-form-item>
...
...
Please
register
or
sign in
to post a comment