2022-11-02 18:18 결재 및 대결 관리 수정
This commit is contained in:
parent
902af4b45c
commit
af3adc094b
@ -292,8 +292,10 @@ public class AprvlMgrServiceImpl extends EgovAbstractServiceImpl implements Apr
|
||||
|
||||
if ("A".equals(adrSbmtLineMgrUsrVO.getSbmtYn1())) { //1단계 결재 전임
|
||||
if ("".equals(adrSbmtLineMgrUsrVO.getSbsttSbmtId1())) {
|
||||
//대결자가 없는 경우
|
||||
aprvlMgrVO.setSbmtId1(adrSbmtLineMgrUsrVO.getSbmtId1());
|
||||
}else {
|
||||
//대결자가 있는 경우
|
||||
aprvlMgrVO.setSbmtId1(adrSbmtLineMgrUsrVO.getSbsttSbmtId1());
|
||||
}
|
||||
//step1.결재가 안된 데이터만 확인 - sbmtYn1,2,3
|
||||
@ -301,15 +303,17 @@ public class AprvlMgrServiceImpl extends EgovAbstractServiceImpl implements Apr
|
||||
adrSbmtLineMgrUsrVO.setWhereQuery(" AND agnt_sbmt_id='ID1' ");
|
||||
adrSbmtMgrHstryService.deleteWithQuery(adrSbmtLineMgrUsrVO);
|
||||
|
||||
|
||||
//step4.이력 정보 남기기 처리를 해야 한다. I - adr_sbmt_mgr_hstry
|
||||
this._insertAdrSbmtMgrHstry(
|
||||
adrSbmtLineMgrUsrVO
|
||||
, aprvlMgrVO
|
||||
, "ID1"
|
||||
, adrSbmtLineMgrUsrVO.getSbsttSbmtId1()
|
||||
, adrSbmtLineMgrUsrVO.getSbmtId1()
|
||||
);
|
||||
if (!"".equals(adrSbmtLineMgrUsrVO.getSbsttSbmtId1())) {
|
||||
//대결자가 있는 경우만 이력을 남긴다.
|
||||
//step4.이력 정보 남기기 처리를 해야 한다. I - adr_sbmt_mgr_hstry
|
||||
this._insertAdrSbmtMgrHstry(
|
||||
adrSbmtLineMgrUsrVO
|
||||
, aprvlMgrVO
|
||||
, "ID1"
|
||||
, adrSbmtLineMgrUsrVO.getSbsttSbmtId1()
|
||||
, adrSbmtLineMgrUsrVO.getSbmtId1()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -890,6 +890,247 @@
|
||||
|
||||
<!-- 정보 L -->
|
||||
<select id="AdrSbmtLineMgrUsrDAO.selectIng" parameterClass="AdrSbmtLineMgrUsrVO" resultClass="AdrSbmtLineMgrUsrVO">
|
||||
/* selectIng */
|
||||
SELECT a.sbmt_id1 AS sbmtId1 ,
|
||||
b1.user_nm userNm1 ,
|
||||
b1.tbl_nm AS tblNm1,
|
||||
|
||||
a.sbmt_id2 AS sbmtId2 ,
|
||||
b2.user_nm userNm2 ,
|
||||
b2.tbl_nm AS tblNm2,
|
||||
|
||||
a.sbmt_id3 AS sbmtId3 ,
|
||||
b3.user_nm userNm3 ,
|
||||
b3.tbl_nm AS tblNm3,
|
||||
|
||||
a.sbstt_sbmt_id1 AS sbsttSbmtId1 ,
|
||||
s1.user_nm sbsttUserNm1 ,
|
||||
s1.tbl_nm AS sbsttTblNm1,
|
||||
|
||||
a.sbstt_sbmt_id2 AS sbsttSbmtId2 ,
|
||||
s2.user_nm sbsttUserNm2 ,
|
||||
s2.tbl_nm AS sbsttTblNm2,
|
||||
|
||||
a.sbstt_sbmt_id3 AS sbsttSbmtId3 ,
|
||||
s3.user_nm sbsttUserNm3 ,
|
||||
s3.tbl_nm AS sbsttTblNm3,
|
||||
|
||||
'0' AS ord
|
||||
|
||||
, a.sbmt_step_cnt AS sbmtStepCnt
|
||||
, a.sbmt_yn1 AS sbmtYn1
|
||||
, a.sbmt_yn2 AS sbmtYn2
|
||||
, a.sbmt_yn3 AS sbmtYn3
|
||||
FROM (
|
||||
|
||||
SELECT
|
||||
IF (aaa.sbmt_step_cnt>=1
|
||||
,IF(id1 IS NULL, aaa.sbmt_id1, id1)
|
||||
,NULL
|
||||
) AS sbmt_id1 ,
|
||||
IF (aaa.sbmt_step_cnt>=1
|
||||
,IF(id1 IS NULL, NULL, aaa.sbmt_id1)
|
||||
,NULL
|
||||
) AS sbstt_sbmt_id1 ,
|
||||
|
||||
IF (aaa.sbmt_step_cnt>=2
|
||||
,IF(id2 IS NULL, aaa.sbmt_id2, id2)
|
||||
,NULL
|
||||
) AS sbmt_id2 ,
|
||||
IF (aaa.sbmt_step_cnt>=2
|
||||
,IF(id2 IS NULL, NULL, aaa.sbmt_id2)
|
||||
,NULL
|
||||
) AS sbstt_sbmt_id2 ,
|
||||
|
||||
IF (aaa.sbmt_step_cnt>=3
|
||||
,IF(id3 IS NULL, aaa.sbmt_id3, id3)
|
||||
,NULL
|
||||
) AS sbmt_id3 ,
|
||||
IF (aaa.sbmt_step_cnt>=3
|
||||
,IF(id3 IS NULL, NULL, aaa.sbmt_id3)
|
||||
,NULL
|
||||
) AS sbstt_sbmt_id3 ,
|
||||
aaa.sbmt_step_cnt ,
|
||||
aaa.sbmt_yn1 ,
|
||||
aaa.sbmt_yn2 ,
|
||||
aaa.sbmt_yn3
|
||||
FROM (
|
||||
SELECT a.adr_seq ,
|
||||
a.adr_sn ,
|
||||
a.sbmt_seq ,
|
||||
a.sbmt_step_cnt ,
|
||||
a.sbmt_id1,
|
||||
a.sbmt_yn1,
|
||||
a.sbmt_de1 ,
|
||||
a.sbmt_id2,
|
||||
a.sbmt_yn2,
|
||||
a.sbmt_de2 ,
|
||||
a.sbmt_id3,
|
||||
a.sbmt_yn3,
|
||||
a.sbmt_de3 ,
|
||||
a.sbmt_id4,
|
||||
a.sbmt_yn4,
|
||||
a.sbmt_de4 ,
|
||||
a.sbmt_id5,
|
||||
a.sbmt_yn5,
|
||||
a.sbmt_de5 ,
|
||||
a.sbmt_id6,
|
||||
a.sbmt_yn6,
|
||||
a.sbmt_de6
|
||||
,( SELECT bb.sbmt_id_bef
|
||||
FROM ( SELECT b.adr_seq,
|
||||
b.adr_sn,
|
||||
b.sbmt_seq ,
|
||||
MIN(b.sbmt_sbstt_seq) AS MIN_sbmt_sbstt_seq
|
||||
FROM adr_sbmt_mgr_hstry b
|
||||
WHERE b.adr_seq =a.adr_seq
|
||||
AND b.adr_sn =a.adr_sn
|
||||
AND b.sbmt_seq =a.sbmt_seq
|
||||
AND b.agnt_sbmt_id='ID1'
|
||||
GROUP BY b.adr_seq,
|
||||
b.adr_sn,
|
||||
b.sbmt_seq
|
||||
)
|
||||
aa
|
||||
LEFT OUTER JOIN adr_sbmt_mgr_hstry bb
|
||||
ON (
|
||||
aa.MIN_sbmt_sbstt_seq=bb.sbmt_sbstt_seq
|
||||
)
|
||||
|
||||
)
|
||||
AS id1
|
||||
,( SELECT bb.sbmt_id_bef
|
||||
FROM ( SELECT b.adr_seq,
|
||||
b.adr_sn,
|
||||
b.sbmt_seq ,
|
||||
MIN(b.sbmt_sbstt_seq) AS MIN_sbmt_sbstt_seq
|
||||
FROM adr_sbmt_mgr_hstry b
|
||||
WHERE b.adr_seq =a.adr_seq
|
||||
AND b.adr_sn =a.adr_sn
|
||||
AND b.sbmt_seq =a.sbmt_seq
|
||||
AND b.agnt_sbmt_id='ID2'
|
||||
GROUP BY b.adr_seq,
|
||||
b.adr_sn,
|
||||
b.sbmt_seq
|
||||
)
|
||||
aa
|
||||
LEFT OUTER JOIN adr_sbmt_mgr_hstry bb
|
||||
ON (
|
||||
aa.MIN_sbmt_sbstt_seq=bb.sbmt_sbstt_seq
|
||||
)
|
||||
|
||||
)
|
||||
AS id2
|
||||
,( SELECT bb.sbmt_id_bef
|
||||
FROM ( SELECT b.adr_seq,
|
||||
b.adr_sn,
|
||||
b.sbmt_seq ,
|
||||
MIN(b.sbmt_sbstt_seq) AS MIN_sbmt_sbstt_seq
|
||||
FROM adr_sbmt_mgr_hstry b
|
||||
WHERE b.adr_seq =a.adr_seq
|
||||
AND b.adr_sn =a.adr_sn
|
||||
AND b.sbmt_seq =a.sbmt_seq
|
||||
AND b.agnt_sbmt_id='ID3'
|
||||
GROUP BY b.adr_seq,
|
||||
b.adr_sn,
|
||||
b.sbmt_seq
|
||||
)
|
||||
aa
|
||||
LEFT OUTER JOIN adr_sbmt_mgr_hstry bb
|
||||
ON (
|
||||
aa.MIN_sbmt_sbstt_seq=bb.sbmt_sbstt_seq
|
||||
)
|
||||
|
||||
)
|
||||
AS id3
|
||||
|
||||
FROM adr_sbmt_mgr a
|
||||
WHERE a.adr_seq =#adrSeq#
|
||||
AND a.adr_sn =#adrSn#
|
||||
AND a.sbmt_seq=#sbmtSeq#
|
||||
)aaa
|
||||
|
||||
) a
|
||||
LEFT OUTER JOIN (
|
||||
SELECT esntl_id, user_nm, 'info' AS tbl_nm
|
||||
FROM lettnemplyrinfo
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT mem_seq, mem_name, 'mgr'
|
||||
FROM adr_mem_mgr
|
||||
) b1
|
||||
ON (
|
||||
a.sbmt_id1=b1.esntl_id
|
||||
)
|
||||
LEFT OUTER JOIN (
|
||||
SELECT esntl_id, user_nm, 'info' AS tbl_nm
|
||||
FROM lettnemplyrinfo
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT mem_seq, mem_name, 'mgr'
|
||||
FROM adr_mem_mgr
|
||||
) b2
|
||||
ON (
|
||||
a.sbmt_id2=b2.esntl_id
|
||||
)
|
||||
LEFT OUTER JOIN (
|
||||
SELECT esntl_id, user_nm, 'info' AS tbl_nm
|
||||
FROM lettnemplyrinfo
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT mem_seq, mem_name, 'mgr'
|
||||
FROM adr_mem_mgr
|
||||
) b3
|
||||
ON (
|
||||
a.sbmt_id3=b3.esntl_id
|
||||
)
|
||||
LEFT OUTER JOIN (
|
||||
SELECT esntl_id, user_nm, 'info' AS tbl_nm
|
||||
FROM lettnemplyrinfo
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT mem_seq, mem_name, 'mgr'
|
||||
FROM adr_mem_mgr
|
||||
) s1
|
||||
ON (
|
||||
a.sbstt_sbmt_id1=s1.esntl_id
|
||||
)
|
||||
LEFT OUTER JOIN (
|
||||
SELECT esntl_id, user_nm, 'info' AS tbl_nm
|
||||
FROM lettnemplyrinfo
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT mem_seq, mem_name, 'mgr'
|
||||
FROM adr_mem_mgr
|
||||
) s2
|
||||
ON (
|
||||
a.sbstt_sbmt_id2=s2.esntl_id
|
||||
)
|
||||
LEFT OUTER JOIN (
|
||||
SELECT esntl_id, user_nm, 'info' AS tbl_nm
|
||||
FROM lettnemplyrinfo
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT mem_seq, mem_name, 'mgr'
|
||||
FROM adr_mem_mgr
|
||||
) s3
|
||||
ON (
|
||||
a.sbstt_sbmt_id3=s3.esntl_id
|
||||
)
|
||||
WHERE 1=1
|
||||
LIMIT 1
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 정보 L -->
|
||||
<select id="AdrSbmtLineMgrUsrDAO.selectIng_bak" parameterClass="AdrSbmtLineMgrUsrVO" resultClass="AdrSbmtLineMgrUsrVO">
|
||||
/* selectIng */
|
||||
SELECT a.sbmt_id1 AS sbmtId1 ,
|
||||
b1.user_nm userNm1 ,
|
||||
@ -1095,7 +1336,7 @@
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<!-- 정보 L -->
|
||||
<select id="AdrSbmtLineMgrUsrDAO.selectIng502030" parameterClass="AdrSbmtLineMgrUsrVO" resultClass="AdrSbmtLineMgrUsrVO">
|
||||
/* selectIng502030 */
|
||||
|
||||
@ -253,21 +253,25 @@
|
||||
|
||||
WHERE
|
||||
A.MENU_NO > 0
|
||||
AND b.author_code='ROLE_ADMIN'
|
||||
AND b.author_code='ROLE_ADR_ADMIN' /* 특정 권한 그룹에 대한 메뉴만 가져온다. */
|
||||
AND A.MENU_NO = B.MENU_NO
|
||||
AND A.progrm_file_nm=C.progrm_file_nm
|
||||
AND B.USE_YN='Y'
|
||||
|
||||
AND (
|
||||
A.UPPER_MENU_NO IN (9999000, 9993000, 99919000, 99910000)
|
||||
A.UPPER_MENU_NO IN (9999000, 9993000, 99919000, 99914000, 99927000)
|
||||
OR
|
||||
A.MENU_NO IN (9999000, 9993000, 99919000, 99910000)
|
||||
A.MENU_NO IN (9999000, 9993000, 99919000, 99910000, 99914000, 99927000)
|
||||
)
|
||||
|
||||
AND a.UPPER_MENU_NO=d.menu_no
|
||||
|
||||
|
||||
ORDER BY
|
||||
CONCAT(
|
||||
IF(A.UPPER_MENU_NO=0, a.MENU_ORDR, d.MENU_ORDR)
|
||||
, IF(A.UPPER_MENU_NO=0,a.menu_nm, d.menu_nm)
|
||||
IF(LENGTH(IF(A.UPPER_MENU_NO=0, a.MENU_ORDR, d.MENU_ORDR))=1,'0',''),
|
||||
IF(A.UPPER_MENU_NO=0, a.MENU_ORDR, d.MENU_ORDR),
|
||||
IF(A.UPPER_MENU_NO=0,a.menu_nm, d.menu_nm)
|
||||
),
|
||||
A.UPPER_MENU_NO,
|
||||
D.MENU_ORDR,
|
||||
|
||||
@ -22,6 +22,17 @@
|
||||
<meta http-equiv="Content-Language" content="ko">
|
||||
<title>게시판관리</title>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("SelectBBSMasterInfs", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function press(event) {
|
||||
if (event.keyCode==13) {
|
||||
linkPage('1');
|
||||
|
||||
@ -15,7 +15,15 @@
|
||||
<title>법원연계조정관리 - 상세</title>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCourtCnctnDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
//목록 이동
|
||||
function fn_GoList(){
|
||||
|
||||
@ -37,9 +37,15 @@ $(document).ready(function(){
|
||||
$('#delForm').submit();
|
||||
});
|
||||
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCourtCnctnList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -30,6 +30,16 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("AdjustDeptManagerDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
var varFrom = document.getElementById("detailForm");
|
||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerList.do'/>";
|
||||
|
||||
@ -27,7 +27,16 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("AdjustDeptManagerList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncSelectConciliatorManageList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -19,8 +19,17 @@
|
||||
tabPageLoad(idx);
|
||||
});
|
||||
tabPageLoad(parseInt('${apmVO.tabSeq}'));
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("apmDetail", "div.cont", "R");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function tabPageLoad(idx) {
|
||||
|
||||
var url = getPageUrl(idx);
|
||||
|
||||
@ -46,8 +46,16 @@
|
||||
fncCheckValue('ckStsList', '${val}')
|
||||
</c:forEach>
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("apmList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function setSearchMonthDate(month) {
|
||||
$("input[name=searchStartDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').add(month * -1, 'months').format('YYYY-MM-DD'));
|
||||
$("input[name=searchEndDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').format('YYYY-MM-DD'));
|
||||
|
||||
@ -11,6 +11,16 @@
|
||||
<title>조정접수</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("ojctInfoPop", "div.cont_popup", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn){
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
||||
}
|
||||
|
||||
@ -34,8 +34,16 @@
|
||||
$("#filebutton").click(function(){
|
||||
$("#file_temp").trigger("click");
|
||||
});
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("ConciliatorManageDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncCancle (){
|
||||
if(confirm("작성된 내용의 수정을 취소하시겠습니까?")){
|
||||
fncGoList();
|
||||
|
||||
@ -31,8 +31,16 @@
|
||||
if('${message}' != ''){
|
||||
alert('${message}');
|
||||
}
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("ConciliatorManageList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncSelectConciliatorManageList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -13,9 +13,15 @@
|
||||
<script src="/kccadrPb/usr/script/popup.js"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("dlvinfoDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList() {
|
||||
if (confirm("작성된 내용의 수정을 취소하시겠습니까?")) {
|
||||
goList();
|
||||
|
||||
@ -12,6 +12,16 @@
|
||||
<title>송달 목록</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("dlvinfoList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncExcel() {
|
||||
var listForm = document.listForm;
|
||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/dlvinfo/excel.do'/>";
|
||||
|
||||
@ -166,7 +166,8 @@
|
||||
alert("조정사건 배당이 등록 되었습니다.");
|
||||
fncGoList('list'); //조정진행목록으로
|
||||
}else{
|
||||
fnc_aprvl_step_1(p_param);
|
||||
//fnc_aprvl_step_1(p_param);
|
||||
fnc_aprvl_pop(p_param);
|
||||
}
|
||||
|
||||
} else {
|
||||
@ -217,10 +218,57 @@
|
||||
});
|
||||
}
|
||||
|
||||
function fnc_aprvl_pop(param){
|
||||
var pop = document.pop;
|
||||
pop.sbmtTyCd.value=param;
|
||||
|
||||
//commonPopWindowopenForm("/kccadr/adjReqMgOff/popup/adjReqMgrOffAppReqPop.do", '1000', '700', "entInfoPop", $('#pop'));
|
||||
|
||||
if (param=='201010'){ //20, 30, 40
|
||||
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop.do", '1000', '700', "entInfoPop", $('#pop'));
|
||||
//commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop502030.do", '1000', '700', "entInfoPop502030", $('#pop'));
|
||||
|
||||
}else if (param=='202010'){ //30
|
||||
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop30.do", '1000', '700', "entInfoPop30", $('#pop'));
|
||||
|
||||
}else if (param=='204010'
|
||||
|| param=='205010'
|
||||
|| param=='302010'
|
||||
|| param=='303010'
|
||||
|| param=='304010'
|
||||
|| param=='305010'
|
||||
|| param=='306010'
|
||||
|| param=='307010'
|
||||
){ //50
|
||||
//204010, 307010, 305010, 304010, 303010, 306010, 302010, 205010
|
||||
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop50.do", '1000', '700', "entInfoPop50", $('#pop'));
|
||||
|
||||
}else if (param=='309010'){ //50, 20, 30
|
||||
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop502030.do", '1000', '700', "entInfoPop502030", $('#pop'));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form id="pop" name="pop" method="post">
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn}" />" />
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="rpplTy" name="rpplTy" />
|
||||
<input type="hidden" id="adrEndDeDay" name="adrEndDeDay" value="<c:out value="${info.adrEndDeDay}" />" />
|
||||
<input type="hidden" id="appSeq" name="appSeq" value="<c:out value="${info.appSeq}" />" />
|
||||
<input type="hidden" id="closeDocTy" name="closeDocTy" />
|
||||
<input type="hidden" id="adrAvoidSeq" name="adrAvoidSeq" value="<c:out value="${info.adrAvoidSeq}" />" />
|
||||
<input type="hidden" id="agntSeq" name="agntSeq" value="<c:out value="${info.agntSeq}" />" />
|
||||
<%-- <input type="hidden" id="adrMaxSn" name="adrMaxSn" value="<c:out value="${adrMaxSn}" />" /> --%>
|
||||
<input type="hidden" id="rpplSeq" name="rpplSeq" value=""/>
|
||||
|
||||
<!-- 고도화로 추가됨 -->
|
||||
<input type="hidden" id="sbmtTyCd" name="sbmtTyCd" value=""/>
|
||||
|
||||
</form>
|
||||
<form id="approval" name="approval" method="post">
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq }"></c:out>" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }"></c:out>" />
|
||||
|
||||
@ -30,6 +30,16 @@
|
||||
<title>예문관리</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpAnswerManagerDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn){
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
||||
}
|
||||
|
||||
@ -29,6 +29,10 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpAnswerManagerList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
function fncSelectConciliatorManageList(){
|
||||
linkPage(1);
|
||||
|
||||
@ -30,6 +30,18 @@
|
||||
<title>예문관리</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpAppManagerDetail", "div.cont", "R");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn){
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
||||
<%
|
||||
/**
|
||||
* @Class Name : exmpOpinionManagerList.jsp
|
||||
* @Class Name : exmpAppManagerList.jsp
|
||||
* @Description : 신청원인 예문 관리
|
||||
* @Modification Information
|
||||
* @
|
||||
@ -29,7 +29,18 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpAppManagerList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncSelectConciliatorManageList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -30,6 +30,16 @@
|
||||
<title>예문관리</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpEffectManagerDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn){
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
||||
}
|
||||
|
||||
@ -29,6 +29,10 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpEffectManagerList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
function fncSelectConciliatorManageList(){
|
||||
linkPage(1);
|
||||
|
||||
@ -30,6 +30,16 @@
|
||||
<title>예문관리</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpHelpManagerDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn){
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
||||
}
|
||||
|
||||
@ -29,6 +29,10 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("exmpHelpManagerList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
function fncSelectConciliatorManageList(){
|
||||
linkPage(1);
|
||||
|
||||
@ -35,6 +35,17 @@
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css">
|
||||
<script src="/kccadrPb/usr/script/popup.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("internalApprovManageDetail", "div.cont", "R");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
var listForm = document.listForm ;
|
||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/iam/internalApprovManageList.do'/>";
|
||||
@ -772,7 +783,9 @@
|
||||
|
||||
function fncGoList(pageNo) {
|
||||
var listForm = document.listForm;
|
||||
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorList.do'/>";
|
||||
//listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorList.do'/>";
|
||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/iam/internalApprovManageList.do'/>";
|
||||
|
||||
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
@ -54,9 +54,17 @@
|
||||
if('${internalApprovManageVO.searchMonth}' != '99'){
|
||||
setSearchMonthDate('${internalApprovManageVO.searchMonth}');
|
||||
}
|
||||
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("internalApprovManageList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoDetail(adrSeq, adrSn, sbmtSeq, sbmtTy){
|
||||
var listForm = document.listForm ;
|
||||
listForm.adrSeq.value = adrSeq;
|
||||
|
||||
@ -384,8 +384,22 @@ $( document ).ready(function() {
|
||||
|
||||
//기본 데이터 로드
|
||||
fn_load_default();
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("insteadOfPaymentManageDetail", "div.cont", "R");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
//직원 상세 초기화
|
||||
function fn_add_emp() {
|
||||
var partIdx =$("#selectPartIdx").val();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -55,6 +55,9 @@
|
||||
setSearchMonthDate('${internalApprovManageVO.searchMonth}');
|
||||
}
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("insteadOfPaymentManageList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
function fncGoDetail(adrSeq, adrSn, sbmtSeq, sbmtTy){
|
||||
|
||||
@ -30,6 +30,11 @@
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjReqMgrOjctList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -31,10 +31,16 @@
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
fn_check_authority("adjReqMgrRegDetail");
|
||||
//fn_check_authority("adjReqMgrRegDetail");
|
||||
_admin_fn_check_authority("adjReqMgrRegDetail", "div.cont", "R"); //ALL, CUD, P, R
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn){
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
||||
}
|
||||
@ -141,6 +147,7 @@
|
||||
}
|
||||
|
||||
//메뉴별 권한 체크 - 시작시 현재 사용자의 해당 페이지 사용권한을 체크한다.
|
||||
/*
|
||||
function fn_check_authority(p_this_page_name) {
|
||||
|
||||
var url = "";
|
||||
@ -192,7 +199,8 @@
|
||||
;//체크 정보 호출 완료
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
*/
|
||||
</script>
|
||||
<style>
|
||||
.tbType02 .btnType02{width: 95px; height: 35px; padding: 0; font-size: 17px; vertical-align: baseline;}
|
||||
|
||||
@ -59,10 +59,15 @@
|
||||
}
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
fn_check_authority("adjReqMgrRegList");
|
||||
_admin_fn_check_authority("adjReqMgrRegList", "div.cont", "ALL"); //ALL, CUD, P, R
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function setSearchMonthDate(month){
|
||||
if(month == undefined || month == ""){
|
||||
month = '${adjReqMgrVO.searchMonth}';
|
||||
@ -167,6 +172,7 @@
|
||||
}
|
||||
|
||||
//메뉴별 권한 체크 - 시작시 현재 사용자의 해당 페이지 사용권한을 체크한다.
|
||||
/*
|
||||
function fn_check_authority(p_this_page_name) {
|
||||
|
||||
var url = "";
|
||||
@ -216,7 +222,8 @@
|
||||
;//체크 정보 호출 완료
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
*/
|
||||
</script>
|
||||
<title>전자조정신청목록</title>
|
||||
</head>
|
||||
|
||||
@ -30,6 +30,17 @@
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>전자조정신청 상세</title>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjReqMgrOffDetail", "div.cont", "R");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn){
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
||||
}
|
||||
|
||||
@ -30,6 +30,17 @@
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjReqMgrOffList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -57,8 +57,15 @@ $(document).ready(function(){
|
||||
|
||||
}
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjReqMgrPastBasicRegist", "div.cont", "R");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
$(document).on('change', '#adrSnTemp', function(){
|
||||
|
||||
|
||||
@ -28,8 +28,16 @@ $(document).ready(function(){
|
||||
}
|
||||
});
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjReqMgrPastList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -20,8 +20,16 @@
|
||||
tabPageLoad(idx);
|
||||
});
|
||||
tabPageLoad(parseInt('${info.tabSeq}'));
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCloseMangeDetail", "div.cont", "R");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function tabPageLoad(idx) {
|
||||
var url = getPageUrl(idx);
|
||||
|
||||
|
||||
@ -12,7 +12,16 @@
|
||||
<title>조정사건 목록</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCloseMangeList", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -32,6 +32,12 @@
|
||||
<title>조정결재</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("docIssReqDetail", "div.cont");
|
||||
|
||||
});
|
||||
|
||||
function fncGoList(){
|
||||
var listForm = document.listForm ;
|
||||
listForm.action = "<c:url value='/kccadr/adjclsmgr/docIssReqList.do'/>";
|
||||
|
||||
@ -55,8 +55,16 @@
|
||||
fncCheckValue('ckStsList1', '${val}')
|
||||
</c:forEach>
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("docIssReqList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function setSearchMonthDate(month) {
|
||||
$("input[name=searchStartDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').add(month * -1, 'months').format('YYYY-MM-DD'));
|
||||
$("input[name=searchEndDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').format('YYYY-MM-DD'));
|
||||
|
||||
@ -30,6 +30,17 @@
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("memSttstList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -28,6 +28,10 @@
|
||||
<title>업무 시스템 내부 결재자 관리 페이지</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("SbmtGradeManagerCreate", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
<%-- var CHECK_NM = <c:out value="${not empty info ? true : false}"/>; --%>
|
||||
|
||||
|
||||
@ -116,7 +116,15 @@
|
||||
//$(this).val('');
|
||||
});
|
||||
|
||||
_admin_fn_check_authority("SchduleManagerList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncSelectSchManageList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
@ -98,8 +98,15 @@
|
||||
},
|
||||
});
|
||||
calendar.render();
|
||||
|
||||
_admin_fn_check_authority("SchduleManagerStatus", "div.cont", "ALL");
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function schDetailPop(schSeq) {
|
||||
window.open('', 'schDetailPop', "width=600, height=520, left=200, top=130","location = no","status= no","toolbars= no");
|
||||
document.listForm.schSeq.value = schSeq ;
|
||||
|
||||
@ -10,6 +10,17 @@
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>권한 목록</title>
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("contentList", "div.cont", "ALL");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function fncManageChecked() {
|
||||
|
||||
var checkField = document.listForm.delYn;
|
||||
|
||||
@ -53,7 +53,7 @@ content="default-src * self blob: data: gap:; style-src * self 'unsafe-inline' b
|
||||
<script type="text/javascript" src="<c:url value='/js/web_common.js'/>"></script>
|
||||
<script src="/kccadrPb/usr/script/postcode.js"></script>
|
||||
<!-- 다음 우편번호검색 js -->
|
||||
<script type="text/javascript" src="<c:url value='/js/kccadr/kccadrCom.js?2'/>"></script>
|
||||
<script type="text/javascript" src="<c:url value='/js/kccadr/kccadrCom.js?3'/>"></script>
|
||||
<%-- <script type="text/javascript" src="<c:url value='/js/kccadr/kccadrConstants.js'/>"></script> --%>
|
||||
<!-- 전자조정 공통 -->
|
||||
|
||||
|
||||
@ -434,5 +434,82 @@ function conByteLeng(content){
|
||||
|
||||
}
|
||||
|
||||
|
||||
//메뉴별 권한 체크 - 시작시 현재 사용자의 해당 페이지 사용권한을 체크한다.
|
||||
//_admin_fn_check_authority("adjReqMgrRegList", "div.cont", "ALL"); //ALL, CUD, P, R
|
||||
function _admin_fn_check_authority(p_this_page_name, p_target_tag, p_target) {
|
||||
|
||||
var url = "";
|
||||
url = "/kccadr/adjReqMgOff/EgovMenuAuthPstnCheckAjax.do";
|
||||
//var this_page_name = "adjReqMgrRegList";
|
||||
//alert(p_target);
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
"url":url,
|
||||
data:{
|
||||
"p_url": p_this_page_name //현재 페이지 정보를 넣어준다. 메뉴별권한관리-lettnprogrmlist 테이블의 url 컬럼값에서 like 검색 가능한 주소로 넣어야 한다.
|
||||
},
|
||||
dataType:'json',
|
||||
success : function(returnData, status) {
|
||||
//alert(returnData.status);
|
||||
if (returnData.status == "success") {
|
||||
//대상데이터가 있고, 해당 내용으로 제어를 체크한다.
|
||||
//alert("대상임");
|
||||
//alert(returnData.result4Check.allIs); //Y/N-전체권한여부ALL
|
||||
//alert(returnData.result4Check.cudIs); //Y/N-cud권한여부
|
||||
//alert(returnData.result4Check.pIs); //Y/N-출력권한여부
|
||||
//alert(returnData.result4Check.rIs); //Y/N-r권한여부READ
|
||||
|
||||
|
||||
if (returnData.result4Check.allIs=='N' && p_target=='ALL'){ //모든 권한 없는 경우
|
||||
//$('div.cont').html('해당 페이지에 대한 접근 권한이 없습니다.');
|
||||
$(p_target_tag).html('해당 페이지에 대한 접근 권한이 없습니다.');
|
||||
|
||||
}else if (returnData.result4Check.rIs=='N' && p_target=='R'){ //읽기 권한 없는 경우(상세화면)
|
||||
//$('div.cont').html('해당 페이지에 대한 접근 권한이 없습니다.');
|
||||
$(p_target_tag).html('해당 페이지에 대한 접근 권한이 없습니다.');
|
||||
|
||||
}
|
||||
|
||||
var v_ret = "";
|
||||
|
||||
if (returnData.result4Check.cudIs=='Y'){ //등록/수정/삭제 권한 없는 경우(리스트,상세화면)
|
||||
//alert("1");
|
||||
//admin_fn_check_authority_ret("CUD");
|
||||
v_ret = "CUD";
|
||||
//return "";
|
||||
}
|
||||
|
||||
if (returnData.result4Check.pIs=='Y'){ //출력 권한 없는 경우(상세화면)
|
||||
//alert("12");
|
||||
//return "CUD";
|
||||
v_ret = v_ret + "P";
|
||||
//admin_fn_check_authority_ret("P");
|
||||
}
|
||||
|
||||
admin_fn_check_authority_ret(v_ret);
|
||||
|
||||
}else if (returnData.status == "pass") {
|
||||
//상위 권한으로 패스처리
|
||||
//alert("pass-상위권한자");
|
||||
}else if (returnData.status == "nodata") {
|
||||
//해당 페이지에 대한 데이터 없음
|
||||
//alert("nodata-해당페이지 제어 데이터 없음");
|
||||
}else if (returnData.status == "fail") {
|
||||
//처리중 오류 발생
|
||||
//alert("fail-체크 실패DB오류");
|
||||
|
||||
}else{
|
||||
//대상 페이지가 아니다.
|
||||
//alert("else"+returnData.status);
|
||||
|
||||
}
|
||||
},
|
||||
error : function(request , status, error) {
|
||||
;//체크정보 호출 실패
|
||||
},
|
||||
complete : function () {
|
||||
;//체크 정보 호출 완료
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user