Browse Source

显示层次相关

MaiXinRong 2 years ago
parent
commit
63947a080c
2 changed files with 11 additions and 11 deletions
  1. 1 1
      app/service/rpt_gather_memory.js
  2. 10 10
      package-lock.json

+ 1 - 1
app/service/rpt_gather_memory.js

@@ -717,7 +717,7 @@ module.exports = app => {
         async getGatherStageBills(memFieldKeys, gsDefine, gsCustom, showLevel) {
             await this._doGatherStageData(memFieldKeys, gsDefine, gsCustom);
             return this.resultTree
-                ? (showLevel ? this.resultTree.getDefaultDatasByLevel(showLevel) : this.resultTree.getDefaultDatas())
+                ? (showLevel ? this.resultTree.getDefaultDatasByLevel(this.ctx.tender.rpt_show_level) : this.resultTree.getDefaultDatas())
                 : [];
         }
         async getGatherStagePos(memFieldKeys, gsDefine, gsCustom) {

+ 10 - 10
package-lock.json

@@ -3029,7 +3029,7 @@
         },
         "charenc": {
             "version": "0.0.2",
-            "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",
+            "resolved": "https://registry.npm.taobao.org/charenc/download/charenc-0.0.2.tgz",
             "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc="
         },
         "chokidar": {
@@ -3260,12 +3260,12 @@
             "dependencies": {
                 "sax": {
                     "version": "0.6.1",
-                    "resolved": "https://registry.npmjs.org/sax/-/sax-0.6.1.tgz",
+                    "resolved": "http://registry.npm.taobao.org/sax/download/sax-0.6.1.tgz",
                     "integrity": "sha1-VjsZx8HeiS4Jv8Ty/DDjwn8JUrk="
                 },
                 "xml2js": {
                     "version": "0.4.4",
-                    "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.4.tgz",
+                    "resolved": "https://registry.npm.taobao.org/xml2js/download/xml2js-0.4.4.tgz?cache=0&sync_timestamp=1584990425260&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fxml2js%2Fdownload%2Fxml2js-0.4.4.tgz",
                     "integrity": "sha1-MREBAAMAiuGSQOuhdJe1fHKcVV0=",
                     "requires": {
                         "sax": "0.6.x",
@@ -3301,7 +3301,7 @@
         },
         "co-wechat-oauth": {
             "version": "2.0.1",
-            "resolved": "https://registry.npmjs.org/co-wechat-oauth/-/co-wechat-oauth-2.0.1.tgz",
+            "resolved": "https://registry.npm.taobao.org/co-wechat-oauth/download/co-wechat-oauth-2.0.1.tgz",
             "integrity": "sha1-n/pS3fuTWdAwAYiBw/jWIQSKKVQ=",
             "requires": {
                 "httpx": "^2.1.1"
@@ -3309,7 +3309,7 @@
         },
         "co-wechat-payment": {
             "version": "0.2.0",
-            "resolved": "https://registry.npmjs.org/co-wechat-payment/-/co-wechat-payment-0.2.0.tgz",
+            "resolved": "https://registry.npm.taobao.org/co-wechat-payment/download/co-wechat-payment-0.2.0.tgz",
             "integrity": "sha1-6V2uUqYEPHDZADDbHzPQFg0hEkA=",
             "requires": {
                 "md5": "^2.1.0",
@@ -3807,7 +3807,7 @@
         },
         "crypt": {
             "version": "0.0.2",
-            "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",
+            "resolved": "https://registry.npm.taobao.org/crypt/download/crypt-0.0.2.tgz",
             "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs="
         },
         "csrf": {
@@ -10380,7 +10380,7 @@
         },
         "md5": {
             "version": "2.2.1",
-            "resolved": "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz",
+            "resolved": "https://registry.npm.taobao.org/md5/download/md5-2.2.1.tgz",
             "integrity": "sha1-U6s41f48iJG6RlMp6iP6wFQBJvk=",
             "requires": {
                 "charenc": "~0.0.1",
@@ -13756,7 +13756,7 @@
         },
         "sha1": {
             "version": "1.1.1",
-            "resolved": "https://registry.npmjs.org/sha1/-/sha1-1.1.1.tgz",
+            "resolved": "https://registry.npm.taobao.org/sha1/download/sha1-1.1.1.tgz",
             "integrity": "sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg=",
             "requires": {
                 "charenc": ">= 0.0.1",
@@ -14930,7 +14930,7 @@
         },
         "ueditor": {
             "version": "1.2.3",
-            "resolved": "https://registry.npmjs.org/ueditor/-/ueditor-1.2.3.tgz",
+            "resolved": "https://registry.npmjs.org/ueditor/-/ueditor-1.0.0.tgz",
             "integrity": "sha1-HsihLT8VutOkAReGpzpIZJY2twQ=",
             "requires": {
                 "busboy": "^0.2.9",
@@ -15436,7 +15436,7 @@
         },
         "wechat-crypto": {
             "version": "0.0.2",
-            "resolved": "https://registry.npmjs.org/wechat-crypto/-/wechat-crypto-0.0.2.tgz",
+            "resolved": "https://registry.npm.taobao.org/wechat-crypto/download/wechat-crypto-0.0.2.tgz",
             "integrity": "sha1-pVRD7AgQ9MGZKik6J4YIOXAMY2k="
         },
         "whatwg-fetch": {