Explorar o código

台账审批流程历史流程展开收起bug修复

ellisran hai 1 ano
pai
achega
2b0c1e4fea
Modificáronse 1 ficheiros con 0 adicións e 17 borrados
  1. 0 17
      app/view/ledger/explode_modal.ejs

+ 0 - 17
app/view/ledger/explode_modal.ejs

@@ -425,23 +425,6 @@
     $('#sp-list').on('hidden.bs.modal', function (e) {
         $(document.body).addClass('modal-open');
     });
-
-    // 展开历史审核记录
-    $('.modal-body #fold-btn').click(function () {
-        const type = $(this).data('target')
-        const auditCard = $(this).parent().parent()
-        if (type === 'show') {
-            $(this).data('target', 'hide')
-            auditCard.find('.fold-card').slideDown('swing', () => {
-                auditCard.find('#fold-btn').text('收起历史审核记录')
-            })
-        } else {
-            $(this).data('target', 'show')
-            auditCard.find('.fold-card').slideUp('swing', () => {
-                auditCard.find('#fold-btn').text('展开历史审核记录')
-            })
-        }
-    });
 </script>
 <% } %>
 <% include ../shares/merge_peg_modal.ejs %>