Привязка таблицы к смене статуса из модальных окон
This commit is contained in:
@@ -73,12 +73,12 @@ const submit = () => {
|
||||
: `/api/archive/histories/move/${archiveHistory.value.id}`
|
||||
|
||||
axios.post(url, archiveHistory.value).then(res => {
|
||||
onCloseWithoutSave()
|
||||
emits('historyUpdated', {
|
||||
type: props.isCreateNew ? 'created' : 'updated',
|
||||
data: res.data,
|
||||
historyId: archiveHistory.value.id
|
||||
})
|
||||
onCloseWithoutSave()
|
||||
})
|
||||
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user