Commit 979e03ac authored by 柳 佳乐's avatar 柳 佳乐
Browse files

20221125

parent a0a55082
This diff is collapsed.
......@@ -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{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment