API PosEmpTemp
This commit is contained in:
parent
28b25d31e2
commit
4ef4d225b9
9 changed files with 52 additions and 36 deletions
|
|
@ -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 ไหม
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue