ประเมิน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-28 16:55:52 +07:00
parent 6599f64e08
commit 7d6cada0fa

View file

@ -261,7 +261,6 @@ function filterSelector(val: string, update: Function, type: string) {
switch (type) {
case "typereport":
update(() => {
typeReport.value = val ? "" : typeReport.value;
listReport.value = listReportMain.value.filter(
(v: DataOption) => v.name.toLowerCase().indexOf(val) > -1
);
@ -269,7 +268,6 @@ function filterSelector(val: string, update: Function, type: string) {
break;
case "organization":
update(() => {
organization.value = val ? "" : organization.value;
organizationOps.value = organizationOpsMain.value.filter(
(v: DataOption) => v.name.toLowerCase().indexOf(val) > -1
);
@ -497,8 +495,8 @@ onMounted(() => {
<div class="row q-gutter-sm">
<q-select
:readonly="!checkPermission($route)?.attrIsGet"
style="min-width: 100px"
dense
style="min-width: 550px"
hide-bottom-space
outlined
option-label="name"
@ -509,8 +507,11 @@ onMounted(() => {
:options="listReport"
label="รายงาน"
use-input
hide-selected
fill-input
@update:model-value="changOption"
@filter="(inputValue: string,
doneFn: Function) => filterSelector(inputValue, doneFn ,'typereport')"
>
<template v-slot:no-option>
@ -637,6 +638,8 @@ onMounted(() => {
:disable="roundOp.length === 0"
style="min-width: 100px"
dense
hide-selected
fill-input
hide-bottom-space
outlined
option-label="name"