no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-23 18:03:27 +07:00
parent b876c951b0
commit 0ddac48605

View file

@ -9,6 +9,13 @@ const workStore = useWorklistDataStore();
const mixin = useCounterMixin();
const { date2Thai } = mixin;
const props = defineProps({
filetStatus: {
type: String,
require: true,
},
});
const emit = defineEmits(["update:pagination"]);
const updateProp = (newPagination: any, keyword: string, status: string) => {
// event parent component props
@ -21,7 +28,15 @@ const option = ref<any[]>([
{ id: "LATE", name: "สาย" },
{ id: "ABSENT", name: "ขาดราชการ" },
]);
const filetStatus = ref<string>("");
// const filetStatus = ref<string>(
// props.filetStatus?.toString() || "default-value"
// );
// const filetStatus = ref<string>(props.filetStatus.toString());
const filetStatus = ref<string>(
props.filetStatus?.toString() || "default-value"
);
const keyword = ref<string>("");
function filterFn() {