464 lines
23 KiB
Plaintext
464 lines
23 KiB
Plaintext
<!-- #include virtual = "lib/config.asp" -->
|
|
<%
|
|
p_sn = Request("p_sn")
|
|
' p_subject = request("p_subject")
|
|
' p_depart = request("p_depart")
|
|
' p_method = request("p_method")
|
|
' p_cli_company = request("p_cli_company")
|
|
' p_category = request("p_category")
|
|
' p_target_part = request("p_target_part")
|
|
' p_area_part = request("p_area_part")
|
|
' p_survey_part = request("p_survey_part")
|
|
' p_field_process = request("p_field_process")
|
|
' p_decide_date_st = request("p_decide_date_st")
|
|
' p_decide_date_ed = request("p_decide_date_ed")
|
|
' c_common_code = request("c_common_code") '문서종류
|
|
' f_file_name = request("f_file_name")
|
|
' p_client_type_cd = request("p_client_type_cd")
|
|
' p_types1 = request("p_types1")
|
|
' p_types2 = request("p_types2")
|
|
' p_types3 = request("p_types3")
|
|
' project_old_new = request("project_old_new")
|
|
' p_export_range = request("p_export_range") '용역범위
|
|
' p_sample_st = request("p_sample_st") '표본수 시작
|
|
' p_sample_ed = request("p_sample_ed") '표본수 끝
|
|
|
|
' p_intention= replace(replace(request("p_intention"),"'",""),"""","") '조사내용
|
|
' p_user=replace(replace(request("p_user"),"'",""),"""","") '참여인력
|
|
|
|
' print_gubn = request("print_gubn") '-- 출력구분(프로젝트 수행계획서 , 제안 등록) : 추가 20170721
|
|
|
|
'-- 참여인력 검색
|
|
if p_user<>"" then
|
|
|
|
w_sql = " select p_no from dbo.person "
|
|
w_sql = w_sql & " where p_name='"&p_user&"' "
|
|
w_sql = w_sql & " order by p_no desc "
|
|
rs.Open w_sql, adoConn, 1
|
|
if rs.recordCount>0 then p_user_ck="1" '-- 사원정보 있음
|
|
new_p="" : old_p=""
|
|
for i = 1 to rs.recordCount
|
|
|
|
|
|
'-- 현재 프로젝트
|
|
if cint(i)>1 then new_p = new_p & " or "
|
|
new_p = new_p & " TPM.p_rsch_1_a='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_2_a='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_3_a='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_4_a='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_1_b='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_2_b='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_3_b='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_4_b='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_1_c='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_2_c='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_3_c='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_rsch_4_c='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_sv_1='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_sv_2='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_sv_3='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_sv_4='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_code_1='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_code_2='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_code_3='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_code_4='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_verify_1='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_verify_2='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_verify_3='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_verify_4='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_dp_1='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_dp_2='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_dp_3='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_dp_4='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_it_1='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_it_2='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_it_3='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_it_4='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_supp_1='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_supp_2='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_supp_3='[krc_id]' or "
|
|
new_p = new_p & " TPM.p_supp_4='[krc_id]' "
|
|
new_p=replace(new_p,"[krc_id]",rs(0))
|
|
|
|
|
|
'-- 과거 프로젝트
|
|
if cint(i)>1 then old_p = old_p & " or "
|
|
old_p = old_p & " p.p_rsch_1='[krc_id]' or "
|
|
old_p = old_p & " p.p_rsch_2='[krc_id]' or "
|
|
old_p = old_p & " p.p_rsch_3='[krc_id]' or "
|
|
old_p = old_p & " p.p_rsch_4='[krc_id]' or "
|
|
old_p = old_p & " p.p_rsch_5='[krc_id]' or "
|
|
old_p = old_p & " p.p_rsch_6='[krc_id]' "
|
|
old_p=replace(old_p,"[krc_id]",rs(0))
|
|
|
|
|
|
rs.movenext
|
|
next
|
|
rs.close
|
|
|
|
|
|
'-- 정리 ---------------------------------------
|
|
if len(new_p)>0 then new_p = " and ( " & new_p & ")"
|
|
if len(old_p)>0 then old_p = " and ( " & old_p & ")"
|
|
'----------------------------------------------
|
|
|
|
end if
|
|
|
|
s = request("s")
|
|
|
|
%>
|
|
<head>
|
|
<title><%=GNB_TITLE%></title>
|
|
<link rel="stylesheet" type="text/css" href="../css/basic.css">
|
|
<script language="javascript" src="../js/common.js"></script>
|
|
<script src="/js/jquery.min.js"></script>
|
|
<script src="/js/jquery-ajax-call.js"></script>
|
|
<script src="/js/jquery.form.min.js"></script>
|
|
|
|
<script language="javascript">
|
|
|
|
function chkit(txt) {
|
|
var f = document.pms;
|
|
var url = "project_search_2014.asp";
|
|
|
|
/*
|
|
if((f.p_sn.value=="")&&(f.p_subject.value=="")){
|
|
alert("프로젝트코드 또는 프로젝트명을 입력해 주셔야 검색이 가능 합니다 ");
|
|
return false;
|
|
}
|
|
*/
|
|
|
|
|
|
|
|
if (txt == "1") {
|
|
url = url + '?s=1';
|
|
}
|
|
else {
|
|
url = url + '?s=1&command=excel';
|
|
}
|
|
|
|
// if (confirm('조건을 채택하지 않으면 검색시간이 오래걸릴 수 있습니다')) {
|
|
// alert(url);
|
|
f.action = url;
|
|
f.submit();
|
|
// }
|
|
}
|
|
function download(p_sn,f_id) {
|
|
url = jPath + "download";
|
|
var param = "?p_sn=" + p_sn + "&f_id=" + f_id;
|
|
$(location).attr("href", url + param);
|
|
}
|
|
function openit(a, z, x, y, v) {
|
|
if (a == 1) {
|
|
//옛날 프로젝트인지 확인
|
|
if (new_project_2014(z) == 1) {
|
|
var url = 'project_list2_dep.asp?p_sn=' + z;
|
|
} else {
|
|
//수행계획서 판단(p_subtype이 없으면 수행계획서가 없다고 판단)
|
|
if (x != '') {
|
|
var url = 'project_list2_dep_2014.asp?p_sn=' + z;
|
|
} else {
|
|
if(confirm("프로젝트 수행계획이 작성되지 않았습니다.\n제안등록 화면으로 이동하시겠습니까?")){
|
|
var url = 'project_contact_2014.asp?p_sn=' + z;
|
|
}else{
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
var tmp_width = 1400;
|
|
var tmp_height = 800;
|
|
|
|
if (v != "") {
|
|
url = url + "&p_sub_type=" + x + "&p_method_cd=" + y + "&p_child_sn=" + v;
|
|
} else {
|
|
url = url + "&p_sub_type=" + x + "&p_method_cd=" + y;
|
|
}
|
|
}
|
|
winObj=window.open(url, '', 'left=0,top=0,width=' + tmp_width + ',height=' + tmp_height + ',scrollbars=yes,resizable=yes')
|
|
|
|
}
|
|
function excel_export() {
|
|
document.pms.action = "project_search_2014.asp?s=1&command=excel";
|
|
document.pms.submit();
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
</head>
|
|
<body topmargin="0" leftmargin="0" onclick="javascript:try{if(winObj.window.focus()){}}catch(exception){}" ondblclick="javascript:try{if(winObj.window.focus()){}}catch(exception){}" >
|
|
<form name="pms" method="post">
|
|
<input type="hidden" name="project_old_new_check" id= "project_old_new_check" value="<%=project_old_new %>">
|
|
<input type="hidden" name="p_types1_check" id= "p_types1_check" value="<%=p_types1%>">
|
|
<input type="hidden" name="p_types2_check" id= "p_types2_check" value="<%=p_types2%>">
|
|
<input type="hidden" name="p_types3_check" id= "p_types3_check" value="<%=p_types3%>">
|
|
<input type="hidden" id="tprint_gubn" value="<%=print_gubn%>" />
|
|
<td width="100%" align="center" valign="top">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td>
|
|
<% '프로젝트 검색 했을때
|
|
if request("s") = 1 then
|
|
'======================================================
|
|
'신규 프로젝트 검색
|
|
query = " select p_sn, p_subject, isnull(p_depart,'') as p_depart, p_method, p_cli_company, p_conv_date, c_code_name, "
|
|
query = query & " count(f_id) as f_id, convert(varchar(10),count(f_file_name))+'개' as f_file_name, "
|
|
query = query & " '' as p_name, '' as f_attach_date, p_sub_type, p_method_cd, p_child_sn, p_con_date_end, p_cont_cost, p_sample "
|
|
query = query & " FROM ( "
|
|
query = query & " SELECT TPB.p_sn as p_sn, TPB.p_subject as p_subject, isnull(D.d_name, '') as p_depart, TPMC.p_method_nm as p_method, TCC.p_cli_company_nm as p_cli_company, "
|
|
query = query & " TPM.p_decide_date as p_conv_date, '' as c_code_name, TSA.f_id as f_id, TSA.f_file_name as f_file_name, TSA.f_input_user as f_input_user, per.p_name as p_name, "
|
|
query = query & " TSA.f_attach_date as f_attach_date, TPM.p_sub_type, TPM.p_method_cd, isnull(TPM.p_child_sn,tpb.p_sn) as p_child_sn, TPM.p_con_date_end, isnull(TPM.p_cont_cost, '0') as p_cont_cost, ISNULL(TPM.p_sample, '0') as p_sample "
|
|
query = query & " FROM T_PROJECT_BASE TPB "
|
|
query = query & " LEFT OUTER JOIN T_PROJECT_METHOD TPM ON TPM.p_sn = TPB.p_sn /* 조사방법 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd /* 조사방법 이름 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN Depart D ON TPM.p_rsch_dept = D.d_code /* 부서코드 */ "
|
|
query = query & " LEFT OUTER JOIN V_CLIENT_COMP TCC ON TPB.p_cli_company_cd = TCC.p_cli_company_cd /* 회사코드 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN T_SYSTEM_ATTACH TSA ON TPB.p_sn = TSA.f_p_sn AND f_use_yn = 'y' "
|
|
query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD ON TSA.f_work_type = TCCD.c_kind_code AND TSA.f_kind = TCCD.c_common_code /* 문서종류 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN person PER ON TSA.f_input_user = PER.P_NO "
|
|
query = query & " WHERE TPB.p_sn='"&p_sn&"' "
|
|
query = query & " UNION ALL "
|
|
|
|
'예전 프로젝트 검색
|
|
query = query & " SELECT p.p_sn as p_sn, p.p_subject as p_subject, isnull(d.d_name, '') as p_depart, pm.name1 as p_method, C.c_name as p_cli_company, "
|
|
query = query & " p.p_conv_date as p_conv_date, TCCD.c_code_name as c_code_name, TSA.f_id as f_id, TSA.f_file_name as f_file_name, "
|
|
query = query & " TSA.f_input_user as f_input_user, per.p_name as p_name, TSA.f_attach_date as f_attach_date, '' as p_sub_type, '' as p_method_cd, '' as p_child_sn ,p.p_convdate_end as p_con_date_end, p.p_budget as p_cont_cost, ISNULL(P.p_sample, '0') as p_sample "
|
|
query = query & " FROM project P LEFT OUTER JOIN Depart D ON p.p_depart = d.d_code /* 부서코드 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN p_method pm ON p.p_method = pm.code1 /* 조사방법 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN Client C ON p.p_cli_company = C.c_code /* 회사이름 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN T_SYSTEM_ATTACH TSA ON p.p_sn = TSA.f_p_sn AND TSA.f_use_yn = 'Y' /* 첨부파일 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD ON TSA.f_work_type = TCCD.c_kind_code AND TSA.f_kind = TCCD.c_common_code /* 문서종류 맵핑 */ "
|
|
query = query & " LEFT OUTER JOIN person PER ON TSA.f_input_user = PER.P_NO /* 문서 입력자 이름 */ "
|
|
query = query & " WHERE p_sn='"&p_sn&"' "
|
|
query = query & " ) T "
|
|
query = query & " where p_depart<>'' "
|
|
query = query & " group by p_sn, p_subject, p_depart, p_method, p_cli_company, p_conv_date, c_code_name, p_sub_type, p_method_cd, p_child_sn, p_con_date_end, p_cont_cost, p_sample "
|
|
query = query & " order by left(p_sn,7) desc, right(p_sn,2) desc "
|
|
|
|
rs.Open query, adoConn, 1
|
|
|
|
%>
|
|
|
|
<div id = "resultTable" >
|
|
<table width="900px" cellpadding="0" cellspacing="0" border="0" align="center" >
|
|
<tr>
|
|
<td width="35" align="center" height="24" >순번</td>
|
|
<td width="80" align="center" height="24" >프로젝트코드</td>
|
|
<td width="250" align="center" height="24" >프로젝트명</td>
|
|
<td width="50" align="center" height="24" >부서</td>
|
|
<td width="100" align="center" height="24" >조사방법</td>
|
|
<td width="120" align="center" height="24" >클라이언트</td>
|
|
<td width="65" align="center" height="24" >계약일</td>
|
|
<td width="65" align="center" height="24" >계약종료일</td>
|
|
<td width="65" align="center" height="24" >단위계약액</td>
|
|
<td width="45" align="center" height="24" >샘플수</td>
|
|
<!-- <td width="60" align="center" height="24" >문서종류</td> -->
|
|
<td width="80" align="center" height="24" >파일</td>
|
|
<!-- <td width="55" align="center" height="24" >등록자</td>
|
|
<td width="45" align="center" height="24" >등록일자</td> -->
|
|
</tr>
|
|
|
|
<% if rs.recordCount = 0 then %>
|
|
<tr height="70" bgcolor="#dbe9f2">
|
|
<td width="" colspan="11" align="center" valign="center" style="height:160px"><font color="blue" >등록된 내용이 없습니다</font></td>
|
|
</tr>
|
|
|
|
<% end if
|
|
for i = 1 to rs.recordCount
|
|
if i mod 2 = 0 then
|
|
tmp_bgcolor = "#dbe9f2"
|
|
else
|
|
tmp_bgcolor = "#ffffff"
|
|
end if
|
|
p_sn = rs("p_sn")
|
|
p_cont_cost=""
|
|
if rs("p_cont_cost") <> "" then
|
|
tmp_len = len(rs("p_cont_cost"))
|
|
for j = 1 to int(tmp_len)
|
|
if j mod 3 = 1 and j <> 1 then
|
|
p_cont_cost = "," & p_cont_cost
|
|
end if
|
|
p_cont_cost = left(right(rs("p_cont_cost"),j), 1) & p_cont_cost
|
|
next
|
|
end If
|
|
%>
|
|
<tr height="24" bgcolor="<%=tmp_bgcolor%>">
|
|
<td width="" align="center" ><%= i %></td>
|
|
<td width="" align="center" >
|
|
<% If rs("p_child_sn") = "" Then %>
|
|
<%=rs("p_sn")%>
|
|
<% Else %>
|
|
<%=rs("p_child_sn")%>
|
|
<% End If %>
|
|
</td>
|
|
<td width="" align="center" ><a href="javascript:openit('1','<%=rs("p_sn")%>','<%=rs("p_sub_type")%>','<%=rs("p_method_cd")%>','<%=rs("p_child_sn")%>')" class="blue"><%=rs("p_subject") %></a></td>
|
|
<td width="" align="center" ><%= Replace(rs("p_depart"), "연구 ", "") %></td>
|
|
<td width="" align="center" ><%= rs("p_method") %></td>
|
|
<td width="" align="center" ><%= rs("p_cli_company") %></td>
|
|
<td width="" align="center" ><%= rs("p_conv_date") %></td>
|
|
<td width="" align="center" ><%= rs("p_con_date_end") %></td>
|
|
<td width="" align="center" ><%= p_cont_cost %></td>
|
|
<td width="" align="center" ><%= rs("p_sample") %></td>
|
|
<!-- <td width="" align="center" ><%= rs("c_code_name") %></td> -->
|
|
<% if c_common_code <> "" then %>
|
|
<td width="" align="center" >
|
|
<% If Session("teamplace") <> 10 Then %>
|
|
<a href="javascript:download('<%=rs("p_sn")%>','<%=rs("f_id")%>')" class="blue"><%= rs("f_file_name") %></a>
|
|
<% else %>
|
|
<%= rs("f_file_name") %>
|
|
<%end if%>
|
|
</td>
|
|
<% else %>
|
|
<td width="" align="center" ><%= rs("f_file_name") %></td>
|
|
<% end if %>
|
|
<!-- <td width="" align="center" ><%= rs("p_name") %></td>
|
|
<td width="" align="center" ><%= rs("f_attach_date") %></td> -->
|
|
</tr>
|
|
<%
|
|
rs.movenext
|
|
next
|
|
end if
|
|
%>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</form>
|
|
<body>
|
|
<script language="javascript">
|
|
/*
|
|
$(document).ready(function () {
|
|
// if ($('#p_client_type_cd').val() == "") {
|
|
// $('#p_client_type_cd').css("display", "none");
|
|
// }
|
|
// if ($('#p_types1').val() == "") {
|
|
// $('#p_types1').css("display", "none");
|
|
// }
|
|
// if ($('#p_types2').val() == "") {
|
|
// $('#p_types2').css("display", "none");
|
|
// }
|
|
// if ($('#p_types3').val() == "") {
|
|
// $('#p_types3').css("display", "none");
|
|
// }
|
|
|
|
//alert($('#project_old_new_check').val());
|
|
if ($('#project_old_new_check').val() == "") {
|
|
$('#project_old_new_check').css("display", "none");
|
|
} else if ($('#project_old_new_check').val() == "new") {
|
|
$('#p_client_type_cd').css("display", "");
|
|
$('#p_types1').css("display", "none");
|
|
$('#p_types2').css("display", "none");
|
|
$('#p_types3').css("display", "none");
|
|
} else if ($('#project_old_new_check').val() == "old") {
|
|
$('#p_client_type_cd').css("display", "none");
|
|
$('#p_types1').css("display", "");
|
|
if ($('#p_types1_check').val() != "") {
|
|
$('#p_types2').css("display", "");
|
|
ajaxCallJson("project_search_ajax_type2_2014.asp", { p_types1: $('#p_types1_check').val(), p_types2: $('#p_types2_check').val() }, null, "post", "type1ReturnFunc()");
|
|
}
|
|
if ($('#p_types2_check').val() != "") {
|
|
$('#p_types3').css("display", "");
|
|
ajaxCallJson("project_search_ajax_type3_2014.asp", { p_types1: $('#p_types1_check').val(), p_types2: $('#p_types2_check').val(), p_types3: $('#p_types3_check').val() }, null, "post", "type2ReturnFunc()");
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
$("#searchHide").click(function () {
|
|
if ($(this).is(':checked')) {
|
|
$("#searchTable").hide();
|
|
$("#resultTable").height("800px");
|
|
} else {
|
|
$("#searchTable").show();
|
|
$("#resultTable").height("400px");
|
|
}
|
|
});
|
|
|
|
|
|
|
|
|
|
function old_new_change() {
|
|
|
|
var temp = $(':radio[name="project_old_new"]:checked').val();
|
|
//alert(temp);
|
|
if (temp == "") {
|
|
$('#p_client_type_cd').css("display", "none");
|
|
$('#p_types1').css("display", "none");
|
|
$('#p_types2').css("display", "none");
|
|
$('#p_types3').css("display", "none");
|
|
$('#p_client_type_cd').val("");
|
|
$('#p_types1').val("");
|
|
$('#p_types2').val("");
|
|
$('#p_types3').val("");
|
|
}else if (temp == "old") {
|
|
//alert(temp);
|
|
$('#p_client_type_cd').css("display", "none");
|
|
$('#p_types1').css("display", "");
|
|
$('#p_client_type_cd').val("");
|
|
} else if (temp == "new") {
|
|
$('#p_client_type_cd').css("display", "");
|
|
$('#p_types1').css("display", "none");
|
|
$('#p_types2').css("display", "none");
|
|
$('#p_types3').css("display", "none");
|
|
$('#p_types1').val("");
|
|
$('#p_types2').val("");
|
|
$('#p_types3').val("");
|
|
}
|
|
}
|
|
// function type_change(level) {
|
|
// if ($('#p_types1').val() != "") {
|
|
// $('#p_types2').css("display", "");
|
|
// } else {
|
|
// $('#p_types2').css("display", "");
|
|
// }
|
|
// }
|
|
$('#p_types1').change(function () {
|
|
$('#p_types3').css("display", "none");
|
|
if ($('#p_types1').val() != "") {
|
|
$('#p_types2').css("display", "");
|
|
ajaxCallJson("project_search_ajax_type2_2014.asp", { p_types1: $('#p_types1').val() }, null, "post", "type1ReturnFunc()");
|
|
|
|
} else {
|
|
$('#p_types2').css("display", "none");
|
|
$('#p_types3').css("display", "none");
|
|
}
|
|
|
|
|
|
});
|
|
|
|
$('#p_types2').change(function () {
|
|
if ($('#p_types2').val() != "") {
|
|
$('#p_types3').css("display", "");
|
|
ajaxCallJson("project_search_ajax_type3_2014.asp", { p_types1: $('#p_types1').val(), p_types2: $('#p_types2').val() }, null, "post", "type2ReturnFunc()");
|
|
} else {
|
|
$('#p_types3').css("display", "none");
|
|
}
|
|
|
|
});
|
|
|
|
|
|
function type1ReturnFunc() {
|
|
$("#p_types2 option").remove();
|
|
$("#p_types2").append(ajaxResponse);
|
|
}
|
|
function type2ReturnFunc() {
|
|
$("#p_types3 option").remove();
|
|
$("#p_types3").append(ajaxResponse);
|
|
}
|
|
*/
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|