แสดงรูปโปรไฟล์หน้ารายการทะเบียนประวัติ

This commit is contained in:
Warunee Tamkoo 2024-04-29 17:31:02 +07:00
parent 4232c5d4e8
commit 81fd3a3ac8
5 changed files with 117 additions and 91 deletions

View file

@ -285,21 +285,21 @@ async function clickSaveDeceased() {
formData.append("Reason", reasonDeath.value);
formData.append("ProfileId", profileId.value);
dialogConfirm($q,()=>{
dialogConfirm($q, () => {
showLoader();
http
.post(config.API.listDeceased(), formData)
.then(() => {
success($q, "บันทึกข้อมูลสำเร็จ");
router.push("/deceased");
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {
hideLoader();
});
})
http
.post(config.API.listDeceased(), formData)
.then(() => {
success($q, "บันทึกข้อมูลสำเร็จ");
router.push("/deceased");
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {
hideLoader();
});
});
}
onMounted(async () => {
@ -381,11 +381,11 @@ onMounted(async () => {
</q-btn>
</div>
<q-card >
<q-card>
<div class="column" style="height: 120px">
<div class="col row items-center">
<div class="row col-12">
<div class="col" style="padding-left: 14%;">
<div class="col" style="padding-left: 14%">
<div class="col-12 text-primary">
<h2
class="title q-ma-none q-pa-none"
@ -402,8 +402,8 @@ onMounted(async () => {
</div>
<div class="absolute-center-left q-ml-lg">
<q-avatar size="90px" class="bg-grey-2" >
<q-img :src="profilePicture"/>
<q-avatar size="90px" class="bg-grey-2">
<q-img :src="profilePicture" />
</q-avatar>
<q-btn
round
@ -418,7 +418,7 @@ onMounted(async () => {
</div>
<div class="col row items-center bg-toolbar">
<div class="row col-12" style="padding-left: 14%;">
<div class="row col-12" style="padding-left: 14%">
<div class="col-2">
<div class="col-sm-3 col-md-3">
<div class="col text-grey-6 text-caption">ตำแหนงในสายงาน</div>
@ -584,13 +584,13 @@ h2.title {
border-radius: 10px;
}
.bg-toolbar{
background-color: #F2FBFA;
.bg-toolbar {
background-color: #f2fbfa;
}
.btnEditImg{
position: absolute;
bottom: 0;
right: 0;
border: 1px solid #EDEDED ;
.btnEditImg {
position: absolute;
bottom: 0;
right: 0;
border: 1px solid #ededed;
}
</style>
</style>