| 
					
				 | 
			
			
				@@ -19,7 +19,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div class="col-md-8"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <div class="warp-p2 mt-3"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <table class="table table-hover table-bordered"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            <thead><tr><th>清单模板名称</th><th width="160">编办</th><th width="160">添加时间</th><th width="90">操作</th></tr></thead> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <thead> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <th>清单模板名称</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <th width="160">编办</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <th width="160">添加时间</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <th width="60">操作</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <th width="60">复制</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            </thead> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             <tbody id="showArea"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             <% for(let lib of templateLibs){ %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             <tr class="libTr"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -30,6 +38,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <a href="javacript:void(0);" onclick='getTemplateLib("<%= lib.ID%>")' title="编辑"><i class="fa fa-pencil-square-o"></i></a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <a href="javacript:void(0);" onclick='showDeleteModal("<%= lib.ID%>")'class="text-danger" title="删除"><i class="fa fa-remove"></i></a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 </td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                <td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <a href="javascript:void(0);" onclick="showCopyModal('<%= lib.ID %>')" class="btn btn-secondary btn-sm copy-data" title="复制数据"><i class="fa fa-clone"></i>复制</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                </td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </tbody> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -124,5 +135,31 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--弹出复制--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<div class="modal fade" id="copy" data-backdrop="static" style="display: none;" aria-hidden="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div class="modal-dialog" role="document"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div class="modal-content"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div class="modal-header"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <h5 class="modal-title">复制清单模板</h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <span aria-hidden="true">×</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div class="modal-body"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <div class="form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <label>清单模板名称</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <input id="copyName" name="name" class="form-control" placeholder="输入清单模板名称" type="text" autofocus> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <small class="form-text text-danger" id="copyNameError" style="display: none">请输入模板名称。</small> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div class="modal-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <a id="copyTemplate"  href="javascript:void(0);" class="btn btn-primary">复制</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<script src="/public/web/PerfectLoad.js"></script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script src="/web/maintain/bills_lib/scripts/bills_lib_ajax.js"></script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script type="text/javascript" src="/web/maintain/bill_template_lib/js/bills_template.js"></script> 
			 |