บรรจุ 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, lastName: data.lastname,
citizenId: data.citizenId, citizenId: data.citizenId,
id: data.id, id: data.id,
profileId: data.profileId,
}; };
rowsAll.value.push(rowData); rowsAll.value.push(rowData);
}); });

View file

@ -160,6 +160,7 @@ function createCommand(isRedirect: boolean) {
firstName: e.firstName, firstName: e.firstName,
lastName: e.lastName, lastName: e.lastName,
citizenId: e.citizenId, citizenId: e.citizenId,
profileId: e.profileId,
})); }));
const body = { const body = {
commandYear: commandYear.value, commandYear: commandYear.value,
@ -167,6 +168,7 @@ function createCommand(isRedirect: boolean) {
commandTypeId: commandType.value, commandTypeId: commandType.value,
persons: data, persons: data,
}; };
await http await http
.post(config.API.command + `/person`, body) .post(config.API.command + `/person`, body)
.then(async (res) => { .then(async (res) => {

View file

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