interface ตำแหน่ง
This commit is contained in:
parent
d7a450479c
commit
d1e6c3a1cb
3 changed files with 18 additions and 7 deletions
|
|
@ -6,6 +6,8 @@ import http from "@/plugins/http";
|
|||
import config from "@/app.config";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
import type { DataCardPos } from "@/modules/04_registryPerson/interface/index/government";
|
||||
|
||||
const $q = useQuasar();
|
||||
const { messageError, formatDatePosition } = useCounterMixin();
|
||||
|
||||
|
|
@ -19,7 +21,7 @@ const props = defineProps({
|
|||
type: { type: String, default: "" },
|
||||
});
|
||||
|
||||
const cardData = ref<any[]>([
|
||||
const cardData = ref<DataCardPos[]>([
|
||||
{
|
||||
label: "ระยะเวลาดำรงตำแหน่งในสายงาน",
|
||||
data: [],
|
||||
|
|
@ -93,7 +95,7 @@ onMounted(() => {
|
|||
<q-item-section>
|
||||
<q-item-label class="text-grey-6">{{ item.label }}</q-item-label>
|
||||
<q-item-label
|
||||
><li v-for="data in item.data" :key="data.id">
|
||||
><li v-for="data in item.data">
|
||||
{{ data.name }} {{ data.time }}
|
||||
</li>
|
||||
</q-item-label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue