Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
1c9371d5
Commit
1c9371d5
authored
Sep 30, 2022
by
houjn@hikoon.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务密码修改错误
parent
6c456cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
index.vue
src/views/ecw/busiPwd/index.vue
+4
-2
No files found.
src/views/ecw/busiPwd/index.vue
View file @
1c9371d5
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"密码"
prop=
"pwd"
>
<el-form-item
label=
"密码"
prop=
"pwd"
>
<el-input
v-model=
"
form.pwd
"
placeholder=
"请输入密码"
type=
"password"
/>
<el-input
v-model=
"
pwd1
"
placeholder=
"请输入密码"
type=
"password"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"确认密码"
prop=
"pwd"
>
<el-form-item
label=
"确认密码"
prop=
"pwd"
>
<el-input
v-model=
"pwd2"
placeholder=
"请再次输入密码"
type=
"password"
/>
<el-input
v-model=
"pwd2"
placeholder=
"请再次输入密码"
type=
"password"
/>
...
@@ -121,6 +121,7 @@ export default {
...
@@ -121,6 +121,7 @@ export default {
// 表单参数
// 表单参数
form
:
{},
form
:
{},
pwd2
:
null
,
pwd2
:
null
,
pwd1
:
null
,
// 表单校验
// 表单校验
rules
:
{
rules
:
{
}
}
...
@@ -191,12 +192,13 @@ export default {
...
@@ -191,12 +192,13 @@ export default {
if
(
!
valid
)
{
if
(
!
valid
)
{
return
;
return
;
}
}
if
(
this
.
pwd2
!==
this
.
form
.
pwd
){
if
(
this
.
pwd2
!==
this
.
pwd1
){
this
.
$modal
.
alertError
(
"
两次密码输入不一致
"
);
this
.
$modal
.
alertError
(
"
两次密码输入不一致
"
);
return
;
return
;
}
}
// 修改的提交
// 修改的提交
if
(
this
.
form
.
id
!=
null
)
{
if
(
this
.
form
.
id
!=
null
)
{
this
.
form
.
pwd
=
this
.
pwd1
;
updateBusiPwd
(
this
.
form
).
then
(
response
=>
{
updateBusiPwd
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
open
=
false
;
...
...
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