From 605608ff044e4b18fc93f32acfb0a2ea74b02bb9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 9 Oct 2024 09:39:06 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9A=E0=B8=A3=E0=B8=A3=E0=B8=88=E0=B8=B8?= =?UTF-8?q?=20map=20profileId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/05_placement/components/PersonalList/Table.vue | 1 + src/modules/18_command/components/DialogCreateCommand.vue | 2 ++ src/stores/structureTree.ts | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/05_placement/components/PersonalList/Table.vue b/src/modules/05_placement/components/PersonalList/Table.vue index 5aff24e89..a3363d966 100644 --- a/src/modules/05_placement/components/PersonalList/Table.vue +++ b/src/modules/05_placement/components/PersonalList/Table.vue @@ -379,6 +379,7 @@ async function getTable() { lastName: data.lastname, citizenId: data.citizenId, id: data.id, + profileId: data.profileId, }; rowsAll.value.push(rowData); }); diff --git a/src/modules/18_command/components/DialogCreateCommand.vue b/src/modules/18_command/components/DialogCreateCommand.vue index 414f7ed72..bd8bb3aac 100644 --- a/src/modules/18_command/components/DialogCreateCommand.vue +++ b/src/modules/18_command/components/DialogCreateCommand.vue @@ -160,6 +160,7 @@ function createCommand(isRedirect: boolean) { firstName: e.firstName, lastName: e.lastName, citizenId: e.citizenId, + profileId: e.profileId, })); const body = { commandYear: commandYear.value, @@ -167,6 +168,7 @@ function createCommand(isRedirect: boolean) { commandTypeId: commandType.value, persons: data, }; + await http .post(config.API.command + `/person`, body) .then(async (res) => { diff --git a/src/stores/structureTree.ts b/src/stores/structureTree.ts index a4f8f6a0b..1de8bf225 100644 --- a/src/stores/structureTree.ts +++ b/src/stores/structureTree.ts @@ -74,7 +74,6 @@ export const useStructureTree = defineStore("structureTree", () => { messageError($q, err); } finally { isLoad && hideLoader(); - console.log(123) } }