update route registry-employee
This commit is contained in:
parent
bdc7ab8df3
commit
ed1c7cc5b4
3 changed files with 12 additions and 3 deletions
|
|
@ -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: "ทั้งหมด" }]);
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue