Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
柳 佳乐
finance
Commits
979e03ac
Commit
979e03ac
authored
Nov 25, 2022
by
柳 佳乐
Browse files
20221125
parent
a0a55082
Changes
42
Expand all
Hide whitespace changes
Inline
Side-by-side
src/views/staff/staffList.vue
View file @
979e03ac
This diff is collapsed.
Click to expand it.
src/views/staff/updataStaff.vue
View file @
979e03ac
...
...
@@ -111,7 +111,7 @@ export default {
getStaff
(){
getOneself
({
userId
:
this
.
userId
}).
then
((
res
)
=>
{
if
(
res
.
status
==
"
success
"
){
if
(
res
.
success
){
this
.
staffData
=
res
.
data
}
else
{
this
.
$message
.
error
(
res
.
data
)
...
...
@@ -129,7 +129,7 @@ export default {
this
.
$refs
.
form
.
validate
((
valida
)
=>
{
if
(
valida
){
update
(
this
.
staffData
).
then
((
res
)
=>
{
if
(
res
.
status
==
"
success
"
){
if
(
res
.
success
){
this
.
$message
.
success
(
"
修改成功
"
)
this
.
$store
.
dispatch
(
'
tagsView/delView
'
,
this
.
$route
)
this
.
$router
.
push
(
"
/staffList
"
)
...
...
@@ -153,7 +153,7 @@ export default {
userId
:
this
.
staffData
.
userId
}
staffpassword
(
param
).
then
((
res
)
=>
{
if
(
res
.
status
==
"
success
"
){
if
(
res
.
success
){
this
.
$message
.
success
(
"
修改成功
"
)
this
.
password
=
''
}
else
{
...
...
Prev
1
2
3
Next
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