{{ year + 543 }}
{{
@@ -528,6 +542,7 @@ watch(
}}
filterOption(inputValue, doneFn,'evaluatorIdOp'
) "
>
@@ -605,8 +626,11 @@ watch(
+
filterOption(inputValue, doneFn,'commanderIdOp'
) "
>
@@ -638,8 +664,11 @@ watch(
+
filterOption(inputValue, doneFn,'commanderHighOp'
) "
>
@@ -683,7 +714,7 @@ watch(
รอบการประเมินนี้ปิดแล้ว
{
if (n == true) {
getData();
- }
+ } else rows.value = [];
}
);
diff --git a/src/modules/14_KPI/components/results/tableIndividual.vue b/src/modules/14_KPI/components/results/tableIndividual.vue
index 8085e24a6..42a7abea7 100644
--- a/src/modules/14_KPI/components/results/tableIndividual.vue
+++ b/src/modules/14_KPI/components/results/tableIndividual.vue
@@ -296,13 +296,7 @@ onMounted(async () => {
@keydown.enter="onSearchData"
>
-
-
+
{
@keydown.enter="onSearchData"
>
-
-
+
{
outlined
@clear="(result = ''), (resultOp = store.resultsOptions)"
use-input
+ hide-selected
+ fill-input
:clearable="result !== ''"
@update:model-value="onSearchData()"
input-debounce="0"
diff --git a/src/modules/14_KPI/views/01_kpiRound.vue b/src/modules/14_KPI/views/01_kpiRound.vue
index b4b8d30c2..2bfe6573f 100644
--- a/src/modules/14_KPI/views/01_kpiRound.vue
+++ b/src/modules/14_KPI/views/01_kpiRound.vue
@@ -356,9 +356,9 @@ onMounted(async () => {
รายการรอบการประเมินผลการปฏิบัติหน้าที่ราชการ
-
-
-
+
+
+
{
+
เพิ่ม
-
-
-
+
+
{
style="min-width: 140px"
/>
-
-
diff --git a/src/modules/14_KPI/views/02_kpiLists.vue b/src/modules/14_KPI/views/02_kpiLists.vue
index 736d34ff0..3b2191223 100644
--- a/src/modules/14_KPI/views/02_kpiLists.vue
+++ b/src/modules/14_KPI/views/02_kpiLists.vue
@@ -143,7 +143,7 @@ async function fetchList() {
page: formQuery.page,
pageSize: formQuery.pageSize,
kpiPeriodId: store.formQuery.round,
- keyword: store.formQuery.keyword,
+ keyword: store.formQuery.keyword.trim(),
status: formQuery.status === "" ? undefined : formQuery.status,
results: formQuery.results === "" ? undefined : formQuery.results,
};
@@ -322,13 +322,7 @@ onMounted(async () => {
@keydown.enter.prevent="changRound"
>
-
-
+
{
outlined
@update:model-value="(formQuery.page = 1), fetchList()"
use-input
+ hide-selected
+ fill-input
@clear="
(formQuery.status = ''), (statusOp = store.statusOptions)
"
@@ -413,6 +409,8 @@ onMounted(async () => {
outlined
@update:model-value="(formQuery.page = 1), fetchList()"
use-input
+ hide-selected
+ fill-input
@clear="
(formQuery.results = ''), (resultOp = store.resultsOptions)
"
diff --git a/src/modules/14_KPI/views/detailView.vue b/src/modules/14_KPI/views/detailView.vue
index ced26c6e5..7a87cd9c0 100644
--- a/src/modules/14_KPI/views/detailView.vue
+++ b/src/modules/14_KPI/views/detailView.vue
@@ -409,7 +409,6 @@ async function fetchProfileEvaluator(id: string) {
http
.get(config.API.profilePosition + `/${id}`)
.then((res) => {
- console.log(res.data.result);
const data = res.data.result;
evaluator.value.fullName =
data.prefix + data.firstName + " " + data.lastName;
@@ -892,7 +891,9 @@ onUnmounted(() => {
:rules="[ (val:string) => !!val ||
`${'กรุณาเลือกผู้ประเมิน'}`, ]"
use-input
- @filter="(inputValue:any,
+ hide-selected
+ fill-input
+ @filter="(inputValue:string,
doneFn:Function) => filterOption(inputValue, doneFn,'evaluatorIdOp'
) "
/>
@@ -930,7 +931,9 @@ onUnmounted(() => {
map-options
class="inputgreen"
use-input
- @filter="(inputValue:any,
+ hide-selected
+ fill-input
+ @filter="(inputValue:string,
doneFn:Function) => filterOption(inputValue, doneFn,'commanderIdOp'
) "
>
@@ -983,7 +986,9 @@ onUnmounted(() => {
map-options
use-input
class="inputgreen"
- @filter="(inputValue:any,
+ hide-selected
+ fill-input
+ @filter="(inputValue:string,
doneFn:Function) => filterOption(inputValue, doneFn,'commanderHighOp'
) "
>
diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue
index 9fabdfa2b..11cfc7c8d 100644
--- a/src/modules/14_KPI/views/report.vue
+++ b/src/modules/14_KPI/views/report.vue
@@ -429,6 +429,7 @@ function onCloseModal() {
* function fetch รายชื่อข้อมูลทะเบียนประวัติ
*/
function fetchListPerson() {
+ rowsPerson.value = []
showLoader();
let queryParams = {
page: formFilter.page,
@@ -796,13 +797,13 @@ onMounted(() => {
class="bg-white"
v-model="formFilter.searchKeyword"
outlined
- clearable
hide-bottom-space
dense
label="คำค้น"
>
{
>
+
+
+