Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 4 days ago
parent
commit
c84a20a0a8
35 changed files with 2257 additions and 506 deletions
  1. 94 394
      package-lock.json
  2. 16 0
      src/api/inspection.js
  3. 2 0
      src/router/index_路由未分离前.js
  4. 11 0
      src/router/modules/patient.js
  5. 16 2
      src/xt_pages/Pharmacy/DrugDispensing.vue
  6. 14 0
      src/xt_pages/Pharmacy/PatientDispensing.vue
  7. 11 0
      src/xt_pages/data/components/consumables.vue
  8. 5 0
      src/xt_pages/data/components/drugs.vue
  9. 2 2
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  10. 29 5
      src/xt_pages/dialysis/batch_print/batch_print_order_twentyEight.vue
  11. 4 2
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  12. 1 1
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  13. 43 16
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  14. 20 13
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue
  15. 21 0
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue
  16. 1 1
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  17. 3 3
      src/xt_pages/outpatientDoctorStation/print.vue
  18. 7 2
      src/xt_pages/outpatientDoctorStation/template/prineight.vue
  19. 7 7
      src/xt_pages/outpatientTool/labelPrint.vue
  20. 6 1
      src/xt_pages/stock/drugs/components/drugQuery.vue
  21. 12 7
      src/xt_pages/stock/drugs/drugStockOutOrder.vue
  22. 2 2
      src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue
  23. 39 2
      src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue
  24. 2 2
      src/xt_pages/stock/drugs/drugStockOutOrderEdit.vue
  25. 6 1
      src/xt_pages/stock/query/goodNewQuery.vue
  26. 3 9
      src/xt_pages/stock/stockOutOrderAdd.vue
  27. 38 3
      src/xt_pages/stock/stockOutOrderDetailPrint.vue
  28. 4 3
      src/xt_pages/stock/stockOutOrderEdit.vue
  29. 37 2
      src/xt_pages/user/components/PatientForm.vue
  30. 8 1
      src/xt_pages/user/components/PatientSidebar.vue
  31. 8 1
      src/xt_pages/user/components/PatientSidebar_ord.vue
  32. 1753 0
      src/xt_pages/user/inspection_list.vue
  33. 14 7
      src/xt_pages/workforce/Patientshift.vue
  34. 5 4
      src/xt_pages/workforce/components/editTableData.vue
  35. 13 13
      src/xt_permission.js

+ 94 - 394
package-lock.json View File

@@ -225,14 +225,6 @@
225 225
       "requires": {
226 226
         "mime-types": "~2.1.34",
227 227
         "negotiator": "0.6.3"
228
-      },
229
-      "dependencies": {
230
-        "negotiator": {
231
-          "version": "0.6.3",
232
-          "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
233
-          "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
234
-          "dev": true
235
-        }
236 228
       }
237 229
     },
238 230
     "acorn": {
@@ -2122,15 +2114,15 @@
2122 2114
       }
2123 2115
     },
2124 2116
     "caniuse-db": {
2125
-      "version": "1.0.30001717",
2126
-      "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30001717.tgz",
2127
-      "integrity": "sha512-V0sTnN19lYOQrM19FYGDmITrIH5Gck9dI005H9dVhIE9MEYZIWMBjKdwCeTSqhCf65H6n+ZMRiMz/4j5jq57Iw==",
2117
+      "version": "1.0.30001718",
2118
+      "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30001718.tgz",
2119
+      "integrity": "sha512-XJRbbI1T9yUmA3mqXSmN2Zn7LAoUSvQd//XymssqZcsBI+sR1j87ZPbPQcJsAsR/MKhpa4ZSOs0wf1DDjbUcfQ==",
2128 2120
       "dev": true
2129 2121
     },
2130 2122
     "caniuse-lite": {
2131
-      "version": "1.0.30001717",
2132
-      "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001717.tgz",
2133
-      "integrity": "sha512-auPpttCq6BDEG8ZAuHJIplGw6GODhjw+/11e7IjpnYCxZcW/ONgPs0KVBJ0d1bY3e2+7PRe5RCLyP+PfwVgkYw==",
2123
+      "version": "1.0.30001718",
2124
+      "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001718.tgz",
2125
+      "integrity": "sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==",
2134 2126
       "dev": true
2135 2127
     },
2136 2128
     "canvg": {
@@ -2164,9 +2156,9 @@
2164 2156
       }
2165 2157
     },
2166 2158
     "caseless": {
2167
-      "version": "0.11.0",
2168
-      "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz",
2169
-      "integrity": "sha512-ODLXH644w9C2fMPAm7bMDQ3GRvipZWZfKc+8As6hIadRIelE0n0xZuN38NS6kiK3KPEVrpymmQD8bvncAHWQkQ==",
2159
+      "version": "0.12.0",
2160
+      "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
2161
+      "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==",
2170 2162
       "dev": true
2171 2163
     },
2172 2164
     "center-align": {
@@ -2687,6 +2679,12 @@
2687 2679
         "vary": "~1.1.2"
2688 2680
       },
2689 2681
       "dependencies": {
2682
+        "negotiator": {
2683
+          "version": "0.6.4",
2684
+          "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz",
2685
+          "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==",
2686
+          "dev": true
2687
+        },
2690 2688
         "safe-buffer": {
2691 2689
           "version": "5.2.1",
2692 2690
           "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
@@ -3877,9 +3875,9 @@
3877 3875
       "dev": true
3878 3876
     },
3879 3877
     "electron-to-chromium": {
3880
-      "version": "1.5.151",
3881
-      "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.151.tgz",
3882
-      "integrity": "sha512-Rl6uugut2l9sLojjS4H4SAr3A4IgACMLgpuEMPYCVcKydzfyPrn5absNRju38IhQOf/NwjJY8OGWjlteqYeBCA==",
3878
+      "version": "1.5.152",
3879
+      "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.152.tgz",
3880
+      "integrity": "sha512-xBOfg/EBaIlVsHipHl2VdTPJRSvErNUaqW8ejTq5OlOlIYx1wOllCHsAvAIrr55jD1IYEfdR86miUEt8H5IeJg==",
3883 3881
       "dev": true
3884 3882
     },
3885 3883
     "elegant-spinner": {
@@ -4279,9 +4277,9 @@
4279 4277
           }
4280 4278
         },
4281 4279
         "debug": {
4282
-          "version": "4.4.0",
4283
-          "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
4284
-          "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
4280
+          "version": "4.4.1",
4281
+          "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
4282
+          "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
4285 4283
           "dev": true,
4286 4284
           "requires": {
4287 4285
             "ms": "^2.1.3"
@@ -6103,6 +6101,14 @@
6103 6101
         "caseless": "~0.11.0",
6104 6102
         "concat-stream": "^1.4.6",
6105 6103
         "http-response-object": "^1.0.0"
6104
+      },
6105
+      "dependencies": {
6106
+        "caseless": {
6107
+          "version": "0.11.0",
6108
+          "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz",
6109
+          "integrity": "sha512-ODLXH644w9C2fMPAm7bMDQ3GRvipZWZfKc+8As6hIadRIelE0n0xZuN38NS6kiK3KPEVrpymmQD8bvncAHWQkQ==",
6110
+          "dev": true
6111
+        }
6106 6112
       }
6107 6113
     },
6108 6114
     "http-deceiver": {
@@ -6416,188 +6422,6 @@
6416 6422
       "dev": true,
6417 6423
       "requires": {
6418 6424
         "meow": "^3.3.0"
6419
-      },
6420
-      "dependencies": {
6421
-        "camelcase": {
6422
-          "version": "2.1.1",
6423
-          "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
6424
-          "integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==",
6425
-          "dev": true
6426
-        },
6427
-        "camelcase-keys": {
6428
-          "version": "2.1.0",
6429
-          "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
6430
-          "integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==",
6431
-          "dev": true,
6432
-          "requires": {
6433
-            "camelcase": "^2.0.0",
6434
-            "map-obj": "^1.0.0"
6435
-          }
6436
-        },
6437
-        "find-up": {
6438
-          "version": "1.1.2",
6439
-          "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
6440
-          "integrity": "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==",
6441
-          "dev": true,
6442
-          "requires": {
6443
-            "path-exists": "^2.0.0",
6444
-            "pinkie-promise": "^2.0.0"
6445
-          }
6446
-        },
6447
-        "hosted-git-info": {
6448
-          "version": "2.8.9",
6449
-          "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
6450
-          "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
6451
-          "dev": true
6452
-        },
6453
-        "indent-string": {
6454
-          "version": "2.1.0",
6455
-          "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
6456
-          "integrity": "sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==",
6457
-          "dev": true,
6458
-          "requires": {
6459
-            "repeating": "^2.0.0"
6460
-          }
6461
-        },
6462
-        "load-json-file": {
6463
-          "version": "1.1.0",
6464
-          "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
6465
-          "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==",
6466
-          "dev": true,
6467
-          "requires": {
6468
-            "graceful-fs": "^4.1.2",
6469
-            "parse-json": "^2.2.0",
6470
-            "pify": "^2.0.0",
6471
-            "pinkie-promise": "^2.0.0",
6472
-            "strip-bom": "^2.0.0"
6473
-          }
6474
-        },
6475
-        "map-obj": {
6476
-          "version": "1.0.1",
6477
-          "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
6478
-          "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==",
6479
-          "dev": true
6480
-        },
6481
-        "meow": {
6482
-          "version": "3.7.0",
6483
-          "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
6484
-          "integrity": "sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==",
6485
-          "dev": true,
6486
-          "requires": {
6487
-            "camelcase-keys": "^2.0.0",
6488
-            "decamelize": "^1.1.2",
6489
-            "loud-rejection": "^1.0.0",
6490
-            "map-obj": "^1.0.1",
6491
-            "minimist": "^1.1.3",
6492
-            "normalize-package-data": "^2.3.4",
6493
-            "object-assign": "^4.0.1",
6494
-            "read-pkg-up": "^1.0.1",
6495
-            "redent": "^1.0.0",
6496
-            "trim-newlines": "^1.0.0"
6497
-          }
6498
-        },
6499
-        "normalize-package-data": {
6500
-          "version": "2.5.0",
6501
-          "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
6502
-          "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
6503
-          "dev": true,
6504
-          "requires": {
6505
-            "hosted-git-info": "^2.1.4",
6506
-            "resolve": "^1.10.0",
6507
-            "semver": "2 || 3 || 4 || 5",
6508
-            "validate-npm-package-license": "^3.0.1"
6509
-          }
6510
-        },
6511
-        "parse-json": {
6512
-          "version": "2.2.0",
6513
-          "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
6514
-          "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==",
6515
-          "dev": true,
6516
-          "requires": {
6517
-            "error-ex": "^1.2.0"
6518
-          }
6519
-        },
6520
-        "path-exists": {
6521
-          "version": "2.1.0",
6522
-          "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
6523
-          "integrity": "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==",
6524
-          "dev": true,
6525
-          "requires": {
6526
-            "pinkie-promise": "^2.0.0"
6527
-          }
6528
-        },
6529
-        "path-type": {
6530
-          "version": "1.1.0",
6531
-          "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
6532
-          "integrity": "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==",
6533
-          "dev": true,
6534
-          "requires": {
6535
-            "graceful-fs": "^4.1.2",
6536
-            "pify": "^2.0.0",
6537
-            "pinkie-promise": "^2.0.0"
6538
-          }
6539
-        },
6540
-        "pify": {
6541
-          "version": "2.3.0",
6542
-          "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
6543
-          "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
6544
-          "dev": true
6545
-        },
6546
-        "read-pkg": {
6547
-          "version": "1.1.0",
6548
-          "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
6549
-          "integrity": "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==",
6550
-          "dev": true,
6551
-          "requires": {
6552
-            "load-json-file": "^1.0.0",
6553
-            "normalize-package-data": "^2.3.2",
6554
-            "path-type": "^1.0.0"
6555
-          }
6556
-        },
6557
-        "read-pkg-up": {
6558
-          "version": "1.0.1",
6559
-          "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
6560
-          "integrity": "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==",
6561
-          "dev": true,
6562
-          "requires": {
6563
-            "find-up": "^1.0.0",
6564
-            "read-pkg": "^1.0.0"
6565
-          }
6566
-        },
6567
-        "redent": {
6568
-          "version": "1.0.0",
6569
-          "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
6570
-          "integrity": "sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==",
6571
-          "dev": true,
6572
-          "requires": {
6573
-            "indent-string": "^2.1.0",
6574
-            "strip-indent": "^1.0.1"
6575
-          }
6576
-        },
6577
-        "strip-bom": {
6578
-          "version": "2.0.0",
6579
-          "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
6580
-          "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==",
6581
-          "dev": true,
6582
-          "requires": {
6583
-            "is-utf8": "^0.2.0"
6584
-          }
6585
-        },
6586
-        "strip-indent": {
6587
-          "version": "1.0.1",
6588
-          "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
6589
-          "integrity": "sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==",
6590
-          "dev": true,
6591
-          "requires": {
6592
-            "get-stdin": "^4.0.1"
6593
-          }
6594
-        },
6595
-        "trim-newlines": {
6596
-          "version": "1.0.0",
6597
-          "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
6598
-          "integrity": "sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw==",
6599
-          "dev": true
6600
-        }
6601 6425
       }
6602 6426
     },
