260629_01_ENH: 우수조 팝업 적용

This commit is contained in:
2026-06-29 11:43:40 +09:00
parent 9af0732d36
commit 1b9f949423
4 changed files with 66 additions and 73 deletions

View File

@@ -1,6 +1,8 @@
<%
Dim eSQL, eObjdb
Dim eSQL, eObjdb, exitInfoView
set eObjdb = Server.CreateObject("ADODB.Recordset")
exitInfoView = Now() >= DateSerial(2026, 6, 2) + TimeSerial(10, 0, 0)
exitInfoView = True
DBConnect()
@@ -57,6 +59,7 @@ If eObjdb.RecordCount > 0 Then
</style>
<script>
$(function(){
console.log("<%=exitInfoView%>")
$(".member_list").parent().parent().hide();
<%
@@ -151,7 +154,11 @@ If eObjdb.RecordCount > 0 Then
Do while Not eObjdb.Eof
%>
<div class="form-group">
<label>투표소명 <!--<button type="button" class="btn btn-info btn-sm ExitInfo" data-exitcd="<%=eObjdb("exit_cd")%>">사전답사 보고서 조회</button>--></label>
<label>투표소명
<% IF exitInfoView And (eObjdb("r_position") = "조장" Or eObjdb("r_position") = "감독관") THEN %>
<button type="button" class="btn btn-info btn-sm ExitInfo" data-exitcd="<%=eObjdb("exit_cd")%>">사전답사 보고서 조회</button>
<% End If %>
</label>
<div class="input-group">
<div class="btn-group">
<%=eObjdb("e_exit_nm") %> (<%=eObjdb("e_distance") %> - <%=eObjdb("s_stay") %>)
@@ -169,50 +176,51 @@ If eObjdb.RecordCount > 0 Then
</div>
<hr/>
</div>
<!--
<% IF eObjdb("r_position") <> "감독관" THEN %>
<div class="form-group">
<label>
<%
IF eObjdb("r_position") = "조원" THEN
response.write "조장"
ElseIF eObjdb("r_position") = "조장" THEN
response.write "감독관"
ElseIF eObjdb("r_position") = "롱폼조사원" THEN
response.write "조장"
END IF
%>
연락처</label>
<div class="input-group">
<div class="btn-group">
<%=eObjdb("L_NAME")%> - <a href='tel:<%=eObjdb("L_PHONE") %>'><%=eObjdb("L_PHONE") %></a>
<% IF exitInfoView THEN %>
<% IF eObjdb("r_position") <> "감독관" THEN %>
<div class="form-group">
<label>
<%
IF eObjdb("r_position") = "조원" THEN
response.write "조장"
ElseIF eObjdb("r_position") = "조장" THEN
response.write "감독관"
ElseIF eObjdb("r_position") = "롱폼조사원" THEN
response.write "조장"
END IF
%>
연락처</label>
<div class="input-group">
<div class="btn-group">
<%=eObjdb("L_NAME")%> - <a href='tel:<%=eObjdb("L_PHONE") %>'><%=eObjdb("L_PHONE") %></a>
</div>
</div>
</div>
<hr/>
</div>
<% END IF %>
<div class="form-group">
<label>배정 리스트</label>
<div class="input-group">
<table class="table table-responsiv member_list" data-exitcd="<%=eObjdb("exit_cd")%>" style="font-size: calc(11px + 0.2vw);">
<thead>
<tr>
<th>직책</th>
<th>이름</th>
<th>연락처</th>
<th>성별</th>
<th>거주시군</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<hr/>
</div>
<hr style="border-top: 2px solid #333;" />
</div>
-->
<% END IF %>
<div class="form-group">
<label>배정 리스트</label>
<div class="input-group">
<table class="table table-responsiv member_list" data-exitcd="<%=eObjdb("exit_cd")%>" style="font-size: calc(11px + 0.2vw);">
<thead>
<tr>
<th>직책</th>
<th>이름</th>
<th>연락처</th>
<th>성별</th>
<th>거주시군</th>
<th>숙박여부</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<hr style="border-top: 2px solid #333;" />
</div>
<% END IF %>
<!--
<div class="form-group">
<label>집결지 정보</label>