แก้ไขชื่อไฟล์ อัพเดท route

This commit is contained in:
AnandaTon 2023-06-23 11:34:09 +07:00
parent ce65ff556c
commit 8db325f75c
3 changed files with 15 additions and 9 deletions

View file

@ -224,7 +224,9 @@ import type { DataOption } from "@/modules/05_placement/interface/index/Main";
import { useCounterMixin } from "@/stores/mixin";
import { usePlacementDataStore } from "@/modules/05_placement/store";
import router from "@/router";
import { useQuasar } from "quasar";
const $q = useQuasar(); // noti quasar
const DataStore = usePlacementDataStore();
const pagination = ref({
sortBy: "desc",
@ -499,10 +501,10 @@ const OriginalDataFetch = async () => {
UpdataData.value = OriginalData.value;
};
//
//
const redirectToPage = (id?: number) => {
// router.push({ name: 'placementDetail'});
router.push(`/orderPlacement/detail`);
// router.push(`/orderPlacement/detail`);
};
const clickDelete = (id: string) => {
@ -539,7 +541,7 @@ const clickDelete = (id: string) => {
// };
const clickAdd = () => {
router.push({ name: "addOrderReplace" });
router.push({ name: "addOrderPlacement" });
};
//