20260907 :: 김현정 > 260824 PMS 개선 요청_경영문화본부 1차 반영
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
<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">ȸ<><C8B8></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>
|
||||
@@ -105,15 +106,15 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content -->
|
||||
<!-- REQUIRED SCRIPTS -->
|
||||
<script>
|
||||
<!-- 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++){
|
||||
@@ -171,7 +172,7 @@
|
||||
return commify(data);
|
||||
};
|
||||
var colNumCost = function(data, type, row, meta){
|
||||
return type !== "sort" ? commify(data) + (data != "" ? " <20><>": "") : data;
|
||||
return data;
|
||||
};
|
||||
var colNumRate = function(data, type, row, meta){
|
||||
return commify(data, true) + (data != "" ? " %": "");
|
||||
@@ -181,17 +182,19 @@
|
||||
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" }},
|
||||
"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_project_type_cd", "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"},
|
||||
@@ -220,13 +223,13 @@
|
||||
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
|
||||
leftColumns: 4
|
||||
},
|
||||
dom:'lBfrtip',
|
||||
scrollX: true,
|
||||
@@ -235,7 +238,7 @@
|
||||
language:lang_kor,
|
||||
paging:false,
|
||||
pageLength: 50,
|
||||
order: [[ 2, "asc" ]],
|
||||
order: [[ 3, "asc" ]],
|
||||
cache: false,
|
||||
buttons: [
|
||||
{
|
||||
@@ -253,16 +256,16 @@
|
||||
postfixButtons: [ 'colvisRestore' ]
|
||||
},
|
||||
],
|
||||
filterDropDown: {
|
||||
filterDropDown: {
|
||||
columns: [
|
||||
{
|
||||
{
|
||||
idx: 0
|
||||
},
|
||||
{
|
||||
{
|
||||
idx: 1
|
||||
},
|
||||
{
|
||||
idx: 5
|
||||
{
|
||||
idx: 6
|
||||
}
|
||||
],
|
||||
},
|
||||
@@ -270,10 +273,10 @@
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$("#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());
|
||||
@@ -285,7 +288,7 @@
|
||||
}
|
||||
$.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");
|
||||
@@ -340,13 +343,13 @@
|
||||
});
|
||||
|
||||
$(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");
|
||||
$(".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");
|
||||
$(".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();
|
||||
@@ -370,21 +373,21 @@
|
||||
function TableFilter(){
|
||||
$("#ContactList_filterSelect0").empty();
|
||||
$("#ContactList_filterSelect1").empty();
|
||||
$("#ContactList_filterSelect5").empty();
|
||||
$("#ContactList_filterSelect6").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>");
|
||||
$("#ContactList_filterSelect6").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_filterSelect6").append("<option value='"+o+"'>"+o+"</option>");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user