Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TFMOM
TF-MOM-WEB
Commits
73a59c0f
Commit
73a59c0f
authored
Feb 01, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并产品【9970】系统缺少账号修改功能
parent
47990d7b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
index.vue
...-user/src/privateComponents/components/editUser/index.vue
+17
-5
No files found.
applications/dee-user/src/privateComponents/components/editUser/index.vue
View file @
73a59c0f
...
...
@@ -400,7 +400,9 @@ export default {
})
}
params
.
targetDxPostMemberLink
=
params
.
targetDxPostMemberLink
.
concat
(
deleteTargetDxPostMemberLink
)
this
.
modifyUserAccount
(
params
).
then
(()
=>
{
this
.
saveUser
(
params
,
'DxUserInfo'
)
})
}
else
{
// 新增
const
params
=
{
...
...
@@ -432,13 +434,23 @@ export default {
})
},
saveUser
(
dxUserInfo
,
modelName
)
{
this
.
$api
.
recursion
(
modelName
,
dxUserInfo
).
then
(
res
=>
{
this
.
$api
.
recursion
(
modelName
,
dxUserInfo
)
.
then
(
res
=>
{
this
.
$emit
(
'completeEven'
,
{})
this
.
$utils
.
showMessageSuccess
(
res
.
message
)
})
},
handleClose
()
{
this
.
$emit
(
'cancel'
,
{})
},
// 编辑的时候变更账号执行
modifyUserAccount
(
params
)
{
const
userAccount_old
=
this
.
basicData
.
userAccount
const
userAccount_new
=
params
.
userAccount
if
(
userAccount_old
&&
userAccount_new
&&
userAccount_old
!==
userAccount_new
)
{
return
post
(
`/DxUserAccount/modifyUserAccount?currentUserAccount=
${
userAccount_old
}
&newUserAccount=
${
userAccount_new
}
`
)
}
return
Promise
.
resolve
(
params
)
}
}
}
...
...
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