update by req

This commit is contained in:
Warunee Tamkoo 2023-07-12 16:56:52 +07:00
parent 71884b950f
commit 3aa9b68b23
4 changed files with 185 additions and 296 deletions

View file

@ -46,15 +46,10 @@ import { ref, useAttrs } from "vue";
import { useCounterMixin } from "@/stores/mixin";
import { useQuasar } from "quasar";
const $q = useQuasar();
const mixin = useCounterMixin(); //
const { dialogMessage } = mixin;
const editvisible = ref<boolean>(false);
const attrs = ref<any>(useAttrs());
const paging = ref<boolean>(true);
const table = ref<any>(null);
const filterRef = ref<any>(null);
const modalPublish = ref<boolean>(false);
const modalDelete = ref<boolean>(false);
const props = defineProps({
inputfilter: String,
inputvisible: Array,
@ -143,8 +138,8 @@ const props = defineProps({
roleAdmin: Boolean
});
const pagination = ref({
sortBy: "desc",
descending: false,
sortBy: "number",
descending: true,
page: 1,
rowsPerPage: 10,
});