20261007 :: 경영문화본부 요청사항 반영
This commit is contained in:
@@ -11,7 +11,8 @@ If attachClientIp <> "10.10.13.47" And _
|
||||
attachClientIp <> "10.10.13.105" And _
|
||||
attachClientIp <> "10.10.13.48" And _
|
||||
attachClientIp <> "10.10.13.6" And _
|
||||
attachClientIp <> "10.10.13.29" Then
|
||||
attachClientIp <> "10.10.13.29" And _
|
||||
attachClientIp <> "10.10.13.186" Then
|
||||
Response.Write "{""result"":""denied""}"
|
||||
Response.End
|
||||
End If
|
||||
@@ -34,14 +35,14 @@ If krc_no = "" Or InStr(krc_no, "..") > 0 Or InStr(krc_no, "/") > 0 Or InStr(krc
|
||||
Response.End
|
||||
End If
|
||||
|
||||
fileName = uploadform("attach_file")(1).FileName
|
||||
fileName = Trim(uploadform("attach_file")(1).FileName)
|
||||
|
||||
If fileName = "" Then
|
||||
Response.Write "{""result"":""fail""}"
|
||||
Response.End
|
||||
End If
|
||||
|
||||
ext = LCase(Mid(fileName, InStrRev(fileName, ".") + 1))
|
||||
ext = LCase(Trim(Mid(fileName, InStrRev(fileName, ".") + 1)))
|
||||
|
||||
If InStr(allowedExt, "|" & ext & "|") = 0 Then
|
||||
Response.Write "{""result"":""badtype""}"
|
||||
|
||||
@@ -11,7 +11,8 @@ If attachClientIp <> "10.10.13.47" And _
|
||||
attachClientIp <> "10.10.13.105" And _
|
||||
attachClientIp <> "10.10.13.48" And _
|
||||
attachClientIp <> "10.10.13.6" And _
|
||||
attachClientIp <> "10.10.13.29" Then
|
||||
attachClientIp <> "10.10.13.29" And _
|
||||
attachClientIp <> "10.10.13.186" Then
|
||||
Response.Write "{""result"":""denied""}"
|
||||
Response.End
|
||||
End If
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
dim xadmin : xadmin = request("xadmin") '-- <20><><EFBFBD><EFBFBD>(edit)
|
||||
dim attachClientIp, attachEditAllowed
|
||||
attachClientIp = Replace(Replace(Trim(Request.ServerVariables("REMOTE_ADDR")), "10.10.20.", "10.10.13."), "10.10.17.", "10.10.13.")
|
||||
attachEditAllowed = (attachClientIp = "10.10.13.47" Or attachClientIp = "10.10.13.105" Or attachClientIp = "10.10.13.48" Or attachClientIp = "10.10.13.6" Or attachClientIp = "10.10.13.29")
|
||||
attachEditAllowed = (attachClientIp = "10.10.13.47" Or attachClientIp = "10.10.13.105" Or attachClientIp = "10.10.13.48" Or attachClientIp = "10.10.13.6" Or attachClientIp = "10.10.13.29" Or attachClientIp = "10.10.13.186")
|
||||
'response.write "[" & xadmin & "]"
|
||||
|
||||
dim pay_type(4)
|
||||
@@ -888,6 +888,7 @@ if rsc.RecordCount > 0 then
|
||||
Dim attachFolderPath, attachFolderObj, attachOneFile, attachUs, attachDt, attachIdxPart, attachExt
|
||||
Dim attachFileMap(20), attachIsImage(20)
|
||||
Dim imageExtList : imageExtList = "|jpg|jpeg|png|gif|"
|
||||
Dim attachCacheVersion : attachCacheVersion = CStr(CLng(Timer() * 1000))
|
||||
attachFolderPath = Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no
|
||||
If fso.FolderExists(attachFolderPath) Then
|
||||
Set attachFolderObj = fso.GetFolder(attachFolderPath)
|
||||
@@ -917,7 +918,7 @@ if rsc.RecordCount > 0 then
|
||||
If attachIsImage(i) Then
|
||||
%>
|
||||
<div class="attach_preview">
|
||||
<img src="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i)%>" />
|
||||
<img src="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i) & "?v=" & attachCacheVersion%>" />
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<span class="attach_del_btn" data-idx="<%=i%>">×</span>
|
||||
<% End If %>
|
||||
@@ -926,7 +927,7 @@ if rsc.RecordCount > 0 then
|
||||
Else
|
||||
%>
|
||||
<div class="attach_file_box">
|
||||
<a href="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i)%>" target="_blank" class="attach_file_link">
|
||||
<a href="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i) & "?v=" & attachCacheVersion%>" target="_blank" class="attach_file_link">
|
||||
<span class="attach_file_ext"><%=Ucase(Mid(attachFileMap(i), InStrRev(attachFileMap(i),".")+1))%></span>
|
||||
<span class="attach_file_name"><%=attachFileMap(i)%></span>
|
||||
</a>
|
||||
@@ -1303,7 +1304,12 @@ if rsc.RecordCount > 0 then
|
||||
return;
|
||||
}
|
||||
var fd = new FormData();
|
||||
fd.append("attach_file", files[idx]);
|
||||
var uploadName = "upload";
|
||||
var dotIdx = files[idx].name.lastIndexOf(".");
|
||||
if(dotIdx >= 0){
|
||||
uploadName += files[idx].name.substring(dotIdx).toLowerCase();
|
||||
}
|
||||
fd.append("attach_file", files[idx], uploadName);
|
||||
fd.append("krc_no", "<%=krc_no%>");
|
||||
$.ajax({
|
||||
url: "/ess/doc_attach_add.asp",
|
||||
|
||||
@@ -30,7 +30,7 @@ Response.CharSet="euc-kr"
|
||||
dim xadmin : xadmin=request("xadmin") '-- <20><><EFBFBD><EFBFBD>(edit)
|
||||
dim attachClientIp, attachEditAllowed
|
||||
attachClientIp = Replace(Replace(Trim(Request.ServerVariables("REMOTE_ADDR")), "10.10.20.", "10.10.13."), "10.10.17.", "10.10.13.")
|
||||
attachEditAllowed = (attachClientIp = "10.10.13.47" Or attachClientIp = "10.10.13.105" Or attachClientIp = "10.10.13.48" Or attachClientIp = "10.10.13.6" Or attachClientIp = "10.10.13.29")
|
||||
attachEditAllowed = (attachClientIp = "10.10.13.47" Or attachClientIp = "10.10.13.105" Or attachClientIp = "10.10.13.48" Or attachClientIp = "10.10.13.6" Or attachClientIp = "10.10.13.29" Or attachClientIp = "10.10.13.186")
|
||||
dim pay_type(4)
|
||||
pay_type(1) = "ī<><C4AB>/<2F><><EFBFBD><EFBFBD>"
|
||||
pay_type(2) = "<22><><EFBFBD>ݰ<EFBFBD><DDB0>꼭"
|
||||
@@ -920,6 +920,7 @@ if rsc.RecordCount > 0 then
|
||||
Dim attachFolderPath, attachFolderObj, attachOneFile, attachUs, attachDt, attachIdxPart, attachExt
|
||||
Dim attachFileMap(20), attachIsImage(20)
|
||||
Dim imageExtList : imageExtList = "|jpg|jpeg|png|gif|"
|
||||
Dim attachCacheVersion : attachCacheVersion = CStr(CLng(Timer() * 1000))
|
||||
attachFolderPath = Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no
|
||||
If fso.FolderExists(attachFolderPath) Then
|
||||
Set attachFolderObj = fso.GetFolder(attachFolderPath)
|
||||
@@ -949,7 +950,7 @@ if rsc.RecordCount > 0 then
|
||||
If attachIsImage(i) Then
|
||||
%>
|
||||
<div class="attach_preview">
|
||||
<img src="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i)%>" />
|
||||
<img src="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i) & "?v=" & attachCacheVersion%>" />
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<span class="attach_del_btn" data-idx="<%=i%>">×</span>
|
||||
<% End If %>
|
||||
@@ -958,7 +959,7 @@ if rsc.RecordCount > 0 then
|
||||
Else
|
||||
%>
|
||||
<div class="attach_file_box">
|
||||
<a href="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i)%>" target="_blank" class="attach_file_link">
|
||||
<a href="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i) & "?v=" & attachCacheVersion%>" target="_blank" class="attach_file_link">
|
||||
<span class="attach_file_ext"><%=Ucase(Mid(attachFileMap(i), InStrRev(attachFileMap(i),".")+1))%></span>
|
||||
<span class="attach_file_name"><%=attachFileMap(i)%></span>
|
||||
</a>
|
||||
@@ -1239,7 +1240,12 @@ if rsc.RecordCount > 0 then
|
||||
return;
|
||||
}
|
||||
var fd = new FormData();
|
||||
fd.append("attach_file", files[idx]);
|
||||
var uploadName = "upload";
|
||||
var dotIdx = files[idx].name.lastIndexOf(".");
|
||||
if(dotIdx >= 0){
|
||||
uploadName += files[idx].name.substring(dotIdx).toLowerCase();
|
||||
}
|
||||
fd.append("attach_file", files[idx], uploadName);
|
||||
fd.append("krc_no", "<%=krc_no%>");
|
||||
$.ajax({
|
||||
url: "/ess/doc_attach_add.asp",
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
krc_no = d_no
|
||||
print_type = request("print_type")
|
||||
view_chk= request("view_chk")
|
||||
dim rev_type : rev_type = request("rev_type")
|
||||
|
||||
db_table_name = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
@@ -254,107 +253,6 @@ if rsc.RecordCount > 0 Then
|
||||
|
||||
});
|
||||
|
||||
$(document).ready(function(){
|
||||
var today = new Date().getMonth()+1 + " / " + new Date().getDate();
|
||||
<% If rev_type = "1" Then %>
|
||||
var tmpHtml = "";
|
||||
tmpHtml += "<input type='button' id='rev_btn' value='<27><><EFBFBD><EFBFBD>' style='background-color: #c6fccf;cursor: pointer;' />";
|
||||
<% if cstr(tmp_ess(4, 2)) = cstr(session("user_number")) then %>
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(3)").html(tmpHtml) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(3)").html(today) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
<% Else %>
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(4)").html(tmpHtml) // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(4)").html(today) // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<% End If %>
|
||||
|
||||
$("#rev_btn").on("click", function(){
|
||||
if(confirm("Ȯ<><C8AE>ó<EFBFBD><C3B3><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>?")){
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revReqApproval", "d_no":"<%=d_no%>", "today":today},
|
||||
success: function(ret){
|
||||
if(ret == "1"){
|
||||
alert("Ȯ<>ο<EFBFBD>û<EFBFBD><C3BB> <20><><EFBFBD><EFBFBD> ó<><C3B3><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.");
|
||||
$(opener.document).find("#tr_<%=d_no%>").remove();
|
||||
self.close();
|
||||
}else if(ret == "2"){
|
||||
alert("Ȯ<><C8AE> ó<><C3B3><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.");
|
||||
$(opener.document).find("#tr_<%=d_no%>").remove();
|
||||
self.close();
|
||||
}else{
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><DFBB>Ͽ<EFBFBD><CFBF><EFBFBD><EFBFBD>ϴ<EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
<% ElseIf rev_type = "2" Then %>
|
||||
<% if cstr(tmp_ess(4, 2)) = cstr(session("user_number")) then %>
|
||||
tmpHtml = ""
|
||||
tmpHtml += "<input type='button' id='rev_comp_btn' value='<27><><EFBFBD><EFBFBD>' style='background-color: #c6fccf;cursor: pointer;' />";
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(3)").html(tmpHtml) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
|
||||
$("#rev_comp_btn").on("click", function(){
|
||||
if(confirm("Ȯ<><C8AE><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>?")){
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revCompApproval", "d_no":"<%=d_no%>", "today":today},
|
||||
success: function(ret){
|
||||
if(ret == "1"){
|
||||
alert("Ȯ<><C8AE> ó<><C3B3><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.");
|
||||
$(opener.document).find("#tr_<%=d_no%>").remove();
|
||||
self.close();
|
||||
}else{
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><DFBB>Ͽ<EFBFBD><CFBF><EFBFBD><EFBFBD>ϴ<EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
<% End If %>
|
||||
<% End If %>
|
||||
<% If d_order_cnt = 77 Then %>
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revIngApproval", "d_no":"<%=d_no%>", "appoval_level":"2"},
|
||||
success: function(ret){
|
||||
if(ret != "0"){
|
||||
var retJson = JSON.parse(ret);
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(4)").html('<img src="/images/sign/' + retJson.imgFile + '.jpg" border="0" width="40" height="40">') // <20><><EFBFBD><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(4)").html(retJson.day) // <20><><EFBFBD><EFBFBD>
|
||||
}
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revIngApproval", "d_no":"<%=d_no%>", "appoval_level":"3"},
|
||||
success: function(ret){
|
||||
if(ret != "0"){
|
||||
var retJson = JSON.parse(ret);
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(3)").html('<img src="/images/sign/' + retJson.imgFile + '.jpg" border="0" width="40" height="40">') // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(3)").html(retJson.day) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
}
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revIngApproval", "d_no":"<%=d_no%>", "appoval_level":"5"},
|
||||
success: function(ret){
|
||||
if(ret != "0"){
|
||||
var retJson = JSON.parse(ret);
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(1)").html('<img src="/images/sign/' + retJson.imgFile + '.jpg" border="0" width="40" height="40">') // <20><>ǥ<EFBFBD>̻<EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(1)").html(retJson.day) // <20><>ǥ<EFBFBD>̻<EFBFBD>
|
||||
}
|
||||
}
|
||||
});
|
||||
<% End If %>
|
||||
});
|
||||
|
||||
function win_close()
|
||||
{
|
||||
window.close();
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
krc_no = d_no
|
||||
print_type = request("print_type")
|
||||
view_chk= request("view_chk")
|
||||
dim rev_type : rev_type = request("rev_type")
|
||||
|
||||
db_table_name = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
@@ -253,107 +252,6 @@ if rsc.RecordCount > 0 Then
|
||||
}
|
||||
|
||||
});
|
||||
$(document).ready(function(){
|
||||
var today = new Date().getMonth()+1 + " / " + new Date().getDate();
|
||||
<% If rev_type = "1" Then %>
|
||||
var tmpHtml = "";
|
||||
tmpHtml += "<input type='button' id='rev_btn' value='<27><><EFBFBD><EFBFBD>' style='background-color: #c6fccf;cursor: pointer;' />";
|
||||
<% if cstr(tmp_ess(4, 2)) = cstr(session("user_number")) then %>
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(3)").html(tmpHtml) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(3)").html(today) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
<% Else %>
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(4)").html(tmpHtml) // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(4)").html(today) // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<% End If %>
|
||||
|
||||
$("#rev_btn").on("click", function(){
|
||||
if(confirm("Ȯ<><C8AE>ó<EFBFBD><C3B3><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>?")){
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revReqApproval", "d_no":"<%=d_no%>", "today":today},
|
||||
success: function(ret){
|
||||
if(ret == "1"){
|
||||
alert("Ȯ<>ο<EFBFBD>û<EFBFBD><C3BB> <20><><EFBFBD><EFBFBD> ó<><C3B3><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.");
|
||||
$(opener.document).find("#tr_<%=d_no%>").remove();
|
||||
self.close();
|
||||
}else if(ret == "2"){
|
||||
alert("Ȯ<><C8AE> ó<><C3B3><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.");
|
||||
$(opener.document).find("#tr_<%=d_no%>").remove();
|
||||
self.close();
|
||||
}else{
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><DFBB>Ͽ<EFBFBD><CFBF><EFBFBD><EFBFBD>ϴ<EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
<% ElseIf rev_type = "2" Then %>
|
||||
<% if cstr(tmp_ess(4, 2)) = cstr(session("user_number")) then %>
|
||||
tmpHtml = ""
|
||||
tmpHtml += "<input type='button' id='rev_comp_btn' value='<27><><EFBFBD><EFBFBD>' style='background-color: #c6fccf;cursor: pointer;' />";
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(3)").html(tmpHtml) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
|
||||
$("#rev_comp_btn").on("click", function(){
|
||||
if(confirm("Ȯ<><C8AE><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>?")){
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revCompApproval", "d_no":"<%=d_no%>", "today":today},
|
||||
success: function(ret){
|
||||
if(ret == "1"){
|
||||
alert("Ȯ<><C8AE> ó<><C3B3><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.");
|
||||
$(opener.document).find("#tr_<%=d_no%>").remove();
|
||||
self.close();
|
||||
}else{
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><DFBB>Ͽ<EFBFBD><CFBF><EFBFBD><EFBFBD>ϴ<EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
<% End If %>
|
||||
<% End If %>
|
||||
<% If d_order_cnt = 77 Then %>
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revIngApproval", "d_no":"<%=d_no%>", "appoval_level":"2"},
|
||||
success: function(ret){
|
||||
if(ret != "0"){
|
||||
var retJson = JSON.parse(ret);
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(4)").html('<img src="/images/sign/' + retJson.imgFile + '.jpg" border="0" width="40" height="40">') // <20><><EFBFBD><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(4)").html(retJson.day) // <20><><EFBFBD><EFBFBD>
|
||||
}
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revIngApproval", "d_no":"<%=d_no%>", "appoval_level":"3"},
|
||||
success: function(ret){
|
||||
if(ret != "0"){
|
||||
var retJson = JSON.parse(ret);
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(3)").html('<img src="/images/sign/' + retJson.imgFile + '.jpg" border="0" width="40" height="40">') // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(3)").html(retJson.day) // <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
}
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: "/ess/doc_rev_ajax.asp",
|
||||
type: "POST",
|
||||
data: {"command":"revIngApproval", "d_no":"<%=d_no%>", "appoval_level":"5"},
|
||||
success: function(ret){
|
||||
if(ret != "0"){
|
||||
var retJson = JSON.parse(ret);
|
||||
$("#approval_tb > tbody > tr:eq(2) > td:nth-last-child(1)").html('<img src="/images/sign/' + retJson.imgFile + '.jpg" border="0" width="40" height="40">') // <20><>ǥ<EFBFBD>̻<EFBFBD>
|
||||
$("#approval_tb > tbody > tr:eq(3) > td:nth-last-child(1)").html(retJson.day) // <20><>ǥ<EFBFBD>̻<EFBFBD>
|
||||
}
|
||||
}
|
||||
});
|
||||
<% End If %>
|
||||
});
|
||||
|
||||
|
||||
function win_close()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user