Parcourir la source

fix: 合同管理不显示归档

Tony Kang il y a 1 jour
Parent
commit
a9547eaa30
2 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 1 0
      app/const/page_show.js
  2. 2 0
      app/view/report/index.ejs

+ 1 - 0
app/const/page_show.js

@@ -65,6 +65,7 @@ const defaultSetting = {
     openFinancial: 1,
     isCommonSetup: 1,
     isPrivateSetup: 1,
+    onlyOrgAdminArchivePDF: 0,
 };
 
 

+ 2 - 0
app/view/report/index.ejs

@@ -181,6 +181,7 @@
                                     导出报表
                                 </div>
                             </div>
+                            <% if(![-600].includes(stg_id)) { %>
                             <div class="panel" <% if (pageShow === null || parseInt(pageShow.showArchive) === 0 || isNaN(parseInt(pageShow.showArchive))) { %> style="display:none" <% } %>>
                                 <div class="panel-body">
                                     <div class="btn-group" role="group">
@@ -201,6 +202,7 @@
                                     报表归档
                                 </div>
                             </div>
+                            <% } %>
                             <div class="panel">
                                 <div class="panel-body">
                                     <div class="btn-group" role="group" aria-label="Button group with nested dropdown">