Merge branch 'develop' into devTee
This commit is contained in:
commit
8e52ef1fa3
7 changed files with 21 additions and 15 deletions
|
|
@ -57,7 +57,7 @@ const statusReport = ref<boolean>();
|
|||
const dataProfile = ref<Object>([]);
|
||||
|
||||
/** คอลัมน์ที่แสดง */
|
||||
const columns = ref<any["columns"]>([
|
||||
const columns = computed(() => [
|
||||
{
|
||||
name: "order",
|
||||
label: "ลำดับ",
|
||||
|
|
@ -79,7 +79,7 @@ const columns = ref<any["columns"]>([
|
|||
{
|
||||
name: "position",
|
||||
align: "left",
|
||||
label: "ตำแหน่ง",
|
||||
label: `ตำแหน่ง ${employeeType.value == "OFFICER" ? "(ในสายงาน)" : ""}`,
|
||||
title: "ตำแหน่ง",
|
||||
subtitle: employeeType.value == "OFFICER" ? "ในสายงาน" : "",
|
||||
field: "position",
|
||||
|
|
@ -89,7 +89,9 @@ const columns = ref<any["columns"]>([
|
|||
{
|
||||
name: "positionType",
|
||||
align: "left",
|
||||
label: "ตำแหน่ง",
|
||||
label: `ตำแหน่ง (${
|
||||
employeeType.value == "OFFICER" ? "ประเภท" : "กลุ่มงาน"
|
||||
})`,
|
||||
title: "ตำแหน่ง",
|
||||
subtitle: employeeType.value == "OFFICER" ? "ประเภท" : "กลุ่มงาน",
|
||||
field: "positionType",
|
||||
|
|
@ -100,7 +102,7 @@ const columns = ref<any["columns"]>([
|
|||
{
|
||||
name: "positionNumber",
|
||||
align: "left",
|
||||
label: "ตำแหน่ง (เลขที่) ",
|
||||
label: "ตำแหน่ง (เลขที่)",
|
||||
title: "ตำแหน่ง",
|
||||
subtitle: "เลขที่",
|
||||
field: "positionNumber",
|
||||
|
|
@ -439,6 +441,7 @@ onMounted(async () => {
|
|||
@click="backHistory"
|
||||
/>
|
||||
รายชื่อผู้เกษียณอายุราชการ
|
||||
{{ employeeType === "OFFICER" ? "ข้าราชการ กทม.สามัญ" : "ลูกจ้างประจำ" }}
|
||||
</div>
|
||||
<div>
|
||||
<q-card class="col-12 q-pa-md">
|
||||
|
|
|
|||
|
|
@ -82,6 +82,9 @@ const columns = ref<QTableProps["columns"]>([
|
|||
label: "ตำแหน่งเลขที่",
|
||||
sortable: true,
|
||||
field: "posMasterNo",
|
||||
format(val, row) {
|
||||
return `${row.orgShortname} ${row.posMasterNo}`;
|
||||
},
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -162,9 +162,7 @@ async function copyLink(name: string) {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* function เรียกข้อมูลวันที่ประกาศ
|
||||
*/
|
||||
/** function เรียกข้อมูลวันที่ประกาศ */
|
||||
async function getDate() {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -185,9 +183,8 @@ async function getDate() {
|
|||
}
|
||||
|
||||
const download10Url = ref<string>("");
|
||||
/**
|
||||
* function เช็คไฟล์อัปโหลด
|
||||
*/
|
||||
|
||||
/** function เช็คไฟล์อัปโหลด*/
|
||||
async function checkDocResult() {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -297,7 +294,7 @@ onMounted(async () => {
|
|||
>
|
||||
<div>บันทึกแจ้งผลการประกาศคัดเลือก</div>
|
||||
<q-space />
|
||||
<div>
|
||||
<div v-if="download10Url">
|
||||
<q-btn
|
||||
:href="download10Url"
|
||||
target="_blank"
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ function onSearch() {
|
|||
watchEffect(() => {
|
||||
if (props.Modal === true) {
|
||||
selected.value = props.selectedRow;
|
||||
filterKeyword2.value = "";
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -201,7 +202,7 @@ watch(
|
|||
outlined
|
||||
dense
|
||||
class="col-12 q-mb-sm"
|
||||
:model-value="filterKeyword2"
|
||||
v-model="filterKeyword2"
|
||||
placeholder="ค้นหารายชื่อ"
|
||||
style="max-width: 100%"
|
||||
@keydown.enter="onSearch"
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ function onSearch() {
|
|||
watchEffect(() => {
|
||||
if (props.Modal === true) {
|
||||
selected.value = props.selectedRow;
|
||||
filterKeyword.value = "";
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -201,7 +202,7 @@ watch(
|
|||
outlined
|
||||
dense
|
||||
class="col-12 q-mb-sm"
|
||||
:model-value="filterKeyword"
|
||||
v-model="filterKeyword"
|
||||
placeholder="ค้นหารายการประชุม"
|
||||
style="max-width: 100%"
|
||||
@keydown.enter="onSearch"
|
||||
|
|
|
|||
|
|
@ -526,7 +526,7 @@ watch(
|
|||
<div class="row q-pa-md q-col-gutter-sm">
|
||||
<div class="col-12">
|
||||
<datepicker
|
||||
:disable="selected.length === 0"
|
||||
:readonly="selected.length === 0"
|
||||
menu-class-name="modalfix"
|
||||
v-model="yearDialog"
|
||||
:locale="'th'"
|
||||
|
|
|
|||
|
|
@ -156,10 +156,11 @@ function getDevelop() {
|
|||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
rows.value = data;
|
||||
store.devScoreVal = rows.value.reduce(
|
||||
const total = rows.value.reduce(
|
||||
(sum: number, e: any) => sum + e.summary,
|
||||
0
|
||||
);
|
||||
store.devScoreVal = total / rows.value.length;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue