updated
This commit is contained in:
parent
5fc78f8090
commit
340cfae704
2 changed files with 10 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue