فهرست منبع

feat: TASK #5515 前端部分

Tony Kang 23 ساعت پیش
والد
کامیت
eda91bbed3
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      app/public/report/js/rpt_main.js

+ 8 - 0
app/public/report/js/rpt_main.js

@@ -130,6 +130,14 @@ let zTreeOprObj = {
                                 }
                             }
                         }
+                        if (STAGE_ID === -600) {
+                            const urlStr = window.location.href;
+                            const flagStr = urlStr.includes('/contract/report') ? 'tplType_prjContract' : 'tplType_tdContract';
+                            if (rptItem.flags) {
+                                rst = rptItem.flags.rptTplType !== flagStr;
+                                break;
+                            }
+                        }
                         break;
                     case 'juesuan':
                         break;