ins เครื่องราชฯ เพิ่มหน้ากรองลูกจ้างประจำก่อนประมวลผล
This commit is contained in:
parent
e881c63f9f
commit
df659c61b3
1 changed files with 8 additions and 1 deletions
|
|
@ -84,6 +84,9 @@ async function fetchData() {
|
|||
datelast.value = data.period_amount;
|
||||
dateStart.value = new Date(data.period_start);
|
||||
dateEnd.value = new Date(data.period_end);
|
||||
selected.value = rows.value.filter((e: ResponsePosition) =>
|
||||
data.empPosId.includes(e.id)
|
||||
);
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -144,7 +147,9 @@ function onSubmit() {
|
|||
formData.append("endDate", dateToISO(dateEnd.value));
|
||||
}
|
||||
formData.append("file", files.value);
|
||||
formData.append("empPosId", JSON.stringify(newEmpPosId));
|
||||
newEmpPosId.forEach((id) => {
|
||||
formData.append("empPosId", id);
|
||||
});
|
||||
const url =
|
||||
actionType.value !== "edit"
|
||||
? config.API.listRoundInsignia()
|
||||
|
|
@ -586,6 +591,7 @@ watch(
|
|||
>
|
||||
<template v-slot:header-selection="scope">
|
||||
<q-checkbox
|
||||
:disable="readonly"
|
||||
keep-color
|
||||
color="primary"
|
||||
dense
|
||||
|
|
@ -597,6 +603,7 @@ watch(
|
|||
<q-tr :props="props">
|
||||
<q-td auto-width>
|
||||
<q-checkbox
|
||||
:disable="readonly"
|
||||
keep-color
|
||||
color="primary"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue