บรรจุ map profileId
This commit is contained in:
parent
031ccd3aca
commit
605608ff04
3 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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) => {
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,6 @@ export const useStructureTree = defineStore("structureTree", () => {
|
||||||
messageError($q, err);
|
messageError($q, err);
|
||||||
} finally {
|
} finally {
|
||||||
isLoad && hideLoader();
|
isLoad && hideLoader();
|
||||||
console.log(123)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue