Compare commits

...

8 commits
v1.1.3 ... dev

Author SHA1 Message Date
4a2a4eb3a3 Merge branch 'dev' of https://forgejo.chamomind.com/hrms-bangkok/hrms-admin into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m0s
* 'dev' of https://forgejo.chamomind.com/hrms-bangkok/hrms-admin:
2026-05-28 09:53:31 +07:00
0420b4cdbd Merge branch 'develop' into dev
* develop:
  update manage web services list add access
  fix: default profileImg
  fix(issues): statusOptions value
  fix
  reafactor(issues): add status HELPDESK_IN_PROGRESS and REPLIED
2026-05-28 09:53:24 +07:00
4a8d6fb5d7 Merge branch 'develop' of github.com:Frappet/hrms-admin into develop
* 'develop' of github.com:Frappet/hrms-admin:
  fix: default profileImg
2026-05-28 09:53:09 +07:00
dfd20c97dc update manage web services list add access 2026-05-28 09:52:24 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
066cc2dfcf Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m7s
2026-05-26 15:01:07 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
7489c9d2aa fix: default profileImg 2026-05-26 15:00:49 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
1a1b8ed2cf Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m53s
2026-05-08 10:42:23 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
d82d138c76 fix(issues): statusOptions value 2026-05-08 10:42:10 +07:00
3 changed files with 20 additions and 3 deletions

View file

@ -37,6 +37,7 @@ const visibleColumns = ref<string[]>([
"amount", "amount",
"createdAt", "createdAt",
"createdFullName", "createdFullName",
"accessType",
]); ]);
const columns = ref<QTableProps["columns"]>([ const columns = ref<QTableProps["columns"]>([
{ {
@ -62,6 +63,22 @@ const columns = ref<QTableProps["columns"]>([
.join(""); .join("");
}, },
}, },
{
name: "accessType",
align: "left",
label: "การเข้าถึง",
sortable: true,
field: "accessType",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format(val, row) {
if (val === "ALL") {
return `ทั้งหมด`;
} else {
return `${val} (${row.orgName})`;
}
},
},
{ {
name: "amount", name: "amount",
align: "left", align: "left",
@ -147,7 +164,7 @@ function serchDataTable() {
rows.value = onSearchDataTable( rows.value = onSearchDataTable(
keyword.value, keyword.value,
rowsMain.value, rowsMain.value,
columns.value ? columns.value : [] columns.value ? columns.value : [],
); );
} }

View file

@ -357,7 +357,7 @@ async function fetchKeycloakPosition() {
}); });
} }
const profileImg = ref<string>(""); const profileImg = ref<string>(avatar);
async function getImg(id: string, pathName: string) { async function getImg(id: string, pathName: string) {
await http await http
.get(config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", id, pathName)) .get(config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", id, pathName))