evaluationParameter.html 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <!--#include file="/inc/header.html"-->
  2. <script type="text/javascript">
  3. window.renderHeader = function (e) {
  4. var template = "{{#childenList}}<li class=\"bif-nav-item\" title=\"{{moduleUrl}}\" data-fun=\"{{moduleUrl}}\" data-href=\"{{moduleUrl}}\">{{moduleName}}</li>{{/childenList}}";
  5. var views = Mustache.render(template, e);
  6. $("#bif-nav-ul").html(views);
  7. $("#bif-nav-ul li").each(function () {
  8. var txt = $(this).text();
  9. if (txt == '考核类参数管理') {
  10. $(this).addClass("active");
  11. $(".tree-breadcrumb #nav-item-a").html("考核类参数管理");
  12. }
  13. })
  14. };
  15. $(function () {
  16. var modules = JSON.parse(window.sessionStorage.getItem("modules"));
  17. if (window.treemap) {
  18. renderHeader(window.treemap[13]);//参数管理 7
  19. } else if (modules) {
  20. renderHeader(modules.treemap[13]);
  21. }
  22. })
  23. </script>
  24. <div class="con-wrap" style="min-height: 400px;">
  25. <div class="tree-breadcrumb">
  26. <span class="nav-prov">首页</span>&gt;
  27. <span class="nav-prov"><a id="cansgl" href="/pages/basedata/index.html">参数管理</a></span>&gt;
  28. <span class="nav-prov"><a href="javascript:;" id="nav-item-a"></a></span>
  29. </div>
  30. <div id="con-map" class="main3" style="margin-top: 0px;overflow:hidden">
  31. <div class="bif-nav">
  32. <ul id="bif-nav-ul">
  33. </ul>
  34. </div>
  35. <div class="bif-container">
  36. <div class="author-nav-tree">
  37. <ul id="tree-kh" style="max-height:300px; display:none;">
  38. </ul>
  39. <ul id="tree-tt" style="height:500px;">
  40. </ul>
  41. </div>
  42. <div class="bif-con panel-noscroll" style="height: auto;">
  43. <div id="bd-toolbar" style="padding:10px 5px;">
  44. <div id="kh-toolbar" style="display:none;">
  45. 类型:
  46. <input class="easyui-combobox library-Name" editable=false>
  47. 名称:
  48. <input class="easyui-textbox easyui-validatebox storeman-name" name="bd-s-name" data-options="validType:'length[0,20]'">&emsp;
  49. <a href="#" class="easyui-linkbutton bd-add-s bd-search">查询</a>
  50. <a href="#" class="easyui-linkbutton bd-add-s bd-add-bt" plain="true">新增</a>
  51. <a href="#" class="easyui-linkbutton bd-add-s clear-btn2" plain="true">清空</a>
  52. </div>
  53. <!-- <a href="#" class="easyui-linkbutton bd-add-s l-btn city-add-bt city-add-bt " >新增直属库</a> -->
  54. <a id="checkDomain-add-bt" href="#" class="easyui-linkbutton bd-add-s l-btn checkDomain-add-bt new-add-bt hide" >新增巡查内容</a>
  55. <a href="#" class="easyui-linkbutton bd-add-s l-btn checkDomainItem-add-bt new-add-bt hide" >新增重点项目</a>
  56. </div>
  57. <table id="bd-dg" style="height:500px;" class="group-manage-table"></table>
  58. </div>
  59. </div>
  60. </div>
  61. </div>'
  62. <div class="checkDomain-editform hide group-manage-grain" style="padding: 10px">
  63. <form class="checkDomain-editform-form">
  64. <input type="hidden" name="id">
  65. <span class="pf-pitem-li">
  66. <span class="pf-pitem-lit">名称:</span>
  67. <span class="pf-pitem-lic">
  68. <input class="easyui-textbox easyui-validatebox" data-options="required:true,validType:'length[0,20]',width:'160px',height:'20px'" name="checkDomainName">
  69. </span>
  70. </span>
  71. <span class="pf-pitem-li">
  72. <span class="pf-pitem-lit">库名:</span>
  73. <span class="pf-pitem-lic">
  74. <input class="easyui-combobox libraryName" data-options="required:true,width:'160px',height:'20px'" name="grainId">
  75. </span>
  76. </span>
  77. <span class="pf-pitem-li">
  78. <span class="pf-pitem-lit">备注:</span>
  79. <span class="pf-pitem-lic">
  80. <input class="easyui-textbox easyui-validatebox" data-options="validType:'length[0,30]',width:'160px',height:'120px',multiline:true" name="checkDomainDetail">
  81. </span>
  82. </span>
  83. <span class="pf-pitem-li">
  84. <span class="pf-pitem-lit"></span>
  85. <span class="pf-pitem-lic"><button type="button" href="#" class="easyui-linkbutton bd-add-s checkDomain-add-y" plain="true">确定</button></span>
  86. </span>
  87. <span class="pf-pitem-li">
  88. <span class="pf-pitem-lit"></span>
  89. <span class="pf-pitem-lic"><button type="button" href="#" onclick="$('.checkDomain-editform').window('close');" class="easyui-linkbutton bd-add-s " plain="true">取消</button></span>
  90. </span>
  91. </form>
  92. </div>
  93. <div class="checkDomainItem-editform hide group-manage-grain" style="padding: 10px">
  94. <form class="checkDomainItem-editform-form">
  95. <input type="hidden" name="id">
  96. <span class="pf-pitem-li">
  97. <span class="pf-pitem-lit">考核职位:</span>
  98. <span class="pf-pitem-lic">
  99. <input class="easyui-combobox post-type easyui-validatebox" data-options="required:true,width:'160px',height:'20px'" name="post">
  100. </span>
  101. </span>
  102. <span class="pf-pitem-li">
  103. <span class="pf-pitem-lit">重点项目:</span>
  104. <span class="pf-pitem-lic">
  105. <input class="easyui-textbox easyui-validatebox" data-options="required:true,validType:'length[0,20]',width:'160px',height:'20px'" name="checkDomainItemName">
  106. </span>
  107. </span>
  108. <span class="pf-pitem-li">
  109. <span class="pf-pitem-lit">备注:</span>
  110. <span class="pf-pitem-lic">
  111. <input class="easyui-textbox easyui-validatebox" data-options="validType:'length[0,30]',width:'160px',height:'120px',multiline:true" name="checkDomainItemDetail">
  112. </span>
  113. </span>
  114. <span class="pf-pitem-li">
  115. <span class="pf-pitem-lit"></span>
  116. <span class="pf-pitem-lic"><button type="button" href="#" class="easyui-linkbutton bd-add-s checkDomainItem-add-y" plain="true">确定</button></span>
  117. </span>
  118. <span class="pf-pitem-li">
  119. <span class="pf-pitem-lit"></span>
  120. <span class="pf-pitem-lic"><button type="button" href="#" onclick="$('.checkDomainItem-editform').window('close');" class="easyui-linkbutton bd-add-s " plain="true">取消</button></span>
  121. </span>
  122. </form>
  123. </div>
  124. <script type="text/javascript">
  125. //规则身材初始化
  126. evaluationParameter.init();
  127. </script>
  128. <style>
  129. .hide {
  130. display: none;
  131. }
  132. .author-nav-tree {
  133. display: inline-block;
  134. width: 200px;
  135. min-height: 400px;
  136. border: 1px solid lightgrey;
  137. float: left;
  138. overflow-x: hidden;
  139. overflow-y: auto;
  140. margin-top: 10px;
  141. }
  142. #con-map {
  143. min-height: 400px;
  144. display: inline-block;
  145. margin-top: 10px;
  146. }
  147. .bif-con {
  148. width: 980px;
  149. height: 404px;
  150. margin-top: 10px;
  151. margin-left: 14px;
  152. float: left;
  153. }
  154. .bif-nav-item {
  155. width: 150px;
  156. text-align: center;
  157. }
  158. </style>
  159. </body>
  160. </html>