updated develop project save step
This commit is contained in:
parent
f2a1d55ada
commit
8e3de78a85
6 changed files with 27 additions and 14 deletions
|
|
@ -20,7 +20,7 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
* use
|
||||
*/
|
||||
const $q = useQuasar();
|
||||
const { showLoader, hideLoader, messageError } = useCounterMixin();
|
||||
const { showLoader, hideLoader, messageError, success } = useCounterMixin();
|
||||
const route = useRoute();
|
||||
|
||||
/**
|
||||
|
|
@ -123,7 +123,9 @@ function onSubmit() {
|
|||
: formData.budgetPay;
|
||||
http
|
||||
.put(config.API.developmentMainTab("tab7", projectId.value), formData)
|
||||
.then(() => {})
|
||||
.then(() => {
|
||||
success($q, "บันทึกข้อมูลแล้ว");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue