updated develop project save step
This commit is contained in:
parent
f2a1d55ada
commit
8e3de78a85
6 changed files with 27 additions and 14 deletions
|
|
@ -179,7 +179,9 @@ function onSubmit() {
|
|||
progressTracking: progressTracking.value,
|
||||
projectEvaluation: projectEvaluation.value,
|
||||
})
|
||||
.then(() => {})
|
||||
.then(() => {
|
||||
!modalDialog.value && success($q, "บันทึกข้อมูลแล้ว");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
|
|
@ -199,6 +201,8 @@ function onClickAddIndicator(
|
|||
data: DevelopmentEvaluations | null = null,
|
||||
type: string = ""
|
||||
) {
|
||||
modalDialog.value = true;
|
||||
isChangeData.value && onSubmit();
|
||||
isEdit.value = statusEdit;
|
||||
typeAction.value = type;
|
||||
if (statusEdit) {
|
||||
|
|
@ -214,7 +218,6 @@ function onClickAddIndicator(
|
|||
formIndicators.suggestions = data.suggestions;
|
||||
}
|
||||
}
|
||||
modalDialog.value = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue