แก้ รายละเอียดการประเมินบุคคล
This commit is contained in:
parent
5f0d1eb6cc
commit
0ebce96c89
3 changed files with 51 additions and 10 deletions
|
|
@ -93,10 +93,12 @@ const listDirector = ref<any>([]);
|
|||
|
||||
async function onClickAdd() {
|
||||
modalAddDirector.value = true;
|
||||
getList()
|
||||
}
|
||||
|
||||
function onClickClose() {
|
||||
modalAddDirector.value = false;
|
||||
props.fetchdata()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -128,7 +130,6 @@ function returnDirector(data: any) {
|
|||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
props.fetchdata();
|
||||
onClickClose();
|
||||
hideLoader();
|
||||
});
|
||||
|
|
@ -166,7 +167,6 @@ async function getList() {
|
|||
hideLoader();
|
||||
});
|
||||
}
|
||||
|
||||
watch(
|
||||
() => props.data,
|
||||
() => {
|
||||
|
|
@ -186,9 +186,6 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
onMounted(() => {
|
||||
getList();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
|
|
@ -62,6 +62,28 @@ const columns = ref<QTableProps["columns"]>([
|
|||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "tittle",
|
||||
align: "left",
|
||||
label: "หัวข้อการประชุม",
|
||||
sortable: true,
|
||||
field: "tittle",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "round",
|
||||
align: "left",
|
||||
label: "ครั้งที่",
|
||||
sortable: true,
|
||||
field: "round",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "result",
|
||||
align: "left",
|
||||
|
|
@ -97,10 +119,12 @@ const listMeet = ref<any>([]);
|
|||
|
||||
function onClickAdd() {
|
||||
modalAdd.value = true;
|
||||
getList()
|
||||
}
|
||||
|
||||
function onClickClose() {
|
||||
modalAdd.value = false;
|
||||
props.fetchdata()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -132,7 +156,6 @@ function returnData(data: any) {
|
|||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
props.fetchdata();
|
||||
onClickClose();
|
||||
hideLoader();
|
||||
});
|
||||
|
|
@ -154,7 +177,7 @@ async function getList() {
|
|||
lastUpdateUserId: item.lastUpdateUserId,
|
||||
createdFullName: item.createdFullName,
|
||||
lastUpdateFullName: item.lastUpdateFullName,
|
||||
title: item.tittle,
|
||||
tittle: item.tittle,
|
||||
round: item.round,
|
||||
date: `${date2Thai(item.dateStart as Date, false, true)} - ${date2Thai(
|
||||
item.dateEnd as Date,
|
||||
|
|
@ -185,6 +208,8 @@ watch(
|
|||
true
|
||||
)}`,
|
||||
dateStart: item.dateStart,
|
||||
tittle: item.tittle ? item.tittle : '-',
|
||||
round: item.round ? item.round : '-',
|
||||
dateEnd: item.dateEnd,
|
||||
result: item.result,
|
||||
timePeriod: item.duration,
|
||||
|
|
@ -193,9 +218,6 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
onMounted(async () => {
|
||||
await getList();
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<q-card bordered class="row col-12" style="border: 1px solid #d6dee1">
|
||||
|
|
|
|||
|
|
@ -76,6 +76,28 @@ const columns = ref<QTableProps["columns"]>([
|
|||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "tittle",
|
||||
align: "left",
|
||||
label: "หัวข้อการประชุม",
|
||||
sortable: true,
|
||||
field: "tittle",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "round",
|
||||
align: "left",
|
||||
label: "ครั้งที่",
|
||||
sortable: true,
|
||||
field: "round",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "result",
|
||||
align: "left",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue