fix: payload multiple
This commit is contained in:
parent
d087fea744
commit
263e122b60
2 changed files with 9 additions and 0 deletions
|
|
@ -138,6 +138,14 @@ async function changeRound() {
|
|||
roundId: formData.round,
|
||||
effectiveDate: formattedDateForAPI,
|
||||
remark: formData.reson,
|
||||
firstName: item.firstName,
|
||||
lastName: item.lastName,
|
||||
prefix: item.prefix,
|
||||
rootDnaId: item.rootDnaId,
|
||||
child1DnaId: item.child1DnaId,
|
||||
child2DnaId: item.child2DnaId,
|
||||
child3DnaId: item.child3DnaId,
|
||||
child4DnaId: item.child4DnaId,
|
||||
}));
|
||||
} else {
|
||||
payload = {
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ export const useChangeRoundDataStore = defineStore(
|
|||
if (apiData.length > 0) {
|
||||
checkCilck.value = false;
|
||||
rows.value = apiData.map((e: any) => ({
|
||||
...e,
|
||||
profileId: e.profileId,
|
||||
cardId: e.citizenId,
|
||||
fullName: e.fullName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue