mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
handle update error
This commit is contained in:
@@ -80,8 +80,10 @@ export default {
|
|||||||
message: '操作成功',
|
message: '操作成功',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
})
|
})
|
||||||
|
this.$emit('setDialogVisible', false)
|
||||||
} else {
|
} else {
|
||||||
ElMessage.error('操作失败')
|
ElMessage.error('操作失败')
|
||||||
|
this.$emit('setDialogVisible', false)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -324,7 +324,6 @@ export default {
|
|||||||
this.editDialogFormVisible = true
|
this.editDialogFormVisible = true
|
||||||
this.isDisabled = true
|
this.isDisabled = true
|
||||||
this.form = row
|
this.form = row
|
||||||
this.form.userId = row.user.username
|
|
||||||
this.form.status = row.status + ''
|
this.form.status = row.status + ''
|
||||||
},
|
},
|
||||||
addAttendance(formData) {
|
addAttendance(formData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user