รายการแต่งตั้ง-เลื่อน-ย้าย => fix bug
This commit is contained in:
parent
343f595d41
commit
ea0a6bab77
7 changed files with 513 additions and 51 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue