Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
6f5d9d2e
Commit
6f5d9d2e
authored
Jul 24, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人档案修改密码
parent
44b17b54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
src/pages/user/user_info.vue
src/pages/user/user_info.vue
+12
-2
No files found.
src/pages/user/user_info.vue
View file @
6f5d9d2e
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
>
>
<div
class=
"change_psw"
>
<div
class=
"change_psw"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"passRules"
>
<el-form
ref=
"form
1
"
:model=
"form"
:rules=
"passRules"
>
<el-form-item
class=
"dia_item"
>
<el-form-item
class=
"dia_item"
>
<p>
旧密码:
</p>
<p>
旧密码:
</p>
<el-input
v-model=
"form.passwordOld"
></el-input>
<el-input
v-model=
"form.passwordOld"
></el-input>
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
</div>
</div>
<div
class=
"dia_btn_footer"
>
<div
class=
"dia_btn_footer"
>
<el-button
class=
"previous"
@
click=
"cancelChangePwd"
>
取消
</el-button>
<el-button
class=
"previous"
@
click=
"cancelChangePwd"
>
取消
</el-button>
<el-button
class=
"registe"
@
click=
"
submitChangePwd
"
>
修改
</el-button>
<el-button
class=
"registe"
@
click=
"
check_pass_form
"
>
修改
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
<el-dialog
...
@@ -436,6 +436,16 @@ export default {
...
@@ -436,6 +436,16 @@ export default {
cancelChangePwd
()
{
cancelChangePwd
()
{
this
.
diaPassWord
=
false
;
this
.
diaPassWord
=
false
;
},
},
check_pass_form
(){
this
.
$refs
[
'
form1
'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
submitChangePwd
()
}
else
{
this
.
$message
.
error
(
'
请检查表单
'
)
return
false
;
}
});
},
submitChangePwd
()
{
submitChangePwd
()
{
let
query
=
{
let
query
=
{
id
:
this
.
user_data
.
accountNo
,
id
:
this
.
user_data
.
accountNo
,
...
...
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