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

@ -207,7 +207,7 @@ function close() {
async function fetchType() {
showLoader();
await http
.get(config.API.orgEmployeeType)
.get(config.API.orgEmployeeTypeTemp)
.then((res) => {
dataLevel.value = res.data.result;
typeOpsMain.value = res.data.result.map((e: OptionType) => ({
@ -276,7 +276,7 @@ function onSubmit() {
};
showLoader();
http
.post(config.API.orgProfileEmp, body)
.post(config.API.orgProfileEmpTemp, body)
.then(async () => {
await props.fetchDataTable?.(store.treeId, store.level, false);
await props.getSummary();
@ -315,7 +315,7 @@ function searchData() {
keyword: formData.personal, //
};
http
.post(config.API.orgSearchProfileEmp, reqBody)
.post(config.API.orgSearchProfileEmpTemp, reqBody)
.then((res) => {
totalPage.value = Math.ceil(res.data.result.total / pageSize.value);
const list = res.data.result.data.map((e: SelectPerson) => ({
@ -621,7 +621,6 @@ watch(
map-options
:options="columnsResult"
option-value="name"
style="min-width: 140px"
class="col-xs-12 col-sm-3 col-md-2"
/>