แก้ไขชื่อไฟล์ อัพเดท route
This commit is contained in:
parent
ce65ff556c
commit
8db325f75c
3 changed files with 15 additions and 9 deletions
|
|
@ -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" });
|
||||
};
|
||||
|
||||
// เลือกปีงบประมาณ
|
||||
|
|
@ -10,10 +10,14 @@ const MainOther = () =>
|
|||
import("@/modules/05_placement/components/exams_other/Main.vue");
|
||||
const Placement2Detail = () =>
|
||||
import("@/modules/05_placement/components/exams_other/Detail.vue");
|
||||
const addOrderReplace = () =>
|
||||
import("@/modules/05_placement/components/OrderReplace/addOrderReplace.vue");
|
||||
const addOrderPlacement = () =>
|
||||
import(
|
||||
"@/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue"
|
||||
);
|
||||
const MainOrderPlacement = () =>
|
||||
import("@/modules/05_placement/components/OrderReplace/MainOrderReplace.vue");
|
||||
import(
|
||||
"@/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue"
|
||||
);
|
||||
export default [
|
||||
{
|
||||
path: "/placement/Sorkorcho",
|
||||
|
|
@ -66,9 +70,9 @@ export default [
|
|||
},
|
||||
},
|
||||
{
|
||||
path: "/placement/addOrderReplace",
|
||||
name: "addOrderReplace",
|
||||
component: addOrderReplace,
|
||||
path: "/placement/addOrderPlacement",
|
||||
name: "addOrderPlacement",
|
||||
component: addOrderPlacement,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [8],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue