Привязка таблицы к смене статуса из модальных окон

This commit is contained in:
brusnitsyn
2025-12-19 00:36:13 +09:00
parent fdcfaec862
commit 76d1df235d
3 changed files with 41 additions and 11 deletions

View File

@@ -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) {