6603 6427
     "internal-slot": {
@@ -7631,15 +7455,16 @@
7631 7455
       }
7632 7456
     },
7633 7457
     "load-json-file": {
7634
-      "version": "2.0.0",
7635
-      "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
7636
-      "integrity": "sha512-3p6ZOGNbiX4CdvEd1VcE6yi78UrGNpjHO33noGwHCnT/o2fyllJDepsm8+mFFv/DvtwFHht5HIHSyOy5a+ChVQ==",
7458
+      "version": "1.1.0",
7459
+      "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
7460
+      "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==",
7637 7461
       "dev": true,
7638 7462
       "requires": {
7639 7463
         "graceful-fs": "^4.1.2",
7640 7464
         "parse-json": "^2.2.0",
7641 7465
         "pify": "^2.0.0",
7642
-        "strip-bom": "^3.0.0"
7466
+        "pinkie-promise": "^2.0.0",
7467
+        "strip-bom": "^2.0.0"
7643 7468
       },
7644 7469
       "dependencies": {
7645 7470
         "parse-json": {
@@ -8238,9 +8063,9 @@
8238 8063
       "dev": true
8239 8064
     },
8240 8065
     "negotiator": {
8241
-      "version": "0.6.4",
8242
-      "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz",
8243
-      "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==",
8066
+      "version": "0.6.3",
8067
+      "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
8068
+      "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
8244 8069
       "dev": true
8245 8070
     },
8246 8071
     "neo-async": {
@@ -12043,13 +11868,10 @@
12043 11868
       "integrity": "sha512-+Y4HA+cb6qUzdgvI3KML8GYpMFwB24dFwzMkS/yXq6hwtUGNUnZQdUnksrV1XGMc2mid5ROw5SAuY9XhI3ValA=="
12044 11869
     },
12045 11870
     "qs": {
12046
-      "version": "6.14.0",
12047
-      "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
12048
-      "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
12049
-      "dev": true,
12050
-      "requires": {
12051
-        "side-channel": "^1.1.0"
12052
-      }
11871
+      "version": "6.5.3",
11872
+      "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
11873
+      "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==",
11874
+      "dev": true
12053 11875
     },
12054 11876
     "query-string": {
12055 11877
       "version": "4.3.4",
@@ -12250,28 +12072,6 @@
12250 12072
         "path-type": "^1.0.0"
12251 12073
       },
12252 12074
       "dependencies": {
12253
-        "load-json-file": {
12254
-          "version": "1.1.0",
12255
-          "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
12256
-          "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==",
12257
-          "dev": true,
12258
-          "requires": {
12259
-            "graceful-fs": "^4.1.2",
12260
-            "parse-json": "^2.2.0",
12261
-            "pify": "^2.0.0",
12262
-            "pinkie-promise": "^2.0.0",
12263
-            "strip-bom": "^2.0.0"
12264
-          }
12265
-        },
12266
-        "parse-json": {
12267
-          "version": "2.2.0",
12268
-          "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
12269
-          "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==",
12270
-          "dev": true,
12271
-          "requires": {
12272
-            "error-ex": "^1.2.0"
12273
-          }
12274
-        },
12275 12075
         "path-type": {
12276 12076
           "version": "1.1.0",
12277 12077
           "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
@@ -12288,15 +12088,6 @@
12288 12088
           "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
12289 12089
           "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
12290 12090
           "dev": true
12291
-        },
12292
-        "strip-bom": {
12293
-          "version": "2.0.0",
12294
-          "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
12295
-          "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==",
12296
-          "dev": true,
12297
-          "requires": {
12298
-            "is-utf8": "^0.2.0"
12299
-          }
12300 12091
         }
12301 12092
       }
12302 12093
     },
@@ -12658,20 +12449,6 @@
12658 12449
         "tough-cookie": "~2.5.0",
12659 12450
         "tunnel-agent": "^0.6.0",
12660 12451
         "uuid": "^3.3.2"
12661
-      },
12662
-      "dependencies": {
12663
-        "caseless": {
12664
-          "version": "0.12.0",
12665
-          "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
12666
-          "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==",
12667
-          "dev": true
12668
-        },
12669
-        "qs": {
12670
-          "version": "6.5.3",
12671
-          "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
12672
-          "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==",
12673
-          "dev": true
12674
-        }
12675 12452
       }
12676 12453
     },
12677 12454
     "require-directory": {
@@ -13735,9 +13512,9 @@
13735 13512
       },
13736 13513
       "dependencies": {
13737 13514
         "debug": {
13738
-          "version": "4.4.0",
13739
-          "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
13740
-          "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
13515
+          "version": "4.4.1",
13516
+          "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
13517
+          "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
13741 13518
           "dev": true,
13742 13519
           "requires": {
13743 13520
             "ms": "^2.1.3"
@@ -13766,9 +13543,9 @@
13766 13543
       },
13767 13544
       "dependencies": {
13768 13545
         "debug": {
13769
-          "version": "4.4.0",
13770
-          "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
13771
-          "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
13546
+          "version": "4.4.1",
13547
+          "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
13548
+          "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
13772 13549
           "dev": true,
13773 13550
           "requires": {
13774 13551
             "ms": "^2.1.3"
@@ -14054,10 +13831,13 @@
14054 13831
       "integrity": "sha512-behete+3uqxecWlDAm5lmskaSaISA+ThQ4oNNBDTBJt0x2ppR6IPqfZNuj6BLaLJ/Sji4TPZlcRyOis8wXQTLg=="
14055 13832
     },
14056 13833
     "strip-bom": {
14057
-      "version": "3.0.0",
14058
-      "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
14059
-      "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
14060
-      "dev": true
13834
+      "version": "2.0.0",
13835
+      "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
13836
+      "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==",
13837
+      "dev": true,
13838
+      "requires": {
13839
+        "is-utf8": "^0.2.0"
13840
+      }
14061 13841
     },
14062 13842
     "strip-eof": {
14063 13843
       "version": "1.0.0",
@@ -14431,6 +14211,14 @@
14431 14211
         "http-response-object": "^1.1.0",
14432 14212
         "promise": "^7.1.1",
14433 14213
         "qs": "^6.1.0"
14214
+      },
14215
+      "dependencies": {
14216
+        "caseless": {
14217
+          "version": "0.11.0",
14218
+          "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz",
14219
+          "integrity": "sha512-ODLXH644w9C2fMPAm7bMDQ3GRvipZWZfKc+8As6hIadRIelE0n0xZuN38NS6kiK3KPEVrpymmQD8bvncAHWQkQ==",
14220
+          "dev": true
14221
+        }
14434 14222
       }
14435 14223
     },
14436 14224
     "throttle-debounce": {
@@ -15014,6 +14802,15 @@
15014 14802
           "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
15015 14803
           "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==",
15016 14804
           "dev": true
14805
+        },
14806
+        "qs": {
14807
+          "version": "6.14.0",
14808
+          "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
14809
+          "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
14810
+          "dev": true,
14811
+          "requires": {
14812
+            "side-channel": "^1.1.0"
14813
+          }
15017 14814
         }
15018 14815
       }
15019 14816
     },
@@ -15616,12 +15413,6 @@
15616 15413
           "integrity": "sha512-P+1n3MnwjR/Epg9BBo1KT8qbye2g2Ou4sFumihwt6I4tsUX7jnLcX4BTOSKg/B1ZrIYMN9FcEnG4x5a7NB8Eng==",
15617 15414
           "dev": true
15618 15415
         },
15619
-        "hosted-git-info": {
15620
-          "version": "2.8.9",
15621
-          "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
15622
-          "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
15623
-          "dev": true
15624
-        },
15625 15416
         "is-fullwidth-code-point": {
15626 15417
           "version": "1.0.0",
15627 15418
           "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
@@ -15643,16 +15434,25 @@
15643 15434
           "integrity": "sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw==",
15644 15435
           "dev": true
15645 15436
         },
15646
-        "normalize-package-data": {
15647
-          "version": "2.5.0",
15648
-          "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
15649
-          "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
15437
+        "load-json-file": {
15438
+          "version": "2.0.0",
15439
+          "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
15440
+          "integrity": "sha512-3p6ZOGNbiX4CdvEd1VcE6yi78UrGNpjHO33noGwHCnT/o2fyllJDepsm8+mFFv/DvtwFHht5HIHSyOy5a+ChVQ==",
15441
+          "dev": true,
15442
+          "requires": {
15443
+            "graceful-fs": "^4.1.2",
15444
+            "parse-json": "^2.2.0",
15445
+            "pify": "^2.0.0",
15446
+            "strip-bom": "^3.0.0"
15447
+          }
15448
+        },
15449
+        "parse-json": {
15450
+          "version": "2.2.0",
15451
+          "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
15452
+          "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==",
15650 15453
           "dev": true,
15651 15454
           "requires": {
15652
-            "hosted-git-info": "^2.1.4",
15653
-            "resolve": "^1.10.0",
15654
-            "semver": "2 || 3 || 4 || 5",
15655
-            "validate-npm-package-license": "^3.0.1"
15455
+            "error-ex": "^1.2.0"
15656 15456
           }
15657 15457
         },
15658 15458
         "path-type": {
@@ -15706,6 +15506,12 @@
15706 15506
             "ansi-regex": "^2.0.0"
15707 15507
           }
15708 15508
         },
15509
+        "strip-bom": {
15510
+          "version": "3.0.0",
15511
+          "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
15512
+          "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
15513
+          "dev": true
15514
+        },
15709 15515
         "supports-color": {
15710 15516
           "version": "4.5.0",
15711 15517
           "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",
@@ -16031,16 +15837,6 @@
16031 15837
             "ms": "^2.1.1"
16032 15838
           }
16033 15839
         },
16034
-        "find-up": {
16035
-          "version": "1.1.2",
16036
-          "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
16037
-          "integrity": "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==",
16038
-          "dev": true,
16039
-          "requires": {
16040
-            "path-exists": "^2.0.0",
16041
-            "pinkie-promise": "^2.0.0"
16042
-          }
16043
-        },
16044 15840
         "fsevents": {
16045 15841
           "version": "1.2.13",
16046 15842
           "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
@@ -16072,12 +15868,6 @@
16072 15868
             }
16073 15869
           }
16074 15870
         },
16075
-        "hosted-git-info": {
16076
-          "version": "2.8.9",
16077
-          "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
16078
-          "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
16079
-          "dev": true
16080
-        },
16081 15871
         "is-binary-path": {
16082 15872
           "version": "1.0.1",
16083 15873
           "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
@@ -16096,37 +15886,12 @@
16096 15886
             "number-is-nan": "^1.0.0"
16097 15887
           }
16098 15888
         },
16099
-        "load-json-file": {
16100
-          "version": "1.1.0",
16101
-          "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
16102
-          "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==",
16103
-          "dev": true,
16104
-          "requires": {
16105
-            "graceful-fs": "^4.1.2",
16106
-            "parse-json": "^2.2.0",
16107
-            "pify": "^2.0.0",
16108
-            "pinkie-promise": "^2.0.0",
16109
-            "strip-bom": "^2.0.0"
16110
-          }
16111
-        },
16112 15889
         "ms": {
16113 15890
           "version": "2.1.3",
16114 15891
           "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
16115 15892
           "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
16116 15893
           "dev": true
16117 15894
         },
16118
-        "normalize-package-data": {
16119
-          "version": "2.5.0",
16120
-          "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
16121
-          "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
16122
-          "dev": true,
16123
-          "requires": {
16124
-            "hosted-git-info": "^2.1.4",
16125
-            "resolve": "^1.10.0",
16126
-            "semver": "2 || 3 || 4 || 5",
16127
-            "validate-npm-package-license": "^3.0.1"
16128
-          }
16129
-        },
16130 15895
         "os-locale": {
16131 15896
           "version": "1.4.0",
16132 15897
           "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
@@ -16136,62 +15901,6 @@
16136 15901
             "lcid": "^1.0.0"
16137 15902
           }
16138 15903
         },
16139
-        "parse-json": {
16140
-          "version": "2.2.0",
16141
-          "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
16142
-          "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==",
16143
-          "dev": true,
16144
-          "requires": {
16145
-            "error-ex": "^1.2.0"
16146
-          }
16147
-        },
16148
-        "path-exists": {
16149
-          "version": "2.1.0",
16150
-          "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
16151
-          "integrity": "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==",
16152
-          "dev": true,
16153
-          "requires": {
16154
-            "pinkie-promise": "^2.0.0"
16155
-          }
16156
-        },
16157
-        "path-type": {
16158
-          "version": "1.1.0",
16159
-          "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
16160
-          "integrity": "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==",
16161
-          "dev": true,
16162
-          "requires": {
16163
-            "graceful-fs": "^4.1.2",
16164
-            "pify": "^2.0.0",
16165
-            "pinkie-promise": "^2.0.0"
16166
-          }
16167
-        },
16168
-        "pify": {
16169
-          "version": "2.3.0",
16170
-          "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
16171
-          "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
16172
-          "dev": true
16173
-        },
16174
-        "read-pkg": {
16175
-          "version": "1.1.0",
16176
-          "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
16177
-          "integrity": "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==",
16178
-          "dev": true,
16179
-          "requires": {
16180
-            "load-json-file": "^1.0.0",
16181
-            "normalize-package-data": "^2.3.2",
16182
-            "path-type": "^1.0.0"
16183
-          }
16184
-        },
16185
-        "read-pkg-up": {
16186
-          "version": "1.0.1",
16187
-          "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
16188
-          "integrity": "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==",
16189
-          "dev": true,
16190
-          "requires": {
16191
-            "find-up": "^1.0.0",
16192
-            "read-pkg": "^1.0.0"
16193
-          }
16194
-        },
16195 15904
         "readdirp": {
16196 15905
           "version": "2.2.1",
16197 15906
           "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
@@ -16223,15 +15932,6 @@
16223 15932
             "ansi-regex": "^2.0.0"
16224 15933
           }
16225 15934
         },
