From 8b9228a308cec3db10c34a1e3f904cc8ea175339 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Thu, 2 May 2024 16:36:46 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B9=82=E0=B8=AD=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Receive/receiveDetail2.vue | 73 +++---------------- .../interface/response/Receive.ts | 31 ++++++++ 2 files changed, 40 insertions(+), 64 deletions(-) diff --git a/src/modules/05_placement/components/Receive/receiveDetail2.vue b/src/modules/05_placement/components/Receive/receiveDetail2.vue index e328d67b6..24a5cd8fc 100644 --- a/src/modules/05_placement/components/Receive/receiveDetail2.vue +++ b/src/modules/05_placement/components/Receive/receiveDetail2.vue @@ -6,7 +6,10 @@ import { useCounterMixin } from "@/stores/mixin"; import { useProfileDataStore } from "@/modules/08_registryEmployee/store"; import CurrencyInput from "@/components/CurruncyInput.vue"; import type { QTableProps, QForm } from "quasar"; -import type { ResponseTitle } from "@/modules/05_placement/interface/response/Receive"; +import type { + ResponseTitle, + DataProfile, +} from "@/modules/05_placement/interface/response/Receive"; import type { InformationOps } from "@/modules/04_registry/interface/index/Main"; import type { Information, @@ -19,9 +22,9 @@ import { defaultInformation } from "@/modules/04_registry/components/profileType import http from "@/plugins/http"; import config from "@/app.config"; -import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue"; -const modalPersonal = ref(false); +import CardProfile from "@/components/CardProfile.vue"; +const dataProfile = ref(); const $q = useQuasar(); const route = useRoute(); const router = useRouter(); @@ -196,6 +199,7 @@ const getData = async () => { .get(config.API.receiveDataId(paramsId.toString())) .then(async (res: any) => { const data = res.data.result; + dataProfile.value = res.data.result as unknown as DataProfile; let list: docList[] = []; if (data.docs.length > 0) { data.docs.map((doc: docList) => { @@ -467,10 +471,6 @@ const getClass = (val: boolean) => { }; }; -function onclickViewinfo() { - modalPersonal.value = true; -} - onMounted(async () => { await fetchPerson(); await getData(); @@ -491,56 +491,8 @@ onMounted(async () => { /> รายละเอียดการรับโอนของ {{ title.fullname }} - -
-
- {{ title.fullname }} -
- - -
-
-
-
-
- - -
-
-
-
ตำแหน่งในสายงาน
-
- {{ title.positionTypeOld }} -
-
-
-
-
-
ระดับ
-
- {{ title.positionLevelOld }} -
-
-
-
-
-
สังกัด
-
- {{ title.organizationPositionOld }} -
-
-
-
-
-
+ +
@@ -1052,13 +1004,6 @@ onMounted(async () => {
- - -