Files
KIN/project_list/project_punching_list.ASP
2025-09-29 17:55:08 +09:00

74 lines
2.9 KiB
Plaintext

<!-- #include virtual = "include/header.asp" -->
<!-- #include virtual = "include/left.asp" -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<h1>Menu Name</h1>
</div>
<!-- /.content-header -->
<!-- Main content -->
<div class="content-body">
<div class="content">
<div class="container-fluid">
<div class="row m-0">
<div class="col-12">
<form name="pms" method="post">
<table width="100%" class="table table-sm table-sm2 table-bordered table-head tr-colors">
<tr>
<td align="center" style="width: 15%">프로젝트 코드</td>
<td align="center" style="width: 70%">프로젝트 명</td>
<td align="center" style="width: 15%">연구부서</td>
</tr>
<%
Query = " select tpm.*, d.d_name "
Query = Query & " from ( "
Query = Query & " select p_method_cd, p_sn, p_child_sn, p_subject, p_field_complete, p_rsch_dept, p_progress_status, p_sv_1, p_sv_2, p_sv_3, p_sv_4 "
Query = Query & " from T_PROJECT_METHOD where p_dp_complete is null ) tpm " '-- DP팀이 완료하지 않은 모든 프로젝트 ..
QUery = Query & " left outer join Depart d "
QUery = Query & " on tpm.p_rsch_dept = d.d_code "
QUery = Query & " where tpm.p_progress_status >= '006' "
QUery = Query & " Order by tpm.p_child_sn desc "
'Response.Write query
Rs.Open Query, adoConn, 1
if Rs.RecordCount > 0 Then
for i = 1 to Rs.RecordCount
%>
<tr>
<td align="center"><%=Rs("p_child_sn")%></td>
<td align="left">&nbsp;<a href="javascript:openit('<%=Rs("p_child_sn")%>', '<%=Rs("p_subject")%>')" class="blue"><%=Rs("p_subject")%></td>
<td align="center"><%=Rs("d_name")%></td>
</tr>
<%
Rs.MoveNext
next
end if
Rs.Close
%>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- /.content -->
<!-- REQUIRED SCRIPTS -->
<script>
$(function(){
cutmenu();
});
function openit(p_child_sn, p_subject) {
opener.document.xform.p_child_sn.value = p_child_sn; //-- 수행계획서 프로젝트코드
opener.document.xform.pn_code.value = p_child_sn; // -- 펀칭 프로젝트코드 (Default 값) : 펀칭프로젝트는 수행계획서+코드로 등록함
opener.document.xform.p_title.value =p_subject;
opener.document.xform.p_subject.value = "[" + p_child_sn + "]" + p_subject;
opener.fn_press("0");
self.close();
}
</script>
</div>
<!-- /.content-wrapper -->
<!-- #include virtual = "include/footer.asp" -->