ต่อ API รักษาการในตำแหน่ง ออกคำสั่ง
This commit is contained in:
parent
5b89adca00
commit
a97656e943
3 changed files with 3 additions and 1 deletions
|
|
@ -138,6 +138,7 @@ export default {
|
|||
checkIsDeputys: (id: string) => `${organization}/check/root/${id}`,
|
||||
|
||||
orgPosReport:`${orgPos}/report/draft`,
|
||||
orgPosReportAct:`${orgPos}/act/report/draft`,
|
||||
/**
|
||||
* workflow
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ const isLaod = ref<boolean>(false);
|
|||
*/
|
||||
async function updateSelected(data: PosMaster) {
|
||||
posmasterId.value = data.posmasterId;
|
||||
storeActing.rootId = data.orgTreeId;
|
||||
isLaod.value = true;
|
||||
// เรียกใช้ function fetch รายชื่อ ,fetch รายชื่อรักษาการ
|
||||
await Promise.all([fetchPosMaster(), fetchListAct()]).finally(() => {
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ function getPerson() {
|
|||
? config.API.orgPosSalaryReport +
|
||||
`${commandCode.value}/${props.salaryPeriodId}`
|
||||
: props.systemName === "ACTING"
|
||||
? config.API.orgPosReport
|
||||
? config.API.orgPosReportAct
|
||||
: "";
|
||||
|
||||
showLoader();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue