fix ระยะเวลาดำรงตำแหน่ง
This commit is contained in:
parent
9ee003c913
commit
f9bdb3a523
3 changed files with 4 additions and 5 deletions
|
|
@ -487,7 +487,7 @@ async function fetchProfile(id: string, avatarName: string) {
|
|||
<q-card
|
||||
bordered
|
||||
style="border: 1px solid #d6dee1"
|
||||
v-if="checkRoute"
|
||||
v-if="checkRoute && props.type === 'officer'"
|
||||
>
|
||||
<CardPosition :id="props.id" :type="props.type" />
|
||||
</q-card>
|
||||
|
|
|
|||
|
|
@ -755,12 +755,12 @@ async function fetchDataTenure() {
|
|||
/** ทำงานเมื่อ Components ถูกเรียกใช้งาน*/
|
||||
onMounted(() => {
|
||||
fetchListSalary();
|
||||
fetchDataTenure();
|
||||
empType.value === "" && fetchDataTenure();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="row q-col-gutter-sm q-pb-sm">
|
||||
<div class="row q-col-gutter-sm q-pb-sm" v-if="empType === ''">
|
||||
<div class="col" v-for="(item, index) in cardData" :key="index">
|
||||
<q-card bordered class="col-12" style="border: 1px solid #d6dee1">
|
||||
<div class="col-12 text-weight-medium bg-grey-1 q-py-xs q-px-md">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import * as XLSX from "xlsx";
|
|||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { useRoute } from "vue-router";
|
||||
import { checkPermission, checkPermissionGet } from "@/utils/permissions";
|
||||
import { checkPermission } from "@/utils/permissions";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useReportStore } from "@/modules/21_report/store";
|
||||
import { useRegistryNewDataStore } from "@/modules/04_registryPerson/store";
|
||||
|
|
@ -45,7 +45,6 @@ const employeeClassOption = ref<OptionData[]>([
|
|||
]);
|
||||
|
||||
const rows = ref<any[]>([]);
|
||||
const detailReport = ref<any>();
|
||||
|
||||
/** ช่วงเวลา */
|
||||
const dateStart = ref<Date | null>(null); //บรรจุตั้งเเต่วันที่
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue