XMLWAN преди 2 години
родител
ревизия
3d2299416b
променени са 3 файла, в които са добавени 910 реда и са изтрити 48 реда
  1. 74 47
      package-lock.json
  2. 2 1
      package.json
  3. 834 0
      src/xt_pages/user/firstDisease.vue

+ 74 - 47
package-lock.json Целия файл

@@ -239,7 +239,7 @@
239 239
     "amdefine": {
240 240
       "version": "1.0.1",
241 241
       "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
242
-      "integrity": "sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg=="
242
+      "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU="
243 243
     },
244 244
     "ansi-escapes": {
245 245
       "version": "3.2.0",
@@ -433,7 +433,7 @@
433 433
     "assert-plus": {
434 434
       "version": "1.0.0",
435 435
       "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
436
-      "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="
436
+      "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
437 437
     },
438 438
     "assign-symbols": {
439 439
       "version": "1.0.0",
@@ -459,7 +459,7 @@
459 459
     "async-foreach": {
460 460
       "version": "0.1.3",
461 461
       "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz",
462
-      "integrity": "sha512-VUeSMD8nEGBWaZK4lizI1sf3yEC7pnAQ/mrI7pC2fBz2s/tq5jWWEngTwaf0Gruu/OoXRGLGg1XFqpYBiGTYJA=="
462
+      "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI="
463 463
     },
464 464
     "async-limiter": {
465 465
       "version": "1.0.0",
@@ -478,7 +478,7 @@
478 478
     "asynckit": {
479 479
       "version": "0.4.0",
480 480
       "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
481
-      "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
481
+      "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
482 482
     },
483 483
     "atob": {
484 484
       "version": "2.1.2",
@@ -503,7 +503,7 @@
503 503
     "aws-sign2": {
504 504
       "version": "0.7.0",
505 505
       "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
506
-      "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA=="
506
+      "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
507 507
     },
508 508
     "aws4": {
509 509
       "version": "1.11.0",
@@ -1489,7 +1489,7 @@
1489 1489
     "bcrypt-pbkdf": {
1490 1490
       "version": "1.0.2",
1491 1491
       "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
1492
-      "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
1492
+      "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
1493 1493
       "requires": {
1494 1494
         "tweetnacl": "^0.14.3"
1495 1495
       }
@@ -1509,7 +1509,7 @@
1509 1509
     "block-stream": {
1510 1510
       "version": "0.0.9",
1511 1511
       "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
1512
-      "integrity": "sha512-OorbnJVPII4DuUKbjARAe8u8EfqOmkEEaSFIyoQ7OjTHn6kafxWl0wLgoZ2rXaYd7MyLcDaU4TmhfxtwgcccMQ==",
1512
+      "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=",
1513 1513
       "requires": {
1514 1514
         "inherits": "~2.0.0"
1515 1515
       }
@@ -1918,7 +1918,7 @@
1918 1918
     "caseless": {
1919 1919
       "version": "0.12.0",
1920 1920
       "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
1921
-      "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw=="
1921
+      "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
1922 1922
     },
1923 1923
     "center-align": {
1924 1924
       "version": "0.1.3",
@@ -2511,7 +2511,7 @@
2511 2511
     "console-control-strings": {
2512 2512
       "version": "1.1.0",
2513 2513
       "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
2514
-      "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ=="
2514
+      "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
2515 2515
     },
2516 2516
     "consolidate": {
2517 2517
       "version": "0.14.5",
@@ -3144,7 +3144,7 @@
3144 3144
     "dashdash": {
3145 3145
       "version": "1.14.1",
3146 3146
       "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
3147
-      "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==",
3147
+      "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
3148 3148
       "requires": {
3149 3149
         "assert-plus": "^1.0.0"
3150 3150
       }
@@ -3310,7 +3310,7 @@
3310 3310
     "delayed-stream": {
3311 3311
       "version": "1.0.0",
3312 3312
       "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
3313
-      "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
3313
+      "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
3314 3314
     },
3315 3315
     "delegate": {
3316 3316
       "version": "3.2.0",
@@ -3320,7 +3320,7 @@
3320 3320
     "delegates": {
3321 3321
       "version": "1.0.0",
3322 3322
       "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
3323
-      "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ=="
3323
+      "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="
3324 3324
     },
3325 3325
     "depd": {
3326 3326
       "version": "1.1.2",
@@ -3498,7 +3498,7 @@
3498 3498
     "ecc-jsbn": {
3499 3499
       "version": "0.1.2",
3500 3500
       "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
3501
-      "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==",
3501
+      "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
3502 3502
       "requires": {
3503 3503
         "jsbn": "~0.1.0",
3504 3504
         "safer-buffer": "^2.1.0"
@@ -4355,7 +4355,7 @@
4355 4355
     "extsprintf": {
4356 4356
       "version": "1.3.0",
4357 4357
       "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
4358
-      "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g=="
4358
+      "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
4359 4359
     },
4360 4360
     "fast-deep-equal": {
4361 4361
       "version": "2.0.1",
@@ -4602,7 +4602,7 @@
4602 4602
     "forever-agent": {
4603 4603
       "version": "0.6.1",
4604 4604
       "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
4605
-      "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw=="
4605
+      "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
4606 4606
     },
4607 4607
     "form-data": {
4608 4608
       "version": "2.3.3",
@@ -4759,7 +4759,8 @@
4759 4759
         "ansi-regex": {
4760 4760
           "version": "2.1.1",
4761 4761
           "bundled": true,
4762
-          "dev": true
4762
+          "dev": true,
4763
+          "optional": true
4763 4764
         },
4764 4765
         "aproba": {
4765 4766
           "version": "1.2.0",
@@ -4782,13 +4783,15 @@
4782 4783
         "balanced-match": {
4783 4784
           "version": "1.0.0",
4784 4785
           "bundled": true,
4785
-          "dev": true
4786
+          "dev": true,
4787
+          "optional": true
4786 4788
         },
4787 4789
         "brace-expansion": {
4788 4790
           "version": "1.1.11",
4789 4791
           "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
4790 4792
           "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
4791 4793
           "dev": true,
4794
+          "optional": true,
4792 4795
           "requires": {
4793 4796
             "balanced-match": "^1.0.0",
4794 4797
             "concat-map": "0.0.1"
@@ -4804,19 +4807,22 @@
4804 4807
         "code-point-at": {
4805 4808
           "version": "1.1.0",
4806 4809
           "bundled": true,
4807
-          "dev": true
4810
+          "dev": true,
4811
+          "optional": true
4808 4812
         },
4809 4813
         "concat-map": {
4810 4814
           "version": "0.0.1",
4811 4815
           "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
4812 4816
           "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
4813
-          "dev": true
4817
+          "dev": true,
4818
+          "optional": true
4814 4819
         },
4815 4820
         "console-control-strings": {
4816 4821
           "version": "1.1.0",
4817 4822
           "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
4818 4823
           "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
4819
-          "dev": true
4824
+          "dev": true,
4825
+          "optional": true
4820 4826
         },
4821 4827
         "core-util-is": {
4822 4828
           "version": "1.0.2",
@@ -4946,7 +4952,8 @@
4946 4952
         "inherits": {
4947 4953
           "version": "2.0.3",
4948 4954
           "bundled": true,
4949
-          "dev": true
4955
+          "dev": true,
4956
+          "optional": true
4950 4957
         },
4951 4958
         "ini": {
4952 4959
           "version": "1.3.5",
@@ -4960,6 +4967,7 @@
4960 4967
           "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
4961 4968
           "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
4962 4969
           "dev": true,
4970
+          "optional": true,
4963 4971
           "requires": {
4964 4972
             "number-is-nan": "^1.0.0"
4965 4973
           }
@@ -4976,6 +4984,7 @@
4976 4984
           "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
4977 4985
           "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
4978 4986
           "dev": true,
4987
+          "optional": true,
4979 4988
           "requires": {
4980 4989
             "brace-expansion": "^1.1.7"
4981 4990
           }
@@ -4983,13 +4992,15 @@
4983 4992
         "minimist": {
4984 4993
           "version": "0.0.8",
4985 4994
           "bundled": true,
4986
-          "dev": true
4995
+          "dev": true,
4996
+          "optional": true
4987 4997
         },
4988 4998
         "minipass": {
4989 4999
           "version": "2.3.5",
4990 5000
           "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz",
4991 5001
           "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==",
4992 5002
           "dev": true,
5003
+          "optional": true,
4993 5004
           "requires": {
4994 5005
             "safe-buffer": "^5.1.2",
4995 5006
             "yallist": "^3.0.0"
@@ -5010,6 +5021,7 @@
5010 5021
           "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
5011 5022
           "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
5012 5023
           "dev": true,
5024
+          "optional": true,
5013 5025
           "requires": {
5014 5026
             "minimist": "0.0.8"
5015 5027
           }
@@ -5097,7 +5109,8 @@
5097 5109
         "number-is-nan": {
5098 5110
           "version": "1.0.1",
5099 5111
           "bundled": true,
5100
-          "dev": true
5112
+          "dev": true,
5113
+          "optional": true
5101 5114
         },
5102 5115
         "object-assign": {
5103 5116
           "version": "4.1.1",
@@ -5111,6 +5124,7 @@
5111 5124
           "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
5112 5125
           "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
5113 5126
           "dev": true,
5127
+          "optional": true,
5114 5128
           "requires": {
5115 5129
             "wrappy": "1"
5116 5130
           }
@@ -5205,7 +5219,8 @@
5205 5219
         "safe-buffer": {
5206 5220
           "version": "5.1.2",
5207 5221
           "bundled": true,
5208
-          "dev": true
5222
+          "dev": true,
5223
+          "optional": true
5209 5224
         },
5210 5225
         "safer-buffer": {
5211 5226
           "version": "2.1.2",
@@ -5247,6 +5262,7 @@
5247 5262
           "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
5248 5263
           "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
5249 5264
           "dev": true,
5265
+          "optional": true,
5250 5266
           "requires": {
5251 5267
             "code-point-at": "^1.0.0",
5252 5268
             "is-fullwidth-code-point": "^1.0.0",
@@ -5268,6 +5284,7 @@
5268 5284
           "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
5269 5285
           "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
5270 5286
           "dev": true,
5287
+          "optional": true,
5271 5288
           "requires": {
5272 5289
             "ansi-regex": "^2.0.0"
5273 5290
           }
@@ -5315,13 +5332,15 @@
5315 5332
         "wrappy": {
5316 5333
           "version": "1.0.2",
5317 5334
           "bundled": true,
5318
-          "dev": true
5335
+          "dev": true,
5336
+          "optional": true
5319 5337
         },
5320 5338
         "yallist": {
5321 5339
           "version": "3.0.3",
5322 5340
           "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
5323 5341
           "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",
5324
-          "dev": true
5342
+          "dev": true,
5343
+          "optional": true
5325 5344
         }
5326 5345
       }
5327 5346
     },
@@ -5351,7 +5370,7 @@
5351 5370
     "gauge": {
5352 5371
       "version": "2.7.4",
5353 5372
       "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
5354
-      "integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==",
5373
+      "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
5355 5374
       "requires": {
5356 5375
         "aproba": "^1.0.3",
5357 5376
         "console-control-strings": "^1.0.0",
@@ -5366,12 +5385,12 @@
5366 5385
         "ansi-regex": {
5367 5386
           "version": "2.1.1",
5368 5387
           "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
5369
-          "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA=="
5388
+          "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
5370 5389
         },
5371 5390
         "is-fullwidth-code-point": {
5372 5391
           "version": "1.0.0",
5373 5392
           "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
5374
-          "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==",
5393
+          "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
5375 5394
           "requires": {
5376 5395
             "number-is-nan": "^1.0.0"
5377 5396
           }
@@ -5379,7 +5398,7 @@
5379 5398
         "string-width": {
5380 5399
           "version": "1.0.2",
5381 5400
           "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
5382
-          "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==",
5401
+          "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
5383 5402
           "requires": {
5384 5403
             "code-point-at": "^1.0.0",
5385 5404
             "is-fullwidth-code-point": "^1.0.0",
@@ -5389,7 +5408,7 @@
5389 5408
         "strip-ansi": {
5390 5409
           "version": "3.0.1",
5391 5410
           "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
5392
-          "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
5411
+          "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
5393 5412
           "requires": {
5394 5413
             "ansi-regex": "^2.0.0"
5395 5414
           }
@@ -5434,7 +5453,7 @@
5434 5453
     "getpass": {
5435 5454
       "version": "0.1.7",
5436 5455
       "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
5437
-      "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==",
5456
+      "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
5438 5457
       "requires": {
5439 5458
         "assert-plus": "^1.0.0"
5440 5459
       }
@@ -5583,7 +5602,7 @@
5583 5602
     "har-schema": {
5584 5603
       "version": "2.0.0",
5585 5604
       "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
5586
-      "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q=="
5605
+      "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
5587 5606
     },
5588 5607
     "har-validator": {
5589 5608
       "version": "5.1.5",
@@ -5656,7 +5675,7 @@
5656 5675
     "has-unicode": {
5657 5676
       "version": "2.0.1",
5658 5677
       "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
5659
-      "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ=="
5678
+      "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
5660 5679
     },
5661 5680
     "has-value": {
5662 5681
       "version": "1.0.0",
@@ -6070,7 +6089,7 @@
6070 6089
     "http-signature": {
6071 6090
       "version": "1.2.0",
6072 6091
       "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
6073
-      "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==",
6092
+      "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
6074 6093
       "requires": {
6075 6094
         "assert-plus": "^1.0.0",
6076 6095
         "jsprim": "^1.2.2",
@@ -6184,6 +6203,14 @@
6184 6203
       "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz",
6185 6204
       "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ=="
6186 6205
     },
6206
+    "increase-memory-limit": {
6207
+      "version": "1.0.7",
6208
+      "resolved": "https://registry.npmjs.org/increase-memory-limit/-/increase-memory-limit-1.0.7.tgz",
6209
+      "integrity": "sha512-ozyn+HHAPD9VxMT1U50A7G8XXlktUWhnnEDYSeDYnQjKsNrBWHqq6XfEA0uhMdDPD+q/7rXWlzF1CbXX/c1LiQ==",
6210
+      "requires": {
6211
+        "glob": "^7.1.1"
6212
+      }
6213
+    },
6187 6214
     "indent-string": {
6188 6215
       "version": "3.2.0",
6189 6216
       "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz",
@@ -6580,7 +6607,7 @@
6580 6607
     "is-typedarray": {
6581 6608
       "version": "1.0.0",
6582 6609
       "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
6583
-      "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
6610
+      "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
6584 6611
     },
6585 6612
     "is-utf8": {
6586 6613
       "version": "0.2.1",
@@ -6618,7 +6645,7 @@
6618 6645
     "isstream": {
6619 6646
       "version": "0.1.2",
6620 6647
       "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
6621
-      "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="
6648
+      "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
6622 6649
     },
6623 6650
     "jest-get-type": {
6624 6651
       "version": "22.4.3",
@@ -6672,7 +6699,7 @@
6672 6699
     "jsbn": {
6673 6700
       "version": "0.1.1",
6674 6701
       "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
6675
-      "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg=="
6702
+      "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
6676 6703
     },
6677 6704
     "jsesc": {
6678 6705
       "version": "1.3.0",
@@ -6711,7 +6738,7 @@
6711 6738
     "json-stringify-safe": {
6712 6739
       "version": "5.0.1",
6713 6740
       "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
6714
-      "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA=="
6741
+      "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
6715 6742
     },
6716 6743
     "json3": {
6717 6744
       "version": "3.3.2",
@@ -7685,7 +7712,7 @@
7685 7712
         "semver": {
7686 7713
           "version": "5.3.0",
7687 7714
           "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
7688
-          "integrity": "sha512-mfmm3/H9+67MCVix1h+IXTpDwL6710LyHuk7+cWC9T1mE0qz4iHhh6r4hU2wrIT9iTsAAC2XQRvfblL028cpLw=="
7715
+          "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8="
7689 7716
         }
7690 7717
       }
7691 7718
     },
@@ -7880,7 +7907,7 @@
7880 7907
     "nopt": {
7881 7908
       "version": "3.0.6",
7882 7909
       "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
7883
-      "integrity": "sha512-4GUt3kSEYmk4ITxzB/b9vaIDfUVWN/Ml1Fwl11IlnIG2iaJ9O6WXZ9SrYM9NLI8OCBieN2Y8SWC2oJV0RQ7qYg==",
7910
+      "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
7884 7911
       "requires": {
7885 7912
         "abbrev": "1"
7886 7913
       }
@@ -8494,7 +8521,7 @@
8494 8521
     "performance-now": {
8495 8522
       "version": "2.1.0",
8496 8523
       "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
8497
-      "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="
8524
+      "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
8498 8525
     },
8499 8526
     "pify": {
8500 8527
       "version": "3.0.0",
@@ -12265,7 +12292,7 @@
12265 12292
     "scss-tokenizer": {
12266 12293
       "version": "0.2.3",
12267 12294
       "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz",
12268
-      "integrity": "sha512-dYE8LhncfBUar6POCxMTm0Ln+erjeczqEvCJib5/7XNkdw1FkUGgwMPY360FY0FgPWQxHWCx29Jl3oejyGLM9Q==",
12295
+      "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",
12269 12296
       "requires": {
12270 12297
         "js-base64": "^2.1.8",
12271 12298
         "source-map": "^0.4.2"
@@ -12274,7 +12301,7 @@
12274 12301
         "source-map": {
12275 12302
           "version": "0.4.4",
12276 12303
           "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
12277
-          "integrity": "sha512-Y8nIfcb1s/7DcobUz1yOO1GSp7gyL+D9zLHDehT7iRESqGSxjJ448Sg7rvfgsRJCnKLdSl11uGf0s9X80cH0/A==",
12304
+          "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
12278 12305
           "requires": {
12279 12306
             "amdefine": ">=0.0.4"
12280 12307
           }
@@ -13721,7 +13748,7 @@
13721 13748
     "tunnel-agent": {
13722 13749
       "version": "0.6.0",
13723 13750
       "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
13724
-      "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
13751
+      "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
13725 13752
       "requires": {
13726 13753
         "safe-buffer": "^5.0.1"
13727 13754
       }
@@ -13729,7 +13756,7 @@
13729 13756
     "tweetnacl": {
13730 13757
       "version": "0.14.5",
13731 13758
       "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
13732
-      "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA=="
13759
+      "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
13733 13760
     },
13734 13761
     "type-check": {
13735 13762
       "version": "0.3.2",
@@ -14099,7 +14126,7 @@
14099 14126
     "verror": {
14100 14127
       "version": "1.10.0",
14101 14128
       "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
14102
-      "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==",
14129
+      "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
14103 14130
       "requires": {
14104 14131
         "assert-plus": "^1.0.0",
14105 14132
         "core-util-is": "1.0.2",

+ 2 - 1
package.json Целия файл

@@ -12,7 +12,7 @@
12 12
     "lint": "eslint --ext .js,.vue src",
13 13
     "test": "npm run lint",
14 14
     "precommit": "lint-staged",
15
-    "build": "cross-env NODE_ENV=production env_config=sit node build/build.js && npm run fixfont && npm run fiximg",
15
+    "build": "cross-env NODE_ENV=production env_config=sit node --max_old_space_size=8192 build/build.js && npm run fixfont && npm run fiximg",
16 16
     "fixfont": "xcopy %cd%\\dist\\static\\fonts %cd%\\dist\\static\\css\\static\\fonts /s /y /d /e /i",
17 17
     "fiximg": "xcopy %cd%\\dist\\static\\img %cd%\\dist\\static\\css\\static\\img /s /y /d /e /i"
18 18
   },
@@ -50,6 +50,7 @@
50 50
     "element-ui": "^2.13.2",
51 51
     "file-saver": "^1.3.8",
52 52
     "font-awesome": "4.7.0",
53
+    "increase-memory-limit": "^1.0.7",
53 54
     "js-cookie": "2.2.0",
54 55
     "jsbarcode": "^3.11.5",
55 56
     "jsonlint": "1.6.3",

+ 834 - 0
src/xt_pages/user/firstDisease.vue Целия файл

@@ -0,0 +1,834 @@
1
+<template>
2
+  <div class="patient-container">
3
+    <patient-sidebar :id="patient_id" defaultActive="1-11"></patient-sidebar>
4
+    <div v-loading="loading">
5
+      <div class="patient-app-container advice-container app-container">
6
+
7
+        <div>
8
+                    <span style="margin-left: 10px;float:right;">
9
+                        <el-button type="primary" icon="el-icon-circle-plus-outline" size="small"
10
+                                   @click="addAction">新增</el-button>
11
+
12
+                        <el-button type="primary" icon="el-icon-edit-outline" size="small"
13
+                                   @click="toEdit">修改</el-button>
14
+                      <el-button type="primary" icon="el-icon-printer" size="small"
15
+                                 @click="print">打印</el-button>
16
+                      <el-button size="small"  type="danger" @click="deleteAction">删除</el-button>
17
+                    </span>
18
+        </div>
19
+      
20
+        <div class="cell clearfix">
21
+          <label class="title"><span class="name">日期查询</span> : </label>
22
+          <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
23
+                          type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
24
+                          value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
25
+          <span class="">-</span>
26
+          <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
27
+                          type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
28
+                          value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
29
+        </div>
30
+        <div class="record">
31
+          <el-row :gutter="15">
32
+            <el-col :span="10">
33
+              <el-table :header-cell-style="{
34
+                  backgroundColor: 'rgb(245, 247, 250)',
35
+                  color: '#606266'
36
+                }"
37
+                :row-style="{ color: '#303133' }" ref="monthlyPlanTable" :data="tableData"
38
+                        border highlight-current-row @current-change="changeCurrentRecordTwo"
39
+                        @selection-change="selectSummary"
40
+                        :row-class-name="tableRow"
41
+              >
42
+                <el-table-column type="selection" width="60" align="center"></el-table-column>
43
+                <el-table-column label="标题" align="center">
44
+                  <template slot-scope="scope">
45
+                    {{scope.row.title}}
46
+                  </template>
47
+                </el-table-column>
48
+                <el-table-column label="记录日期" align="center">
49
+                  <template slot-scope="scope">
50
+                    {{getTime(scope.row.record_date)}}
51
+                  </template>
52
+                </el-table-column>
53
+                <el-table-column label="记录医师" align="center">
54
+                  <template slot-scope="scope">
55
+                    {{getDoctor(scope.row.doctor)}}
56
+                  </template>
57
+                </el-table-column>
58
+              </el-table>
59
+            </el-col>
60
+            <el-col :span="14">
61
+              <div class="record_content_panel">
62
+                <div style="background-color:rgb(245, 247, 250)" class="title">出院小结内容</div>
63
+                <div style="padding:10px;border-bottom:1px solid #DCDFE6;">标题:
64
+                   {{hosDetail.title}}
65
+                </div>
66
+            
67
+                
68
+                <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">记录医师:
69
+                   {{getDoctor(hosDetail.doctor)}}
70
+                </div>
71
+                
72
+                 
73
+                
74
+                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">主诉内容:
75
+                   <span v-html="hosDetail.main_content"></span> 
76
+                 </div>
77
+                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">病例特点:
78
+                   <span v-html="hosDetail.patient_case"></span> 
79
+                 </div>
80
+                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">初步诊断:
81
+                    <span v-html="hosDetail.tentative_diagnosis"></span>
82
+                 </div>
83
+                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">诊断依据:
84
+                    <span v-html="hosDetail.diagnostic_basis"></span>
85
+                 </div>
86
+                   <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">鉴别诊断:
87
+                    <span v-html="hosDetail.differential_diagnosis"></span>
88
+                 </div>
89
+                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">诊疗计划:
90
+                    <span v-html="hosDetail.treatment_plan"></span>
91
+                 </div>
92
+               
93
+              </div>
94
+            </el-col>
95
+          </el-row>
96
+        </div>
97
+      </div>
98
+
99
+  
100
+     
101
+      <el-dialog title="新增首次病程记录" width="60%" top="5vh" :visible.sync="show_dialog">
102
+        <div>
103
+          <div class="new_record_form">
104
+            <div class="cell clearfix">
105
+              <label class="title"><span class="name">标题</span> : </label>
106
+               <el-input v-model="form.title" style="width:200px"></el-input>
107
+
108
+              <label class="title"><span class="name">记录医师</span>:</label>
109
+               <el-select v-model="form.doctor" placeholder="请选择">
110
+                  <el-option
111
+                  v-for="item in doctorList"
112
+                  :key="item.admin_user_id"
113
+                  :label="item.user_name"
114
+                  :value="item.admin_user_id">
115
+                  </el-option>
116
+              </el-select>
117
+            
118
+              <label class="title"><span class="name">记录日期</span> : </label>
119
+              <el-date-picker v-model="form.record_date"
120
+                    prefix-icon="el-icon-date" 
121
+                    style="width: 200px;"
122
+                    type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
123
+                    value-format="yyyy-MM-dd">
124
+              </el-date-picker>   
125
+            </div>
126
+           
127
+        
128
+      
129
+            <div class="cell clearfix" style="margin-top:10px">
130
+              <label class="title"><span class="name">主诉内容</span> : </label>
131
+                <el-select v-model="form.main_content_id" placeholder="可选择病程模板" @change="changeMainContent">
132
+                  <el-option v-for="(option, index) in mainContentList" :key="index" :label="option.title"
133
+                            :value="option.content"></el-option>
134
+                </el-select>
135
+                
136
+                 <div class="textarea_panel">
137
+                    <keep-alive>
138
+                      <editor ref="editor"
139
+                              id="editor"
140
+                              style="width: 800px"
141
+                              v-bind:r_content="form.main_content">
142
+                      </editor>
143
+                    </keep-alive>
144
+                </div>
145
+
146
+                <label class="title"><span class="name">病例特点</span> : </label>
147
+                <el-select v-model="form.patient_case_id" placeholder="可选择病程模板" @change="changePatientCase">
148
+                  <el-option v-for="(option, index) in patientCaseList" :key="index" :label="option.title"
149
+                            :value="option.content"></el-option>
150
+                </el-select>
151
+                
152
+                 <div class="textarea_panel">
153
+                    <keep-alive>
154
+                      <editor ref="editorOne"
155
+                              id="editorOne"
156
+                              style="width: 800px"
157
+                              v-bind:r_content="form.patient_case">
158
+                      </editor>
159
+                    </keep-alive>
160
+                </div>
161
+
162
+                 <label class="title"><span class="name">初步诊断</span> : </label>
163
+                <el-select v-model="form.tentative_diagnosis_id" placeholder="可选择病程模板" @change="changeTentativeDiagnosis">
164
+                  <el-option v-for="(option, index) in tentativeDiagnosisList" :key="index" :label="option.title"
165
+                            :value="option.content"></el-option>
166
+                </el-select>
167
+                
168
+                 <div class="textarea_panel">
169
+                    <keep-alive>
170
+                      <editor ref="editorTwo"
171
+                              id="editorTwo"
172
+                              style="width: 800px"
173
+                              v-bind:r_content="form.tentative_diagnosis">
174
+                      </editor>
175
+                    </keep-alive>
176
+                </div>
177
+
178
+                <label class="title"><span class="name">诊断依据</span> : </label>
179
+                <el-select v-model="form.diagnostic_basis_id" placeholder="可选择病程模板" @change="changeDiagnosticBasis">
180
+                  <el-option v-for="(option, index) in diagnosticBasisList" :key="index" :label="option.title"
181
+                            :value="option.content"></el-option>
182
+                </el-select>
183
+                
184
+                 <div class="textarea_panel">
185
+                    <keep-alive>
186
+                      <editor ref="editorThree"
187
+                              id="editorThree"
188
+                              style="width: 800px"
189
+                              v-bind:r_content="form.diagnostic_basis">
190
+                      </editor>
191
+                    </keep-alive>
192
+                </div>
193
+
194
+                <label class="title"><span class="name">鉴别诊断</span> : </label>
195
+                <el-select v-model="form.differential_diagnosis_id" placeholder="可选择病程模板" @change="changeDifferentialDiagnosis">
196
+                  <el-option v-for="(option, index) in differentialDiagnosisList" :key="index" :label="option.title"
197
+                            :value="option.content"></el-option>
198
+                </el-select>
199
+                
200
+                 <div class="textarea_panel">
201
+                    <keep-alive>
202
+                      <editor ref="editorFour"
203
+                              id="editorFour"
204
+                              style="width: 800px"
205
+                              v-bind:r_content="form.differential_diagnosis">
206
+                      </editor>
207
+                    </keep-alive>
208
+                </div>
209
+
210
+                <label class="title"><span class="name">诊疗计划</span> : </label>
211
+                <el-select v-model="form.treatment_plan_id" placeholder="可选择病程模板" @change="changeTreateMentContent">
212
+                  <el-option v-for="(option, index) in treateMentList" :key="index" :label="option.title"
213
+                            :value="option.content"></el-option>
214
+                </el-select>
215
+                
216
+                 <div class="textarea_panel">
217
+                    <keep-alive>
218
+                      <editor ref="editorFive"
219
+                              id="editorFive"
220
+                              style="width: 800px"
221
+                              v-bind:r_content="form.treatment_plan">
222
+                      </editor>
223
+                    </keep-alive>
224
+                </div>
225
+            </div>
226
+
227
+    
228
+            <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
229
+              <el-button @click="show_dialog = false">取消</el-button>
230
+              <el-button type="primary"
231
+                         @click="createAction" :loading="uploading_new_record">保存
232
+              </el-button>
233
+            </div>
234
+          </div>
235
+        </div>
236
+      </el-dialog>
237
+      
238
+      <el-dialog title="编辑首次病程记录" width="60%" top="5vh" :visible.sync="edit_show_dialog">
239
+        <div>
240
+          <div class="new_record_form">
241
+            <div class="cell clearfix">
242
+              <label class="title"><span class="name">标题</span> : </label>
243
+               <el-input v-model="form.title" style="width:200px"></el-input>
244
+
245
+              <label class="title"><span class="name">记录医师</span>:</label>
246
+               <el-select v-model="form.doctor" placeholder="请选择">
247
+                  <el-option
248
+                  v-for="item in doctorList"
249
+                  :key="item.admin_user_id"
250
+                  :label="item.user_name"
251
+                  :value="item.admin_user_id">
252
+                  </el-option>
253
+              </el-select>
254
+            
255
+              <label class="title"><span class="name">记录日期</span> : </label>
256
+              <el-date-picker v-model="form.record_date"
257
+                    prefix-icon="el-icon-date" 
258
+                    style="width: 200px;"
259
+                    type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
260
+                    value-format="yyyy-MM-dd">
261
+              </el-date-picker>   
262
+            </div>
263
+
264
+             <div class="cell clearfix" style="margin-top:10px">
265
+              <label class="title"><span class="name">主诉内容</span> : </label>
266
+                <el-select v-model="form.main_content_id" placeholder="可选择病程模板" @change="changeMainContent">
267
+                  <el-option v-for="(option, index) in mainContentList" :key="index" :label="option.title"
268
+                            :value="option.content"></el-option>
269
+                </el-select>
270
+                
271
+                 <div class="textarea_panel">
272
+                    <keep-alive>
273
+                      <editor ref="editor"
274
+                              id="editor"
275
+                              style="width: 800px"
276
+                              v-bind:r_content="form.main_content">
277
+                      </editor>
278
+                    </keep-alive>
279
+                </div>
280
+
281
+                <label class="title"><span class="name">病例特点</span> : </label>
282
+                <el-select v-model="form.patient_case_id" placeholder="可选择病程模板" @change="changePatientCase">
283
+                  <el-option v-for="(option, index) in patientCaseList" :key="index" :label="option.title"
284
+                            :value="option.content"></el-option>
285
+                </el-select>
286
+                
287
+                 <div class="textarea_panel">
288
+                    <keep-alive>
289
+                      <editor ref="editorOne"
290
+                              id="editorOne"
291
+                              style="width: 800px"
292
+                              v-bind:r_content="form.patient_case">
293
+                      </editor>
294
+                    </keep-alive>
295
+                </div>
296
+
297
+                 <label class="title"><span class="name">初步诊断</span> : </label>
298
+                <el-select v-model="form.tentative_diagnosis_id" placeholder="可选择病程模板" @change="changeTentativeDiagnosis">
299
+                  <el-option v-for="(option, index) in tentativeDiagnosisList" :key="index" :label="option.title"
300
+                            :value="option.content"></el-option>
301
+                </el-select>
302
+                
303
+                 <div class="textarea_panel">
304
+                    <keep-alive>
305
+                      <editor ref="editorTwo"
306
+                              id="editorTwo"
307
+                              style="width: 800px"
308
+                              v-bind:r_content="form.tentative_diagnosis">
309
+                      </editor>
310
+                    </keep-alive>
311
+                </div>
312
+
313
+                <label class="title"><span class="name">诊断依据</span> : </label>
314
+                <el-select v-model="form.diagnostic_basis_id" placeholder="可选择病程模板" @change="changeDiagnosticBasis">
315
+                  <el-option v-for="(option, index) in diagnosticBasisList" :key="index" :label="option.title"
316
+                            :value="option.content"></el-option>
317
+                </el-select>
318
+                
319
+                 <div class="textarea_panel">
320
+                    <keep-alive>
321
+                      <editor ref="editorThree"
322
+                              id="editorThree"
323
+                              style="width: 800px"
324
+                              v-bind:r_content="form.diagnostic_basis">
325
+                      </editor>
326
+                    </keep-alive>
327
+                </div>
328
+
329
+                <label class="title"><span class="name">鉴别诊断</span> : </label>
330
+                <el-select v-model="form.differential_diagnosis_id" placeholder="可选择病程模板" @change="changeDifferentialDiagnosis">
331
+                  <el-option v-for="(option, index) in differentialDiagnosisList" :key="index" :label="option.title"
332
+                            :value="option.content"></el-option>
333
+                </el-select>
334
+                
335
+                 <div class="textarea_panel">
336
+                    <keep-alive>
337
+                      <editor ref="editorFour"
338
+                              id="editorFour"
339
+                              style="width: 800px"
340
+                              v-bind:r_content="form.differential_diagnosis">
341
+                      </editor>
342
+                    </keep-alive>
343
+                </div>
344
+
345
+                <label class="title"><span class="name">诊疗计划</span> : </label>
346
+                <el-select v-model="form.treatment_plan_id" placeholder="可选择病程模板" @change="changeTreateMentContent">
347
+                  <el-option v-for="(option, index) in treateMentList" :key="index" :label="option.title"
348
+                            :value="option.content"></el-option>
349
+                </el-select>
350
+                
351
+                 <div class="textarea_panel">
352
+                    <keep-alive>
353
+                      <editor ref="editorFive"
354
+                              id="editorFive"
355
+                              style="width: 800px"
356
+                              v-bind:r_content="form.treatment_plan">
357
+                      </editor>
358
+                    </keep-alive>
359
+                </div>
360
+            </div>
361
+
362
+             <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
363
+              <el-button @click="show_dialog = false">取消</el-button>
364
+              <el-button type="primary"
365
+                         @click="updateAction" :loading="uploading_new_record">保存
366
+              </el-button>
367
+            </div>
368
+          </div>
369
+        </div>
370
+      </el-dialog>
371
+    </div>
372
+  </div>
373
+</template>
374
+
375
+<script>
376
+  import PatientSidebar from './components/PatientSidebar'
377
+  import Editor from '@/components/Editor'
378
+
379
+  import { createFirstDisease,getFirstDiseaseList,getFirstDetail,updateFirstDisease,deleteFirstDisease} from '@/api/patient'
380
+  import { parseTime } from '@/utils'
381
+  import BreadCrumb from '@/xt_pages/components/bread-crumb'
382
+  import { uParseTime } from '@/utils/tools'
383
+  import { getDataConfig } from '@/utils/data'
384
+  import multiSelectBox from '../dialysis/details/dialog/MultiSelectBox'
385
+ import MsgTip from '../dialysis/details/dialog/MsgTip'
386
+  import { getAllDoctorList } from "@/api/device"
387
+  const moment = require('moment')
388
+  export default {
389
+    name: 'hospitalSummary',
390
+    components: {
391
+      PatientSidebar,
392
+      BreadCrumb,
393
+      Editor,
394
+      MsgTip,
395
+      multiSelectBox,
396
+    },
397
+    data() {
398
+      return {
399
+        InnerDialogProps: {
400
+          values: [],
401
+          visibility: false,
402
+          isShowTextArea: true,
403
+          customContent: '',
404
+          titles: '',
405
+          type: '' // 不同弹框类型,用来匹配数据
406
+        },
407
+        loading: false,
408
+        title: '',
409
+        patient_id: 0,
410
+        date: [],
411
+        start_time: '',
412
+        end_time: '',
413
+        course_of_disease_time: '',
414
+        records: [],
415
+        doctors: [],
416
+        current_select_record: null,
417
+        show_dialog: false,
418
+        show_edit_dialog: false,
419
+        uploading_new_record: false,
420
+        edit_show_dialog:false,
421
+        mainContentList: this.$store.getters.configlist.main_content,
422
+        patientCaseList:this.$store.getters.configlist.patient_case,
423
+        tentativeDiagnosisList:this.$store.getters.configlist.tentative_diagnosis,
424
+        diagnosticBasisList:this.$store.getters.configlist.diagnostic_basis,
425
+        differentialDiagnosisList:this.$store.getters.configlist.differential_diagnosis,
426
+        treateMentList:this.$store.getters.configlist.treatment_plan,
427
+        select_template: '',
428
+        new_content: '',
429
+        edit_new_content: '',
430
+        edit_course_of_disease_time: '',
431
+        selectingRows: [],
432
+        table_current_index: -1,
433
+        edit_current_id: 0,
434
+        edit_title: '',
435
+        value:'',
436
+        form:{
437
+          id:0,
438
+          title:"",
439
+          doctor:"",
440
+          record_date:this.getTime(new Date()),
441
+          pathology:"",
442
+          record_time:"",
443
+          main_content_id:"",
444
+          main_content:"",
445
+          patient_case_id:"",
446
+          patient_case:"",
447
+          tentative_diagnosis_id:"",
448
+          tentative_diagnosis:"",
449
+          diagnostic_basis_id:"",
450
+          diagnostic_basis:"",
451
+          differential_diagnosis_id:"",
452
+          differential_diagnosis:"",
453
+          treatment_plan_id:"",
454
+          treatment_plan:""
455
+        },
456
+       tableData:[],
457
+       docList:[],
458
+       doctorList:[],
459
+       hosDetail:{},
460
+       ids:"",
461
+       patient:{},
462
+      }
463
+    },
464
+    created() {
465
+     
466
+      this.patient_id = this.$route.params && this.$route.params.id
467
+
468
+      var now = new Date()
469
+      this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
470
+
471
+      var nowDate = new Date()
472
+      var nowYear = nowDate.getFullYear()
473
+      var nowMonth = nowDate.getMonth() + 1
474
+
475
+      var nowDay = nowDate.getDate()
476
+      this.end_time =
477
+        nowYear +
478
+        '-' +
479
+        (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
480
+        '-' +
481
+        (nowDay < 10 ? '0' + nowDay : nowDay)
482
+      nowDate.setMonth(nowDate.getMonth() - 1)
483
+      nowYear = nowDate.getFullYear()
484
+      nowMonth = nowDate.getMonth() + 1
485
+      nowDay = nowDate.getDate()
486
+      this.start_time =
487
+        nowYear +
488
+        '-' +
489
+        (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
490
+        '-' +
491
+        (nowDay < 10 ? '0' + nowDay : nowDay)
492
+      this.other_start_time = nowYear +'-' +(nowMonth < 10 ? '0' + nowMonth : nowMonth) +'-' + (nowDay < 10 ? '0' + nowDay : nowDay)
493
+      
494
+     this.getAllDoctorList()
495
+     this.getlist()
496
+    
497
+    },
498
+    methods: {
499
+      getTime(val) {
500
+       if(val == "" || val == undefined){
501
+          return ""
502
+         }else {
503
+          return uParseTime(val, '{y}-{m}-{d}')
504
+         }
505
+      },
506
+
507
+      startTimeChange(val){
508
+       
509
+       this.start_time = val
510
+       this.getlist()
511
+      },
512
+      endTimeChange(val){
513
+       this.end_time = val
514
+       this.getlist()
515
+      },
516
+      print(){
517
+        this.$router.push({path:"/patient/patient/hospitalSummary/print?id="+this.form.id+"&patient_id="+this.patient_id})
518
+      },
519
+      tableRow(){
520
+
521
+       },
522
+      changeCurrentRecordTwo(row){
523
+       
524
+        this.form.id = 0
525
+        if(row!=null){
526
+          this.form.id = row.id 
527
+          this.getFirstDetail(row.id)
528
+        }
529
+      },
530
+      selectSummary(row){
531
+        var arr = []
532
+        for(let i=0;i<row.length;i++){
533
+          arr.push(row[i].id)
534
+        }
535
+       var ids = arr.join(",")
536
+       this.ids = ids
537
+      },
538
+     
539
+      changeMainContent(content){
540
+       this.form.main_content = content
541
+      },
542
+      changePatientCase(content){
543
+       this.form.patient_case = content
544
+      },
545
+      changeTentativeDiagnosis(content){
546
+      this.form.tentative_diagnosis = content
547
+      },
548
+      changeDiagnosticBasis(content){
549
+       this.form.diagnostic_basis =content
550
+      },
551
+      changeDifferentialDiagnosis(content){
552
+        this.form.differential_diagnosis = content
553
+      },
554
+      changeTreateMentContent(content){
555
+        this.form.treatment_plan = content
556
+      },
557
+      
558
+      createAction(){
559
+       
560
+         if(this.form.doctor == ""){
561
+            this.form.doctor = 0
562
+         }
563
+         var params = {
564
+          patient_id:parseInt(this.patient_id),
565
+          title:this.form.title,
566
+          main_content:this.$refs.editor.content,
567
+          patient_case:this.$refs.editorOne.content,
568
+          tentative_diagnosis:this.$refs.editorTwo.content,
569
+          diagnostic_basis:this.$refs.editorThree.content,
570
+          differential_diagnosis:this.$refs.editorFour.content,
571
+          treatment_plan:this.$refs.editorFive.content,
572
+          record_date:this.form.record_date,
573
+          doctor:this.form.doctor,
574
+         }
575
+         console.log("params",params)
576
+        
577
+         createFirstDisease(params).then(response=>{
578
+            if(response.data.state == 1){
579
+              var list = response.data.data.firstDisease
580
+             
581
+              this.$message.success("保存成功!")
582
+              this.show_dialog = false
583
+              this.getlist()
584
+            }
585
+         })
586
+      },
587
+      getAllDoctorList(){
588
+       getAllDoctorList().then(response=>{
589
+          if(response.data.state == 1){
590
+            var list = response.data.data.list
591
+
592
+            this.doctorList = list
593
+          }
594
+       })
595
+      },
596
+      getTime(val) {
597
+         if(val == ""){
598
+          return ""
599
+         }else {
600
+          return uParseTime(val, '{y}-{m}-{d}')
601
+         }
602
+      },
603
+
604
+      getlist(){
605
+          var params = {
606
+            start_time:this.start_time,
607
+            end_time:this.end_time,
608
+            patient_id:parseInt(this.patient_id),
609
+          }
610
+        getFirstDiseaseList(params).then(response=>{
611
+           if(response.data.state ==1){
612
+             var list =  response.data.data.list
613
+             this.tableData = list
614
+           }
615
+        })
616
+      },
617
+      getDoctor(id){
618
+        var name = ""
619
+        for(let i=0;i<this.doctorList.length;i++){
620
+          if(id == this.doctorList[i].admin_user_id){
621
+             name = this.doctorList[i].user_name
622
+          }
623
+        }
624
+        return name
625
+      },
626
+      getFirstDetail(id){
627
+        getFirstDetail(id).then(response=>{
628
+           if(response.data.state == 1){
629
+             var detail = response.data.data.detail
630
+            
631
+             this.hosDetail = detail
632
+           }
633
+        })
634
+      },
635
+      getHospitalSummaryDetailOne(id){
636
+        getFirstDetail(id).then(response=>{
637
+           if(response.data.state == 1){
638
+             var detail = response.data.data.detail
639
+             console.log("detial------",detail)
640
+             if(detail.doctor == 0){
641
+               this.form.doctor = ""
642
+             }
643
+             this.form.id = detail.id
644
+             this.form.title = detail.title
645
+             this.form.record_date = this.getTime(detail.record_date)
646
+             this.form.doctor = detail.doctor
647
+             this.form.main_content = detail.main_content
648
+             this.form.patient_case = detail.patient_case
649
+             this.form.tentative_diagnosis = detail.tentative_diagnosis
650
+             this.form.diagnostic_basis = detail.diagnostic_basis
651
+             this.form.differential_diagnosis = detail.differential_diagnosis
652
+             this.form.treatment_plan =detail.treatment_plan
653
+             this.edit_show_dialog = true
654
+           }
655
+        })
656
+      },
657
+      toEdit(){
658
+        this.getHospitalSummaryDetailOne(this.form.id)
659
+      },
660
+      updateAction(){
661
+    
662
+        if(this.form.doctor == ""){
663
+            this.form.doctor = 0
664
+         }
665
+         if(this.form.dean == ""){
666
+           this.form.dean = 0
667
+         }
668
+      
669
+         var params = {
670
+          id:this.form.id,
671
+          patient_id:parseInt(this.patient_id),
672
+          title:this.form.title,
673
+          doctor:this.form.doctor,
674
+          record_date:this.form.record_date,
675
+          main_content:this.$refs.editor.content,
676
+          patient_case:this.$refs.editorOne.content,
677
+          tentative_diagnosis:this.$refs.editorTwo.content,
678
+          diagnostic_basis:this.$refs.editorThree.content,
679
+          differential_diagnosis:this.$refs.editorFour.content,
680
+          treatment_plan:this.$refs.editorFive.content,
681
+         }
682
+         console.log("poarams2323322323",params)
683
+        updateFirstDisease(params).then(response=>{
684
+          if(response.data.state == 1){
685
+            var detail = response.data.data.detail
686
+            this.edit_show_dialog = false
687
+            // this.$refs.monthlyPlanTable.setCurrentRow(detail)
688
+            this.getlist()
689
+          }
690
+        }) 
691
+      },
692
+      deleteAction(){
693
+          if(this.ids.length == 0){
694
+            this.$message.error("请勾选需要删除的数据")
695
+            return false
696
+          }
697
+          this.$confirm('确认删除吗?', '删除', {
698
+            confirmButtonText: '确 定',
699
+            cancelButtonText: '取 消',
700
+            type: 'warning'
701
+         }).then(() => {
702
+            var params = {
703
+              ids:this.ids,
704
+            }
705
+            deleteFirstDisease(params).then(response => {
706
+              if (response.data.state == 1) {
707
+                  var msg = response.data.data.msg
708
+                  this.getlist()
709
+                  this.$message.success("删除成功")
710
+              } else {
711
+                  this.$message.error("删除失败")
712
+              }
713
+            })
714
+          }).catch(() => {
715
+          }) 
716
+      },
717
+      addAction(){
718
+        this.form.title = ""
719
+        this.form.sick_personnel = ""
720
+        this.form.xray = ""
721
+        this.form.admitting_diagnosis = ""
722
+        this.form.discharge_diagnosis = ""
723
+        this.form.diagnosis_admission = ""
724
+        this.form.illness_discharge = ""
725
+        this.form.discharge_advice = ""
726
+        this.form.treatment = ""
727
+        this.form.connecticut = ""
728
+        this.form.nuclear_magnetic_resonance = ""
729
+        this.form.ultrasound = ""
730
+        this.form.pathology = ""
731
+        this.form.admitting_diagnosis_id = ""
732
+        this.form.discharge_diagnosis_id = ""
733
+        this.form.illness_discharge_id = ""
734
+        this.form.discharge_advice_id  =""
735
+        this.form.treatment_id = "" 
736
+        this.form.dean = ""
737
+        this.form.doctor = ""
738
+        this.form.admission_time = this.getTime(new Date())
739
+        this.form.admission_time = this.getTime(new Date()),
740
+        this.form.discharge_time = this.getTime(new Date()),
741
+        this.form.sick_personnel = this.patient.dialysis_no
742
+        this.show_dialog = true
743
+      },
744
+     
745
+    },
746
+    watch: {
747
+      tableData: function() {
748
+        this.$nextTick(function() {
749
+          this.$refs.monthlyPlanTable.setCurrentRow(this.tableData[0])
750
+        })
751
+      }
752
+    },
753
+  
754
+    
755
+  }
756
+</script>
757
+
758
+<style rel="stylesheet/css" lang="scss" scoped>
759
+  .borderBox{
760
+    border: 1px solid #DCDFE6;
761
+    padding: 10px;
762
+    margin-top: 10px;
763
+    border-radius: 4px;
764
+    p{
765
+      font-weight: bold;
766
+      font-size: 20px;
767
+      margin: 10px 0;
768
+    }
769
+  }
770
+  .container {
771
+    margin-left: 180px;
772
+    padding: 20px;
773
+    background: #fff;
774
+    min-height: calc(100vh - 173px);
775
+    margin-bottom: 15px;
776
+
777
+  .record {
778
+    padding-top: 20px;
779
+  }
780
+
781
+  }
782
+  .record_content_panel {
783
+    border-width: 1px;
784
+    border-style: solid;
785
+    border-color: #ebeef5;
786
+    min-height: 200px;
787
+
788
+  .title {
789
+    font-size: 14px;
790
+    font-weight: 500;
791
+    color: #909399;
792
+    line-height: 44px;
793
+    height: 44px;
794
+    text-align: center;
795
+    border-bottom-width: 1px;
796
+    border-bottom-style: solid;
797
+    border-bottom-color: #ebeef5;
798
+  }
799
+
800
+  .content {
801
+    padding: 12px 15px;
802
+    font-size: 15px;
803
+    color: gray;
804
+    line-height: 22px;
805
+  }
806
+
807
+  }
808
+
809
+  .new_record_form {
810
+
811
+  /*/ / padding: 10 px, 25 px;*/
812
+
813
+  .textarea_panel {
814
+    margin-top: 10px;
815
+  }
816
+
817
+  }
818
+</style>
819
+<style>
820
+.el-table td,
821
+.el-table th.is-leaf,
822
+.el-table--border,
823
+.el-table--group {
824
+  border-color: #d0d3da;
825
+}
826
+.el-table--border::after,
827
+.el-table--group::after,
828
+.el-table::before {
829
+  background-color: #d0d3da;
830
+}
831
+.el-select-dropdown {
832
+  max-width: 1000px !important;
833
+}
834
+</style>