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
|
<q-card
|
||||||
bordered
|
bordered
|
||||||
style="border: 1px solid #d6dee1"
|
style="border: 1px solid #d6dee1"
|
||||||
v-if="checkRoute"
|
v-if="checkRoute && props.type === 'officer'"
|
||||||
>
|
>
|
||||||
<CardPosition :id="props.id" :type="props.type" />
|
<CardPosition :id="props.id" :type="props.type" />
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
|
||||||
|
|
@ -755,12 +755,12 @@ async function fetchDataTenure() {
|
||||||
/** ทำงานเมื่อ Components ถูกเรียกใช้งาน*/
|
/** ทำงานเมื่อ Components ถูกเรียกใช้งาน*/
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
fetchListSalary();
|
fetchListSalary();
|
||||||
fetchDataTenure();
|
empType.value === "" && fetchDataTenure();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<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">
|
<div class="col" v-for="(item, index) in cardData" :key="index">
|
||||||
<q-card bordered class="col-12" style="border: 1px solid #d6dee1">
|
<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">
|
<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 http from "@/plugins/http";
|
||||||
import config from "@/app.config";
|
import config from "@/app.config";
|
||||||
import { useRoute } from "vue-router";
|
import { useRoute } from "vue-router";
|
||||||
import { checkPermission, checkPermissionGet } from "@/utils/permissions";
|
import { checkPermission } from "@/utils/permissions";
|
||||||
import { useCounterMixin } from "@/stores/mixin";
|
import { useCounterMixin } from "@/stores/mixin";
|
||||||
import { useReportStore } from "@/modules/21_report/store";
|
import { useReportStore } from "@/modules/21_report/store";
|
||||||
import { useRegistryNewDataStore } from "@/modules/04_registryPerson/store";
|
import { useRegistryNewDataStore } from "@/modules/04_registryPerson/store";
|
||||||
|
|
@ -45,7 +45,6 @@ const employeeClassOption = ref<OptionData[]>([
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const rows = ref<any[]>([]);
|
const rows = ref<any[]>([]);
|
||||||
const detailReport = ref<any>();
|
|
||||||
|
|
||||||
/** ช่วงเวลา */
|
/** ช่วงเวลา */
|
||||||
const dateStart = ref<Date | null>(null); //บรรจุตั้งเเต่วันที่
|
const dateStart = ref<Date | null>(null); //บรรจุตั้งเเต่วันที่
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue