Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e3d9a38e
authored
Jan 05, 2023
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改密码页面放开
1 parent
87215652
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
linkwe-pc/src/layout/components/Navbar.vue
linkwe-pc/src/views/system/user/profile/index.vue
linkwe-pc/src/layout/components/Navbar.vue
View file @
e3d9a38
...
@@ -59,9 +59,9 @@
...
@@ -59,9 +59,9 @@
<i
class=
"el-icon-caret-bottom"
/>
<i
class=
"el-icon-caret-bottom"
/>
</div>
</div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<
!-- <
router-link to="/user/profile">
<router-link
to=
"/user/profile"
>
<el-dropdown-item>
个人中心
</el-dropdown-item>
<el-dropdown-item>
个人中心
</el-dropdown-item>
</router-link>
-->
</router-link>
<!-- <el-dropdown-item divided @click.native="setting = true">
<!-- <el-dropdown-item divided @click.native="setting = true">
<span>布局设置</span>
<span>布局设置</span>
</el-dropdown-item> -->
</el-dropdown-item> -->
...
...
linkwe-pc/src/views/system/user/profile/index.vue
View file @
e3d9a38
...
@@ -25,9 +25,7 @@
...
@@ -25,9 +25,7 @@
</li>
</li>
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<svg-icon
icon-class=
"tree"
/>
所属部门
<svg-icon
icon-class=
"tree"
/>
所属部门
<div
class=
"pull-right"
v-if=
"user.dept"
>
<div
class=
"pull-right"
v-if=
"user.dept"
>
{{
user
.
dept
.
deptName
}}
/
{{
postGroup
}}
</div>
{{
user
.
dept
.
deptName
}}
/
{{
postGroup
}}
</div>
</li>
</li>
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<svg-icon
icon-class=
"peoples"
/>
所属角色
<svg-icon
icon-class=
"peoples"
/>
所属角色
...
@@ -41,21 +39,21 @@
...
@@ -41,21 +39,21 @@
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
<
!--
<
el-col
:span=
"18"
:xs=
"24"
>
<el-col
:span=
"18"
:xs=
"24"
>
<el-card>
<el-card>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
基本资料
</span>
<span>
基本资料
</span>
</div>
</div>
<el-tabs
v-model=
"activeTab"
>
<el-tabs
v-model=
"activeTab"
>
<el-tab-pane
label=
"基本资料"
name=
"userinfo"
>
<
!--
<
el-tab-pane
label=
"基本资料"
name=
"userinfo"
>
<userInfo
:user=
"user"
/>
<userInfo
:user=
"user"
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"修改密码"
name=
"resetPwd"
>
<el-tab-pane
label=
"修改密码"
name=
"resetPwd"
>
<resetPwd
:user=
"user"
/>
<resetPwd
:user=
"user"
/>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
</el-card>
</el-card>
</el-col>
-->
</el-col>
</el-row>
</el-row>
</div>
</div>
</
template
>
</
template
>
...
@@ -69,26 +67,26 @@
...
@@ -69,26 +67,26 @@
export
default
{
export
default
{
name
:
'Profile'
,
name
:
'Profile'
,
components
:
{
userAvatar
,
userInfo
,
resetPwd
},
components
:
{
userAvatar
,
userInfo
,
resetPwd
},
data
()
{
data
()
{
return
{
return
{
user
:
{},
user
:
{},
roleGroup
:
{},
roleGroup
:
{},
postGroup
:
{},
postGroup
:
{},
activeTab
:
'userinfo'
,
activeTab
:
'userinfo'
}
}
},
},
created
()
{
created
()
{
this
.
getUser
()
this
.
getUser
()
},
},
methods
:
{
methods
:
{
getUser
()
{
getUser
()
{
getUserProfile
().
then
((
response
)
=>
{
getUserProfile
().
then
((
response
)
=>
{
this
.
user
=
response
.
data
this
.
user
=
response
.
data
this
.
roleGroup
=
response
.
roleGroup
this
.
roleGroup
=
response
.
roleGroup
this
.
postGroup
=
response
.
postGroup
this
.
postGroup
=
response
.
postGroup
})
})
}
,
}
}
,
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment