+
{});
prop.node.orgRootId
)
: item.type === 'SORT'
- ? onClickSort(prop.node.orgRootId)
+ ? onClickSort(prop.node.orgRootId, prop.node.orgLevel)
: item.type === 'HISTORY'
? onClickHistory(
prop.node.orgLevel,
@@ -420,14 +421,16 @@ onMounted(async () => {});
v-if="
item.type === 'EDIT' ||
item.type === 'DEL' ||
- item.type === 'HISTORY'
+ item.type === 'HISTORY' ||
+ item.type === 'SORT'
"
- >{{ item.label }}หน่วยงาน
- {{ item.label }}ส่วนราชการ
- {{ item.label }}
+ {{ item.label }}หน่วยงาน
+
+
+ {{ item.label }}ส่วนราชการ
+
+ {{ item.label }}
@@ -436,7 +439,8 @@ onMounted(async () => {});
item.type === 'ADD' ||
item.type === 'EDIT' ||
item.type === 'DEL' ||
- item.type === 'HISTORY'
+ item.type === 'HISTORY' ||
+ item.type === 'SORT'
"
>{{ item.label }}ส่วนราชการ
@@ -466,19 +470,7 @@ onMounted(async () => {});
clickable
v-close-popup
@click="
- item.type === 'EDIT'
- ? onClickEdit(prop.node)
- : item.type === 'ADD'
- ? onClickAgency(prop.node.orgLevel + 1, prop.node)
- : item.type === 'DETAIL'
- ? onClickDetail(prop.node.orgTreeId, prop.node.orgLevel)
- : item.type === 'DEL'
- ? onClickDel(
- prop.node.orgLevel,
- prop.node.orgTreeId,
- prop.node.orgRootId
- )
- : null
+ onClickDetail(prop.node.orgTreeId, prop.node.orgLevel)
"
>
@@ -490,31 +482,7 @@ onMounted(async () => {});
-
-
-
-