2023-12-13 15:24:59 +07:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { ref, onMounted } from "vue";
|
|
|
|
|
import { useQuasar } from "quasar";
|
|
|
|
|
import { useRouter } from "vue-router";
|
|
|
|
|
import http from "@/plugins/http";
|
|
|
|
|
import config from "@/app.config";
|
|
|
|
|
|
2023-12-14 14:49:27 +07:00
|
|
|
import Tab1 from "@/modules/06_evaluate/components/Tab1.vue"; // ชำนาญการ
|
|
|
|
|
import Tab2 from "@/modules/06_evaluate/components/Tab2.vue"; // ชำนาญการพิเศษ
|
2023-12-13 15:24:59 +07:00
|
|
|
|
2023-12-14 14:49:27 +07:00
|
|
|
import { useEvaluateStore } from "@/modules/06_evaluate/store";
|
2023-12-19 10:56:51 +07:00
|
|
|
import { useCounterMixin } from "@/stores/mixin";
|
2023-12-13 15:24:59 +07:00
|
|
|
|
2023-12-19 10:56:51 +07:00
|
|
|
const mixin = useCounterMixin();
|
2023-12-14 14:49:27 +07:00
|
|
|
const store = useEvaluateStore();
|
2023-12-13 15:24:59 +07:00
|
|
|
const router = useRouter();
|
|
|
|
|
const $q = useQuasar();
|
2023-12-19 10:56:51 +07:00
|
|
|
|
|
|
|
|
const { showLoader, hideLoader, messageError } = mixin;
|
2023-12-13 15:24:59 +07:00
|
|
|
</script>
|
|
|
|
|
<template>
|
|
|
|
|
<div class="col-12 row justify-center">
|
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-11">
|
|
|
|
|
<div class="toptitle text-white col-12 row items-center">
|
2023-12-20 14:23:27 +07:00
|
|
|
<!-- <q-btn
|
2023-12-13 15:24:59 +07:00
|
|
|
icon="mdi-arrow-left"
|
|
|
|
|
unelevated
|
|
|
|
|
round
|
|
|
|
|
dense
|
|
|
|
|
flat
|
|
|
|
|
color="primary"
|
|
|
|
|
class="q-mr-sm"
|
|
|
|
|
@click="router.go(-1)"
|
2023-12-20 14:23:27 +07:00
|
|
|
/> -->
|
2023-12-22 17:05:57 +07:00
|
|
|
<div>ประเมินบุคคล</div>
|
2023-12-13 15:24:59 +07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-11 row q-col-gutter-md">
|
|
|
|
|
<div class="col-12 row">
|
|
|
|
|
<q-card bordered class="col-12 row caedNone">
|
|
|
|
|
<q-card class="col-12 items-center">
|
|
|
|
|
<q-tabs
|
|
|
|
|
v-model="store.tabMenu"
|
|
|
|
|
dense
|
|
|
|
|
align="left"
|
|
|
|
|
inline-label
|
|
|
|
|
class="rounded-borders"
|
|
|
|
|
indicator-color="primary"
|
|
|
|
|
active-bg-color="teal-1"
|
|
|
|
|
active-class="text-primary"
|
|
|
|
|
>
|
|
|
|
|
<q-tab name="1" label="ชำนาญการ" />
|
|
|
|
|
<q-tab name="2" label="ชำนาญการพิเศษ" />
|
|
|
|
|
</q-tabs>
|
|
|
|
|
<q-separator />
|
|
|
|
|
<q-tab-panels v-model="store.tabMenu" animated>
|
2023-12-21 17:51:13 +07:00
|
|
|
<q-tab-panel name="1">
|
2023-12-22 16:00:05 +07:00
|
|
|
<Tab1 :title="'ชำนาญการ'" :step="store.step" />
|
2023-12-21 17:51:13 +07:00
|
|
|
</q-tab-panel>
|
2023-12-13 15:24:59 +07:00
|
|
|
|
2023-12-19 17:04:39 +07:00
|
|
|
<q-tab-panel name="2">
|
2023-12-22 16:00:05 +07:00
|
|
|
<Tab1 :title="'ชำนาญการพิเศษ'" :step="store.step"
|
2023-12-19 17:04:39 +07:00
|
|
|
/></q-tab-panel>
|
2023-12-13 15:24:59 +07:00
|
|
|
</q-tab-panels>
|
|
|
|
|
</q-card>
|
|
|
|
|
</q-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style>
|