บรรจุ map profileId

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-09 09:39:06 +07:00
parent 031ccd3aca
commit 605608ff04
3 changed files with 3 additions and 1 deletions

View file

@ -379,6 +379,7 @@ async function getTable() {
lastName: data.lastname,
citizenId: data.citizenId,
id: data.id,
profileId: data.profileId,
};
rowsAll.value.push(rowData);
});

View file

@ -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) => {

View file

@ -74,7 +74,6 @@ export const useStructureTree = defineStore("structureTree", () => {
messageError($q, err);
} finally {
isLoad && hideLoader();
console.log(123)
}
}