<%
if rsc("p_reg_mana") = "1" then
%>
현재 프로젝트 최종완료 중 입니다
<%
elseif rsc("p_reg_rsch") = "1" then
%>
현재 프로젝트 완료 중 입니다
<%
elseif tmp_regok = 1 then
%>
현재 프로젝트 진행 중 입니다.
<%
else
if trim(rsc("p_sv")) <> "" then
'tmp_txt = "전산부서"
tmp_txt = "정보분석팀"
tmp_reg = 3
elseif trim(rsc("p_rsch_1")) <> "" then
tmp_txt = "실사부서"
tmp_reg = 2
else
tmp_txt = "연구부서"
tmp_reg = 1
end if
%>
현재 <%=tmp_txt%> 등록 진행 중 입니다.
<%
end if
%>
|
|
<%
if tmp_view = int(rsc("p_depart")) or tmp_admin_chk = "1" or tmp_regok = 1 then '로그인자가 해당연구원이거나 개발자라면 보여짐, 또는 3개부서 등록 완료 되면..
%>
| 조사방법 |
|
| 담당연구원 |
정 :
부 :
보1 :
보2 :
|
| 카테고리 |
<%
if tmp_admin_chk = "1" then
%>
<%
end if
%>
|
| 표본수 |
value="1"
<%elseif clng(rsc("p_sample")) = 0 then %>
value="1"
<%else%>
value="<%=rsc("p_sample")%>"
<%end if%>
>
|
<% if tmp_method <> "15" and tmp_method <> "16" then %>
표본추출방법 |
" style="width:100%;">
|
<% end if %>
| 계약일자 |
" readonly onClick="winopn('/include/calendar.html?actval=p_conv_date')" style="cursor:pointer">
|
계약액 |
<%
if rsc("p_budget") <> "" then
tmp_len = len(rsc("p_budget"))
for i = 1 to int(tmp_len)
if i mod 3 = 1 and i <> 1 then
tmp_text = "," & tmp_text
end if
tmp_text = left(right(rsc("p_budget"),i), 1) & tmp_text
next
end if
if clng(tmp_text) = 0 then
tmp_text=1
end if
%>
원 (VAT 별도)
|
| 조사대상 |
">
|
| 조사지역 |
">
|
| 프로젝트 관련 기간설정 |
| 계약기간 |
" onClick="winopn('/include/calendar.html?actval=p_convdate_st')" style="cursor:pointer">
-
" onClick="winopn('/include/calendar.html?actval=p_convdate_end')" style="cursor:pointer">
|
계약기간(실) |
<%
if not isnull(rsc("p_convdate_st2")) and rsc("p_convdate_st2") <> "" then
Response.Write "" & rsc("p_convdate_st2") & " - " & rsc("p_convdate_end2") & ""
end if
%>
|
| 보고서 작성기간 |
" onClick="winopn('/include/calendar.html?actval=p_report_st')" style="cursor:pointer">
-
" onClick="winopn('/include/calendar.html?actval=p_report_end')" style="cursor:pointer">
|
보고서 작성기간(실) |
<%
if not isnull(rsc("p_report_st2")) and rsc("p_report_st2") <> "" then
Response.Write "" & rsc("p_report_st2") & " - " & rsc("p_report_end2") & ""
end if
%>
|
| 내부미팅 일자 |
" onClick="winopn('/include/calendar.html?actval=p_premeet_date')" style="cursor:pointer">
|
내부미팅 일자(실) |
<%
if not isnull(rsc("p_premeet_date2")) and rsc("p_premeet_date2") <> "" then
Response.Write "" & rsc("p_premeet_date2") & ""
end if
%>
|
<% if tmp_method <> "15" and tmp_method <> "16" and tmp_method <> "23" and tmp_method <> "24" then %>
| 면접원 OT일 |
" onClick="winopn('/include/calendar.html?actval=p_ot_date')" style="cursor:pointer">
|
면접원 OT일(실) |
<%
if not isnull(rsc("p_ot_date2")) and rsc("p_ot_date2") <> "" then
Response.Write "" & rsc("p_ot_date2") & ""
end if
%>
|
<% end if %>
| 실사기간 (코딩+에디팅) |
" onClick="winopn('/include/calendar.html?actval=p_field_st')" style="cursor:pointer">
-
" onClick="winopn('/include/calendar.html?actval=p_field_end')" style="cursor:pointer">
|
실사기간(실) (코딩+에디팅) |
<%
if not isnull(rsc("p_field_st2")) and rsc("p_field_st2") <> "" then
Response.Write "" & rsc("p_field_st2") & " - " & rsc("p_field_end2") & ""
end if
%>
|
<% if tmp_method <> "15" and tmp_method <> "16" then %>
| 펀치기간 |
" onClick="winopn('/include/calendar.html?actval=p_punch_st')" style="cursor:pointer">
-
" onClick="winopn('/include/calendar.html?actval=p_punch_end')" style="cursor:pointer">
|
펀치기간(실) |
<%
if not isnull(rsc("p_punch_st2")) and rsc("p_punch_st2") <> "" then
Response.Write "" & rsc("p_punch_st2") & " - " & rsc("p_punch_end2") & ""
end if
%>
|
| DP 기간 |
" onClick="winopn('/include/calendar.html?actval=p_dp_st')" style="cursor:pointer">
-
" onClick="winopn('/include/calendar.html?actval=p_dp_end')" style="cursor:pointer">
|
DP기간(실) |
<%
if not isnull(rsc("p_dp_st2")) and rsc("p_dp_st2") <> "" then
Response.Write "" & rsc("p_dp_st2") & " - " & rsc("p_dp_end2") & ""
end if
%>
|
|
<% end if %>
<%
end if 'if tmp_view = int(rsc("p_depart")) or tmp_admin_chk = "1" or tmp_regok = 1 then '로그인자가 해당연구원이거나 개발자라면 보여짐, 또는 3개부서 등록 완료 되면..
%>
<%
if trim(rsc("p_rsch_1")) <> "" then '연구파트가 완료 되어야 실사가 자신의 것을 볼 수 있음
if tmp_view = 12 or tmp_view = 16 or tmp_admin_chk = "1" or tmp_regok = 1 then '로그인자가 실사부서원이거나 개발자라면 보여짐, 또는 3개부서 등록 완료 되면..
%>
<%
if tmp_regok = 1 or tmp_admin_chk = "1" then
%>
|
<%
else
%>
| 조사방법 |
<%
q = "SELECT * "
q = q & "FROM p_method "
q = q & "WHERE code1 = '" & tmp_method & "' "
q = q & "ORDER BY name1 "
rsp.Open q, adoConn, 1
if rsp.RecordCount > 0 then
Response.Write "" & rsp("name1") & ""
else
Response.Write "" & "DB오류" & ""
end if
rsp.Close
%>
|
| 계약일자 |
<%=rsc("p_conv_date")%>
|
계약기간 |
<%=rsc("p_convdate_st")%> - <%=rsc("p_convdate_end")%>
|
| 내부미팅 일자 |
<%=rsc("p_premeet_date")%>
|
<% if tmp_method <> "15" and tmp_method <> "16" and tmp_method <> "24" then %>
면접원 OT일 |
<%=rsc("p_ot_date")%>
|
<% end if %>
| 실사시작일 |
<%=rsc("p_field_st")%>
|
실사종료일 (코딩+에디팅) |
<%=rsc("p_field_end")%>
|
<% if tmp_method <> "15" and tmp_method <> "16" then %>
| 펀치기간 |
<%=rsc("p_punch_st")%> - <%=rsc("p_punch_end")%>
|
DP 기간 |
<%=rsc("p_dp_st")%> - <%=rsc("p_dp_end")%>
|
<% end if %>
<%
end if 'if tmp_regok = 1 or tmp_admin_chk = "1" then
%>
| 담당 SV |
|
실사난이도 |
|
<% if tmp_method <> "15" and tmp_method <> "16" then %>
| 문항수 (오픈) |
" onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;">
( <%=rsc("p_survey_open")%> )
|
실제 조사샘플수 |
<%=rsc("p_sample")%>
|
<% end if %>
| 담당 코더 |
|
담당 검증 |
<%'담당 검증은 유수연으로 고정하여 수정할 수 없도록 함%>
|
<%
p_budget = rsc("p_budget")
pay_estimate = formatnumber(rsc("p_esti_cost")+rsc("p_esti_cost_research"), 0)
pay_estimate_proportion = formatnumber((pay_estimate / CDbl(p_budget)) * 100, 2)
pay_actual = formatnumber(rsc("p_real_cost")+rsc("p_real_cost_research"), 0)
pay_actual_proportion = formatnumber((pay_actual / CDbl(p_budget)) * 100, 2)
'직접비 결재 상신이 되어 있어야 하고 부서장 이상의 결제가 되어 있어야 함
query = "SELECT * "
query = query & "FROM Document as a "
query = query & " INNER JOIN 문서내용 as b on a.d_no = b.문서번호 "
'query = query & "WHERE a.d_no='" & d_no & "' "
query = query & "WHERE a.d_no<>'' "
query = query & " AND b.p_sn = '" & p_sn & "' "
query = query & " AND b.del_yes_no='no' "
query = query & " AND a.d_delok = 'N' "
query = query & " AND a.d_name = '직접비' "
query = query & "ORDER BY a.d_sn DESC "
''2014년 1월 15일부로 직접비 결재를 하지 않기에 단순히 실사 직접비가 들어있나만 확인하기
query = "select * from direct_cost where p_sn = '" & p_sn & "' " & _
" and del_yes_no = 'no'"
rsp.Open query, adoConn, 1
if rsp.RecordCount > 0 then
else
pay_estimate = ""
pay_estimate_proportion = ""
pay_actual = ""
pay_actual_proportion = ""
%>
<%
end if
rsp.Close
if tmp_admin_chk = "1" and pay_estimate = "" then '개발자라면 직접비 체크로직을 넘길 수 있도록 함
pay_estimate = "1"
'Response.Write "sadfsfsda"
end if
%>
| 예상 직접비(연구+실사) |
<% if pay_estimate <> "" then %>
<%=pay_estimate%> 원
<% end if %>
|
예상 직접비 비율 |
<% if pay_estimate_proportion <> "" then %>
<%=pay_estimate_proportion%> %
<% end if %>
|
| 실제 직접비(연구+실사) |
<% if pay_actual <> "" then %>
<%=pay_actual%> 원
<% end if %>
|
실제 직접비 비율 |
<% if pay_actual_proportion <> "" then %>
<%=pay_actual_proportion%> %
<% end if %>
|
<%
end if 'if tmp_view = 12 or tmp_admin_chk = "1" or tmp_regok = 1 then
end if 'if trim(rsc("p_rsch_1")) <> "" then
%>
<%
if trim(rsc("p_rsch_1")) <> "" and trim(rsc("p_sv")) <> "" then '연구파트와 실사파트가 완료 되어야 전산부서는 자신의 것을 볼 수 있음
if tmp_view = 15 OR tmp_view = 17 or tmp_admin_chk = "1" or tmp_regok = 1 then '로그인자가 전산부서원이거나 개발자라면 보여짐, 또는 3개부서 등록 완료 되면..
%>
<%
if tmp_regok = 1 or tmp_admin_chk = "1" then
%>
|
<%
else
%>
| 조사방법 |
<%
q = "SELECT * "
q = q & "FROM p_method "
q = q & "WHERE code1 = '" & tmp_method & "' "
q = q & "ORDER BY name1 "
rsp.Open q, adoConn, 1
if rsp.RecordCount > 0 then
Response.Write "" & rsp("name1") & ""
else
Response.Write "" & "DB오류" & ""
end if
rsp.Close
%>
|
| 계약일자 |
<%=rsc("p_conv_date")%>
|
계약기간 |
<%=rsc("p_convdate_st")%> - <%=rsc("p_convdate_end")%>
|
| 내부미팅 일자 |
<%=rsc("p_premeet_date")%>
|
<% if tmp_method <> "15" and tmp_method <> "16" and tmp_method <> "24" then %>
면접원 OT일 |
<%=rsc("p_ot_date")%>
|
<% end if %>
| 실사시작일 |
<%=rsc("p_field_st")%>
|
실사종료일 (코딩+에디팅) |
<%=rsc("p_field_end")%>
|
<% if tmp_method <> "15" and tmp_method <> "16" then %>
| 펀치기간 |
<%=rsc("p_punch_st")%> - <%=rsc("p_punch_end")%>
|
DP 기간 |
<%=rsc("p_dp_st")%> - <%=rsc("p_dp_end")%>
|
<% end if %>
<%
end if 'if tmp_regok = 1 or tmp_admin_chk = "1" then
%>
| 담당 전산 |
|
전산 난이도 |
|
<%
end if 'if tmp_view = 15 or tmp_admin_chk = "1" or tmp_regok = 1 then
end if 'if trim(rsc("p_rsch_1")) <> "" and trim(rsc("p_sv")) <> "" then
%>
<%
if tmp_view = int(rsc("p_depart")) or tmp_admin_chk = "1" or tmp_regok = 1 then '로그인자가 해당연구원이거나 개발자라면 보여짐, 또는 3개부서 등록 완료 되면..
%>
| SPSS 버젼 |
|
| 기타전달사항 (수정사유) |
<%
if isnull(rsc("p_memo")) then
tmp_area = ""
else
tmp_area = rsc("p_memo")
end if
%>
|
<%
end if 'if tmp_view = 2 or tmp_admin_chk = "1" or tmp_regok = 1 then
%>
<%
if tmp_admin_chk = "1" or tmp_regok = 1 then '로그인자가 개발자라면 보여짐, 또는 3개부서 등록 완료 되면..
%>
<%
end if
%>