updated
This commit is contained in:
parent
6bd6f99770
commit
1aff001bce
2 changed files with 107 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue