Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
91647a88
Commit
91647a88
authored
Jul 22, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 安全管理中心界面bug修复
parent
0d37e7c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
src/views/system/sysSecuritySettings.vue
+11
-8
No files found.
src/views/system/sysSecuritySettings.vue
View file @
91647a88
...
...
@@ -138,7 +138,10 @@
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
v
-
if
=
"dialogType === 'password' || currentMethod === 'superPassword'"
v
-
if
=
"
(dialogType === 'password' && currentMethod === 'superPassword') ||
currentMethod === 'superPassword'
"
:
label
=
"dialogType === 'password' ? '原超级密码' : '超级密码'"
prop
=
"superPassword"
>
<
el
-
input
...
...
@@ -261,10 +264,10 @@ export default {
const
targetName
=
this
.
methodMap
[
this
.
currentTarget
]?.
name
||
'超级密码'
const
actionMap
=
{
bind
:
this
.
securityData
[
this
.
currentTarget
]
?
`绑定新${targetName
}
`
:
`绑定${targetName
}
`
,
unbind
:
`解绑${targetName
}
`
,
change
:
`验证原${targetName
}
`
,
?
`绑定新
安全
${targetName
}
`
:
`绑定
安全
${targetName
}
`
,
unbind
:
`解绑
安全
${targetName
}
`
,
change
:
`验证原
安全
${targetName
}
`
,
password
:
'修改超级密码'
,
addPassword
:
'新增超级密码'
}
...
...
@@ -469,11 +472,11 @@ export default {
change
:
{
url
:
'/sysSecuritySettings/check'
,
message
:
'验证成功'
}
,
password
:
{
url
:
'/sysSecuritySettings/updatePassword'
,
message
:
'密码修改成功'
message
:
'
超级
密码修改成功'
}
,
addPassword
:
{
url
:
'/sysSecuritySettings/updatePassword'
,
message
:
'密码修改成功'
message
:
'
超级
密码修改成功'
}
}
const
{
url
,
message
}
=
actionConfig
[
this
.
dialogType
]
...
...
@@ -490,7 +493,7 @@ export default {
if
(
this
.
dialogType
!==
'change'
)
this
.
getList
()
this
.
dialogVisible
=
false
if
(
this
.
dialogType
===
'change'
)
{
// 不再跳转下一步
this
.
openDialog
(
this
.
currentTarget
,
'bind'
)
}
}
catch
(
error
)
{
this
.
$message
.
error
(
'操作失败'
)
...
...
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