From 4fd13b672bbf73ea8828c5d225d2ebc90a4e52b4 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 24 Oct 2024 13:19:39 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=9F?= =?UTF-8?q?=E0=B8=AD=E0=B8=A3=E0=B9=8C=E0=B8=A1=E0=B9=80=E0=B8=9E=E0=B8=B4?= =?UTF-8?q?=E0=B9=88=E0=B8=A1=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=98=E0=B8=B2?= =?UTF-8?q?=E0=B8=99/=E0=B8=81=E0=B8=A3=E0=B8=A3=E0=B8=A1=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=20=E0=B8=A3=E0=B8=AD=20API=20list=20?= =?UTF-8?q?=E0=B8=84=E0=B8=99=E0=B8=AD=E0=B8=B1=E0=B8=99=E0=B9=83=E0=B8=AB?= =?UTF-8?q?=E0=B8=A1=E0=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/05_placement/api.probation.ts | 2 + .../DialogOrder/DialogSendToCommand.vue | 15 +- .../probation/FormAppoint/FormAppoint.vue | 202 +++++++++++------- 3 files changed, 139 insertions(+), 80 deletions(-) diff --git a/src/api/05_placement/api.probation.ts b/src/api/05_placement/api.probation.ts index 48a46c8cb..fca9c49a0 100644 --- a/src/api/05_placement/api.probation.ts +++ b/src/api/05_placement/api.probation.ts @@ -87,4 +87,6 @@ export default { appointMain, appointMainList:(id:string)=>`${appointMain}/list/${id}`, + + orgProfileDirector:`${orgProfile}/profile/commander-director` }; diff --git a/src/modules/05_placement/components/probation/DialogOrder/DialogSendToCommand.vue b/src/modules/05_placement/components/probation/DialogOrder/DialogSendToCommand.vue index 0a9bf839a..83c0480d3 100644 --- a/src/modules/05_placement/components/probation/DialogOrder/DialogSendToCommand.vue +++ b/src/modules/05_placement/components/probation/DialogOrder/DialogSendToCommand.vue @@ -16,6 +16,17 @@ const selected = ref([]); const mixin = useCounterMixin(); const { dialogConfirm } = mixin; +const dataMapToSend = computed(() => { + return selected.value.map((i: any) => ({ + id: i.id, + profileId: null, + prefix: null, + firstName: null, + lastName: null, + citizenId: null, + })); +}); + const filterKeyword = defineModel("filterKeyword", { required: true }); const rows = defineModel("rows", { required: true }); /** props*/ @@ -236,7 +247,7 @@ watchEffect(() => { diff --git a/src/modules/05_placement/components/probation/FormAppoint/FormAppoint.vue b/src/modules/05_placement/components/probation/FormAppoint/FormAppoint.vue index c70ded540..91993d4c1 100644 --- a/src/modules/05_placement/components/probation/FormAppoint/FormAppoint.vue +++ b/src/modules/05_placement/components/probation/FormAppoint/FormAppoint.vue @@ -1,6 +1,6 @@