no message
This commit is contained in:
parent
b876c951b0
commit
0ddac48605
1 changed files with 16 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue