listPathModelForConfig.jsp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <%@ page language="java" contentType="text/html;charset=GBK"
  2. pageEncoding="GBK"%>
  3. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  8. <title>직넋쨌쓺죗깊</title>
  9. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  10. <script type="text/javascript" src="/shares/js/jquery-1.8.2.js"></script>
  11. <script type="text/javascript" src="/shares/js/yw/bpm/promptDefine.js"></script>
  12. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  13. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  14. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  15. <script type="text/javascript" src="/shares/js/constant.js"></script>
  16. <script type="text/javascript" src="/shares/js/common.js"></script>
  17. <script type="text/javascript" src="/shares/js/yw/bpm/oa.js"></script>
  18. <script type="text/javascript" src="/shares/js/yw/bpm/path/pathModel.js"></script>
  19. <script type="text/javascript">
  20. var grid = null;
  21. $(function () {
  22. grid = $("#maingrid4").ligerGrid({
  23. columns: [
  24. { display: '쨌쓺id', name: 'pathId', width: 120 },
  25. { display: '폅迦뻔쌘', name: 'tmodelId.tmodelName', minWidth: 150,
  26. render: function (row){
  27. var html = row.tmodelId.tmodelName;
  28. return html;
  29. }},
  30. { display: '커깃뻔쌘', name: 'nextTmodelId.tmodelName', width: 100,
  31. render: function (row){
  32. var html = row.nextTmodelId.tmodelName;
  33. return html;
  34. } },
  35. { display: '쨌쓺잚謹', name: 'pathType.dataName', width: 150,
  36. render: function (row){
  37. var html = row.pathType.dataName;
  38. return html;
  39. } },
  40. {
  41. display: '꾸鱗', isAllowHide: false,
  42. render: function (row)
  43. {
  44. var html = '<a href=\"#\" onclick=\"location=\'${pageContext.request.contextPath }/PathModelAction.do?task=toEdit&modelId=${requestScope.modelId}&pathId='
  45. + row.pathId + '\';\">긍서</a>&nbsp;';
  46. html += '<a href=\"#\" onclick=\"location=\'${pageContext.request.contextPath }/PathModelAction.do?task=info&modelId=${requestScope.modelId}&pathId='
  47. + row.pathId + '\';\">꿴였</a>&nbsp;';
  48. html += '<a href=\"#\" onclick=\"if(confirm(\'횅땍�뇜맡쨌쓺?\')){deletePathModel(\''
  49. + row.pathId + '\');}\">�뇜</a>';
  50. return html;
  51. }
  52. }
  53. ],
  54. usePager:false,
  55. url: 'PathModelAction.do?task=listForConfig&modelId=${requestScope.modelId}&time=' + new Date().getTime(),
  56. width: '99.9%',
  57. height: '99%'
  58. });
  59. $("#pageloading").hide();
  60. });
  61. function refreshLeft(){
  62. var isRefresh = "${requestScope.isRefresh}";
  63. if(isRefresh == "yes"){
  64. parent.document.getElementById("leftFrame").src="${pageContext.request.contextPath }/FlowModelAction.do?task=tree&modelId=${requestScope.modelId }";
  65. }
  66. }
  67. </script>
  68. </head>
  69. <body onload="refreshLeft();">
  70. <div class="container-layout" style="padding-top:35px;">
  71. <div id="title" class="form-button" style="width: 100%;">
  72. <input id="modelId" name="modelId" type="hidden" value="${requestScope.modelId }">
  73. <input type="button" class="l-button" value="눼쉔쨌쓺" onclick="location='${pageContext.request.contextPath }/PathModelAction.do?task=toCreate&modelId=${requestScope.modelId }';"/>
  74. </div>
  75. <div id="searchbar">
  76. <div id="maingrid4" style="margin:0; padding:0"></div>
  77. <div style="display:none;">
  78. <!-- g data total ttt -->
  79. </div>
  80. </div>
  81. <%@ include file="/include/message.jsp"%>
  82. </body>
  83. </html>