2022-09-27 12:10 워크플로우 수정

This commit is contained in:
myname 2022-09-27 12:10:59 +09:00
parent 75da3c7b3d
commit ad36bf8abf
4 changed files with 68 additions and 28 deletions

View File

@ -311,28 +311,31 @@ $(document).ready(function(){
<!-- 워크플로우용 스크립트 시작 --> <!-- 워크플로우용 스크립트 시작 -->
<c:forEach var="list" items="${list_mgr}" varStatus="status"> <c:forEach var="list" items="${list_mgr}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq '6'}"> <c:if test="${fn:length(list.menuId) eq '6' or list.menuId eq 'A260'}">
<script> <script>
//<!-- 조정진행워크플로우 체크 --> //<!-- 조정진행워크플로우 체크 -->
$("#${list.menuId}").addClass("status01"); $("#${list.menuId}").addClass("status01");
</script> </script>
<c:set var="lastMenuId">${list.menuId}</c:set>
</c:if> </c:if>
</c:forEach> </c:forEach>
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#${lastMenuId}").addClass("status02");
</script>
<script> <!-- 신청서 보완 체크시-->
//<!-- 조정진행워크플로우 현재 상태 체크 --> <c:if test="${info.statCd lt '101050' and info.statCd ne '101010'}">
$("#${info.statCd}").addClass("status02"); <script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
</script> $("#101011").addClass("status02");
</script>
<!-- 신청서 보완 체크시--> </c:if>
<c:if test="${info.statCd lt '101050' and info.statCd ne '101010'}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#101011").addClass("status02");
</script>
</c:if>
<!-- 워크플로우용 스크립트 끝 --> <!-- 워크플로우용 스크립트 끝 -->
</head> </head>

View File

@ -100,26 +100,31 @@
</script> </script>
<!-- 워크플로우용 스크립트 시작 --> <!-- 워크플로우용 스크립트 시작 -->
<c:forEach var="list" items="${list_mgr}" varStatus="status"> <c:forEach var="list" items="${list_mgr}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq '6'}"> <c:if test="${fn:length(list.menuId) eq '6' or list.menuId eq 'A260'}">
<script> <script>
//<!-- 조정진행워크플로우 체크 --> //<!-- 조정진행워크플로우 체크 -->
$("#"+${list.menuId}).addClass("status01"); $("#${list.menuId}").addClass("status01");
</script> </script>
<c:set var="lastMenuId">${list.menuId}</c:set>
</c:if> </c:if>
</c:forEach> </c:forEach>
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#${lastMenuId}").addClass("status02");
</script>
<script> <!-- 신청서 보완 체크시-->
//<!-- 조정진행워크플로우 현재 상태 체크 --> <c:if test="${master.statCd lt '101050' and master.statCd ne '101010'}">
$("#"+${master.statCd}).addClass("status02"); <script>
</script> //<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#101011").addClass("status02");
<c:if test="${master.statCd lt '101050' and master.statCd ne '101010'}"> </script>
<script> </c:if>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#101011").addClass("status02");
</script>
</c:if>
<!-- 워크플로우용 스크립트 끝 --> <!-- 워크플로우용 스크립트 끝 -->
</head> </head>
<body> <body>

View File

@ -0,0 +1,32 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!-- 워크플로우용 스크립트 시작 -->
<c:forEach var="list" items="${param.list_mgrs}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq '6' or list.menuId eq 'A260'}">
<script>
alert(${fn:length(list.menuId)});
//<!-- 조정진행워크플로우 체크 -->
alert(${list.menuId});
</script>
</c:if>
</c:forEach>
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#${info.statCd}").addClass("status02");
</script>
<!-- 신청서 보완 체크시-->
<c:if test="${info.statCd lt '101050' and info.statCd ne '101010'}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#101011").addClass("status02");
</script>
</c:if>
<!-- 워크플로우용 스크립트 끝 -->

View File

@ -22,7 +22,7 @@
<ul class="work_2"> <ul class="work_2">
<li id="205050"><p>기일확정</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"></li> <li id="205050"><p>기일확정</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"></li>
<li> <li>
<p>기일통지</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음" style="position: absolute;z-index: 1;top: 8px;left: 203px;"> <p id="A260">기일통지</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음" style="position: absolute;z-index: 1;top: 8px;left: 203px;">
<ul class="work_3"> <ul class="work_3">
<li><p>1차 기일 개최</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"></li> <li><p>1차 기일 개최</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"></li>
<li> <li>