16226
-        "strip-bom": {
16227
-          "version": "2.0.0",
16228
-          "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
16229
-          "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==",
16230
-          "dev": true,
16231
-          "requires": {
16232
-            "is-utf8": "^0.2.0"
16233
-          }
16234
-        },
16235 15935
         "which-module": {
16236 15936
           "version": "1.0.0",
16237 15937
           "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",

+ 16 - 0
src/api/inspection.js View File

@@ -138,6 +138,22 @@ export function getinspectionchildlist(params){
138 138
 }
139 139
 
140 140
 
141
+export function getMajorInpsectionList(patient_id,params){
142
+  
143
+  return request({
144
+    url:"/api/patient/getmajorinpsectionlist?patient_id="+patient_id,
145
+    method:"get",
146
+    params:params,
147
+  })
148
+}
141 149
 
150
+export function getPatientInsepctionList(project_id,patient_id,limit,page){
151
+ 
152
+  return request({
153
+    url:"/api/patient/getpatientinspectionlist?project_id="+project_id+"&patient_id="+patient_id+"&limit"+limit+"&page="+page,
154
+    method:"get",
155
+    params:params
156
+  })
157
+}
142 158
 
143 159
 

+ 2 - 0
src/router/index_路由未分离前.js View File

@@ -638,6 +638,8 @@ export const xt_asyncRouterMap = [
638 638
         name: 'Inspection',
639 639
         meta: { title: 'inspection', noCache: true }
640 640
       },
641
+
642
+     
641 643
       
642 644
       {
643 645
         path: '/',

+ 11 - 0
src/router/modules/patient.js View File

@@ -149,6 +149,17 @@ export default {
149 149
       title: 'inspection',
150 150
       noCache: true
151 151
     }
152
+  },
153
+   {//新
154
+    path: '/patients/inspection/list',
155
+    component: () => import('@/xt_pages/user/inspection_list'),
156
+    hidden: true,
157
+    is_menu: false,
158
+    name: 'InspectionList',
159
+    meta: {
160
+      title: 'InspectionList',
161
+      noCache: true
162
+    }
152 163
   },
153 164
   {
154 165
     path: '/patients/newInspection',

+ 16 - 2
src/xt_pages/Pharmacy/DrugDispensing.vue View File

@@ -700,8 +700,22 @@ export default {
700 700
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
701 701
       if (event.key === 'Enter') {
702 702
 
703
-        var textarea = ""
704
-        textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
703
+        // var textarea = ""
704
+        // textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
705
+
706
+        var  textAreaList = this.textarea.split(",")
707
+          var textarea = ""
708
+          textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
709
+          var  parts = textarea.split(',')
710
+          for(let i=0;i<textAreaList.length;i++){
711
+            if(parts[parts.length-2] == textAreaList[i]){
712
+                this.$message.error("该条码已经存在,不能重复扫码")
713
+            }
714
+          }
715
+
716
+          const uniqueStr = [...new Set(textarea.split(','))].join(',');
717
+
718
+          var textarea = uniqueStr
705 719
 
706 720
 
707 721
         if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278 || this.$store.getters.xt_user.org.id == 10610 || this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10726){

+ 14 - 0
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -1350,8 +1350,22 @@ export default {
1350 1350
         // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1351 1351
         if (event.key === 'Enter') {
1352 1352
 
1353
+          // var textarea = ""
1354
+          // textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1355
+          var  textAreaList = this.textarea.split(",")
1353 1356
           var textarea = ""
1354 1357
           textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1358
+          var  parts = textarea.split(',')
1359
+          for(let i=0;i<textAreaList.length;i++){
1360
+            if(parts[parts.length-2] == textAreaList[i]){
1361
+                this.$message.error("该条码已经存在,不能重复扫码")
1362
+            }
1363
+          }
1364
+
1365
+          const uniqueStr = [...new Set(textarea.split(','))].join(',');
1366
+
1367
+          var textarea = uniqueStr
1368
+        
1355 1369
 
1356 1370
           if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278|| this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10610 || this.$store.getters.xt_user.org.id == 10726){
1357 1371
 

+ 11 - 0
src/xt_pages/data/components/consumables.vue View File

@@ -104,6 +104,11 @@
104 104
           width="55">
105 105
       </el-table-column>
106 106
       <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
107
+      <el-table-column label="耗材ID号" align="center">
108
+        <template slot-scope="scope">
109
+          {{ scope.row.id }}
110
+        </template>
111
+      </el-table-column>
107 112
       <el-table-column label="耗材名称" align="center">
108 113
         <template slot-scope="scope">
109 114
           {{ scope.row.good_name }}
@@ -137,6 +142,12 @@
137 142
           {{ getGoodUnit(scope.row.good_unit) }}
138 143
         </template>
139 144
       </el-table-column> -->
145
+
146
+      <el-table-column label="进货价" width="100" align="center">
147
+        <template slot-scope="scope">
148
+          {{ scope.row.buy_price }}
149
+        </template>
150
+      </el-table-column>
140 151
       <el-table-column label="零售价" width="100" align="center">
141 152
         <template slot-scope="scope">
142 153
           {{ scope.row.packing_price }}

+ 5 - 0
src/xt_pages/data/components/drugs.vue View File

@@ -93,6 +93,11 @@
93 93
        ></el-table-column>
94 94
       <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
95 95
 
96
+      <el-table-column prop="date" label="药品ID号" align="center" >
97
+        <template slot-scope="scope">
98
+          <div>{{scope.row.id}}</div>
99
+        </template>
100
+      </el-table-column>
96 101
       <el-table-column prop="date" label="药品名称" align="center" >
97 102
         <template slot-scope="scope">
98 103
           <div>{{scope.row.drug_name}}</div>

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1262,12 +1262,12 @@
1262 1262
                             <span v-if="org_id != 10683">置换量</span>
1263 1263
                             <span v-if="org_id == 10683">置换液速度</span>
1264 1264
                             <br />
1265
-                            <span v-if="org_id != 10598 && org_id != 10567 && org_id != 10724 && org_id != 10644 && org_id != 10414">
1265
+                            <span v-if="org_id != 10598 && org_id != 10567 && org_id != 10724 && org_id != 10644 && org_id != 10414&& org_id != 10471">
1266 1266
                               <span v-if="org_id != 0 && org_id != 10683">(ml)</span>
1267 1267
                               <span v-if="org_id == 0 || org_id == 10683">(ml/h)</span>
1268 1268
                             </span>
1269 1269
                             <span
1270
-                              v-if="org_id == 10598 || org_id == 10567 || org_id == 10724 || org_id == 10644 || org_id ==10414">L</span>
1270
+                              v-if="org_id == 10598 || org_id == 10567 || org_id == 10724 || org_id == 10644 || org_id ==10414 || org_id == 10471">L</span>
1271 1271
                           </td>
1272 1272
                           <td v-if="org_id == 3877 || org_id == 10449" width="50">滤前压(mmHg)</td>
1273 1273
                           <td width="50" v-if="

+ 29 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_twentyEight.vue View File

@@ -1031,7 +1031,7 @@
1031 1031
                       <table class="table-box">
1032 1032
                         <tbody>
1033 1033
                           <tr>
1034
-                            <td width="40">肝素:</td>
1034
+                            <!-- <td width="40">肝素:</td> -->
1035 1035
                             <td width="75">
1036 1036
                               <label-box
1037 1037
                                 :isChecked="
@@ -1109,12 +1109,24 @@
1109 1109
                                 showValue="普通肝素:"
1110 1110
                               ></label-box>
1111 1111
                             </td>
1112
+
1113
+                            <td width="80">
1114
+                              <label-box
1115
+                                :isChecked="
1116
+                                  record.prescription.anticoagulant == 15
1117
+                                    ? true
1118
+                                    : false
1119
+                                "
1120
+                                showValue="甲磺酸萘莫司他:"
1121
+                              ></label-box>
1122
+                            </td>
1123
+
1112 1124
                             <td width="35">首剂</td>
1113 1125
                             <td width="40">
1114 1126
                               <div class="under-line">
1115 1127
                                 &nbsp;
1116 1128
                                 <span
1117
-                                  v-if="record.prescription.anticoagulant == 2"
1129
+                                  v-if="record.prescription.anticoagulant == 2 || record.prescription.anticoagulant == 15"
1118 1130
                                   >{{
1119 1131
                                     record.prescription.anticoagulant_shouji
1120 1132
                                   }}</span
@@ -1150,6 +1162,10 @@
1150 1162
                                 v-if="record.prescription.anticoagulant == 1"
1151 1163
                                 >mg</span
1152 1164
                               >
1165
+                              <span
1166
+                                v-if="record.prescription.anticoagulant == 15"
1167
+                                >mg</span
1168
+                              >
1153 1169
                             </td>
1154 1170
                             <td width="10"></td>
1155 1171
                             <td width="35">追加</td>
@@ -1157,7 +1173,7 @@
1157 1173
                               <div class="under-line">
1158 1174
                                 &nbsp;
1159 1175
                                 <span
1160
-                                  v-if="record.prescription.anticoagulant == 2"
1176
+                                  v-if="record.prescription.anticoagulant == 2|| record.prescription.anticoagulant == 15"
1161 1177
                                   >{{
1162 1178
                                     record.prescription.anticoagulant_weichi
1163 1179
                                       ? record.prescription.anticoagulant_weichi
@@ -1195,6 +1211,10 @@
1195 1211
                                 v-if="record.prescription.anticoagulant == 1"
1196 1212
                                 >mg/h</span
1197 1213
                               >
1214
+                              <span
1215
+                                v-if="record.prescription.anticoagulant == 15"
1216
+                                >mg/h</span
1217
+                              >
1198 1218
                             </td>
1199 1219
 
1200 1220
                             <td width="35">总量:</td>
@@ -1202,7 +1222,7 @@
1202 1222
                               <div class="under-line">
1203 1223
                                 &nbsp;
1204 1224
                                 <span
1205
-                                  v-if="record.prescription.anticoagulant == 2"
1225
+                                  v-if="record.prescription.anticoagulant == 2 || record.prescription.anticoagulant == 15"
1206 1226
                                   >{{
1207 1227
                                     record.prescription.anticoagulant_zongliang
1208 1228
                                       ? record.prescription
@@ -1241,8 +1261,12 @@
1241 1261
                                 v-if="record.prescription.anticoagulant == 1"
1242 1262
                                 >mg</span
1243 1263
                               >
1264
+                              <span
1265
+                                v-if="record.prescription.anticoagulant == 15"
1266
+                                >mg</span
1267
+                              >
1244 1268
                             </td>
1245
-                            <td width="40"></td>
1269
+                            <!-- <td width="40"></td> -->
1246 1270
                           </tr>
1247 1271
                         </tbody>
1248 1272
                       </table>

+ 4 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -1077,8 +1077,10 @@ export default {
1077 1077
     },
1078 1078
     'form.additional_weight':function(){
1079 1079
       if(this.predialysis_evaluation!=null){
1080
-
1081
-         this.form.additional_weight = this.predialysis_evaluation.additional_weight
1080
+         if(this.form.additional_weight == "" || this.form.additional_weight == 0){
1081
+          this.form.additional_weight = this.predialysis_evaluation.additional_weight
1082
+         }
1083
+         
1082 1084
        }
1083 1085
     },
1084 1086
     'form.after_weight':function(){

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -3113,7 +3113,7 @@ mu
3113 3113
             } else if (schedual.schedule_type == 3) {
3114 3114
               this.start_time = year + '-' + month + '-' + day + ' ' + '17:30'
3115 3115
             }
3116
-           }else if(this.$store.getters.xt_user.org.id == 10745){
3116
+           }else if(this.$store.getters.xt_user.org.id == 10744){
3117 3117
               if (schedual.schedule_type == 1) {
3118 3118
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
3119 3119
             } else if (schedual.schedule_type == 2) {

+ 43 - 16
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1440,11 +1440,11 @@
1440 1440
                             <span v-if="org_id != 10683">置换量</span>
1441 1441
                             <br />
1442 1442
                             <span
1443
-                              v-if="org_id != 10598 && org_id != 10567 && org_id != 10724 && org_id != 10644 && org_id != 10353 && org_id != 10414 && org_id!=10744">
1443
+                              v-if="org_id != 10598 && org_id != 10567 && org_id != 10724 && org_id != 10644 && org_id != 10353 && org_id != 10414 && org_id!=10744 && org_id!=10471">
1444 1444
                               <span v-if="org_id != 0 && org_id != 10683">(ml)</span>
1445 1445
                               <span v-if="org_id == 10683">(ml/h)</span>
1446 1446
                             </span>
1447
-                            <span v-if="org_id == 10598 || org_id == 10567 || org_id == 10724 || org_id == 10644 || org_id == 10353 || org_id == 10414 || org_id == 10744">(L)</span>
1447
+                            <span v-if="org_id == 10598 || org_id == 10567 || org_id == 10724 || org_id == 10644 || org_id == 10353 || org_id == 10414 || org_id == 10744 || org_id == 10471">(L)</span>
1448 1448
                           </td>
1449 1449
                           <td width="50" v-if="org_id == 3877 || org_id == 10449">滤前压(mmHg)</td>
1450 1450
                           <td width="50"
@@ -1465,20 +1465,29 @@
1465 1465
                             {{ monitor.temperature ? monitor.temperature : "" }}
1466 1466
                           </td>
1467 1467
                           <td>
1468
-                            <span v-if="org_id!=9478">
1468
+                            <span v-if="org_id!=9478 && org_id!=10744">
1469 1469
                               {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}
1470 1470
                               {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
1471 1471
                             </span>
1472 1472
 
1473
-                            <span v-if="org_id == 9478">
1473
+                            <span v-if="org_id == 9478 || org_id == 10744">
1474 1474
                               {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}
1475 1475
                               {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "拒测" }}
1476 1476
                             </span>
1477 1477
                             
1478 1478
                           </td>
1479
-                          <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}</td>
1480
-                          <td v-if="org_id != 10489">{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}</td>
1481
-                          <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
1479
+                          <td>
1480
+                            <span v-if="org_id ==10744"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</span>
1481
+                            <span v-if="org_id !=10744"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}</span>
1482
+                          </td>
1483
+                          <td v-if="org_id != 10489">
1484
+                            <span  v-if="org_id ==10744"> {{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</span>
1485
+                            <span  v-if="org_id !=10744"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}</span>
1486
+                          </td>
1487
+                          <td>
1488
+                           <span v-if="org_id ==10744">  {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</span>
1489
+                           <span v-if="org_id !=10744">  {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</span>
1490
+                          </td>
1482 1491
                           <td v-if="org_id == 10478 || org_id == 10598 || org_id == 10510 || org_id == 10735 || org_id == 10744">
1483 1492
                             {{
1484 1493
                               monitor.arterial_pressure
@@ -1487,14 +1496,14 @@
1487 1496
                             }}
1488 1497
                           </td>
1489 1498
                           <td>
1490
-                            <span v-if="org_id == 10551">
1499
+                            <span v-if="org_id == 10551 || org_id ==10744">
1491 1500
                               {{
1492 1501
                                 monitor.venous_pressure
1493 1502
                                   ? monitor.venous_pressure
1494 1503
                                   : "/"
1495 1504
                               }}
1496 1505
                             </span>
1497
-                            <span v-if="org_id != 10551">
1506
+                            <span v-if="org_id != 10551 && org_id!=10744">
1498 1507
                               {{
1499 1508
                                 monitor.venous_pressure
1500 1509
                                   ? monitor.venous_pressure
@@ -1511,11 +1520,18 @@
1511 1520
                               (dialysisOrder &&
1512 1521
                                 monitor.operate_time < dialysisOrder.start_time)
1513 1522
                             ">
1514
-                              {{
1523
+                             <span v-if="org_id == 10744">{{
1524
+                                monitor.transmembrane_pressure
1525
+                                  ? monitor.transmembrane_pressure
1526
+                                  : "/"
1527
+                              }}
1528
+                              </span>  
1529
+                              <span v-if="org_id != 10744">{{
1515 1530
                                 monitor.transmembrane_pressure
1516 1531
                                   ? monitor.transmembrane_pressure
1517 1532
                                   : ""
1518 1533
                               }}
1534
+                              </span>  
1519 1535
                             </span>
1520 1536
                             <span v-if="
1521 1537
                               dialysisOrder &&
@@ -1523,11 +1539,20 @@
1523 1539
                               dialysisOrder &&
1524 1540
                               monitor.operate_time >= dialysisOrder.start_time
1525 1541
                             ">
1542
+                             <span v-if="org_id == 10744">
1543
+                              {{
1544
+                                monitor.transmembrane_pressure
1545
+                                  ? monitor.transmembrane_pressure
1546
+                                  : "/"
1547
+                              }}
1548
+                             </span> 
1549
+                             <span v-if="org_id != 10744">
1526 1550
                               {{
1527 1551
                                 monitor.transmembrane_pressure
1528 1552
                                   ? monitor.transmembrane_pressure
1529 1553
                                   : ""
1530 1554
                               }}
1555
+                             </span> 
1531 1556
                             </span>
1532 1557
                           </td>
1533 1558
                           <td v-if="org_id == 9919">
@@ -1542,12 +1567,13 @@
1542 1567
                           </td>
1543 1568
 
1544 1569
                           <td v-if="org_id != 9919 && org_id != 9671 && org_id != 9836 && org_id != 10644">
1545
-                            {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
1570
+                             <span v-if="org_id == 10744"> {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "/" }}</span>
1571
+                             <span v-if="org_id!=10744"> {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</span>
1546 1572
                           </td>
1547 1573
 
1548 1574
 
1549 1575
                           <td v-if="org_id == 10121">
1550
-                            {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }}
1576
+                            {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "/" }}
1551 1577
                           </td>
1552 1578
 
1553 1579
                           <td v-if="org_id == 9538">
@@ -1559,11 +1585,12 @@
1559 1585
                             v-if="org_id != 9538 && org_id != 10121 && org_id != 10600 && org_id != 10644 && org_id != 10735">
1560 1586
                             <span
1561 1587
                               v-if="org_id != 0 && org_id != 10469 && org_id != 10490 && org_id != 10567 && org_id != 10724">
1562
-                              {{
1563
-                                monitor.conductivity ? monitor.conductivity : "" }}</span>
1588
+                                <span v-if="org_id == 10744">{{monitor.conductivity ? monitor.conductivity : "/" }}</span> 
1589
+                                <span v-if="org_id != 10744">{{monitor.conductivity ? monitor.conductivity : "" }}</span> 
1590
+                            </span>
1564 1591
                             <span v-if="org_id == 10469 || org_id == 10567 || org_id == 0 || org_id == 10724"> {{
1565
-                              monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1566
-                            <span v-if="org_id == 10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : ""
1592
+                              monitor.sodium_concentration ? monitor.sodium_concentration : "/" }}</span>
1593
+                            <span v-if="org_id == 10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "/"
1567 1594
                               }}</span>
1568 1595
                           </td>
1569 1596
 

+ 20 - 13
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue View File

@@ -589,14 +589,14 @@
589 589
                 <table class="table-box">
590 590
                   <tbody>
591 591
                     <tr>
592
-                      <td width="40">肝素:</td>
593
-                      <td width="75">
592
+                      <!-- <td width="40">肝素:</td> -->
593
+                      <td width="70">
594 594
                         <label-box
595 595
                           :isChecked="(prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7) ? true : false"
596 596
                           showValue="低分子:"></label-box>
597 597
                       </td>
598 598
 
599
-                      <td width="60">
599
+                      <td width="30">
600 600
                         <div class="under-line">
601 601
                           &nbsp;
602 602
                           <span
@@ -617,15 +617,19 @@
617 617
                         <label-box :isChecked="prescription.anticoagulant == 1 ? true : false"
618 618
                           showValue="无肝素"></label-box>
619 619
                       </td>
620
-                      <td width="100">
620
+                      <td width="90">
621 621
                         <label-box :isChecked="prescription.anticoagulant == 2 ? true : false"
622 622
                           showValue="普通肝素:"></label-box>
623 623
                       </td>
624
-                      <td width="35">首剂</td>
625
-                      <td width="40">
624
+                      <td width="60">
625
+                        <label-box :isChecked="prescription.anticoagulant == 15 ? true : false"
626
+                          showValue="甲磺酸萘莫司他:"></label-box>
627
+                      </td>
628
+                      <td width="40">首剂</td>
629
+                      <td width="20">
626 630
                         <div class="under-line">
627 631
                           &nbsp;
628
-                          <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_shouji }}</span>
632
+                          <span v-if="prescription.anticoagulant == 2 || prescription.anticoagulant == 15">{{ prescription.anticoagulant_shouji }}</span>
629 633
                         </div>
630 634
                       </td>
631 635
                       <td width="20">
@@ -633,30 +637,32 @@
633 637
                         <span v-if="prescription.anticoagulant == 3">iu</span>
634 638
                         <span v-if="prescription.anticoagulant == 2">iu</span>
635 639
                         <span v-if="prescription.anticoagulant == 1">mg</span>
640
+                        <span v-if="prescription.anticoagulant == 15">iu</span>
636 641
                       </td>
637 642
                       <td width="10"></td>
638
-                      <td width="35">追加</td>
639
-                      <td width="40">
643
+                      <td width="40">追加</td>
644
+                      <td width="20">
640 645
                         <div class="under-line">
641 646
                           &nbsp;
642
-                          <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_weichi ?
647
+                          <span v-if="prescription.anticoagulant == 2 || prescription.anticoagulant == 15">{{ prescription.anticoagulant_weichi ?
643 648
                             prescription.anticoagulant_weichi : "/" }}</span>
644 649
 
645 650
                         </div>
646 651
                       </td>
647
-                      <td width="40">
652
+                      <td width="20">
648 653
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
649 654
                         <span v-if="prescription.anticoagulant == 4">mg/h</span>
650 655
                         <span v-if="prescription.anticoagulant == 3">iu/h</span>
651 656
                         <span v-if="prescription.anticoagulant == 2">iu/h</span>
652 657
                         <span v-if="prescription.anticoagulant == 1">mg/h</span>
658
+                        <span v-if="prescription.anticoagulant == 15">mg/h</span>
653 659
                       </td>
654 660
 
655 661
                       <td width="35">总量:</td>
656 662
                       <td width="40">
657 663
                         <div class="under-line">
658 664
                           &nbsp;
659
-                          <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_zongliang ?
665
+                          <span v-if="prescription.anticoagulant == 2 || prescription.anticoagulant == 15">{{ prescription.anticoagulant_zongliang ?
660 666
                             prescription.anticoagulant_zongliang : "/" }}</span>
661 667
                         </div>
662 668
                       </td>
@@ -665,8 +671,9 @@
665 671
                         <span v-if="prescription.anticoagulant == 3">iu</span>
666 672
                         <span v-if="prescription.anticoagulant == 2">iu</span>
667 673
                         <span v-if="prescription.anticoagulant == 1">mg</span>
674
+                        <span v-if="prescription.anticoagulant == 15">mg</span>
668 675
                       </td>
669
-                      <td width="40"></td>
676
+                     
670 677
                     </tr>
671 678
                   </tbody>
672 679
                 </table>

+ 21 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue View File

@@ -742,6 +742,24 @@
742 742
                         <span v-if="prescription.anticoagulant == 13"><label-box
743 743
                             :isChecked="prescription.anticoagulant == 13 ? true : false"
744 744
                             showValue="那屈肝素钙"></label-box></span>
745
+                        <span v-if="prescription.anticoagulant == 14"><label-box
746
+                            :isChecked="prescription.anticoagulant == 14 ? true : false"
747
+                            showValue="肝素钙注射液"></label-box></span>
748
+                         <span v-if="prescription.anticoagulant == 15"><label-box
749
+                            :isChecked="prescription.anticoagulant == 15 ? true : false"
750
+                            showValue="甲磺酸萘莫司他"></label-box></span>
751
+                         <span v-if="prescription.anticoagulant == 16"><label-box
752
+                            :isChecked="prescription.anticoagulant == 16 ? true : false"
753
+                            showValue="低分子量肝素钙"></label-box></span>
754
+                        <span v-if="prescription.anticoagulant == 17"><label-box
755
+                            :isChecked="prescription.anticoagulant == 17 ? true : false"
756
+                            showValue="肝素钠"></label-box></span>
757
+                         <span v-if="prescription.anticoagulant == 18"><label-box
758
+                            :isChecked="prescription.anticoagulant == 18 ? true : false"
759
+                            showValue="贝米肝素钠注射液"></label-box></span>
760
+                        <span v-if="prescription.anticoagulant == 19"><label-box
761
+                            :isChecked="prescription.anticoagulant == 19 ? true : false"
762
+                            showValue="低分子量肝素钠"></label-box></span>
745 763
                       </td>
746 764
                       <!-- <td width='100'>
747 765
                                   <div class="under-line">
@@ -1173,6 +1191,9 @@
1173 1191
                 <span v-if="monitor.monitor_anticoagulant == 14">肝素钙注射液</span>
1174 1192
                 <span v-if="monitor.monitor_anticoagulant == 15">甲磺酸萘莫司他</span>
1175 1193
                 <span v-if="monitor.monitor_anticoagulant == 16">低分子量肝素钙</span>
1194
+                <span v-if="monitor.monitor_anticoagulant == 17">肝素钠</span>
1195
+                <span v-if="monitor.monitor_anticoagulant == 18">贝米肝素钠注射液</span>
1196
+                <span v-if="monitor.monitor_anticoagulant == 19">低分子量肝素钠</span>
1176 1197
                 <span
1177 1198
                   v-if="monitor.monitor_anticoagulant_value != undefined && monitor.monitor_anticoagulant_value != ''">({{ monitor.monitor_anticoagulant_value }})</span>
1178 1199
               </td>

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -62,7 +62,7 @@
62 62
 
63 63
           </el-form-item>
64 64
 
65
-          <el-form-item label="诊断:" prop="name" label-position="right" style="width:66.6%;" v-if="org_id != 10721 && org_id != 0">
65
+          <el-form-item label="诊断:" prop="name" label-position="right" style="width:66.6%;" v-if="org_id != 10721">
66 66
 
67 67
             <el-select style="width:100%;" v-model="diagnose" placeholder="" multiple filterable>
68 68
               <el-option

+ 3 - 3
src/xt_pages/outpatientDoctorStation/print.vue View File

@@ -1,9 +1,9 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="dialysisPage" style="padding-top: 40px">
4
-      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 10537 && org_id != 10610 ">
4
+      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 10537 && org_id != 10610">
5 5
 
6
-        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188 && org_id != 10217 && org_id != 10598 && org_id != 10644 && org_id != 10510 && org_id!=10653" v-bind:childResponse="childResponse"
6
+        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188 && org_id != 10217 && org_id != 10598 && org_id != 10644 && org_id != 10510 && org_id!=10653&& org_id!=0" v-bind:childResponse="childResponse"
7 7
         :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
8 8
         :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
9 9
         :prescription_id="prescription_id"></printOne>
@@ -27,7 +27,7 @@
27 27
           :prescription_id="prescription_id">
28 28
         </prinSeven>
29 29
 
30
-        <prineight v-if="org_id == 10644"
30
+        <prineight v-if="org_id == 10644 || org_id == 0"
31 31
           v-bind:childResponse="childResponse"
32 32
           :advicePrint="advicePrint"
33 33
           :ids="ids"

+ 7 - 2
src/xt_pages/outpatientDoctorStation/template/prineight.vue View File

@@ -63,10 +63,15 @@
63 63
               <div style="flex: 1;">
64 64
                 临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
65 65
               </div>
66
+             
67
+            </div>
68
+            <div style="display: flex;line-height: 24px;padding: 0 10px;">
66 69
               <div style="flex: 1;">
67 70
                 过敏史:{{ item.patient.allergic_history }}
68 71
               </div>
72
+             
69 73
             </div>
74
+
70 75
             <div style="line-height: 24px;padding: 0 10px;">住址/电话:{{ item.patient.home_address }}&nbsp;<span>{{ item.patient.phone }}</span></div>
71 76
           </div>
72 77
           <!-- 精二 -->
@@ -232,7 +237,7 @@
232 237
                                 {{ites[0].drug.max_unit}}
233 238
                               </span>&nbsp;
234 239
                             </div>
235
-                            <div :style="{display: 'inline-block',position: 'absolute',left:'85%',top:((ins+1)*20)+'px','margin-left': '5px'}" >
240
+                            <div :style="{display: 'inline-block',position: 'absolute',left:'85%',width:'130px',top:((ins+1)*20)+'px','margin-left': '5px'}" >
236 241
                               &nbsp;共{{ ites[0].single_dose }}{{ ites[0].single_dose_unit }}
237 242
                             </div>
238 243
                           </div>
@@ -267,7 +272,7 @@
267 272
                     </div>
268 273
                   </div>
269 274
                   <template>
270
-                      <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" >
275
+                      <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;width:130px" >
271 276
                         &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
272 277
                       </div>
273 278
                   </template>

+ 7 - 7
src/xt_pages/outpatientTool/labelPrint.vue View File

@@ -130,16 +130,16 @@
130 130
                   <div id="sign" class="signPrint" style="width: 500px;height: 250px;">
131 131
                       <div style="display:flex;margin-bottom:0px;">
132 132
                           <div style="margin-left:15px;">
133
-                              <div style="font-weight:bold;font-size:24px;">C</div>
134
-                              <div>{{getTime(current_ctime,'{m}-{d}')}}</div>
135
-                              <div>{{getTime(current_ctime,'{h}:{i}')}}</div>
133
+                              <div style="font-weight:bold;font-size:24px;"  v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217&& $store.getters.xt_user.org.id != 10278&& $store.getters.xt_user.org.id != 10610&& $store.getters.xt_user.org.id != 0">C</div>
134
+                              <div>{{getTime(current_ctime,'{m}-{d} {h}:{i}')}}</div>
135
+                              <div style="font-size:18px;margin-left:20px;font-weight: bold;max-width: 100%;">{{current_name}}</div>
136 136
                           </div>
137
-                          <img style="" v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217&& $store.getters.xt_user.org.id != 10278&& $store.getters.xt_user.org.id != 0"  id="barcode">
137
+                          <img style="" v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217&& $store.getters.xt_user.org.id != 10278&& $store.getters.xt_user.org.id != 10610&& $store.getters.xt_user.org.id != 0"  id="barcode">
138 138
                       </div>
139 139
                       <div style="margin-bottom:0px;">{{current_number}}</div>
140
-                      <div style="display:flex;">
141
-                          <div style="font-size:18px;padding-left:20px;font-weight: bold">{{current_project_name}}</div>
142
-                          <div style="font-size:18px;margin-left:20px;font-weight: bold">{{current_name}}</div>
140
+                      <div style="display:flex;flex-wrap: wrap; word-wrap: break-word; overflow-wrap: break-word;">
141
+                        
142
+                          <div style="font-size:18px;padding-left:20px;font-weight: bold;max-width:5cm;">{{current_project_name}}</div>
143 143
                       </div>
144 144
                   </div>
145 145
             </div>

+ 6 - 1
src/xt_pages/stock/drugs/components/drugQuery.vue View File

@@ -73,7 +73,12 @@
73 73
             :class="signAndWeighBoxPatients"
74 74
             border
75 75
             :cell-class-name="cellStyle"
76
-          >
76
+           >
77
+           <el-table-column label="药品ID号" align="center" style="width: 50px;">
78
+              <template slot-scope="scope">
79
+                 {{ scope.row.id?scope.row.id:"" }}
80
+              </template>
81
+            </el-table-column>
77 82
             <el-table-column label="药品类型" align="center">
78 83
               <template slot-scope="scope">
79 84
                 {{getDrugTypeName(scope.row.drug_type)}}

+ 12 - 7
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -353,7 +353,7 @@
353 353
             <template slot-scope="scope">
354 354
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
355 355
                   <td style="border-right: none; border-inline-end: none;text-align: center">
356
-                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217">
356
+                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217 && org_id !=0">
357 357
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
358 358
                       <span v-if="is_sys == 0">
359 359
                         <span v-if="scope.row.child.length == 1">
@@ -365,8 +365,9 @@
365 365
                       
366 366
                       </span>
367 367
                     </span>
368
-                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217">
369
-                        {{ scope.row.min_price }}
368
+                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id == 0">
369
+                        <!-- {{ scope.row.min_price }} -->
370
+                        {{getPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}
370 371
                     </span>
371 372
                     
372 373
                   </td>
@@ -378,7 +379,7 @@
378 379
             <template slot-scope="scope">
379 380
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
380 381
                   <td style="border-right: none; border-inline-end: none;text-align: center">
381
-                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217  && org_id!=10088 && org_id!=10510">
382
+                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217  && org_id!=10088 && org_id!=10510 && org_id!=0">
382 383
                     <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)}} </span>
383 384
                     <span v-if="is_sys == 0">
384 385
                       <!-- <span v-if="scope.row.child.length == 1">{{item.count * item.retail_price}} </span> 
@@ -387,9 +388,11 @@
387 388
                     </span>
388 389
                     </span>
389 390
 
390
-                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id ==10088 || org_id ==10510">
391
+                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id ==10088 || org_id ==10510 || org_id == 0">
391 392
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
392
-                     <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{(getOutCountNightTen(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*scope.row.min_price).toFixed(2)}}</span>  
393
+                     <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">
394
+                      {{(getOutCountNightTen(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id) * getPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number) ).toFixed(2)}}
395
+                    </span>  
393 396
                      <span v-if="is_sys==0">
394 397
                        {{(scope.row.count * scope.row.price).toFixed(2)}}
395 398
                        <!-- {{(getOutCountNightTenOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*item.price).toFixed(2)}} -->
@@ -1322,7 +1325,7 @@ export default {
1322 1325
           var drugFlowList = response.data.data.drugFlowList;
1323 1326
           //流水详情
1324 1327
           var drugList = response.data.data.drugList
1325
-         
1328
+          
1326 1329
           this.tabList = drugList
1327 1330
           //按批号分组
1328 1331
           var drugListOne = response.data.data.drugListFlow
@@ -2127,6 +2130,8 @@ export default {
2127 2130
       }
2128 2131
       return price
2129 2132
     },
2133
+
2134
+
2130 2135
     getPriceOne(number,max_unit,min_unit,min_number){
2131 2136
       var arr = []
2132 2137
       var price = 0

+ 2 - 2
src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue View File

@@ -966,7 +966,7 @@ export default {
966 966
             this.recordInfo.recordData[i].price = val.retail_price;
967 967
           }
968 968
 
969
-          this.recordInfo.recordData[i].manufacturer = val.manufacturer;
969
+          this.recordInfo.recordData[i].manufacturer = val.first_drug_warehouse_info.manufacturer;
970 970
           this.recordInfo.recordData[i].name =
971 971
             this.recordInfo.recordData[i].dose +
972 972
             this.recordInfo.recordData[i].dose_unit +
@@ -979,7 +979,7 @@ export default {
979 979
           if (val.dealer == 0) {
980 980
             this.recordInfo.recordData[i].dealer = "";
981 981
           } else {
982
-            this.recordInfo.recordData[i].dealer = val.dealer;
982
+            this.recordInfo.recordData[i].dealer = val.first_drug_warehouse_info.dealer;
983 983
           }
984 984
 
985 985
           console.log("hhahhahahwowowo",this.recordInfo.recordData)

+ 39 - 2
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue View File

@@ -27,6 +27,7 @@
27 27
               <td style="line-height: 50px" width="80">批号</td>
28 28
               <td style="line-height: 50px" width="80">生产日期</td>
29 29
               <td style="line-height: 50px" width="80">有效日期</td>
30
+              <td style="line-height: 50px" width="80">出库对象</td>
30 31
             </tr>
31 32
 
32 33
             <tr v-for="(item,i) in it.child" :key="i">
@@ -51,10 +52,11 @@
51 52
              <td>{{item.batch_number}}</td>
52 53
              <td>{{(getTime(item.product_date))}}</td>
53 54
              <td>{{(getTime(item.expire_date))}}</td>
55
+             <td>{{getXuserName(item.admin_user_id) }}</td>
54 56
             </tr>
55 57
              <tr>
56 58
                <td style="line-height:50px">合计</td>
57
-               <td colspan="7"></td>
59
+               <td colspan="8"></td>
58 60
                <td>{{getAllPrince(it.id).toFixed(2)}}</td>
59 61
              </tr>
60 62
             </tbody>
@@ -98,6 +100,7 @@
98 100
               <td style="line-height: 50px" width="80">批号</td>
99 101
               <td style="line-height: 50px" width="80">生产日期</td>
100 102
               <td style="line-height: 50px" width="80">有效日期</td>
103
+              <td style="line-height: 50px" width="80">出库对象</td>
101 104
             </tr>
102 105
 
103 106
             <tr v-for="(item,i) in it.xt_drug_warehouse_out_info" :key="i">
@@ -126,11 +129,12 @@
126 129
              <td>{{item.drug_warehouse_info.batch_number}}</td>
127 130
              <td>{{(getTime(item.product_date))}}</td>
128 131
              <td>{{(getTime(item.expiry_date))}}</td>
132
+             <td>{{getXuserName(item.admin_user_id) }}</td>
129 133
             </tr>
130 134
 
131 135
              <tr>
132 136
                <td style="line-height:50px">合计</td>
133
-               <td colspan="7"></td>
137
+               <td colspan="8"></td>
134 138
                <td>{{getTotalPrice(it.xt_drug_warehouse_out_info)}}</td>
135 139
              </tr>
136 140
             </tbody>
@@ -167,6 +171,7 @@
167 171
   import { jsGetAge, uParseTime } from '@/utils/tools'
168 172
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
169 173
   import print from 'print-js'
174
+  import { fetchAllAdminUsers } from "@/api/doctor";
170 175
   import {  getDrugWarehouseOutInfo,getDrugWarehouseOrderInfo,getDrugOutOrderDetailPrint } from '@/api/drug/drug_stock'
171 176
   import {getBaseDrugLibList} from '@/api/data'
172 177
   export default {
@@ -212,6 +217,7 @@
212 217
         loading:false,
213 218
         warehouseList:[],
214 219
         tableData:[],
220
+        adminUserOptions:[]
215 221
       }
216 222
     },
217 223
     methods: {
@@ -430,13 +436,44 @@
430 436
            count +=val[i].count * val[i].price
431 437
           }
432 438
          return count.toFixed(2)
439
+        },
440
+        getXuserName(id) {
441
+          if (id <= 0) {
442
+            return "";
443
+          }
444
+          var name = "";
445
+          if (
446
+            this.adminUserOptions == null ||
447
+            typeof this.adminUserOptions.length === "undefined"
448
+          ) {
449
+            return name;
450
+          }
451
+          var leng = this.adminUserOptions.length;
452
+          if (leng == 0) {
453
+            return name;
454
+          }
455
+          for (let index = 0; index < leng; index++) {
456
+            if (this.adminUserOptions[index].id == id) {
457
+              name = this.adminUserOptions[index].name;
458
+              break;
459
+            }
460
+          }
461
+          return name;
462
+      },
463
+     fetchAllAdminUsers() {
464
+      fetchAllAdminUsers().then((response) => {
465
+        if (response.data.state == 1) {
466
+          this.adminUserOptions = response.data.data.users;
433 467
         }
468
+      });
469
+    },
434 470
     },
435 471
     created() {
436 472
       this.orgName = this.$store.getters.xt_user.org.org_name;
437 473
       const order_id = this.$route.query.id;
438 474
       this.orgId = this.$store.getters.xt_user.org.id;  
439 475
       this.getDrugOutOrderDetailPrint(order_id)
476
+      this.fetchAllAdminUsers();
440 477
     }
441 478
 
442 479
   }

+ 2 - 2
src/xt_pages/stock/drugs/drugStockOutOrderEdit.vue View File

@@ -1166,7 +1166,7 @@ export default {
1166 1166
             "/" +
1167 1167
             val.max_unit;
1168 1168
           this.recordInfo.recordData[i].price = val.retail_price;
1169
-          this.recordInfo.recordData[i].manufacturer = val.manufacturer;
1169
+          this.recordInfo.recordData[i].manufacturer = val.first_drug_warehouse_info.manufacturer;
1170 1170
           this.recordInfo.recordData[i].number = val.number;
1171 1171
           this.recordInfo.recordData[i].max_unit = val.max_unit;
1172 1172
           this.recordInfo.recordData[i].min_unit = val.min_unit;
@@ -1190,7 +1190,7 @@ export default {
1190 1190
           if (val.dealer == 0) {
1191 1191
             this.recordInfo.recordData[i].dealer = "";
1192 1192
           } else {
1193
-            this.recordInfo.recordData[i].dealer = val.dealer;
1193
+            this.recordInfo.recordData[i].dealer = val.first_drug_warehouse_info.dealer;
1194 1194
           }
1195 1195
         }
1196 1196
       }

+ 6 - 1
src/xt_pages/stock/query/goodNewQuery.vue View File

@@ -59,7 +59,12 @@
59 59
             border
60 60
            :cell-class-name="cellStyle"
61 61
           >
62
-          <el-table-column label="耗材编码" align="center" v-if="org_id ==9956 || org_id == 0">
62
+          <el-table-column label="耗材ID号" align="center" style="width: 50px;">
63
+              <template slot-scope="scope">
64
+                 {{ scope.row.id?scope.row.id:"" }}
65
+              </template>
66
+            </el-table-column>
67
+           <el-table-column label="耗材编码" align="center" v-if="org_id ==9956 || org_id == 0">
63 68
               <template slot-scope="scope">
64 69
                  {{ scope.row.good_number?scope.row.good_number:"" }}
65 70
               </template>

+ 3 - 9
src/xt_pages/stock/stockOutOrderAdd.vue View File

@@ -919,6 +919,7 @@ export default {
919 919
       this.currentIndex = val
920 920
     },
921 921
     handleSelect(val){
922
+        console.log("val000000000",val)
922 923
         var arr = []
923 924
         for(let i=0;i<this.recordInfo.recordData.length;i++){
924 925
            arr.push(this.recordInfo.recordData[i].good_id)
@@ -942,7 +943,7 @@ export default {
942 943
             this.recordInfo.recordData[i].good_name = val.good_name
943 944
             this.recordInfo.recordData[i].good_type_id = val.good_type_id
944 945
             this.recordInfo.recordData[i].name = val.specification_name +"/"+val.packing_unit
945
-            this.recordInfo.recordData[i].manufacturer = val.manufacturer
946
+            this.recordInfo.recordData[i].manufacturer = val.first_xt_warehouse_info.manufacturer
946 947
             this.recordInfo.recordData[i].remark = val.remark
947 948
             this.recordInfo.recordData[i].buy_price = val.buy_price
948 949
             this.recordInfo.recordData[i].stock_count = total_count
@@ -979,16 +980,9 @@ export default {
979 980
             if(val.dealer == 0){
980 981
              this.recordInfo.recordData[i].dealer = ""
981 982
             }else{
982
-             this.recordInfo.recordData[i].dealer = val.dealer
983
+             this.recordInfo.recordData[i].dealer = val.first_xt_warehouse_info.dealer
983 984
             }
984 985
 
985
-            // for(let i=0;i<this.recordInfo.recordData.length;i++){
986
-            //   this.recordInfo.recordData[i].warehouse_info_str = ""
987
-            //   for(let j=0;j<this.recordInfo.recordData[i].xt_warehouse_info.length;j++){
988
-            //     this.recordInfo.recordData[i].warehouse_info_str += "批次:"+this.recordInfo.recordData[i].xt_warehouse_info[j].number+" " + "剩余:"+this.recordInfo.recordData[i].xt_warehouse_info[j].stock_count+this.recordInfo.recordData[i].packing_unit +"\n"
989
-            //   }
990
-            // }
991
-
992 986
             console.log("日期我我我哦我",  this.recordInfo.recordData)
993 987
          }
994 988
 

+ 38 - 3
src/xt_pages/stock/stockOutOrderDetailPrint.vue View File

@@ -36,6 +36,7 @@
36 36
                                     <td width="80">批号</td>
37 37
                                     <td width="80">生产日期</td>
38 38
                                     <td width="80">有效日期</td>
39
+                                    <td width="80">出库对象</td>
39 40
                                 </tr>
40 41
                             </thead>
41 42
                             <tbody>
@@ -49,10 +50,11 @@
49 50
                                     <td>{{item.number}}</td>
50 51
                                     <td>{{getTime(item.product_date)}}</td>
51 52
                                     <td>{{getTime(item.expiry_date)}}</td>
53
+                                    <td>{{getXuserName(item.admin_user_id)}}</td>
52 54
                                 </tr>
53 55
                                 <tr>
54 56
                                   <td>合计</td>
55
-                                  <td colspan="7"></td>
57
+                                  <td colspan="8"></td>
56 58
                                   <td>{{getAllPice(it.id).toFixed(2)}}</td>
57 59
                                </tr>
58 60
                             </tbody>
@@ -82,7 +84,8 @@
82 84
 
83 85
 <script>
84 86
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
85
-import { GetAllConfig,getWarehouseOutInfo,GetOutStockTotalCount,getGoodInfoList,getWarehouseOrderInfoList,getOrderDetailByOrderId,getStockDrugCount } from "@/api/stock";
87
+import { GetAllConfig,GetOutStockTotalCount,getGoodInfoList,getWarehouseOrderInfoList,getOrderDetailByOrderId,getStockDrugCount } from "@/api/stock";
88
+import { fetchAllAdminUsers  } from "@/api/doctor";
86 89
 import print from 'print-js'
87 90
 const moment = require('moment');
88 91
 import { uParseTime } from '@/utils/tools'
@@ -129,7 +132,8 @@ export default {
129 132
             countList:[],
130 133
             outCountList:[],
131 134
             autoCountList:[],
132
-            cancelCountList:[]
135
+            cancelCountList:[],
136
+            adminUserOptions:[]
133 137
         }
134 138
     },
135 139
     methods:{
@@ -395,6 +399,36 @@ export default {
395 399
       }
396 400
       return total;
397 401
     },
402
+    getXuserName(id) {
403
+      if (id <= 0) {
404
+        return "";
405
+      }
406
+      var name = "";
407
+      if (
408
+        this.adminUserOptions == null ||
409
+        typeof this.adminUserOptions.length === "undefined"
410
+      ) {
411
+        return name;
412
+      }
413
+      var leng = this.adminUserOptions.length;
414
+      if (leng == 0) {
415
+        return name;
416
+      }
417
+      for (let index = 0; index < leng; index++) {
418
+        if (this.adminUserOptions[index].id == id) {
419
+          name = this.adminUserOptions[index].name;
420
+          break;
421
+        }
422
+      }
423
+      return name;
424
+    },
425
+    fetchAllAdminUsers() {
426
+      fetchAllAdminUsers().then((response) => {
427
+        if (response.data.state == 1) {
428
+          this.adminUserOptions = response.data.data.users;
429
+        }
430
+      });
431
+    },
398 432
   
399 433
     },
400 434
     created(){
@@ -406,6 +440,7 @@ export default {
406 440
       this.GetOrderDetailOne(order_id)
407 441
       this.getList()
408 442
       this.getStockDrugCount()
443
+      this.fetchAllAdminUsers();
409 444
     }
410 445
 }
411 446
 </script>

+ 4 - 3
src/xt_pages/stock/stockOutOrderEdit.vue View File

@@ -859,7 +859,7 @@ import patient from '../../router/modules/patient'
859 859
             this.recordInfo.recordData[i].good_name = val.good_name
860 860
             this.recordInfo.recordData[i].good_type_id = val.good_type_id
861 861
             this.recordInfo.recordData[i].name = val.specification_name  +"/"+val.packing_unit
862
-            this.recordInfo.recordData[i].manufacturer = val.manufacturer
862
+            this.recordInfo.recordData[i].manufacturer = val.first_xt_warehouse_info.manufacturer
863 863
             this.recordInfo.recordData[i].remark = val.remark
864 864
             this.recordInfo.recordData[i].license_number = val.number
865 865
             this.recordInfo.recordData[i].warehouse_info_id = 0
@@ -890,7 +890,7 @@ import patient from '../../router/modules/patient'
890 890
              if(val.dealer == 0){
891 891
                this.recordInfo.recordData[i].dealer = ""
892 892
              }else{
893
-               this.recordInfo.recordData[i].dealer = val.dealer
893
+               this.recordInfo.recordData[i].dealer = val.first_xt_warehouse_info.dealer
894 894
              }
895 895
 
896 896
          }
@@ -925,6 +925,7 @@ import patient from '../../router/modules/patient'
925 925
 
926 926
           this.manufacturerList = manufacturerList
927 927
           this.goodType = response.data.data.goodType
928
+          this.doctorList = []
928 929
           this.doctorList = response.data.data.doctorlist
929 930
          
930 931
           for (let i = 0; i < response.data.data.list.length; i++) {
@@ -939,7 +940,7 @@ import patient from '../../router/modules/patient'
939 940
             response.data.data.list[i].remark = response.data.data.list[i].remark
940 941
             response.data.data.list[i].buy_price = response.data.data.list[i].buy_price.toString()
941 942
             response.data.data.list[i].stock_count = response.data.data.list[i].stock_count.toString()
942
-
943
+          
943 944
             response.data.data.list[i].class_type = response.data.data.list[i].class_type
944 945
           
945 946
             // response.data.data.list[i].patient_id = this.getPatientName(response.data.data.list[i].patient_id)

+ 37 - 2
src/xt_pages/user/components/PatientForm.vue View File

@@ -244,7 +244,16 @@
244 244
                   ></el-date-picker>
245 245
                 </el-form-item>
246 246
               </el-col>
247
-              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
247
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''" v-if="org_id!=10138 && org_id!=10278 && org_id!=10537 && org_id!=10610 && org_id!=0">
248
+                <el-form-item
249
+                  label="本人电话 : "
250
+                  prop="phone"
251
+                >
252
+                  <el-input v-model="form.phone" maxlength="20"></el-input>
253
+                </el-form-item>
254
+              </el-col>
255
+
256
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''" v-if="(org_id==10138 || org_id==10278 || org_id==10537 || org_id==10610) && is_show == true">
248 257
                 <el-form-item
249 258
                   label="本人电话 : "
250 259
                   prop="phone"
@@ -260,7 +269,17 @@
260 269
                   ></el-input>
261 270
                 </el-form-item>
262 271
               </el-col>
263
-              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
272
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''" v-if="org_id!=10138 && org_id!=10278 && org_id!=10537 && org_id!=10610 && org_id!=0">
273
+                <el-form-item label="家属电话 : ">
274
+                  <el-input
275
+                    v-model="form.homeTelephone"
276
+                    maxlength="20"
277
+                  ></el-input>
278
+                </el-form-item>
279
+              </el-col>
280
+
281
+
282
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''" v-if="(org_id==10138 || org_id==10278  || org_id==10537 || org_id==10610 || org_id==0) && is_show == true">
264 283
                 <el-form-item label="家属电话 : ">
265 284
                   <el-input
266 285
                     v-model="form.homeTelephone"
@@ -1574,6 +1593,7 @@ export default {
1574 1593
       formsubmit:false,
1575 1594
       loadingText:'',
1576 1595
       fileList:[],
1596
+      is_show:true,
1577 1597
     };
1578 1598
   },
1579 1599
   components: {
@@ -1628,6 +1648,7 @@ export default {
1628 1648
     this.org_id =this.$store.getters.xt_user.org.id
1629 1649
 
1630 1650
     if (this.isEdit) {
1651
+     
1631 1652
       this.submitMsg = "修改患者信息成功";
1632 1653
       const id = this.$route.params && this.$route.params.id;
1633 1654
       this.patientID = parseInt(id);
@@ -1640,9 +1661,11 @@ export default {
1640 1661
       }
1641 1662
       this.fetchPatient(id);
1642 1663
       this.avatarFlag = true;
1664
+     
1643 1665
     } else {
1644 1666
       this.submitMsg = "新增患者成功";
1645 1667
       this.form = Object.assign({}, defaultForm);
1668
+      this.is_show = true
1646 1669
       this.form.lapseto  = 1
1647 1670
       if(this.org_id == 0 || this.org_id ==9919 || this.org_id ==10571){
1648 1671
          this.form.diagnose = "1.慢性肾脏病5期  IgA肾病 维持性血液透析 肾性贫血 肾性高血压  继发性甲状旁腺功能亢进症  2.右前臂自体动静脉内瘘成形术后"
@@ -2069,6 +2092,18 @@ export default {
2069 2092
       fetchPatient(id)
2070 2093
         .then(response => {
2071 2094
           if (response.data.state == 1) {
2095
+
2096
+            var viewModels = response.data.data.viewModels
2097
+            var is_sub_super_admin = false
2098
+            var user_id = this.$store.getters.xt_user.user.id
2099
+            console.log("user_id=====",user_id)
2100
+            this.is_show = false
2101
+            for(let i=0;i<viewModels.length;i++){
2102
+              if(user_id == viewModels[i].user_id){
2103
+                  is_sub_super_admin = is_sub_super_admin
2104
+              }
2105
+            }
2106
+            this.is_show = is_sub_super_admin
2072 2107
             this.$emit("tran-patient-info", response.data.data.patient);
2073 2108
             var patietInfo = response.data.data.patient;
2074 2109
             this.fileList = []

+ 8 - 1
src/xt_pages/user/components/PatientSidebar.vue View File

@@ -231,6 +231,10 @@ export default {
231 231
               name: '1-8',
232 232
               label: '传染病管理'
233 233
             },
234
+            // {
235
+            //   name: '4-13',
236
+            //   label: '肾科检验'
237
+            // },
234 238
           ]
235 239
         },
236 240
          {
@@ -386,6 +390,8 @@ export default {
386 390
         this.$router.push({path:'/patients/ktv?id='+this.id})
387 391
       }else if(name == '4-12'){
388 392
         this.$router.push({path:'/patients/newInspection?id='+this.id})
393
+      }else if(name == '4-13'){
394
+        this.$router.push({path:'/patients/inspection/list?id='+this.id})
389 395
       }
390 396
       else if (name == '5-1') {
391 397
         this.$router.push({
@@ -429,7 +435,6 @@ export default {
429 435
       }else if(name == '7'){
430 436
         this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
431 437
       }else if(name == '8'){
432
-        console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhhhh")
433 438
        this.$router.push({path:'/patient/patient/'+this.id+'/deathSummary'})
434 439
       }
435 440
     },
@@ -598,6 +603,8 @@ export default {
598 603
        this.$router.push({path:'/patient/patient/'+this.id+'/deathSummary'})
599 604
       }else if(patientKey == '4-12'){
600 605
         this.$router.push({path:'/patients/newInspection?id='+this.id})
606
+      }else if(patientKey == '4-13'){
607
+        this.$router.push({path:'/patients/inspection/list?id='+this.id})
601 608
       }
602 609
 
603 610
      }else{

+ 8 - 1
src/xt_pages/user/components/PatientSidebar_ord.vue View File

@@ -230,6 +230,10 @@ export default {
230 230
               name: '1-8',
231 231
               label: '传染病管理'
232 232
             },
233
+            // {
234
+            //   name: '4-13',
235
+            //   label: '肾科检验'
236
+            // },
233 237
           ]
234 238
         },
235 239
          {
@@ -385,6 +389,8 @@ export default {
385 389
         this.$router.push({path:'/patients/ktv?id='+this.id})
386 390
       }else if(name == '4-12'){
387 391
         this.$router.push({path:'/patients/newInspection?id='+this.id})
392
+      }else if(name == '4-13'){
393
+        this.$router.push({path:'/patients/inspection/list?id='+this.id})
388 394
       }
389 395
       else if (name == '5-1') {
390 396
         this.$router.push({
@@ -428,7 +434,6 @@ export default {
428 434
       }else if(name == '7'){
429 435
         this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
430 436
       }else if(name == '8'){
431
-        console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhhhh")
432 437
        this.$router.push({path:'/patient/patient/'+this.id+'/deathSummary'})
433 438
       }
434 439
     },
@@ -597,6 +602,8 @@ export default {
597 602
        this.$router.push({path:'/patient/patient/'+this.id+'/deathSummary'})
598 603
       }else if(patientKey == '4-12'){
599 604
         this.$router.push({path:'/patients/newInspection?id='+this.id})
605
+      }else if(name == '4-13'){
606
+        this.$router.push({path:'/patients/inspection/list?id='+this.id})
600 607
       }
601 608
 
602 609
      }else{

File diff suppressed because it is too large
+ 1753 - 0
src/xt_pages/user/inspection_list.vue


+ 14 - 7
src/xt_pages/workforce/Patientshift.vue View File

@@ -876,14 +876,21 @@ export default {
876 876
       let name = val
877 877
       name = name.substr(-4)
878 878
       var names = name.match(reg)
879
-      name = names.join('')
880
-      if (name.includes('区')) {
881
-        name = name.replace('区', '')
882
-      }
883
-      if (name.includes('号')) {
884
-        name = name.replace('号', '')
879
+      console.log("names=======",names)
880
+      if(names!=null && names!=undefined){
881
+        name = names.join('')
882
+      
883
+        if (name.includes('区')) {
884
+          name = name.replace('区', '')
885
+        }
886
+        if (name.includes('号')) {
887
+          name = name.replace('号', '')
888
+        }
889
+        return name
890
+      }else{
891
+        return ""
885 892
       }
886
-      return name
893
+     
887 894
     },
888 895
     // 分区
889 896
     getZoneName(id) {

+ 5 - 4
src/xt_pages/workforce/components/editTableData.vue View File

@@ -2628,19 +2628,20 @@ export default {
2628 2628
     // 透析次数
2629 2629
     chishuclick(row){
2630 2630
       // this.cishu_dialogVisible=true
2631
-      // console.log('ddddddd',row);
2631
+      console.log('ddddddd',row);
2632 2632
       this.Dialysis_patient=row.name
2633 2633
       this.patient_id = ""
2634 2634
       this.patient_id  = row.id
2635
-      this.getPatientDialysisRecordList(row.id)
2635
+      this.getPatientDialysisRecordList()
2636 2636
     },
2637
-    getPatientDialysisRecordList(id){
2637
+    getPatientDialysisRecordList(){
2638 2638
       var params= {
2639
-        patient_id:id,
2639
+        patient_id:this.patient_id,
2640 2640
         start_time:this.start_time,
2641 2641
         end_time:this.end_time,
2642 2642
       }
2643 2643
       console.log('tttt',params);
2644
+    
2644 2645
       getPatientDialysisRecordList(params).then(response=>{
2645 2646
          if(response.data.state == 1){
2646 2647
            var list  = response.data.data.list

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28 28
 //  // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))