API PosEmpTemp

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-20 15:21:53 +07:00
parent 28b25d31e2
commit 4ef4d225b9
9 changed files with 52 additions and 36 deletions

View file

@ -107,7 +107,7 @@ const listMenu = ref<ListMenu[]>([
const documentItems = ref<DataDocumentList[]>([
{
name: "รายงานสรุปจำนวนกรอบอัตรากำลังของลูกจ้างประจำกรุงเทพมหานคร",
val: "report4-employee",
val: "report4-employee-temp",
},
]);
@ -198,7 +198,7 @@ function onClickDelete(id: string) {
dialogRemove($q, async () => {
showLoader();
await http
.delete(config.API.orgPosMasterByIdEmp(id))
.delete(config.API.orgPosMasterByIdEmpTemp(id))
.then(async () => {
await props.fetchDataTable?.(
reqMaster.value.id,
@ -271,7 +271,7 @@ function removePerson(id: string) {
async () => {
showLoader();
await http
.post(config.API.orgDeleteProfileEmp(id))
.post(config.API.orgDeleteProfileEmpTemp(id))
.then(async () => {
await props.fetchDataTable?.(
reqMaster.value.id,
@ -307,7 +307,7 @@ function onClickInherit(id: string) {
function getSummary() {
showLoader();
http
.post(config.API.orgSummaryEmp, {
.post(config.API.orgSummaryEmpTemp, {
id: reqMaster.value.id, //*Id node
type: reqMaster.value.type, //*node
isNode: reqMaster.value.isAll, //* node