Merge branch 'develop' into NiceDev
This commit is contained in:
commit
28452ac380
2 changed files with 7 additions and 4 deletions
|
|
@ -50,9 +50,11 @@ const props = defineProps({
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6 text-grey-8">
|
<div class="col-xs-12 col-md-6 text-grey-8">
|
||||||
ลาครั้งสุดท้ายในประเภทนั้น ๆ เมื่อวันที่
|
ลาครั้งสุดท้ายเมื่อวันที่
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-12 col-md-6">
|
||||||
|
{{ props.data.leaveLastStart ?? "-" }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-6">{{ props.data.leaveLastStart }}</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6 text-grey-8">หมายเลขที่ติดต่อขณะลา</div>
|
<div class="col-xs-12 col-md-6 text-grey-8">หมายเลขที่ติดต่อขณะลา</div>
|
||||||
|
|
|
||||||
|
|
@ -234,7 +234,8 @@ function onInfo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// landing page redirect
|
// landing page redirect
|
||||||
const landingPageUrl = () => {
|
const landingPageUrl = ref<string>(getLandingUrl());
|
||||||
|
function getLandingUrl() {
|
||||||
if (window.location.hostname === "bmasso.bma.go.th") {
|
if (window.location.hostname === "bmasso.bma.go.th") {
|
||||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||||
} else if (window.location.hostname === "bma-ehr.frappet.com") {
|
} else if (window.location.hostname === "bma-ehr.frappet.com") {
|
||||||
|
|
@ -242,7 +243,7 @@ const landingPageUrl = () => {
|
||||||
} else {
|
} else {
|
||||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- โครงเว็บ -->
|
<!-- โครงเว็บ -->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue