ปรับค้นหาสถานะการประเมิน

This commit is contained in:
Warunee Tamkoo 2024-01-12 14:14:16 +07:00
parent 2910994f15
commit 4c78848785

View file

@ -126,7 +126,7 @@ const label = computed(() => {
if (labelval.length !== 0) { if (labelval.length !== 0) {
return labelval.length <= 2 return labelval.length <= 2
? `${labelval.slice(0, 2).join(", ")}` ? `${labelval.slice(0, 2).join(", ")}`
: `${labelval.slice(0, 2).join(", ")} + ,(${labelval.length - 2})`; : `${labelval.slice(0, 2).join(", ")}, อื่นๆ (${labelval.length - 2})`;
} else return ""; } else return "";
}); });
@ -240,7 +240,7 @@ watch(
:options="options" :options="options"
option-value="val" option-value="val"
label="ค้นหาสถานะ" label="ค้นหาสถานะ"
style="width: 28vw" style="width: 35vw"
@update:model-value="fetchEvaluteList" @update:model-value="fetchEvaluteList"
use-input use-input
@filter="(inputValue:any,doneFn:Function) => filterOption(inputValue, doneFn) " @filter="(inputValue:any,doneFn:Function) => filterOption(inputValue, doneFn) "