diff --git a/src/components/Dialogs/PopupPersonalNew.vue b/src/components/Dialogs/PopupPersonalNew.vue index e1cce5bf9..a917080ea 100644 --- a/src/components/Dialogs/PopupPersonalNew.vue +++ b/src/components/Dialogs/PopupPersonalNew.vue @@ -116,6 +116,8 @@ async function fetchInformation(id: string) { avatar.position = data.position ? data.position : "-"; if (data.avatarName) { fetchProfile(data.id as string, data.avatarName); + } else { + avatar.avatar = ""; } }) .catch((err) => { @@ -199,7 +201,7 @@ async function fetchProfile(id: string, avatarName: string) { await http .get(config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", id, avatarName)) .then(async (res) => { - avatar.avatar = res.data.downloadUrl; + avatar.avatar = await res.data.downloadUrl; }) .finally(() => { hideLoader(); diff --git a/src/modules/05_placement/components/probation/FormAssign.vue b/src/modules/05_placement/components/probation/FormAssign.vue index b1b710b60..ca090e103 100644 --- a/src/modules/05_placement/components/probation/FormAssign.vue +++ b/src/modules/05_placement/components/probation/FormAssign.vue @@ -1148,7 +1148,7 @@ onMounted(async () => {
{
{ { การเรียนรู้ด้วยตนเองเพื่อให้มีความรู้เกี่ยวกับกฎหมายกฎระเบียบแบบแผนของทางราชการ
- c 4.3 การอบรมสัมมนาร่วมกันเพื่อปลูกฝังการประพฤติปฏิบัติตนเป็นข้าราชการที่ดี @@ -2502,7 +2501,6 @@ onMounted(async () => { :locale="'th'" autoApply :readonly="isEdit != true" - :enableTimePicker="false" week-start="0" > @@ -2601,7 +2599,6 @@ onMounted(async () => { v-model="date2" :locale="'th'" autoApply - :enableTimePicker="false" :readonly="isEdit != true" week-start="0" @@ -2618,9 +2615,7 @@ onMounted(async () => { :rules="[(val) => !!val || 'กรุณาเลือกวันที่']" :readonly="isEdit != true" dense - outlined - :model-value="date2 != null ? date2Thai(date2) : null" label="ลงวันที่" bg-color="white" @@ -2692,11 +2687,9 @@ onMounted(async () => {
{ ? [(val) => !!val || 'กรุณาเลือกวันที่'] : [] " - outlined - :model-value=" caretaker2 != null ? date2Thai(date3) : null " @@ -2802,7 +2793,6 @@ onMounted(async () => {
{ :rules="[(val) => !!val || 'กรุณาเลือกวันที่']" :readonly="isEdit != true" dense - outlined - :model-value="date4 != null ? date2Thai(date4) : null" label="ลงวันที่" bg-color="white"