ต่อ API รักษาการในตำแหน่ง ออกคำสั่ง

This commit is contained in:
setthawutttty 2024-10-24 13:33:06 +07:00
parent 5b89adca00
commit a97656e943
3 changed files with 3 additions and 1 deletions

View file

@ -138,6 +138,7 @@ export default {
checkIsDeputys: (id: string) => `${organization}/check/root/${id}`,
orgPosReport:`${orgPos}/report/draft`,
orgPosReportAct:`${orgPos}/act/report/draft`,
/**
* workflow
*/

View file

@ -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(() => {

View file

@ -237,7 +237,7 @@ function getPerson() {
? config.API.orgPosSalaryReport +
`${commandCode.value}/${props.salaryPeriodId}`
: props.systemName === "ACTING"
? config.API.orgPosReport
? config.API.orgPosReportAct
: "";
showLoader();