laiguoran преди 4 години
родител
ревизия
da7434ade3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/view/material/audit_modal.ejs

+ 1 - 1
app/view/material/audit_modal.ejs

@@ -679,9 +679,9 @@
     <script>
     <script>
         const accountGroup = JSON.parse('<%- JSON.stringify(accountGroup) %>');
         const accountGroup = JSON.parse('<%- JSON.stringify(accountGroup) %>');
         const accountList = JSON.parse('<%- JSON.stringify(accountList) %>');
         const accountList = JSON.parse('<%- JSON.stringify(accountList) %>');
-        const cur_uid = parseInt('<%- ctx.session.sessionUser.accountId %>');
     </script>
     </script>
 <% } %>
 <% } %>
+<script>const cur_uid = parseInt('<%- ctx.session.sessionUser.accountId %>');</script>
 <script>
 <script>
     $('.sp-location-list').on('shown.bs.modal', function () {
     $('.sp-location-list').on('shown.bs.modal', function () {
         const scrollBox = $(this).find('div[class="col-8 modal-height-500"]');
         const scrollBox = $(this).find('div[class="col-8 modal-height-500"]');