updated develop project save step
This commit is contained in:
parent
f2a1d55ada
commit
8e3de78a85
6 changed files with 27 additions and 14 deletions
|
|
@ -56,7 +56,7 @@ const $q = useQuasar();
|
|||
const store = useDevelopmentDataStore();
|
||||
const route = useRoute();
|
||||
const projectId = ref<string>(route.params.id.toLocaleString());
|
||||
const { showLoader, hideLoader, messageError, date2Thai, diffDay } =
|
||||
const { showLoader, hideLoader, messageError, date2Thai, diffDay, success } =
|
||||
useCounterMixin();
|
||||
const checkRoutePermission = ref<boolean>(
|
||||
route.name == "developmentDetailPage"
|
||||
|
|
@ -322,7 +322,9 @@ function onSubmit() {
|
|||
reasonActual20: reasonActual20.value,
|
||||
reasonActual10: reasonActual10.value,
|
||||
})
|
||||
.then(() => {})
|
||||
.then(() => {
|
||||
success($q, "บันทึกข้อมูลแล้ว");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
hideLoader();
|
||||
|
|
@ -567,7 +569,7 @@ defineExpose({
|
|||
<div
|
||||
class="col-xs-12 col-sm-12 text-weight-medium bg-grey-1 q-py-xs q-px-md"
|
||||
>
|
||||
ระยะเวลาและสถานที่ดำเนินการ
|
||||
ระยะเวลาและสถานที่ดำเนินการ
|
||||
</div>
|
||||
<q-separator />
|
||||
<q-card-section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue