This commit is contained in:
Warunee Tamkoo 2024-01-31 18:06:23 +07:00
parent 5fc78f8090
commit 340cfae704
2 changed files with 10 additions and 9 deletions

View file

@ -166,7 +166,7 @@ function onSubmit() {
)
.then((res) => {
console.log(res);
props.edit?.(props.dataNode?.orgTreeId, type, body);
props.edit?.(props.dataNode?.orgTreeId, type, body, props.dataNode?.orgRootCode);
success($q, "บันทึกข้อมูลสำเร็จ");
})
.catch((err) => {
@ -235,6 +235,7 @@ const tittleName = computed(() => {
return name;
});
</script>
<template>
<template>
<q-dialog v-model="props.modal" persistent>