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