Merge branch 'devTee' into develop
This commit is contained in:
commit
b115e33232
1 changed files with 11 additions and 12 deletions
|
|
@ -421,18 +421,17 @@ function closePassaway() {
|
|||
dialogPassaway.value = false;
|
||||
}
|
||||
|
||||
async function clickSaveDeceased() {
|
||||
const formData = new FormData();
|
||||
formData.append("File", filePassaway.value);
|
||||
formData.append("Number", deathCertificateNo.value);
|
||||
formData.append("Date", dateToISO(dateDeath.value));
|
||||
formData.append("Location", placeDeathCertificate.value);
|
||||
formData.append("Reason", reasonDeath.value);
|
||||
formData.append("ProfileId", profileId.value);
|
||||
|
||||
dialogConfirm($q, () => {
|
||||
function clickSaveDeceased() {
|
||||
dialogConfirm($q, async () => {
|
||||
showLoader();
|
||||
http
|
||||
const formData = new FormData();
|
||||
formData.append("File", filePassaway.value);
|
||||
formData.append("Number", deathCertificateNo.value);
|
||||
formData.append("Date", dateToISO(dateDeath.value));
|
||||
formData.append("Location", placeDeathCertificate.value);
|
||||
formData.append("Reason", reasonDeath.value);
|
||||
formData.append("ProfileId", profileId.value);
|
||||
await http
|
||||
.post(config.API.listDeceased(), formData)
|
||||
.then(() => {
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
|
|
@ -740,7 +739,7 @@ onMounted(async () => {
|
|||
<q-separator />
|
||||
</q-card>
|
||||
|
||||
<!-- <q-card>
|
||||
<!-- <q-card>
|
||||
<div class="column" style="height: 120px">
|
||||
<div class="col row items-center">
|
||||
<div class="row col-12">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue