seimin 3 anni fa
parent
commit
27e2cca918
2 ha cambiato i file con 41 aggiunte e 43 eliminazioni
  1. 38 40
      package-lock.json
  2. 3 3
      src/app/views/hushijiandan/hushijiandan.component.ts

+ 38 - 40
package-lock.json

@@ -144,9 +144,9 @@
144 144
     },
145 145
     "node_modules/@angular-devkit/build-angular/node_modules/core-js": {
146 146
       "version": "3.1.4",
147
-      "resolved": "https://registry.nlark.com/core-js/download/core-js-3.1.4.tgz",
148
-      "integrity": "sha1-Oig3/EjlguGuJZB6/NbPA7DMegc=",
149
-      "deprecated": "core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
147
+      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.1.4.tgz",
148
+      "integrity": "sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ==",
149
+      "deprecated": "core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
150 150
       "dev": true,
151 151
       "hasInstallScript": true
152 152
     },
@@ -1913,9 +1913,9 @@
1913 1913
     },
1914 1914
     "node_modules/babel-polyfill/node_modules/core-js": {
1915 1915
       "version": "2.6.12",
1916
-      "resolved": "https://registry.nlark.com/core-js/download/core-js-2.6.12.tgz",
1917
-      "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=",
1918
-      "deprecated": "core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
1916
+      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz",
1917
+      "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
1918
+      "deprecated": "core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
1919 1919
       "dev": true,
1920 1920
       "hasInstallScript": true
1921 1921
     },
@@ -1937,9 +1937,9 @@
1937 1937
     },
1938 1938
     "node_modules/babel-runtime/node_modules/core-js": {
1939 1939
       "version": "2.6.12",
1940
-      "resolved": "https://registry.nlark.com/core-js/download/core-js-2.6.12.tgz",
1941
-      "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=",
1942
-      "deprecated": "core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
1940
+      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz",
1941
+      "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
1942
+      "deprecated": "core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
1943 1943
       "dev": true,
1944 1944
       "hasInstallScript": true
1945 1945
     },
@@ -3171,11 +3171,10 @@
3171 3171
       }
3172 3172
     },
3173 3173
     "node_modules/core-js": {
3174
-      "version": "3.19.1",
3175
-      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.19.1.tgz",
3176
-      "integrity": "sha1-9vFzyuI+c6fYj6I7bp2jKSdsZkE=",
3174
+      "version": "3.20.2",
3175
+      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.20.2.tgz",
3176
+      "integrity": "sha512-nuqhq11DcOAbFBV4zCbKeGbKQsUDRqTX0oqx7AttUBuqe3h20ixsE039QHelbL6P4h+9kytVqyEtyZ6gsiwEYw==",
3177 3177
       "hasInstallScript": true,
3178
-      "license": "MIT",
3179 3178
       "funding": {
3180 3179
         "type": "opencollective",
3181 3180
         "url": "https://opencollective.com/core-js"
@@ -3373,10 +3372,9 @@
3373 3372
       }
3374 3373
     },
3375 3374
     "node_modules/date-fns": {
3376
-      "version": "2.25.0",
3377
-      "resolved": "https://registry.npmmirror.com/date-fns/download/date-fns-2.25.0.tgz?cache=0&sync_timestamp=1633421611754&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fdate-fns%2Fdownload%2Fdate-fns-2.25.0.tgz",
3378
-      "integrity": "sha1-jFyPHZWL44CamgP0t0LrqJT8VoA=",
3379
-      "license": "MIT",
3375
+      "version": "2.28.0",
3376
+      "resolved": "https://registry.npmmirror.com/date-fns/download/date-fns-2.28.0.tgz",
3377
+      "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==",
3380 3378
       "engines": {
3381 3379
         "node": ">=0.11"
3382 3380
       },
@@ -6635,9 +6633,9 @@
6635 6633
     },
6636 6634
     "node_modules/karma/node_modules/core-js": {
6637 6635
       "version": "2.6.12",
6638
-      "resolved": "https://registry.nlark.com/core-js/download/core-js-2.6.12.tgz",
6639
-      "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=",
6640
-      "deprecated": "core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
6636
+      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz",
6637
+      "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
6638
+      "deprecated": "core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.",
6641 6639
       "dev": true,
6642 6640
       "hasInstallScript": true
6643 6641
     },
@@ -14150,9 +14148,9 @@
14150 14148
       }
14151 14149
     },
14152 14150
     "node_modules/shelljs": {
14153
-      "version": "0.8.4",
14154
-      "resolved": "https://registry.npm.taobao.org/shelljs/download/shelljs-0.8.4.tgz",
14155
-      "integrity": "sha1-3naE/ut2f4cWsyYHiooAh1iQ48I=",
14151
+      "version": "0.8.5",
14152
+      "resolved": "https://registry.npmmirror.com/shelljs/download/shelljs-0.8.5.tgz",
14153
+      "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==",
14156 14154
       "dev": true,
14157 14155
       "dependencies": {
14158 14156
         "glob": "^7.0.0",
@@ -17075,8 +17073,8 @@
17075 17073
       "dependencies": {
17076 17074
         "core-js": {
17077 17075
           "version": "3.1.4",
17078
-          "resolved": "https://registry.nlark.com/core-js/download/core-js-3.1.4.tgz",
17079
-          "integrity": "sha1-Oig3/EjlguGuJZB6/NbPA7DMegc=",
17076
+          "resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.1.4.tgz",
17077
+          "integrity": "sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ==",
17080 17078
           "dev": true
17081 17079
         },
17082 17080
         "parse5": {
@@ -18553,8 +18551,8 @@
18553 18551
       "dependencies": {
18554 18552
         "core-js": {
18555 18553
           "version": "2.6.12",
18556
-          "resolved": "https://registry.nlark.com/core-js/download/core-js-2.6.12.tgz",
18557
-          "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=",
18554
+          "resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz",
18555
+          "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
18558 18556
           "dev": true
18559 18557
         },
18560 18558
         "regenerator-runtime": {
@@ -18577,8 +18575,8 @@
18577 18575
       "dependencies": {
18578 18576
         "core-js": {
18579 18577
           "version": "2.6.12",
18580
-          "resolved": "https://registry.nlark.com/core-js/download/core-js-2.6.12.tgz",
18581
-          "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=",
18578
+          "resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz",
18579
+          "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
18582 18580
           "dev": true
18583 18581
         }
18584 18582
       }
@@ -19640,9 +19638,9 @@
19640 19638
       }
19641 19639
     },
19642 19640
     "core-js": {
19643
-      "version": "3.19.1",
19644
-      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.19.1.tgz",
19645
-      "integrity": "sha1-9vFzyuI+c6fYj6I7bp2jKSdsZkE="
19641
+      "version": "3.20.2",
19642
+      "resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.20.2.tgz",
19643
+      "integrity": "sha512-nuqhq11DcOAbFBV4zCbKeGbKQsUDRqTX0oqx7AttUBuqe3h20ixsE039QHelbL6P4h+9kytVqyEtyZ6gsiwEYw=="
19646 19644
     },
19647 19645
     "core-util-is": {
19648 19646
       "version": "1.0.2",
@@ -19819,9 +19817,9 @@
19819 19817
       }
19820 19818
     },
19821 19819
     "date-fns": {
19822
-      "version": "2.25.0",
19823
-      "resolved": "https://registry.npmmirror.com/date-fns/download/date-fns-2.25.0.tgz?cache=0&sync_timestamp=1633421611754&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fdate-fns%2Fdownload%2Fdate-fns-2.25.0.tgz",
19824
-      "integrity": "sha1-jFyPHZWL44CamgP0t0LrqJT8VoA="
19820
+      "version": "2.28.0",
19821
+      "resolved": "https://registry.npmmirror.com/date-fns/download/date-fns-2.28.0.tgz",
19822
+      "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw=="
19825 19823
     },
19826 19824
     "date-format": {
19827 19825
       "version": "2.1.0",
@@ -22503,8 +22501,8 @@
22503 22501
         },
22504 22502
         "core-js": {
22505 22503
           "version": "2.6.12",
22506
-          "resolved": "https://registry.nlark.com/core-js/download/core-js-2.6.12.tgz",
22507
-          "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=",
22504
+          "resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz",
22505
+          "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
22508 22506
           "dev": true
22509 22507
         },
22510 22508
         "extend-shallow": {
@@ -28397,9 +28395,9 @@
28397 28395
       "dev": true
28398 28396
     },
28399 28397
     "shelljs": {
28400
-      "version": "0.8.4",
28401
-      "resolved": "https://registry.npm.taobao.org/shelljs/download/shelljs-0.8.4.tgz",
28402
-      "integrity": "sha1-3naE/ut2f4cWsyYHiooAh1iQ48I=",
28398
+      "version": "0.8.5",
28399
+      "resolved": "https://registry.npmmirror.com/shelljs/download/shelljs-0.8.5.tgz",
28400
+      "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==",
28403 28401
       "dev": true,
28404 28402
       "requires": {
28405 28403
         "glob": "^7.0.0",

+ 3 - 3
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -2296,7 +2296,7 @@ export class HushijiandanComponent implements OnInit {
2296 2296
     }
2297 2297
     this.bxLoading = true;
2298 2298
     this.mainService.wxbx({}).subscribe(result => {
2299
-      if ((result as any).status = 200) {
2299
+      if ((result as any).status == 200) {
2300 2300
         let bxcode = (result as any).data;//生成微信报修号
2301 2301
         let postData = {
2302 2302
           verification: "true",
@@ -2319,11 +2319,11 @@ export class HushijiandanComponent implements OnInit {
2319 2319
         };
2320 2320
         this.mainService.addWxIncident(postData).subscribe(res => {
2321 2321
           this.bxLoading = false;
2322
-          if ((res as any).state = 200) {
2322
+          if ((res as any).state == 200) {
2323 2323
             this.showPromptModal("提交", true, "");
2324 2324
             this.checkTable('bxlb');
2325 2325
           }else{
2326
-            this.showPromptModal("提交", false, "");
2326
+            this.showPromptModal("提交", false, (res as any).msg);
2327 2327
           }
2328 2328
         })
2329 2329
       }else{