|
@@ -14,7 +14,6 @@
|
14
|
14
|
:editable="false"
|
15
|
15
|
style="width: 100%;"
|
16
|
16
|
type="date"
|
17
|
|
- :picker-options="pickerOptions"
|
18
|
17
|
placeholder="选择开始时间"
|
19
|
18
|
align="right"
|
20
|
19
|
format="yyyy-MM-dd"
|
|
@@ -1333,6 +1332,7 @@ export default {
|
1333
|
1332
|
|
1334
|
1333
|
}
|
1335
|
1334
|
this.isloading = true
|
|
1335
|
+ console.log("param32323232323323223233232332",params)
|
1336
|
1336
|
getPatientInfo(params).then(response => {
|
1337
|
1337
|
if (response.data.state == 0) {
|
1338
|
1338
|
this.$message.error(response.data.msg)
|
|
@@ -1366,6 +1366,7 @@ export default {
|
1366
|
1366
|
this.patientInfo = response.data.data.xt_info
|
1367
|
1367
|
this.hisPatientInfo = response.data.data.his_info
|
1368
|
1368
|
this.case_history = response.data.data.case_history
|
|
1369
|
+
|
1369
|
1370
|
this.info = response.data.data.info
|
1370
|
1371
|
this.last_info = response.data.data.last_info
|
1371
|
1372
|
this.schedule = response.data.data.schedule
|
|
@@ -1422,6 +1423,14 @@ export default {
|
1422
|
1423
|
this.case_history.is_infect = false
|
1423
|
1424
|
}
|
1424
|
1425
|
|
|
1426
|
+ this.case_history.allergic_history = this.case_history.allergic_history
|
|
1427
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
1428
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
1429
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
1430
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
1431
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
1432
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
1433
|
+
|
1425
|
1434
|
//处方相关
|
1426
|
1435
|
this.prescriptionList = response.data.data.prescription
|
1427
|
1436
|
|
|
@@ -1712,7 +1721,7 @@ export default {
|
1712
|
1721
|
|
1713
|
1722
|
choosePatient(val) {
|
1714
|
1723
|
if (this.titleType == '电子病历') {
|
1715
|
|
- if (this.$refs.child.watchSign > 2) {
|
|
1724
|
+ if (this.$refs.child!=undefined && this.$refs.child.watchSign > 2) {
|
1716
|
1725
|
this.$confirm('是否保存当前病例', '保存', {
|
1717
|
1726
|
confirmButtonText: '确 定',
|
1718
|
1727
|
cancelButtonText: '取 消',
|
|
@@ -1743,6 +1752,7 @@ export default {
|
1743
|
1752
|
'-' +
|
1744
|
1753
|
(nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (hours < 10 ? '0' + hours : hours) +
|
1745
|
1754
|
':' + (min < 10 ? '0' + min : min)
|
|
1755
|
+
|
1746
|
1756
|
getPatientInfo(params).then(response => {
|
1747
|
1757
|
if (response.data.state == 0) {
|
1748
|
1758
|
this.$message.error(response.data.msg)
|
|
@@ -1776,6 +1786,45 @@ export default {
|
1776
|
1786
|
this.patientInfo = response.data.data.xt_info
|
1777
|
1787
|
this.hisPatientInfo = response.data.data.his_info
|
1778
|
1788
|
this.case_history = response.data.data.case_history
|
|
1789
|
+
|
|
1790
|
+ if(this.case_history.primary_disease == ""){
|
|
1791
|
+ this.case_history.primary_disease = ""
|
|
1792
|
+ }else{
|
|
1793
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
1794
|
+ }
|
|
1795
|
+
|
|
1796
|
+ if(this.case_history.confirm_failure_date <=0){
|
|
1797
|
+ this.case_history.confirm_failure_date = ""
|
|
1798
|
+ }else{
|
|
1799
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
1800
|
+ }
|
|
1801
|
+
|
|
1802
|
+ if(this.case_history.drug_allergy_history ==""){
|
|
1803
|
+ this.case_history.drug_allergy_history = ""
|
|
1804
|
+ }else{
|
|
1805
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
1806
|
+ }
|
|
1807
|
+
|
|
1808
|
+ if(this.case_history.physical_examination ==""){
|
|
1809
|
+ this.case_history.physical_examination = ""
|
|
1810
|
+ }else{
|
|
1811
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
1812
|
+ }
|
|
1813
|
+ if(this.case_history.special_inspection == ""){
|
|
1814
|
+ this.case_history.special_inspection = ""
|
|
1815
|
+ }else{
|
|
1816
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
1817
|
+ }
|
|
1818
|
+
|
|
1819
|
+ if(this.case_history.lab_apparatus == ""){
|
|
1820
|
+ this.case_history.lab_apparatus = ""
|
|
1821
|
+ }else{
|
|
1822
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
1823
|
+ }
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
1779
|
1828
|
this.info = response.data.data.info
|
1780
|
1829
|
this.last_info = response.data.data.last_info
|
1781
|
1830
|
this.schedule = response.data.data.schedule
|
|
@@ -1829,6 +1878,8 @@ export default {
|
1829
|
1878
|
} else {
|
1830
|
1879
|
this.case_history.is_infect = false
|
1831
|
1880
|
}
|
|
1881
|
+
|
|
1882
|
+
|
1832
|
1883
|
this.prescriptionList = response.data.data.prescription
|
1833
|
1884
|
|
1834
|
1885
|
if (response.data.data.prescription.length > 0) {
|
|
@@ -2282,6 +2333,8 @@ export default {
|
2282
|
2333
|
this.patientInfo = response.data.data.xt_info
|
2283
|
2334
|
this.hisPatientInfo = response.data.data.his_info
|
2284
|
2335
|
this.case_history = response.data.data.case_history
|
|
2336
|
+
|
|
2337
|
+
|
2285
|
2338
|
this.info = response.data.data.info
|
2286
|
2339
|
this.last_info = response.data.data.last_info
|
2287
|
2340
|
|
|
@@ -2334,6 +2387,42 @@ export default {
|
2334
|
2387
|
} else {
|
2335
|
2388
|
this.case_history.is_infect = false
|
2336
|
2389
|
}
|
|
2390
|
+
|
|
2391
|
+ if(this.case_history.primary_disease == ""){
|
|
2392
|
+ this.case_history.primary_disease = ""
|
|
2393
|
+ }else{
|
|
2394
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
2395
|
+ }
|
|
2396
|
+
|
|
2397
|
+ if(this.case_history.confirm_failure_date <=0){
|
|
2398
|
+ this.case_history.confirm_failure_date = ""
|
|
2399
|
+ }else{
|
|
2400
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
2401
|
+ }
|
|
2402
|
+
|
|
2403
|
+ if(this.case_history.drug_allergy_history ==""){
|
|
2404
|
+ this.case_history.drug_allergy_history = ""
|
|
2405
|
+ }else{
|
|
2406
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
2407
|
+ }
|
|
2408
|
+
|
|
2409
|
+ if(this.case_history.physical_examination ==""){
|
|
2410
|
+ this.case_history.physical_examination = ""
|
|
2411
|
+ }else{
|
|
2412
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
2413
|
+ }
|
|
2414
|
+ if(this.case_history.special_inspection == ""){
|
|
2415
|
+ this.case_history.special_inspection = ""
|
|
2416
|
+ }else{
|
|
2417
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
2418
|
+ }
|
|
2419
|
+
|
|
2420
|
+ if(this.case_history.lab_apparatus == ""){
|
|
2421
|
+ this.case_history.lab_apparatus = ""
|
|
2422
|
+ }else{
|
|
2423
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
2424
|
+ }
|
|
2425
|
+
|
2337
|
2426
|
this.prescriptionList = response.data.data.prescription
|
2338
|
2427
|
|
2339
|
2428
|
if (response.data.data.prescription.length > 0) {
|
|
@@ -2768,6 +2857,7 @@ export default {
|
2768
|
2857
|
this.patientInfo = response.data.data.xt_info
|
2769
|
2858
|
this.hisPatientInfo = response.data.data.his_info
|
2770
|
2859
|
this.case_history = response.data.data.case_history
|
|
2860
|
+
|
2771
|
2861
|
this.info = response.data.data.info
|
2772
|
2862
|
this.last_info = response.data.data.last_info
|
2773
|
2863
|
|
|
@@ -2820,6 +2910,32 @@ export default {
|
2820
|
2910
|
} else {
|
2821
|
2911
|
this.case_history.is_infect = false
|
2822
|
2912
|
}
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+ if(this.case_history.primary_disease == ""){
|
|
2916
|
+ this.case_history.primary_disease = ""
|
|
2917
|
+ }
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
2921
|
+
|
|
2922
|
+
|
|
2923
|
+ if(this.case_history.drug_allergy_history ==""){
|
|
2924
|
+ this.case_history.drug_allergy_history = ""
|
|
2925
|
+ }
|
|
2926
|
+
|
|
2927
|
+ if(this.case_history.physical_examination ==""){
|
|
2928
|
+ this.case_history.physical_examination = ""
|
|
2929
|
+ }
|
|
2930
|
+ if(this.case_history.special_inspection == ""){
|
|
2931
|
+ this.case_history.special_inspection = ""
|
|
2932
|
+ }
|
|
2933
|
+
|
|
2934
|
+ if(this.case_history.lab_apparatus == ""){
|
|
2935
|
+ this.case_history.lab_apparatus = ""
|
|
2936
|
+ }
|
|
2937
|
+
|
|
2938
|
+
|
2823
|
2939
|
this.prescriptionList = response.data.data.prescription
|
2824
|
2940
|
|
2825
|
2941
|
if (response.data.data.prescription.length > 0) {
|
|
@@ -3213,7 +3329,7 @@ export default {
|
3213
|
3329
|
this.$refs.child.watchSign = 0
|
3214
|
3330
|
}
|
3215
|
3331
|
} else {
|
3216
|
|
-
|
|
3332
|
+
|
3217
|
3333
|
var nowDate = new Date()
|
3218
|
3334
|
var nowYear = nowDate.getFullYear()
|
3219
|
3335
|
var nowMonth = nowDate.getMonth() + 1
|
|
@@ -3313,6 +3429,43 @@ export default {
|
3313
|
3429
|
this.patientInfo = response.data.data.xt_info
|
3314
|
3430
|
this.hisPatientInfo = response.data.data.his_info
|
3315
|
3431
|
this.case_history = response.data.data.case_history
|
|
3432
|
+ console.log("999923923323232",this.case_history)
|
|
3433
|
+
|
|
3434
|
+ if(this.case_history.primary_disease == ""){
|
|
3435
|
+ this.case_history.primary_disease = ""
|
|
3436
|
+ }else{
|
|
3437
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
3438
|
+ }
|
|
3439
|
+
|
|
3440
|
+ if(this.case_history.confirm_failure_date <=0){
|
|
3441
|
+ this.case_history.confirm_failure_date = ""
|
|
3442
|
+ }else{
|
|
3443
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
3444
|
+ }
|
|
3445
|
+
|
|
3446
|
+ if(this.case_history.drug_allergy_history ==""){
|
|
3447
|
+ this.case_history.drug_allergy_history = ""
|
|
3448
|
+ }else{
|
|
3449
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
3450
|
+ }
|
|
3451
|
+
|
|
3452
|
+ if(this.case_history.physical_examination ==""){
|
|
3453
|
+ this.case_history.physical_examination = ""
|
|
3454
|
+ }else{
|
|
3455
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
3456
|
+ }
|
|
3457
|
+ if(this.case_history.special_inspection == ""){
|
|
3458
|
+ this.case_history.special_inspection = ""
|
|
3459
|
+ }else{
|
|
3460
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
3461
|
+ }
|
|
3462
|
+
|
|
3463
|
+ if(this.case_history.lab_apparatus == ""){
|
|
3464
|
+ this.case_history.lab_apparatus = ""
|
|
3465
|
+ }else{
|
|
3466
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
3467
|
+ }
|
|
3468
|
+
|
3316
|
3469
|
this.doctors = response.data.data.doctors
|
3317
|
3470
|
this.department = response.data.data.department
|
3318
|
3471
|
this.schedule = response.data.data.schedule
|
|
@@ -3323,7 +3476,7 @@ export default {
|
3323
|
3476
|
}
|
3324
|
3477
|
}
|
3325
|
3478
|
|
3326
|
|
- this.case_history = response.data.data.case_history
|
|
3479
|
+
|
3327
|
3480
|
this.info = response.data.data.info
|
3328
|
3481
|
this.last_info = response.data.data.last_info
|
3329
|
3482
|
|
|
@@ -3789,6 +3942,14 @@ export default {
|
3789
|
3942
|
this.patientInfo = response.data.data.xt_info
|
3790
|
3943
|
this.hisPatientInfo = response.data.data.his_info
|
3791
|
3944
|
this.case_history = response.data.data.case_history
|
|
3945
|
+
|
|
3946
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
3947
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
3948
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
3949
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
3950
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
3951
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
3952
|
+
|
3792
|
3953
|
var month_prescriptions = response.data.data.month_prescriptions
|
3793
|
3954
|
this.setMonthPrescription(month_prescriptions)
|
3794
|
3955
|
this.doctors = response.data.data.doctors
|
|
@@ -3801,7 +3962,6 @@ export default {
|
3801
|
3962
|
}
|
3802
|
3963
|
}
|
3803
|
3964
|
|
3804
|
|
- this.case_history = response.data.data.case_history
|
3805
|
3965
|
this.info = response.data.data.info
|
3806
|
3966
|
this.last_info = response.data.data.last_info
|
3807
|
3967
|
|
|
@@ -3891,6 +4051,42 @@ export default {
|
3891
|
4051
|
this.patientInfo = response.data.data.xt_info
|
3892
|
4052
|
this.hisPatientInfo = response.data.data.his_info
|
3893
|
4053
|
this.case_history = response.data.data.case_history
|
|
4054
|
+
|
|
4055
|
+ if(this.case_history.primary_disease == ""){
|
|
4056
|
+ this.case_history.primary_disease = ""
|
|
4057
|
+ }else{
|
|
4058
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
4059
|
+ }
|
|
4060
|
+
|
|
4061
|
+ if(this.case_history.confirm_failure_date <=0){
|
|
4062
|
+ this.case_history.confirm_failure_date = ""
|
|
4063
|
+ }else{
|
|
4064
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
4065
|
+ }
|
|
4066
|
+
|
|
4067
|
+ if(this.case_history.drug_allergy_history ==""){
|
|
4068
|
+ this.case_history.drug_allergy_history = ""
|
|
4069
|
+ }else{
|
|
4070
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
4071
|
+ }
|
|
4072
|
+
|
|
4073
|
+ if(this.case_history.physical_examination ==""){
|
|
4074
|
+ this.case_history.physical_examination = ""
|
|
4075
|
+ }else{
|
|
4076
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
4077
|
+ }
|
|
4078
|
+ if(this.case_history.special_inspection == ""){
|
|
4079
|
+ this.case_history.special_inspection = ""
|
|
4080
|
+ }else{
|
|
4081
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
4082
|
+ }
|
|
4083
|
+
|
|
4084
|
+ if(this.case_history.lab_apparatus == ""){
|
|
4085
|
+ this.case_history.lab_apparatus = ""
|
|
4086
|
+ }else{
|
|
4087
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
4088
|
+ }
|
|
4089
|
+
|
3894
|
4090
|
this.info = response.data.data.info
|
3895
|
4091
|
this.last_info = response.data.data.last_info
|
3896
|
4092
|
this.schedule = response.data.data.schedule
|
|
@@ -4251,6 +4447,42 @@ export default {
|
4251
|
4447
|
this.patientInfo = response.data.data.xt_info
|
4252
|
4448
|
this.hisPatientInfo = response.data.data.his_info
|
4253
|
4449
|
this.case_history = response.data.data.case_history
|
|
4450
|
+
|
|
4451
|
+ if(this.case_history.primary_disease == ""){
|
|
4452
|
+ this.case_history.primary_disease = ""
|
|
4453
|
+ }else{
|
|
4454
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
4455
|
+ }
|
|
4456
|
+
|
|
4457
|
+ if(this.case_history.confirm_failure_date <=0){
|
|
4458
|
+ this.case_history.confirm_failure_date = ""
|
|
4459
|
+ }else{
|
|
4460
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
4461
|
+ }
|
|
4462
|
+
|
|
4463
|
+ if(this.case_history.drug_allergy_history ==""){
|
|
4464
|
+ this.case_history.drug_allergy_history = ""
|
|
4465
|
+ }else{
|
|
4466
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
4467
|
+ }
|
|
4468
|
+
|
|
4469
|
+ if(this.case_history.physical_examination ==""){
|
|
4470
|
+ this.case_history.physical_examination = ""
|
|
4471
|
+ }else{
|
|
4472
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
4473
|
+ }
|
|
4474
|
+ if(this.case_history.special_inspection == ""){
|
|
4475
|
+ this.case_history.special_inspection = ""
|
|
4476
|
+ }else{
|
|
4477
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
4478
|
+ }
|
|
4479
|
+
|
|
4480
|
+ if(this.case_history.lab_apparatus == ""){
|
|
4481
|
+ this.case_history.lab_apparatus = ""
|
|
4482
|
+ }else{
|
|
4483
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
4484
|
+ }
|
|
4485
|
+
|
4254
|
4486
|
this.info = response.data.data.info
|
4255
|
4487
|
this.last_info = response.data.data.last_info
|
4256
|
4488
|
this.schedule = response.data.data.schedule
|
|
@@ -4468,10 +4700,9 @@ export default {
|
4468
|
4700
|
}
|
4469
|
4701
|
},
|
4470
|
4702
|
handleClick() {
|
4471
|
|
- if (this.titleType == '电子处方') {
|
|
4703
|
+ if (this.titleType == '电子处方' || this.titleType == '电子病历') {
|
4472
|
4704
|
if (this.radio == 1) {
|
4473
|
4705
|
this.un_cure_data.map(item => {
|
4474
|
|
- console.log('~~~~~~~~')
|
4475
|
4706
|
if (item.id == this.patientid) {
|
4476
|
4707
|
console.log('~~~~~~~~22222222')
|
4477
|
4708
|
|
|
@@ -4618,6 +4849,42 @@ export default {
|
4618
|
4849
|
this.patientInfo = response.data.data.xt_info
|
4619
|
4850
|
this.hisPatientInfo = response.data.data.his_info
|
4620
|
4851
|
this.case_history = response.data.data.case_history
|
|
4852
|
+
|
|
4853
|
+ if(this.case_history.primary_disease == ""){
|
|
4854
|
+ this.case_history.primary_disease = ""
|
|
4855
|
+ }else{
|
|
4856
|
+ this.case_history.primary_disease = this.case_history.primary_disease
|
|
4857
|
+ }
|
|
4858
|
+
|
|
4859
|
+ if(this.case_history.confirm_failure_date <=0){
|
|
4860
|
+ this.case_history.confirm_failure_date = ""
|
|
4861
|
+ }else{
|
|
4862
|
+ this.case_history.confirm_failure_date = uParseTime(this.case_history.confirm_failure_date, '{y}-{m}-{d}')
|
|
4863
|
+ }
|
|
4864
|
+
|
|
4865
|
+ if(this.case_history.drug_allergy_history ==""){
|
|
4866
|
+ this.case_history.drug_allergy_history = ""
|
|
4867
|
+ }else{
|
|
4868
|
+ this.case_history.drug_allergy_history = this.case_history.drug_allergy_history
|
|
4869
|
+ }
|
|
4870
|
+
|
|
4871
|
+ if(this.case_history.physical_examination ==""){
|
|
4872
|
+ this.case_history.physical_examination = ""
|
|
4873
|
+ }else{
|
|
4874
|
+ this.case_history.physical_examination = this.case_history.physical_examination
|
|
4875
|
+ }
|
|
4876
|
+ if(this.case_history.special_inspection == ""){
|
|
4877
|
+ this.case_history.special_inspection = ""
|
|
4878
|
+ }else{
|
|
4879
|
+ this.case_history.special_inspection = this.case_history.special_inspection
|
|
4880
|
+ }
|
|
4881
|
+
|
|
4882
|
+ if(this.case_history.lab_apparatus == ""){
|
|
4883
|
+ this.case_history.lab_apparatus = ""
|
|
4884
|
+ }else{
|
|
4885
|
+ this.case_history.lab_apparatus = this.case_history.lab_apparatus
|
|
4886
|
+ }
|
|
4887
|
+
|
4621
|
4888
|
this.info = response.data.data.info
|
4622
|
4889
|
this.last_info = response.data.data.last_info
|
4623
|
4890
|
this.schedule = response.data.data.schedule
|