รายการแต่งตั้ง-เลื่อน-ย้าย => fix bug

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-19 11:39:51 +07:00
parent 343f595d41
commit ea0a6bab77
7 changed files with 513 additions and 51 deletions

View file

@ -79,18 +79,6 @@ function fetchType() {
});
}
/** function เรียกข้อมูลระดับ*/
// function fetchLevel() {
// http
// .get(config.API.orgPosLevel)
// .then((res) => {
// store.fetchLevel(res.data.result);
// })
// .catch((err) => {
// messageError($q, err);
// });
// }
/**
* function เรยกขอมลกลมงาน
*/
@ -105,17 +93,6 @@ function fetchOptionGroup() {
});
}
// function fetchLevelGroup() {
// http
// .get(config.API.orgEmployeelevel)
// .then((res) => {
// store.fetchLevel(res.data.result);
// })
// .catch((err) => {
// messageError($q, err);
// });
// }
function fetchYearOption() {
if (store.yearOps.length === 0) {
const options = [];
@ -266,10 +243,8 @@ function selectType(item: DataOption) {
formFilter.isShowRetire = null;
formFilter.isProbation = null;
fetchOptionGroup();
// fetchLevelGroup();
} else {
fetchType();
// fetchLevel();
}
fetchDataPerson();