update route registry-employee

This commit is contained in:
AnandaTon 2023-07-07 09:29:17 +07:00
parent bdc7ab8df3
commit ed1c7cc5b4
3 changed files with 12 additions and 3 deletions

View file

@ -568,6 +568,14 @@ const clickAdd = () => {
router.push({ name: "OrderplacementDetail" });
};
// const viewDetail = (id: string, status: string) => {
// if (status == "checkPayment") {
// router.push(`${route.fullPath}/payment/${id}`);
// } else {
// router.push(`${route.fullPath}/profile/${id}`);
// }
// };
//
const fiscalyear = ref<number | null>(0);
const fiscalyearOP = reactive<DataOption[]>([{ id: 0, name: "ทั้งหมด" }]);

View file

@ -8,7 +8,7 @@ const Main = () => import("@/modules/08_registryEmployee/views/Main.vue");
export default [
{
path: "/registryEmployee",
path: "/registry-employee",
name: "registryEmployee",
component: Main,
meta: {

View file

@ -112,7 +112,7 @@
dense
>
<q-menu transition-show="jump-down" transition-hide="jump-up">
<q-list dense style="min-width: 100px">
<q-list dense style="min-width: 150px">
<q-item
clickable
v-close-popup
@ -166,6 +166,7 @@
</template>
<script setup lang="ts">
import { ref, onMounted } from "vue";
import router from "@/router";
import { useQuasar } from "quasar";
import { useCounterMixin } from "@/stores/mixin";
import type { QInput, QForm } from "quasar";
@ -528,7 +529,7 @@ const clickClose = async () => {
};
const clickAdd = () => {
modal.value = true;
router.push({ name: "" });
};
const clickDelete = (id: string) => {