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 04a4df779..3e183f267 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 @@