แก้บัค

This commit is contained in:
AnandaTon 2023-07-10 11:56:55 +07:00
parent b22880e5cb
commit d3f119ae89
3 changed files with 6 additions and 6 deletions

View file

@ -304,7 +304,7 @@ const mixin = useCounterMixin();
const { success, dateText, messageError, showLoader, hideLoader } = mixin;
const store = useManageDataStore();
const { manageData, changeManageColumns, getInsignia, dataInsignia } = store;
const rows = ref<RequestItemsHistoryObject[]>(); //list data table
const rows = ref<RequestItemsHistoryObject[]>([]); //list data table
const rowsHistory = ref<RequestItemsHistoryObject[]>([]); //select data history
const rawHistory = ref<RequestItemsHistoryObject[]>([]); //raw data history
const tittleHistory = ref<string>("ประวัติแก้ไขชื่อเครื่องราชฯ"); //

View file

@ -206,7 +206,7 @@ const { success, dateText, messageError, showLoader, hideLoader } = mixin;
const store = useManageDataStore();
const { manageData, changeManageColumns, getInsigniaType, dataInsigniaType } =
store;
const rows = ref<RequestItemsHistoryObject[]>(); //list data table
const rows = ref<RequestItemsHistoryObject[]>([]); //list data table
const rowsHistory = ref<RequestItemsHistoryObject[]>([]); //select data history
const rawHistory = ref<RequestItemsHistoryObject[]>([]); //raw data history
const tittleHistory = ref<string>("ประวัติแก้ไขลำดับชั้นเครื่องราชฯ"); //

View file

@ -164,7 +164,7 @@
import { ref, onMounted } from "vue";
import { useQuasar } from "quasar";
import { useCounterMixin } from "@/stores/mixin";
import type { QInput, QForm } from "quasar";
import type { QInput, QForm, QTableProps } from "quasar";
import { useRouter } from "vue-router";
import http from "@/plugins/http";
import config from "@/app.config";
@ -327,7 +327,7 @@ const visibleColumns = ref<String[]>([
"yearly",
"pay",
]);
const columns = [
const columns = ref<QTableProps["columns"]>([
{ name: "no", align: "left", label: "ลำดับ", field: "no", sortable: true },
{
name: "name",
@ -393,7 +393,7 @@ const columns = [
field: "pay",
sortable: true,
},
];
]);
const rows = [
{
@ -596,7 +596,7 @@ const clickAdd = () => {
// router.push(`/placement/detail`);
};
const editDetail = () => {
const editDetail = (id: string) => {
router.push({ name: "" });
};