701 화면 수정

This commit is contained in:
2026-02-12 21:11:11 +09:00
parent 99a072f732
commit f988ecabd2
4 changed files with 195 additions and 52 deletions

View File

@@ -74,6 +74,13 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
.table-scroll {
max-height: 300px;
overflow-y: scroll;
min-height: 100px;
}
/* 정보변경 이력 테이블 깜박임 방지 */
.apt-info-table {
table-layout: fixed;
width: 100%;
}
.swal2-cancel {
@@ -93,14 +100,6 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
}
</style>
<div class="app-page-title">
<div class="page-title-wrapper">
<div class="page-title-heading">
<div>확인매물 상세 내용</div>
</div>
</div>
</div>
<form name="rcptFrm" id="rcptFrm" method="post" action="" enctype="multipart/form-data" autocomplete="off"
onsubmit="return false;">
<input type="hidden" name="address_code" id="address_code" value="<?= $data['address_code'] ?>" />
@@ -114,29 +113,26 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<div class="col-md-12 col-xl-12">
<div class="col-lg-12">
<div class="main-card mb-3 card">
<div class="card-header" style="width:100%; max-width:100%; min-width:600px; padding:0; border:0;">
<p class="left">
</p>
<table style="width:100%; min-width:600px; padding:0; border:0;" cellpadding="0" cellspacing="0"
border="0" width="100%">
<tbody>
<tr>
<td style="width: 50%;padding-left: 20px"><span class="tit">매물ID :</span> <span
class="num"><?= $data['atcl_no'] ?></span>
</td>
<td style="width: 20%;"><span class="tit">CP ID :</span> <span
class="num"><?= $data['cpid'] ?></span></td>
<td style="width: 30%; text-align: right;padding-right: 20px"><span class="tit">현재 상태
:</span> <span class="num"><?= $data['pre_stat'] ?></span></td>
</tr>
<tr>
<td height="15"></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p></p>
<div class="card-header bg-white border-bottom shadow-sm">
<div class="d-flex flex-wrap align-items-center justify-content-between gap-3">
<div>
<h5 class="mb-0 fw-bold">확인매물 상세 내용</h5>
</div>
<div class="d-flex flex-wrap align-items-center gap-3">
<div style="white-space: nowrap;">
<span class="text-muted me-2">매물ID:</span>
<span class="fw-bold text-primary fs-6"><?= $data['atcl_no'] ?></span>
</div>
<div style="white-space: nowrap;">
<span class="text-muted me-2">CP ID:</span>
<span class="fw-bold text-primary fs-6"><?= $data['cpid'] ?></span>
</div>
<div style="white-space: nowrap;">
<span class="text-muted me-2">현재 상태:</span>
<span class="fw-bold text-danger fs-6"><?= $data['pre_stat'] ?></span>
</div>
</div>
</div>
</div>
<div class="card-body">
<h5 class="card-title">공인 중개사 정보</h5>
@@ -554,7 +550,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<?php
$apt_rlet_type_cd = ['A01', 'A02', 'A03', 'A04', 'B01', 'B02', 'B03'];
$villa_rlet_type_cd = ['A05', 'A06'];
if (in_array($detail_hscp['aptType'], $apt_rlet_type_cd)):
if (isset($detail_hscp['aptType']) && in_array($detail_hscp['aptType'], $apt_rlet_type_cd)):
?>
<div class="main-card mb-3 card">
<div class="card-body ">
@@ -578,7 +574,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<?php endif; ?>
<?php
if (in_array($detail_hscp['aptType'], $villa_rlet_type_cd)):
if (isset($detail_hscp['aptType']) && in_array($detail_hscp['aptType'], $villa_rlet_type_cd)):
?>
<div class="main-card mb-3 card">
<div class="card-body ">
@@ -650,7 +646,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
if (strtolower($ext) == '.pdf'):
?>
<iframe src="<?= $server_addr ?><?= $img_path ?>" frameborder="0"
<iframe src="<?= $server_addr ?><?= $img_path ?>" frameborder="0" loading="lazy"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br>
<?php elseif (!in_array($ext, ['.zip', '.ZIP', '.pdf', '.PDF'])): ?>
<?php foreach ($arrRecord as $row):
@@ -671,18 +667,18 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
if (strtolower($ext) == '.pdf'):
?>
<iframe src="<?= $img_path ?>" frameborder="0"
<iframe src="<?= $img_path ?>" frameborder="0" loading="lazy"
style="padding: 10px 0;width:100%; height:800px;"></iframe>
<?php else: ?>
<?php endif; ?>
<img id="photo-display" src="<?= $img_path ?>" alt="Image"
<img id="photo-display" src="<?= $img_path ?>" alt="Image" loading="lazy"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php endif; ?>
<?php else: ?>
<a href="#" rel="lightbox[gallery]">
<img id="photo-display" src="/plugin/img/photo.gif" alt="Image"
<img id="photo-display" src="/plugin/img/photo.gif" alt="Image" loading="lazy"
style="width:100%; max-width:945px; border:0;">
</a>
@@ -1103,12 +1099,12 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<?php if (!empty($data['cert_register'])): ?>
<?php if ($data['cert_register_save_yn'] == 'Y'): ?>
<?php if (strtolower($file_pdf) == 'pdf') { ?>
<iframe src="<?= $server_addr ?><?= $regi_pdf_path ?>" frameborder="0"
<iframe src="<?= $server_addr ?><?= $regi_pdf_path ?>" frameborder="0" loading="lazy"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br />
<?php } else { ?>
<div id="regi_file_dis" style="padding: 10px 0px; height: 730px; overflow-y: auto;">
<?php if (empty($arrRegist)) { ?>
<img id="photo-display2" src="/img/photo.gif" alt="Image"
<img id="photo-display2" src="/img/photo.gif" alt="Image" loading="lazy"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php } else {
foreach ($arrRegist as $row) {
@@ -1124,12 +1120,12 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<?php } ?>
<?php else: ?>
<?php if (strtolower($file_pdf) == 'pdf') { ?>
<iframe src="<?= $regi_pdf_path ?>" frameborder="0"
<iframe src="<?= $regi_pdf_path ?>" frameborder="0" loading="lazy"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br>
<?php } else { ?>
<div id="regi_file_dis" style="padding: 10px 0px; height: 730px; overflow-y: auto;">
<?php if (empty($arr_cert_register)) { ?>
<img id="photo-display2" src="/plugin/img/photo.gif" alt="Image"
<img id="photo-display2" src="/plugin/img/photo.gif" alt="Image" loading="lazy"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php } else {
foreach ($arr_cert_register as $img_path) { ?>
@@ -1162,7 +1158,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
?>
<div id="regi_file_dis" style="padding: 10px 0;">
<img id="photo-display2" src="<?= $regi_img_path ?>" alt="Image"
<img id="photo-display2" src="<?= $regi_img_path ?>" alt="Image" loading="lazy"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
</div>
<div id="regi_file_pdf" style="padding: 10px 0; display:none;">
@@ -1354,7 +1350,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<div class="table-scroll">
<table class="table table-bordered table-sm tbl_basic2 apt-info-table">
<tr>
<th width="90" style="text-align: center;">진행상태</th>
<th width="120" style="text-align: center;">진행상태</th>
<th width="150" style="text-align: center;">변경내용</th>
<th width="90" style="text-align: center;">처리자(ID)</th>
<th width="120" style="text-align: center;">처리일시</th>
@@ -1599,6 +1595,26 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
$(function () {
// DOM Ready 시 즉시 blockUI 해제
if (typeof blockUI !== 'undefined') {
blockUI.unblockPage();
}
$('.blockUI').remove();
$('body').css('overflow', '');
// 페이지 완전 로드 후에도 다시 한번 해제
$(window).on('load', function() {
setTimeout(function() {
if (typeof blockUI !== 'undefined') {
blockUI.unblockPage();
}
$('.blockUI').remove();
$('.blockOverlay').remove();
$('body').css('overflow', '');
$('body').removeClass('modal-open');
}, 100);
});
if (failChk == "20040") {
$("#fail_chk1").attr("checked", true);
} else if (failChk == "20041") {