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