แก้เพิ่มข้อมูล profileType
This commit is contained in:
parent
6fea0f1851
commit
df207fa2f2
2 changed files with 2 additions and 1 deletions
|
|
@ -129,6 +129,7 @@ async function fetchListLogRecord() {
|
|||
maxPage.value = Math.ceil(res.data.result.total / rowsPerPage.value);
|
||||
let datalist: TableRows[] = res.data.result.data.map((e: DataResLog) => ({
|
||||
id: e.id,
|
||||
profileType: e.profileType,
|
||||
fullName: e.fullName,
|
||||
checkInDate: e.checkInDate && date2Thai(e.checkInDate),
|
||||
checkInTime: e.checkInTime ? e.checkInTime : "-",
|
||||
|
|
@ -177,7 +178,6 @@ onMounted(async () => {
|
|||
@update:pagination="updatePagingProp"
|
||||
v-model:role-status="roleStatus"
|
||||
/>
|
||||
|
||||
<TableList
|
||||
:total="total"
|
||||
:rows="rows.length > 0 ? rows : []"
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ interface DataResTime {
|
|||
interface DataResLog {
|
||||
id: string; //id รายการลงเวลาปฏิบัติงาน
|
||||
fullName: String; //ชื่อ-นามสกุล
|
||||
profileType: String; //สถานภาพ
|
||||
checkInDate: Date | null; //วันที่เข้างาน
|
||||
checkInTime: string; //เวลาเข้างาน
|
||||
checkInLocation: String; //พิกัดเข้างาน
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue