1/7(재)한국의학연구소 강남분사무소
[Văn phòng chi nhánh Gangnam của Viện Khoa học Y tế Hàn Quốc]
- Giờ làm việc
- 07:00-13:00 (Giờ vào cửa cuối cùng) / Đóng cửa vào Chủ nhật và các ngày lễ
- Địa chỉ
- Bản đồ các tầng 2, 8 và 10, tòa nhà Seongdam, số 411 đường Teheran-ro, quận Gangnam-gu, Seoul -->
Giới thiệu
Viện Khoa học Y tế KMI Hàn Quốc là một cơ sở khám chữa bệnh chuyên khoa, không chỉ đơn thuần là trung tâm sàng lọc. Dựa trên 39 năm kinh nghiệm và kiến thức tích lũy, chúng tôi luôn đi đầu trong việc thúc đẩy sức khỏe cộng đồng và thiết lập các hệ thống y tế tiên tiến. Hãy duy trì một cuộc sống khỏe mạnh cùng KMI từ khi sinh ra đến khi qua đời thông qua việc chẩn đoán sớm bệnh tật và chăm sóc theo dõi cá nhân hóa. Các lĩnh vực điều trị chuyên khoa: 1. Khám sức khỏe tổng quát 2. Khám chuyên khoa 3. Xét nghiệm gen 4. Nội soi dạ dày và nội soi đại tràng (Cắt polyp) Thông tin về cơ sở vật chất bao gồm số lượng nhân viên y tế, số lượng phòng mổ/phòng điều trị, sự hiện diện của bác sĩ gây mê và việc lắp đặt máy AED (Máy khử rung tim tự động). Số lượng nhân viên y tế Số lượng phòng mổ/phòng điều trị Có bác sĩ gây mê Lắp đặt máy AED N N Bảo hiểm trách nhiệm dân sự Tên và thời hạn bảo hiểm - Giới thiệu cơ sở bệnh viện --> Danh sách Điều khoản sử dụng Liên hệ với chúng tôi --> [06001] Trung tâm Du lịch Y tế Gangnam, 161 Apgujeong-ro, Gangnam-gu, Seoul Email: medicaltour.gangnam@gmail.com Điện thoại: 1661-2230 Fax: 070-8680-1713 BẢN QUYỀN @ 2023 VĂN PHÒNG GANGNAM-GU. BẢO LƯU MỌI QUYỀN. Liên hệ với chúng tôi Quay lại đầu trang --> Yêu cầu dịch vụ phiên dịch Tên người yêu cầu Số điện thoại Email người yêu cầu Tên bệnh nhân Quốc tịch Ngôn ngữ Tiếng Anh Tiếng Trung Tiếng Nhật Tiếng Nga Tiếng Mông Cổ Tiếng Thái Tiếng Việt Tiếng Ả Rập Tiếng Indonesia Ngày và giờ thăm khám Ngày thăm khám Giờ bắt đầu ~ Giờ kết thúc thăm khám ※ Vui lòng đặt lịch trước ít nhất một tuần $(document).ready(function() { var today = new Date(); var minDate = new Date(); var maxDate = new Date(); // minDate: Một tuần kể từ hôm nay, đặt thành 00:00:00 minDate.setDate(today.getDate() + 7); minDate.setHours(0, 0, 0, 0); // maxDate: Một tháng kể từ hôm nay, đặt thành 23:59:59 maxDate.setDate(today.getDate() + 30); maxDate.setHours(23, 59, 59, 999); $(".translationPopup #dateInput").flatpickr({ locale: "ko", dateFormat: "Y-m-d", // Định dạng ngày minDate: minDate, // Cài đặt ngày tối thiểu maxDate: maxDate, // Cài đặt ngày tối đa allowInput: true, onValueUpdate: function(selectedDates, dateStr, instance) { var inputDate = new Date(dateStr); // Giá trị người dùng nhập if (inputDate maxDate) { alert("Ngày đã chọn không hợp lệ. Vui lòng nhập lại."); instance.clear(); // Đặt lại giá trị nhập không hợp lệ } } }); }); Bệnh viện bạn muốn đến có phải là cơ sở đối tác không? Có. Đó là một cơ sở đối tác. Không. Đó không phải là một cơ sở đối tác. Tên bệnh viện Vị trí Phiên dịch Nội dung Ưu tiên phiên dịch viên Giới tính Không liên quan Nữ Nam Bạn có muốn tôi gửi email bằng tiếng Hàn không? Có. Vui lòng gửi bằng tiếng Hàn. Không. Vui lòng gửi bằng ngôn ngữ đã chọn. Hủy gửi .translationPopup input[type=radio]:checked{ color: var(--bs-btn-active-color); background-color: #1f1f1f; } // Kiểm tra Kỳ nghỉ Tết Nguyên đán (14 ~ 18 tháng 2 năm 2026) - Cửa sổ Dịch vụ Phiên dịch $(document).on('show.bs.modal', '#translationPopup', function(e) { var today = new Date(); var year = today.getFullYear(); var month = today.getMonth() + 1; var day = today.getDate(); if (year === 2026 && month === 2) { if (day >= 14 && day × --> Chủ đề Yêu cầu Tên Người yêu cầu Email Người yêu cầu Nội dung Yêu cầu Gửi Hủy Đăng ký Đối tác Cơ sở Phân loại Người nộp đơn Cơ sở Y tế Cơ sở Tổng quát Cơ sở Khác Tên Người đại diện Cơ sở Người phụ trách (Chức vụ) Số điện thoại liên lạc của Người phụ trách Địa chỉ Email Danh sách Tài liệu Đã nộp Vui lòng kiểm tra các tài liệu bạn đã chuẩn bị. Đơn đăng ký Bản sao Giấy chứng nhận đăng ký kinh doanh Bản sao Giấy đăng ký Thu hút Bệnh nhân Nước ngoài (nếu có) Tài liệu Hỗ trợ (Giấy phép Chuyên khoa, Thông tin Ngôn ngữ, v.v.) Khác Tệp đính kèm Vui lòng đính kèm tài liệu. (Tối đa 5 tệp, định dạng jpeg, jpg, png, gif, pdf, doc, docx, xls, xlsx, hwp, zip) Tải lên tệp Hủy gửi $(document).ready(function() { var partnerUploadedFiles = []; // Khởi tạo trình tải lên tệp $("#partnerFileuploader").uploadFile({ url: "/file/upload.do?bbs_cd=partner", method: "POST", allowedTypes: "jpeg,jpg,png,gif,doc,docx,pdf,zip,txt,ppt,pptx,xls,xlsx,hwp", fileName: "myfile", multiple: true, maxFileCount: 5, showDelete: true, showPreview: true, showProgress: true, onSuccess: function(files, data, xhr) { partnerUploadedFiles.push(data); }, onError: function(files, status, errMsg) { $("#partnerFileStatus").html("Đã xảy ra lỗi khi tải lên tệp."); }, deleteCallback: function(data) { $.ajax({ type: "POST", url: "/file/delete.do", data: {fileJsonValue: data, bbs_cd: 'partner'}, success: function(r) { var index = partnerUploadedFiles.indexOf(data); if (index !== -1) { partnerUploadedFiles.splice(index, 1); } } }); } }); // Bật/tắt hộp kiểm Khác $("#partner_doc_other_check").change(function() { if ($(this).is(':checked')) { $("#partner_doc_other_text").show(); } else { $("#partner_doc_other_text").hide().val(''); } }); // Đặt lại biểu mẫu bất cứ khi nào modal được mở mở $('#partnerPopup').on('show.bs.modal', function () { // Đặt lại biểu mẫu $("#partnerForm")[0].reset(); // Đặt lại các tệp liên quan đến tải lên tệp partnerUploadedFiles = []; $(".ajax-file-upload-container").html(""); $("#partnerFileStatus").html(""); $("#partner_fileJsonValue").val(""); // Ẩn các trường văn bản khác $("#partner_doc_other_text").hide().val(''); // Đặt lại trạng thái nút var $submitBtn = $("#partnerBtnSubmit"); $submitBtn.prop('disabled', false); $submitBtn.html('Submit'); $("#partnerBtnClose").prop('disabled', false); }); / // Đặt lại ngay cả sau khi modal đóng hoàn toàn đóng (Sao lưu) $('#partnerPopup').on('hidden.bs.modal', function () { // Khởi tạo biểu mẫu $("#partnerForm")[0].reset(); partnerUploadedFiles = []; $(".ajax-file-upload-container").html(""); $("#partner_fileJsonValue").val(""); $("#partner_doc_other_text").hide().val(''); }); // Nhấp vào nút Gửi $("#partnerBtnSubmit").on("click", function() { // Xác thực các trường bắt buộc nếu (!$("input[name='applicant_type']:checked").val()) { alert("Vui lòng chọn loại ứng viên."); return; } nếu (!$("#partner_organization_name").val()) { alert("Vui lòng nhập tên tổ chức ứng viên."); return; } nếu (!$("#partner_representative_name").val()) { alert("Vui lòng nhập tên người đại diện."); return; } if (!$("#partner_manager_name").val()) { alert("Vui lòng nhập tên (chức vụ) người phụ trách."); return; } if (!$("#partner_manager_contact").val()) { alert("Vui lòng nhập số điện thoại liên lạc của người phụ trách."); return; } if (!$("#partner_email").val()) { alert("Vui lòng nhập địa chỉ email."); return; } // Vô hiệu hóa nút và hiển thị trạng thái đang tải var $submitBtn = $(this); var originalText = $submitBtn.html(); $submitBtn.prop('disabled', true); $submitBtn.html('Đang xử lý...'); $("#partnerBtnClose").prop('disabled', true); // Lưu thông tin tệp đính kèm $("#partner_fileJsonValue").val(partnerUploadedFiles.join("||")); // Chuyển đổi dữ liệu biểu mẫu thành chuỗi var formData = $("#partnerForm").serialize(); $.ajax({ url: '/2021/process/translation.jsp?action=partnerApply', type: 'POST', data: formData, success: function(response) { try { var result = JSON.parse(response); if (result.count && result.count > 0) { // Hiển thị số biên lai và mở cửa sổ hoàn thành nếu (result.receiptNumber) { $("#receiptNumberDisplay").text(result.receiptNumber); $("#partnerPopup").modal('hide'); $("#partnerForm")[0].reset(); partnerUploadedFiles = []; // Đặt lại trình tải lên tập tin $(".ajax-file-upload-container").html(""); // Hiển thị cửa sổ hoàn thành setTimeout(function() { $("#partnerCompleteModal").modal('show'); }, 500); } else { alert("Ứng dụng của bạn đã hoàn tất."); $("#partnerPopup").modal('hide'); $("#partnerForm")[0].reset(); partnerUploadedFiles = []; } } else { alert("Đã xảy ra lỗi trong quá trình ứng tuyển.\nVui lòng thử lại."); // Nút khôi phục $submitBtn.prop('disabled', false); $submitBtn.html(originalText); $("#partnerBtnClose").prop('disabled', false); } } catch (e) { alert("Đã xảy ra lỗi trong quá trình ứng tuyển.\nVui lòng thử lại."); // Nút khôi phục $submitBtn.prop('disabled', false); $submitBtn.html(originalText); $("#partnerBtnClose").prop('disabled', false); } }, error: function(xhr, status, error) { alert("Đã xảy ra lỗi trong quá trình ứng tuyển.\nVui lòng thử lại.") lại."); // Nút khôi phục $submitBtn.prop('disabled', false); $submitBtn.html(originalText); $("#partnerBtnClose").prop('disabled', false); } }); }); }); .partnerPopup input[type=radio], .partnerPopup input[type=checkbox] { -webkit-appearance: auto !important; -moz-appearance: auto !important; appearance: auto !important; opacity: 1 !important; visibility: visible !important; position: static !important; width: 16px !important; height: 16px !important; margin-right: 8px !important; vertical-align: middle !important; cursor: pointer !important; } .partnerPopup label.radio-inline { cursor: pointer; margin-right: 20px; font-weight: normal; } .partnerPopup label.checkbox-label { display: block; margin-bottom: 10px; cursor: pointer; font-weight: normal; } /* Hoạt ảnh vòng xoay tải */ @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .fa-spinner.fa-spin { animation: spin 1s linear infinite; } /* Kiểu nút bị vô hiệu hóa */ #partnerBtnSubmit:disabled { opacity: 0.7; cursor: not-allowed; } Ứng dụng của tổ chức đối tác hoàn tất. Đã nhận được đơn. Số biên nhận. Đơn đăng ký của đại lý đối tác đã được nhận thành công. Chúng tôi sẽ liên hệ với bạn qua thông tin liên hệ bạn đã cung cấp sau khi người phụ trách xem xét. Vui lòng ghi lại số biên nhận. Xác nhận --> Yêu cầu dịch vụ đón khách. Đã đặt trước. Loại sản phẩm bệnh viện. Đón tại sân bay. Trả tại sân bay. Số chuyến bay. Số hành lý. Hành khách. Tên chuyến bay tiếp theo. Sân bay Incheon 1. Sân bay Incheon 2. Sân bay Gimpo. Tên chuyến bay đến. Tra cứu địa chỉ điểm đến. Tên chuyến bay khởi hành. Tra cứu địa chỉ điểm đến. Tên chuyến bay khởi hành. Sân bay Incheon 1. Sân bay Incheon 2. Sân bay Gimpo Trước Tiếp theo Tên hành khách Số hành khách Ngày/Giờ lên máy bay Ngày bắt đầu Tin nhắn Tin nhắn Trước Gửi Hủy $("#conciergeType").on("change", function(){ if($(this).val() == "pickup"){ /* Địa chỉ khởi hành: Dịch vụ đón tại sân bay bị vô hiệu hóa Tên khởi hành: chọn Địa chỉ điểm đến: [Tìm kiếm] Tên điểm đến: văn bản */ $(".checkedPickup").addClass("active_type"); $(".checkedSanding").removeClass("active_type"); $(".checkedEtc").removeClass("active_type"); /* $("#checkedPickup").show(); $("#checkedSanding").hide(); */ $(".active_type #conciergeDptAddr").val("Đón tại sân bay"); $(".active_type #conciergeArrAddr").val(""); }else if ($(this).val() == "sanding"){ /* Tên khởi hành: văn bản Địa chỉ khởi hành: [Tìm kiếm] Tên người đến: chọn Địa chỉ người đến: Sân bay Gửi bị vô hiệu hóa */ /* $("#checkedPickup").hide(); $("#checkedSanding").show(); */ $(".checkedSanding").addClass("active_type"); $(".checkedPickup").removeClass("active_type"); $(".checkedEtc").removeClass("active_type"); $(".active_type #conciergeArrAddr").val("Trả khách tại sân bay"); $(".active_type #conciergeDptAddr").val(""); }else{ $(".checkedSanding").removeClass("active_type"); $(".checkedPickup").removeClass("active_type"); $(".checkedEtc").addClass("active_type"); $(".active_type #conciergeArrAddr").val(""); $(".active_type #conciergeDptAddr").val(""); } }); $(".conciergePopup .daumApi").on("click", function(){ new daum.Postcode({ oncomplete: function(data) { if($("#conciergeType").val() == "pickup"){ $(".active_type #conciergeArrAddr").val(data.address); }else if($("#conciergeType").val() == "sanding"){ $(".active_type #conciergeDptAddr").val(data.address); }/* else{ $("#hiddenAddr").val(data.address); textEtcAddress(); } */ } }).open(); /* $("#hiddenId").val($(this).attr("id")); */ }); $(".conciergePopup #daumDpt").on("click", function(){ new daum.Postcode({ oncomplete: function(data) { $(".active_type #conciergeDptAddr").val(data.address); } }).open(); }); $(".conciergePopup #daumArr").on("click", function(){ new daum.Postcode({ oncomplete: function(data) { $(".active_type #conciergeArrAddr").val(data.address); } }).open(); }); $(".conciergePopup .dateInput").on("change", function(){ // Concierge const datetimeInput = $(this).val(); // console.log(datetimeInput); const parsedDatetime = new Date(datetimeInput); // chuyển đổi sang chuỗi datetime-local const timezoneOffset = parsedDatetime.getTimezoneOffset() * 60000; const datetimeForDatabase localDatetime.toISOString().slice(0, 19).replace("T", " "); Ngày và giờ ở định dạng "YYYY-MM-DD HH:MM:SS" $(".dateTimeHidden").val(datetimeForDatabase); }); /* Yêu cầu hỗ trợ khách hàng Hàn Quốc */ $(".conciergePopup #btnNext.step1").on("click", function(){ if(!$(".conciergePopup #partnerHospital").val()){ alert($("label[for=partnerHospital]").text()+" Vui lòng nhập."); }else if(!$(".conciergePopup #conciergeFlightNum").val()){ alert($("label[for=conciergeFlightNum]").text()+" Vui lòng nhập."); }else if(!$(".conciergePopup #conciergeLuggageNum").val()){ alert($("label[for=conciergeLuggageNum]").text()+" Vui lòng nhập."); }else if(!$(".conciergePopup #conciergePassengersNum").val()){ alert($("label[for=conciergePassengersNum]").text()+" Vui lòng nhập."); } else { $(".conciergePopup .section-step1").removeClass("active");; $(".conciergePopup .section-step2").addClass("active"); } }); $(".conciergePopup #btnPrev.step2").on("click", function(){ $(".conciergePopup .section-step2").removeClass("active");; $(".conciergePopup .section-step1").addClass("active"); }); $(".conciergePopup #btnNext.step2").on("click", function(){ if(!$(".conciergePopup .section-step2 .active_type #conciergeDepart").val()){ alert($(".section-step2 .active_type nếu (!$(".conciergePopup .section-step2 .active_type #conciergeDptAddr").val()){ alert($(".section-step2 .active_type label[for=conciergeDptAddr]").text()+" Vui lòng nhập."); }else if(!$(".conciergePopup .section-step2 .active_type #conciergeArrive").val()){ alert($(".section-step2 .active_type label[for=conciergeArrive]").text()+" Vui lòng nhập."); }else if(!$(".conciergePopup .section-step2 .active_type #conciergeArrAddr").val()){ alert($(".section-step2 .active_type label[for=conciergeArrAddr]").text()+" Vui lòng nhập."); }else{ $(".conciergePopup .section-step2").removeClass("active");; $(".conciergePopup .section-step3").addClass("active"); $(".conciergePopup #btnPrev.step3").on("click", function(){ .section-step3").removeClass("active");; $(".conciergePopup .section-step2").addClass("active"); }); $(".conciergePopup #btnPrev.step3").on("click", function(){ $(".conciergePopup .section-step3").removeClass("active");; $(".conciergePopup .section-step2").addClass("active"); }); .popup_footer {left: 0;bottom: -15px;width: 100%;height: 5em;font-size: 1.6rem;letter-spacing: -.048rem;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;/* padding-top: 2.5rem; */font-family: 'Pretendard';background-color: white;} .popup_footer #start, .popup_footer #next, .popup_footer #finish, .popup_footer #close {/* position:absolute; *//* right:1em; */bottom:0.7em;cursor: pointer;width: 12rem;/* height: 5rem; */border: 1px solid #ddd;color: #333;margin: 0 0.5rem;line-height: 5rem;text-align: center;color: #fff;background: #303030;} .popup_footer #exit {position:absolute;left:23rem;bottom:0.7em;cursor: pointer;} .popup_footer button {width: 135px; color:white; height: 46px; margin:0px 10px; padding-left: 50px; padding-right: 50px; padding-top: 13px; padding-bottom: 13px; background: #2d845f; border-radius: 5px; justify-content: center; align-items: center; display: inline-flex} .popup_footer button#btnClose {color:black!important; padding-left: 50px; padding-right: 50px; padding-top: 13px; padding-bottom: 13px; background: white; border-radius: 5px; border: 1px rgba(204, 204, 204, 0.80) solid; justify-content: center; align-items: center; display: inline-flex } .popup_footer button#btnPrev {color:black!important; padding-left: 50px; padding-right: 50px; padding-top: 13px; padding-bottom: 13px; background: white; border-radius: 5px; border: 1px rgba(204, 204, 204, 0.80) solid; justify-content: center; align-items: center; display: inline-flex } /* input date,time icon label */ .translationPopup #dateInput{position: relative;} .translationPopup #dateInput::-webkit-calendar-picker-indicator {position: absolute;left: 0;top: 0;width: .translationPopup #startTimeInput{position: relative;} .translationPopup #startTimeInput::-webkit-calendar-picker-indicator {position: absolute;left: 0;top: 0;width: 100%;height: 100%;background: transparent;color: transparent;cursor: pointer;} .translationPopup #endTimeInput{position: relative;} .translationPopup #endTimeInput::-webkit-calendar-picker-indicator {position: absolute;left: 0;top: 0;width: 100%;height: 100%;background: transparent;color: transparent;cursor: pointer;} .conciergePopup #dateInput{position: relative;} .conciergePopup #dateInput::-webkit-calendar-picker-indicator {position: absolute;left: 0;top: 0;width: 100%;height: 100%;background: transparent;color: transparent;cursor: pointer;} .conciergePopup #startTimeInput{position: relative;} .conciergePopup #startTimeInput::-webkit-calendar-picker-indicator {position: absolute;left: 0;top: 0;width: 100%;height: 100%;background: transparent;color: transparent;cursor: pointer;} .conciergePopup #endTimeInput{position: relative;} .conciergePopup #endTimeInput::-webkit-calendar-picker-indicator {position: absolute;left: 0;top: 0;width: 100%;height: 100%;background: transparent;color: transparent;cursor: pointer;} /* scrollToTop */ #scrollToTop{padding:9px 0 10px;width:45px;height:45px;text-align:center;font-weight:bold;color:#fff;text-decoration:none;position:fixed;bottom:10px;right:10px;display:none;cursor:pointer;border:none;background-color:rgba(0, 0, 0, 0.5);z-index:100;-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transition:all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-o-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;-webkit-border-radius:50px;-moz-border-radius:50px;border-radius:50px;opacity:0.8;} #scrollToTop i{margin-top:-3px;padding-right:0} #scrollToTop:hover,#scrollToTop:visited,#scrollToTop:focus{text-decoration:none;background-color:#000;color:#fff;opacity:1.0;} /* Modal hướng dẫn từng bước của dịch vụ Concierge */ .checkedPickup {display:none;} .checkedPickup.active_type{display:block;} .checkedSanding {display:none;} .checkedSanding.active_type{display:block;} .section-step1 {display:none;} .section-step2 {display:none;} .section-step3 {display:none;} .section-step1.active {display:block;} .section-step2.active {display:block;} .section-step3.active {display:block;} .concierge-modal-header {display: flex;align-items: center;justify-content: space-between;} .conciergePopup .daumApi{ color: black!important; padding-left: 25px; padding-right: 25px; padding-top: 13px; padding-bottom: 13px; background: white; border-radius: 5px; border: 1px rgba(204, 204, 204, 0.80) solid; justify-content: center; align-items: center; display: inline-flex; } $(".navButton").click(function() { $(".mobileMenu, .page_cover, body").addClass("open"); window.location.hash = "#menu" }); window.onhashchange = function () { if (location.hash != "#menu") { $(".mobileMenu", .page_cover, body").removeClass("open"); } }; $(".mobileMenu .close").click(function() { $(".mobileMenu").removeClass("open"); }); $(window).resize( function() { var i = $('.thumb').width()/1.5; $('.thumb, .thumb a, .thumb a .info').height(i); }); $(window).ready( function() { var i = $('.thumb').width()/1.5; $('.thumb, .thumb a, .thumb a .info').height(i); /* $('.thumb').height(i); $('.thumb a').height(i); $('.thumb a .info').height(i); */ // Tiếng Hàn)) Yêu cầu phiên dịch // const now = new Date(); // const year = now.getFullYear(); // // Yêu cầu từ 7 ngày sau // const calculatedDate = new Date(year, now.getMonth(), now.getDate() + 7); // const nextMonth = (calculatedDate.getMonth() + 1).toString().padStart(2, '0'); // const minDate = calculatedDate.getDate().toString().padStart(2, '0'); // // Đặt ngày mặc định cho dịch vụ phiên dịch và đón // const defaultDate2 = calculatedDate.getFullYear() + "-" + nextMonth + "-" + minDate; // $(".dateInput").val(defaultDate2).trigger("change"); // $(".dateInput").attr("min", defaultDate2); // // Đặt ngày tối đa // const maxDate = new Date(year, now.getMonth(), now.getDate() + 30); // 30 ngày kể từ ngày hiện tại // const maxMonth = (maxDate.getMonth() + 1).toString().padStart(2, '0'); // const maxDay = maxDate.getDate().toString().padStart(2, '0'); // const maxDateString = maxDate.getFullYear() + "-" + maxMonth + "-" + maxDay; // $(".dateInput").attr("max", maxDateString); }); //scrollToTop $(window).scroll(function(){ if ($(this).scrollTop() > 100) { $('#scrollToTop').fadeIn(); } else { $('#scrollToTop').fadeOut(); } }); //Sự kiện khi nhấp vào scrollToTop $('#scrollToTop').click(function(){ $('html, body').animate({scrollTop : 0},400,'linear'); return false; }); // Phiên dịch yêu cầu $(".translationPopup #dateInput").on("change", function() { // Ngày hôm nay var today = new Date(); var minDate = new Date(); var maxDate = new Date(); // minDate: Một tuần kể từ hôm nay, đặt thành 00:00:00 minDate.setDate(today.getDate() + 7); minDate.setHours(0, 0, 0, 0); // maxDate: Một tháng kể từ hôm nay, đặt thành 23:59:59 maxDate.setDate(today.getDate() + 30); maxDate.setHours(23, 59, 59, 999); const formatDate = (date) => { return date.toISOString().split("T")[0]; }; var minDateText = new Date(); minDateText.setDate(minDate.getDate() + 0.5); const formattedMinDate = formatDate(minDateText); const formattedMaxDate = formatDate(maxDate); // Lấy dữ liệu người dùng nhập const datetimeInput = $(this).val(); console.log(datetimeInput); // Chuyển đổi dữ liệu nhập thành đối tượng Date var inputDate = new Date(datetimeInput); // Kiểm tra dữ liệu nhập if (inputDate maxDate || isNaN(inputDate)) { alert("Ngày đã chọn không hợp lệ." + formattedMinDate + "~" + formattedMaxDate + " Vui lòng nhập trong khoảng."); $(this).val(""); // Đặt lại tập trung vào trường nhập setTimeout(() => { $(".translationPopup #dateInput").focus(); // Đặt lại tiêu điểm }, 0); return; } // Nếu dữ liệu nhập hợp lệ, hãy đặt giá trị trong trường ẩn $(".translationPopup #dateHidden").val(datetimeInput); }); $(".translationPopup #startTimeInput").on("change", function(){ const datetimeInput = $(".translationPopup #dateHidden").val()+"T"+$(this).val(); const parsedDatetime = new Date(datetimeInput); const timezoneOffset = parsedDatetime.getTimezoneOffset() * 60000; const localDatetime = new Date(parsedDatetime.getTime() - timezoneOffset); const datetimeForDatabase = localDatetime.toISOString().slice(0, 19).replace("T", " "); // Ngày và giờ ở định dạng "YYYY-MM-DD HH:MM:SS" $(".translationPopup #startTimeHidden").val(datetimeForDatabase); }); $(".translationPopup #endTimeInput").on("change", function(){ const datetimeInput = $(".translationPopup #dateHidden").val()+"T"+$(this).val(); const parsedDatetime = new Date(datetimeInput); const timezoneOffset = parsedDatetime.getTimezoneOffset() * 60000; const localDatetime = new Date(parsedDatetime.getTime() - timezoneOffset); const datetimeForDatabase = localDatetime.toISOString().slice(0, 19).replace("T", " "); // Ngày và giờ ở định dạng "YYYY-MM-DD HH:MM:SS" $(".translationPopup #endTimeHidden").val(datetimeForDatabase); }); // Yêu cầu hỗ trợ khách hàng $(".conciergePopup #dateInput").on("change", function(){ const datetimeInput = $(this).val(); $(".conciergePopup #dateHidden").val(datetimeInput); }); $(".conciergePopup #startTimeInput").on("change", function(){ const datetimeInput = $(".conciergePopup #dateHidden").val()+"T"+$(this).val(); const parsedDatetime = new Date(datetimeInput); const timezoneOffset = parsedDatetime.getTimezoneOffset() * 60000; const localDatetime = new Date(parsedDatetime.getTime() - timezoneOffset); const datetimeForDatabase = localDatetime.toISOString().slice(0, 19).replace("T", " "); // Ngày và giờ ở định dạng "YYYY-MM-DD HH:MM:SS" #startTimeHidden").val(datetimeForDatabase); }); document.querySelectorAll('img:not([alt])').forEach(img => { img.setAttribute('alt', ''); }); $(document).ready(function() { $('.flatpickr-prev-month').each(function() { $(this).append('tháng trước'); }); $('.flatpickr-next-month').each(function() { $(this).append('tháng tới'); }); }); function updateFlatpickrAccessibility() { $('.flatpickr-day').each(function () { // Xóa .ally-hidden hiện có $(this).find('.ally-hidden').remove(); // Thêm văn bản ẩn dựa trên điều kiện if ($(this).hasClass('selected')) { $(this).append('Đã chọn'); } else if ($(this).hasClass('flatpickr-disabled')) { $(this).append('Ngày không thể chọn'); } else { $(this).append('Ngày có thể chọn'); } }); } // Xử lý khi tải trang $(document).ready(function () { updateFlatpickrAccessibility(); }); // Xử lý khi phần tử id="dateInput" được nhấp $('#dateInput').on('click', function () { updateFlatpickrAccessibility(); }); $(document).ready(function(){ /** * Modal thông thường * title : tiêu đề modal * content : nội dung modal * onClickEvent : ví dụ alert('test'); * lBtnName : Tên nút bên trái * rBtnName : Tên nút bên phải * ví dụ) showModal("Khôi phục lựa chọn","Bạn có muốn khôi phục bài đăng đã chọn không?","Đóng","tên input", "0"); */ ShowModal = function(title, content, lBtnName, inputName, index){ content = removeTag(content); $('#messageModelLabel').text(title ? title : 'Thông báo'); $('#messageModelContent').text(content ? content : ''); $('#messageModelClose').text(lBtnName ? lBtnName : 'Đóng'); $('#messageModelInputName').text(inputName ? inputName : ''); $('#messageModelInputNameindex').text(index ? index : '0'); $('#myMessage').modal('hiển thị'); } $("#messageModelClose").click(function(){ var inputName = $('#messageModelInputName').text(); var inputNameIndex = $('#messageModelInputNameindex').text(); if(inputName != ""){ setTimeout(function(){ if($("input[name="+inputName+"]").attr("name") != "undefined"){ $("input[name="+inputName+"]").eq(inputNameIndex).focus(); } if($("textarea[name="+inputName+"]").attr("name") != "undefined"){ $("textarea[name="+inputName+"]").eq(inputNameIndex).focus(); } }, 500); var mode = ""; var message = ""; if(mode != ""){ if(mode == "detail_modal"){ $('#passwordConfirmModal').modal({ backdrop: 'static', keyboard: false }); $('#passwordConfirmModal').on('hidden.bs.modal', function () { $(location).attr('href', "/bbs//list.do"); }); $("#passwordConfirmModalInput").show(); $("#delOrModiBtn").attr('class','btn btn-primary'); $("#error_message").text(""); var frm = $("form#passwordConfirmForm")[0]; frm.mode.value = ""; frm.msg_pw.value = ""; frm.cmt_seq.value = ""; frm.msg_seq.value = ""; frm.action = "/bbs//view.do"; var flagStr = 'Cần mật khẩu.'; $("#passwordConfirmModalLabel").text(flagStr); frm.mode.value = "chi tiết"; $('#passwordConfirmModal').modal('hiển thị'); }else{ /* $("#show_result").text(message); $("#show_result").show(500); setTimeout(function(){ $("#show_result").hide(500); }, 4000); */ sAlert("", message); } } // Kiểm soát quyền xem // Kiểm soát bài đăng $('[id^=passwordConfirmBtn]').on("click", function(){ $("#passwordConfirmModalInput").show(); $("#delOrModiBtn").attr('class','btn btn-primary'); $("#error_message").text(""); var frm = $("form#passwordConfirmForm")[0]; frm.mode.value = ""; frm.msg_pw.value = ""; frm.cmt_seq.value = ""; var flag = $(this).attr('value'); var flagStr = 'Xác nhận mật khẩu'; $("#delete_alert").hide(); if(flag == "delete"){ $("#delOrModiBtn").attr('class','btn btn-danger'); flagStr = 'Bạn có chắc chắn muốn xóa không?'; $("#delete_alert").show(); // Nếu là sự kiện nhấp chuột vào thẻ a, hãy trích xuất giá trị href và sau đó if($(this).is("a")){ frm.action = $(this).attr("href"); $("#passwordConfirmModalInput").hide(); } }else if(flag == "detail"){ frm.msg_seq.value = $(this).attr('key'); frm.action = "/bbs//view.do"; flagStr = 'Cần nhập mật khẩu.'; }else if(flag == "cmt_delete"){ frm.cmt_seq.value = $(this).attr('key'); frm.action = "/bbs//cmt/delete.do"; flagStr = 'Bạn có chắc chắn muốn xóa không?'; $("#delete_alert").show(); if($(this).is("a")){ $("#passwordConfirmModalInput").hide(); } } $("#passwordConfirmModalLabel").text(flagStr); frm.mode.value = flag; $('#passwordConfirmModal').modal('show'); return false; }); $("#delOrModiBtn").click(function(){ var frm = $("form#passwordConfirmForm")[0]; // Nếu gửi ngay lập tức mà không kiểm tra đầu vào (sau khi đăng nhập) if($("#passwordConfirmModalInput").is(":hidden")){ frm.submit(); return false; } var msg_seq = frm.msg_seq.value; var msg_pw = frm.msg_pw.value; var cmt_seq = frm.cmt_seq.value; $.ajax({ type : "POST", url : "/bbs//editOrDeletePasswordCheck.do", dataType : "text", timeout : 15000, cache : false, data : {msg_seq : msg_seq, msg_pw : msg_pw, cmt_seq : cmt_seq}, success : function(data){ var content = JSON.parse(data); if(content.message != ""){ $("#error_message").text(content.message); }else{ frm.submit(); } }, error : function(e){ $("#error_message").text('Vui lòng thử lại sau.'); } }); return false; }); }); × Xác nhận mật khẩu Sau khi xóa, không thể khôi phục. Bạn sẽ được chuyển hướng đến trang danh sách sau khi xóa. Mật khẩu: Hủy Xác nhận Tiêu đề cửa sổ Nội dung cửa sổ Đóng × --> Đây là thông báo xác nhận. Đóng đặt chỗ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-34258212-2', 'auto'); ga('send', 'pageview'); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-34258212-30'); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-CRQHMG0Z9Y'); Khu vực điều trị chi tiết: Khám sức khỏe > Khám sức khỏe