รายการปรับระดับชั้นงานลูกจ้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-25 15:32:40 +07:00
parent 95e02c21ec
commit d642f74a61
3 changed files with 7 additions and 7 deletions

View file

@ -299,7 +299,8 @@ const fecthTypeOption = async () => {
.get(config.API.typeOrder())
.then((res) => {
optionsType.value = res.data.result.filter(
(e: OpType) => e.commandCode === "C-PM-05"
(e: OpType) =>
e.commandCode === "C-PM-22" || e.commandCode === "C-PM-24"
);
type.value = optionsType.value[0].id;
})
@ -370,7 +371,7 @@ const getPosition = async (id: string) => {
if (index >= 0) {
selectedPosition.value = [data[index]];
}
rowsPosition.value = data;
rowsPosition.value = data;
ModalEmployee.value = true;
})
.catch((e) => {