This commit is contained in:
Warunee Tamkoo 2024-04-29 12:28:17 +07:00
parent 6bd6f99770
commit 1aff001bce
2 changed files with 107 additions and 4 deletions

View file

@ -46,6 +46,10 @@ const props = defineProps({
require: true,
},
fetchStatCard: { type: Function, require: true },
typeCommand: {
type: String,
require: true,
},
});
/** Tree*/
@ -137,6 +141,7 @@ async function fetchDataTable(id: string, level: number = 0) {
node: level,
nodeId: id,
position: props?.dataRow?.positionCandidate,
typeCommand: props.typeCommand,
};
await http
.post(config.API.orgPosPlacement, body)
@ -217,6 +222,7 @@ async function onClickSubmit() {
orgTreeShortName: dataNode.orgTreeShortName, //
posPath: selectedPos.value[0].positionName, //
posNumber: dataPosMaster.posMasterNo, //()
typeCommand: props.typeCommand,
};
await http