ปรับ Eva
This commit is contained in:
parent
965304339d
commit
6813d496e8
8 changed files with 317 additions and 92 deletions
|
|
@ -321,7 +321,7 @@ async function saveStep1() {
|
|||
}));
|
||||
|
||||
const performances = formDetail.value.assessments.map(
|
||||
({ id, ...rest }: any) => ({
|
||||
({ id, isAdd, ...rest }: any) => ({
|
||||
...rest,
|
||||
})
|
||||
);
|
||||
|
|
@ -444,8 +444,8 @@ async function saveStep2() {
|
|||
),
|
||||
{ ...formCommand, assignedPosition: undefined }
|
||||
)
|
||||
.then(() => {
|
||||
route.params.id && fetchCheckStep(route.params.id.toString());
|
||||
.then(async () => {
|
||||
route.params.id && (await fetchCheckStep(route.params.id.toString()));
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
@ -534,8 +534,8 @@ async function saveStep6() {
|
|||
),
|
||||
body
|
||||
)
|
||||
.then(() => {
|
||||
route.params.id && fetchCheckStep(route.params.id.toString());
|
||||
.then(async () => {
|
||||
route.params.id && (await fetchCheckStep(route.params.id.toString()));
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue