20260907 :: 김현정 > 260824 PMS 개선 요청_경영문화본부 4차 반영
This commit is contained in:
@@ -28,6 +28,9 @@ Response.CharSet="euc-kr"
|
||||
|
||||
'--------------- <20>߰<EFBFBD>(20170306)<29><> ------------------------
|
||||
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")
|
||||
dim pay_type(4)
|
||||
pay_type(1) = "ī<><C4AB>/<2F><><EFBFBD><EFBFBD>"
|
||||
pay_type(2) = "<22><><EFBFBD>ݰ<EFBFBD><DDB0>꼭"
|
||||
@@ -947,7 +950,7 @@ if rsc.RecordCount > 0 then
|
||||
%>
|
||||
<div class="attach_preview">
|
||||
<img src="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i)%>" />
|
||||
<% If xadmin = "edit" And Session("N_depart") = "M" And Session("N_team") = "101" Then %>
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<span class="attach_del_btn" data-idx="<%=i%>">×</span>
|
||||
<% End If %>
|
||||
</div>
|
||||
@@ -959,7 +962,7 @@ if rsc.RecordCount > 0 then
|
||||
<span class="attach_file_ext"><%=Ucase(Mid(attachFileMap(i), InStrRev(attachFileMap(i),".")+1))%></span>
|
||||
<span class="attach_file_name"><%=attachFileMap(i)%></span>
|
||||
</a>
|
||||
<% If xadmin = "edit" And Session("N_depart") = "M" And Session("N_team") = "101" Then %>
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<span class="attach_del_btn" data-idx="<%=i%>">×</span>
|
||||
<% End If %>
|
||||
</div>
|
||||
@@ -968,7 +971,7 @@ if rsc.RecordCount > 0 then
|
||||
End If
|
||||
Next
|
||||
%>
|
||||
<% If xadmin = "edit" And Session("N_depart") = "M" And Session("N_team") = "101" Then %>
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<div class="attach_add_btn" id="attachAddBtn">+ <20>߰<EFBFBD></div>
|
||||
<input type="file" id="attachFileInput" accept="image/*,.zip,.pdf,.hwp,.doc,.docx,.xls,.xlsx,.ppt,.pptx" multiple style="display:none;" />
|
||||
<% End If %>
|
||||
|
||||
Reference in New Issue
Block a user