orgmain.jsp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>江苏省港口建设与经营管理信息系统</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <%@ include file="../../common.jsp"%>
  10. <script type="text/javascript" src="${app }/static/biz/js/set/org/orgmain.js"></script>
  11. <script type="text/javascript">
  12. var setting = {
  13. async: {
  14. enable: true,
  15. url:$.app+"/org/getTreeData",
  16. contentType : "application/x-www-form-urlencoded", //已form的形式提交参数
  17. autoParam: ["id"]
  18. },
  19. view:{
  20. showLine:false//去掉虚线
  21. },
  22. callback: {
  23. onClick: org.main.onClick//点击事件
  24. }
  25. };
  26. $(document).ready(function () {
  27. org.main.init(setting);
  28. $('.guanbi').click(function(){
  29. org.main.close();
  30. })
  31. iFrameHeightIframe('${menuid}');//自适应高度
  32. });
  33. </script>
  34. </head>
  35. <body>
  36. <div class="box" >
  37. <div class="box-content" >
  38. <div class="treediv">
  39. <ul id="tree" class="ztree" style="width:100%; "></ul>
  40. </div>
  41. <div class="treecontent">
  42. <div >
  43. <table class="search_table" cellpadding="0" cellspacing="0">
  44. <tr>
  45. <th width="10%"></th>
  46. <th width="25%"></th>
  47. <th width="10%"></th>
  48. <th width="25%"></th>
  49. <th width="10%"></th>
  50. <th width="20%"></th>
  51. </tr>
  52. <tr>
  53. <tr>
  54. <td class="right">
  55. </td>
  56. <td >
  57. </td>
  58. <td class="right">
  59. </td>
  60. <td >
  61. </td>
  62. <td class="right" colspan="2">
  63. <a class="btn btn-default btn-sm" href="#" onclick="org.main.add()">
  64. <i class="glyphicon glyphicon-plus"></i>
  65. 新增</a>
  66. </td>
  67. </tr>
  68. </table>
  69. </div>
  70. <!-- 列表 -->
  71. <div style="background-color:#f4f4f4;">
  72. <table class="main_table" cellpadding="0" cellspacing="0">
  73. <tr>
  74. <th width="20%">组织名称</th>
  75. <th width="20%">组织编码</th>
  76. <th width="20%">上级组织</th>
  77. <th width="10%">备注</th>
  78. <th width="10%">排序号</th>
  79. <th width="1%" class='operatetd'>操作</th>
  80. </tr>
  81. <tbody id="liebiao">
  82. </tbody>
  83. </table>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. <!-- 弹出框 -->
  89. <div class="theme-popover" style="width: 900px;height: 360px;">
  90. <div class="theme-poptit">
  91. <div class="popTitle">
  92. <h4>组织新增</h4>
  93. </div>
  94. <div class="close">
  95. <a href="#" title="关闭" class="guanbi">×</a>
  96. </div>
  97. </div>
  98. <form id="addform" method="post">
  99. <input type="hidden" id="editid" name="id"> <input type="hidden" value="00" id="editpid" name="pid">
  100. <table class="apply" cellpadding="0" cellspacing="0">
  101. <tr>
  102. <th>组织名称 : &nbsp;</th>
  103. <td >
  104. <input type="text" class="form-control" id="editname" name="name">
  105. </td>
  106. <th>组织编码 : &nbsp;</th>
  107. <td >
  108. <input type="text" class="form-control" id="editcode" name="code">
  109. </td>
  110. </tr>
  111. <tr>
  112. <th>备注 : &nbsp;</th>
  113. <td >
  114. <input type="text" class="form-control" id="editremark" name="remark">
  115. </td>
  116. <th>排序号 : &nbsp;</th>
  117. <td >
  118. <input type="text" class="form-control" id="editsortno" name="sortno">
  119. </td>
  120. </tr>
  121. </table>
  122. </form>
  123. <div id="buttons">
  124. <a class="btn btn-default btn-sm" href="#" onclick="org.main.save()">
  125. <i class="glyphicon glyphicon-floppy-disk"></i>
  126. 保存</a>
  127. <a class="btn btn-default btn-sm" href="#" onclick="org.main.close()">
  128. <i class="glyphicon glyphicon-arrow-left"></i>
  129. 取消</a>
  130. </div>
  131. </div>
  132. <div class="theme-popover-mask"></div>
  133. </body>
  134. </html>