/**
 * Router ขอโอน
 */

const mainPage = () => import("@/modules/07_appealComplain/views/Main.vue");
const addPage = () => import("@/modules/07_appealComplain/views/Add.vue");
const editPage = () => import("@/modules/07_appealComplain/views/Edit.vue");

export default [
  {
    path: "/appeal-complain",
    name: "appealComplain",
    component: mainPage,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
  {
    path: "/appeal-complain/add",
    name: "appealComplainAdd",
    component: addPage,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
  {
    path: "/appeal-complain/:id",
    name: "appealComplainView",
    component: editPage,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
];
