Merge branch 'develop' into NiceDev

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-19 09:17:35 +07:00
commit 28452ac380
2 changed files with 7 additions and 4 deletions

View file

@ -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>

View file

@ -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>
<!-- โครงเว --> <!-- โครงเว -->