최초커밋
This commit is contained in:
406
project/project_ContactList.asp
Normal file
406
project/project_ContactList.asp
Normal file
@@ -0,0 +1,406 @@
|
||||
<!-- #include virtual = "include/header.asp" -->
|
||||
<!-- #include virtual = "include/left.asp" -->
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<style>
|
||||
.txt{
|
||||
font-size: 13px;
|
||||
letter-spacing: 0px;
|
||||
}
|
||||
tbody th.t_label{
|
||||
vertical-align:middle;
|
||||
}
|
||||
.ui-datepicker-trigger{
|
||||
cursor: pointer;
|
||||
}
|
||||
.hasDatepicker{
|
||||
cursor: pointer;
|
||||
}
|
||||
#ContactList tbody tr{
|
||||
cursor:pointer;
|
||||
font-size: 13px;
|
||||
letter-spacing: 0px;
|
||||
}
|
||||
.DTFC_Cloned tbody{
|
||||
cursor:pointer
|
||||
}
|
||||
.buttons-columnVisibility{
|
||||
background: #fff !important;
|
||||
}
|
||||
.buttons-columnVisibility.active{
|
||||
box-shadow: none !important;
|
||||
background: #313131 !important;
|
||||
color: #fff;
|
||||
}
|
||||
.buttons-columnVisibility.active > span{
|
||||
font-weight:400;
|
||||
}
|
||||
.dataTables_wrapper .dataTables_filter input{
|
||||
background:#fff;
|
||||
}
|
||||
.dataTables_scrollBody > table.dataTable{
|
||||
margin-left:0;
|
||||
}
|
||||
.DTFC_LeftBodyLiner > table.dataTable{
|
||||
width: calc(100% - 2px) !important;
|
||||
}
|
||||
.DTFC_ScrollWrapper{
|
||||
overflow-x: auto;
|
||||
height:536px !important;
|
||||
}
|
||||
.ContactList_filterSelect{
|
||||
width:220px !important;
|
||||
display:inline-block;
|
||||
}
|
||||
</style>
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="content-header">
|
||||
<h1><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><>Ȳ</h1>
|
||||
</div>
|
||||
<!-- /.content-header -->
|
||||
<!-- Main content -->
|
||||
<div class="content-body">
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-12" onclick="javascript:try{if(winObj.window.focus()){}}catch(exception){}" ondblclick="javascript:try{if(winObj.window.focus()){}}catch(exception){}">
|
||||
<table class='table table-sm table-bordered table-headline nowrap' id="ContactList">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="t_label select-filter"><3E>μ<EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20>ڵ<EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><></th>
|
||||
<th class="t_label select-filter">Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ <20><></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter">ǥ<><C7A5><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<!--
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20>ǻ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20>ǻ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
-->
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E>ǻ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
<th class="t_label select-filter"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<input type="hidden" name="DepartAll" id="DepartAll" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content -->
|
||||
<!-- REQUIRED SCRIPTS -->
|
||||
<script>
|
||||
function numberPad(n, width) {
|
||||
n = n + '';
|
||||
return n.length >= width ? n : new Array(width - n.length + 1).join('0') + n;
|
||||
}
|
||||
var ColArr=[];
|
||||
$(document).ready(function(){
|
||||
|
||||
if ($.cookie("p_column") != undefined){
|
||||
var p_column = $.cookie("p_column").split(',');
|
||||
for(var i=0; i<p_column.length; i++){
|
||||
ColArr.push(parseInt(p_column[i]));
|
||||
}
|
||||
}else{
|
||||
//ColArr = [14, 15, 16, 17];
|
||||
}
|
||||
|
||||
var hh="";
|
||||
//hh += "<div style='display: inline-block;'>";
|
||||
//hh += " <button type='button' class='ui-button ui-widget ui-corner-all' id='depart'><3E><><EFBFBD><EFBFBD> <20>μ<EFBFBD> <20><><EFBFBD><EFBFBD></button> ";
|
||||
//hh += "</div>";
|
||||
hh += "<div style='display: inline-block;float: right;'>";
|
||||
hh += " <label><3E><><EFBFBD><EFBFBD>: </label>";
|
||||
hh += " <input type='text' class='date text-center' name='p_sdate' id='p_sdate' readonly='readonly' />";
|
||||
hh += " ~";
|
||||
hh += " <input type='text' class='date text-center' name='p_edate' id='p_edate' readonly='readonly' />";
|
||||
hh += "</div>";
|
||||
|
||||
var lang_kor = {
|
||||
"decimal" : "",
|
||||
"emptyTable" : "<22><><EFBFBD>ϵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||
"info" : "_START_ - _END_ (<28><> _TOTAL_ <20><>)",
|
||||
"infoEmpty" : "0<><30>",
|
||||
"infoFiltered" : "(<28><>ü _MAX_ <20><> <20><> <20>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD>)",
|
||||
"infoPostFix" : "",
|
||||
"thousands" : ",",
|
||||
"lengthMenu" : "_MENU_ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>",
|
||||
"loadingRecords" : "<22>ε<EFBFBD><CEB5><EFBFBD>...",
|
||||
"processing" : "ó<><C3B3><EFBFBD><EFBFBD>...",
|
||||
"search" : "<22>˻<EFBFBD> : ",
|
||||
"zeroRecords" : "<22>˻<EFBFBD><CBBB><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||
"paginate" : {
|
||||
"first" : "ù <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||
"last" : "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||
"next" : "<22><><EFBFBD><EFBFBD>",
|
||||
"previous" : "<22><><EFBFBD><EFBFBD>"
|
||||
},
|
||||
"aria" : {
|
||||
"sortAscending" : " : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>",
|
||||
"sortDescending" : " : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
},
|
||||
"buttons":{
|
||||
"colvisRestore": "<22>ʱ<EFBFBD>ȭ",
|
||||
"copyTitle": "Ŭ<><C5AC><EFBFBD><EFBFBD><EFBFBD>忡 <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||
"copySuccess": "%d <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
}
|
||||
};
|
||||
|
||||
var now = new Date();
|
||||
var month = now.getMonth()+1;
|
||||
month = numberPad(month,2);
|
||||
var colNum = function(data, type, row, meta){
|
||||
return commify(data);
|
||||
};
|
||||
var colNumCost = function(data, type, row, meta){
|
||||
return type !== "sort" ? commify(data) + (data != "" ? " <20><>": "") : data;
|
||||
};
|
||||
var colNumRate = function(data, type, row, meta){
|
||||
return commify(data, true) + (data != "" ? " %": "");
|
||||
};
|
||||
|
||||
var table = $('#ContactList').DataTable({
|
||||
ajax:{
|
||||
"type": "POST",
|
||||
"url": "project_AjaxSelect.asp",
|
||||
"dataType": "JSON",
|
||||
"data":{
|
||||
"Flag":"ContactList",
|
||||
sdate: function(){ if($("#p_sdate").val() !=undefined){return $("#p_sdate").val()}else{ return now.getFullYear()+"-"+month+"-01" }},
|
||||
edate: function(){ if($("#p_edate").val() !=undefined){return $("#p_edate").val()}else{ return ( new Date( now.getFullYear(), now.getMonth()+1, 0) ).getDate() }},
|
||||
Depart: function(){return $("#DepartAll").val() }
|
||||
},
|
||||
},
|
||||
columns:[
|
||||
{"data": "Team", "class":"txt dt-body-center details-control"},
|
||||
{"data": "p_state", "class":"txt dt-body-center"},
|
||||
{"data": "p_sn", "class":"txt dt-body-center"},
|
||||
{"data": "p_subject", "class":"txt dt-body-left"},
|
||||
{"data": "p_cli_company_nm", "class":"txt dt-body-center"},
|
||||
{"data": "p_method", "class":"txt dt-body-center"},
|
||||
{"data": "p_sample", "class":"txt dt-body-center", "type":"num-fmt", "render":colNum},
|
||||
{"data": "p_cont_cost", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
{"data": "p_total_cost", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
{"data": "pc_con_cost", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
{"data": "sum_est", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
{"data": "rate_est", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumRate},
|
||||
{"data": "sum_act", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
{"data": "rate_act", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumRate},
|
||||
//{"data": "r_est", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
//{"data": "r_act", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
//{"data": "f_est", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
//{"data": "f_act", "class":"txt dt-body-center", "type":"num-fmt", "render":colNumCost},
|
||||
{"data": "p_decide_date", "class":"txt dt-body-center"},
|
||||
{"data": "p_con_date_st", "class":"txt dt-body-center"},
|
||||
{"data": "p_con_date_end", "class":"txt dt-body-center"},
|
||||
{"data": "p_input_progress", "class":"txt dt-body-center"},
|
||||
{"data": "r_user", "class":"txt dt-body-center"},
|
||||
{"data": "f_user", "class":"txt dt-body-center"},
|
||||
{"data": "p_input_user", "class":"txt dt-body-center"},
|
||||
{"data": "p_input_dt", "class":"txt dt-body-center"},
|
||||
],
|
||||
columnDefs: [
|
||||
{"className": "dt-head-center dt-body-center psn", "targets": "_all"},
|
||||
{"visible": false, "targets": ColArr}
|
||||
|
||||
],
|
||||
createRow: function(row, data, index){
|
||||
$(row).addClass('hov');
|
||||
},
|
||||
fixedColumns: {
|
||||
leftColumns: 3
|
||||
},
|
||||
dom:'lBfrtip',
|
||||
scrollX: true,
|
||||
scrollY: 480,
|
||||
fixedHeader: true,
|
||||
language:lang_kor,
|
||||
paging:false,
|
||||
pageLength: 50,
|
||||
order: [[ 2, "asc" ]],
|
||||
cache: false,
|
||||
buttons: [
|
||||
{
|
||||
extend: 'copy',
|
||||
text: 'List Copy',
|
||||
},
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel Down',
|
||||
title: '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><>Ȳ'
|
||||
},
|
||||
{
|
||||
extend: 'colvis',
|
||||
text: 'Column',
|
||||
postfixButtons: [ 'colvisRestore' ]
|
||||
},
|
||||
],
|
||||
filterDropDown: {
|
||||
columns: [
|
||||
{
|
||||
idx: 0
|
||||
},
|
||||
{
|
||||
idx: 1
|
||||
},
|
||||
{
|
||||
idx: 5
|
||||
}
|
||||
],
|
||||
},
|
||||
initComplete: function () {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
$("#ContactList_filterWrapper").append(hh);
|
||||
|
||||
|
||||
$(document).off("click", ".buttons-columnVisibility").on("click", ".buttons-columnVisibility", function(e){
|
||||
if($(this).hasClass("active")){
|
||||
var idx = ColArr.indexOf($(this).index());
|
||||
if(idx != -1){
|
||||
ColArr.splice(idx,1);
|
||||
}
|
||||
}else{
|
||||
ColArr.push($(this).index());
|
||||
}
|
||||
$.cookie("p_column",ColArr);
|
||||
});
|
||||
|
||||
$(document).off("click", ".buttons-colvisRestore").on("click", ".buttons-colvisRestore", function(){
|
||||
if(confirm("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>÷<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʱ<EFBFBD>ȭ <20>˴ϴ<CBB4>.")){
|
||||
$.removeCookie("p_column");
|
||||
|
||||
for(var i=0; i<$(".buttons-columnVisibility").length; i++){
|
||||
if(!$(".buttons-columnVisibility").eq(i).hasClass("ui-state-active")){
|
||||
$(".buttons-columnVisibility").eq(i).trigger("click");
|
||||
}
|
||||
}
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$("#p_sdate").val($.datepicker.formatDate('yy-mm-dd', new Date(now.getFullYear(), now.getMonth(), 1)));
|
||||
$("#p_edate").val($.datepicker.formatDate('yy-mm-dd', new Date(now.getFullYear(), now.getMonth()+1, 0)));
|
||||
$.datepicker.regional['ko']={
|
||||
closeText: '<27>ݱ<EFBFBD>',
|
||||
changeYear: true,
|
||||
changeMonth: true,
|
||||
prevText: '<27><><EFBFBD><EFBFBD> <20><>',
|
||||
nextText: '<27><><EFBFBD><EFBFBD> <20><>',
|
||||
yearRange: '1990:+10',
|
||||
dateFormat: "yy-mm-dd",
|
||||
monthNames: ['1<><31>', '2<><32>', '3<><33>', '4<><34>', '5<><35>', '6<><36>', '7<><37>', '8<><38>', '9<><39>', '10<31><30>', '11<31><31>', '12<31><32>'],
|
||||
monthNamesShort: ['1<><31>', '2<><32>', '3<><33>', '4<><34>', '5<><35>', '6<><36>', '7<><37>', '8<><38>', '9<><39>', '10<31><30>', '11<31><31>', '12<31><32>'],
|
||||
dayNames: ['<27><>','<27><>','ȭ','<27><>','<27><>','<27><>','<27><>'],
|
||||
dayNamesShort: ['<27><>','<27><>','ȭ','<27><>','<27><>','<27><>','<27><>'],
|
||||
dayNamesMin: ['<27><>','<27><>','ȭ','<27><>','<27><>','<27><>','<27><>'],
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: '<27><>'
|
||||
};
|
||||
|
||||
$.datepicker.setDefaults($.datepicker.regional['ko']);
|
||||
|
||||
table.on('draw', function () {
|
||||
table.columns('.dt-filter').every( function ( ) {
|
||||
var thisColumn = this;
|
||||
} );
|
||||
});
|
||||
|
||||
table.on('preXhr.dt', function(e, settings, data){
|
||||
$(this).dataTable().api().clear();
|
||||
settings.iDraw = 0; //set to 0, which means "initial draw" which with a clear table will show "loading..." again.
|
||||
$(this).dataTable().api().draw();
|
||||
});
|
||||
|
||||
table.on('xhr', function (e) {
|
||||
setTimeout(function(){
|
||||
TableFilter();
|
||||
}, 0);
|
||||
});
|
||||
|
||||
$(document).off("mouseover", "tbody > tr[role=row]").on("mouseover", "tbody > tr[role=row]", function(e){
|
||||
$(".DTFC_Cloned tbody > tr[role=row]").eq($(this).index()).css("background-color","#e9e9e9");
|
||||
$("tbody > tr[role=row]").eq($(this).index()).css("background-color","#e9e9e9");
|
||||
});
|
||||
|
||||
$(document).off("mouseout", "tbody > tr[role=row]").on("mouseout", "tbody > tr[role=row]", function(){
|
||||
$(".DTFC_Cloned tbody > tr[role=row]").eq($(this).index()).css("background-color","#ffffff");
|
||||
$("tbody > tr[role=row]").eq($(this).index()).css("background-color","#ffffff");
|
||||
});
|
||||
|
||||
$("#p_sdate").datepicker();
|
||||
$("#p_sdate").datepicker("option", "maxDate", $("#p_edate").val());
|
||||
$("#p_sdate").datepicker("option", "onClose", function(selectedDate){
|
||||
$("#p_edate").datepicker("option", "minDate", selectedDate);
|
||||
});
|
||||
$("#p_sdate").datepicker("option", "onSelect", function(selectedDate){
|
||||
table.ajax.reload();
|
||||
});
|
||||
|
||||
$("#p_edate").datepicker();
|
||||
$("#p_edate").datepicker("option", "minDate", $("#p_sdate").val());
|
||||
$("#p_edate").datepicker("option", "onClose", function(selectedDate){
|
||||
$("#p_edate").datepicker("option", "maxDate", selectedDate);
|
||||
});
|
||||
$("#p_edate").datepicker("option", "onSelect", function(selectedDate){
|
||||
table.ajax.reload();
|
||||
});
|
||||
|
||||
function TableFilter(){
|
||||
$("#ContactList_filterSelect0").empty();
|
||||
$("#ContactList_filterSelect1").empty();
|
||||
$("#ContactList_filterSelect5").empty();
|
||||
|
||||
$("#ContactList_filterSelect0").append("<option value=''><3E>μ<EFBFBD></option>");
|
||||
$.each(unique($.map(table.ajax.json().data, function(o){ return o.Team; })).sort(), function(i, o){
|
||||
$("#ContactList_filterSelect0").append("<option value='"+o+"'>"+o+"</option>");
|
||||
});
|
||||
|
||||
$("#ContactList_filterSelect1").append("<option value=''><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></option>");
|
||||
$.each(unique($.map(table.ajax.json().data, function(o){ return o.p_state; })).sort(), function(i, o){
|
||||
$("#ContactList_filterSelect1").append("<option value='"+o+"'>"+o+"</option>");
|
||||
});
|
||||
|
||||
$("#ContactList_filterSelect5").append("<option value=''><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></option>");
|
||||
$.each(unique($.map(table.ajax.json().data, function(o){ return o.p_method; })).sort(), function(i, o){
|
||||
$("#ContactList_filterSelect5").append("<option value='"+o+"'>"+o+"</option>");
|
||||
});
|
||||
}
|
||||
|
||||
$('#ContactList tbody').on('click', 'tr', function () {
|
||||
var data = table.row(this).data();
|
||||
var p_sn = data.p_sn;
|
||||
|
||||
if(p_sn.indexOf("_") != -1){
|
||||
var sn = p_sn.split('_');
|
||||
winObj = window.open("project_list2_dep_2014.asp?p_sn="+sn[0]+"&p_sub_type=C&p_child_sn="+p_sn,"_blank","left=0,top=0,width=1400,height=800,scrollbars=yes,resizeable=yes",true);
|
||||
}else{
|
||||
winObj = window.open("project_ContactInfo.asp?p_sn="+p_sn,"_blank","left=0,top=0,width=1050,height=940,scrollbars=yes,resizeable=yes",true);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<!-- #include virtual = "include/footer.asp" -->
|
||||
Reference in New Issue
Block a user