แก้ไขแเสดงราชื่อผู้สอบผ่าน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-21 11:16:01 +07:00
parent 710a805177
commit 3be38daee7

View file

@ -256,9 +256,9 @@ const getTable = async () => {
}); });
// //
rows.value = roleAdmin rows.value = roleAdmin.value
? rowsAll.value ? rowsAll.value
: rowsAll.value.filter((x: any) => x.statusId != "CONTAIN"); : rowsAll.value.filter((x: any) => x.statusId !== "CONTAIN");
// //
rowsFilter.value = rows.value.filter( rowsFilter.value = rows.value.filter(
(e: any) => (e: any) =>
@ -359,7 +359,7 @@ const getClass = (val: boolean) => {
"full-width cursor-pointer": !val, "full-width cursor-pointer": !val,
}; };
}; };
//
const selectData = (pid: string) => { const selectData = (pid: string) => {
if (roleAdmin.value === true) { if (roleAdmin.value === true) {
personalId.value = pid; personalId.value = pid;
@ -373,7 +373,7 @@ const dataInfo = reactive({
reason: "", reason: "",
reliefDoc: "", reliefDoc: "",
}); });
//
const editDetail = ( const editDetail = (
props: PartialTableName, props: PartialTableName,
action: "disclaim" | "deferment" | "defermentInfo" | "disclaimInfo" action: "disclaim" | "deferment" | "defermentInfo" | "disclaimInfo"