|
@@ -1,5 +1,5 @@
|
1
|
1
|
import request from '@/utils/request'
|
2
|
|
-import {cyptoTool} from '@/utils/cryptoJSMi';
|
|
2
|
+import { cyptoTool } from '@/utils/cryptoJSMi';
|
3
|
3
|
|
4
|
4
|
|
5
|
5
|
export function diagnosisTypeTreeList(params) {
|
|
@@ -24,7 +24,7 @@ export function diagnosisTypeOrderDoctor(data) {
|
24
|
24
|
return request({
|
25
|
25
|
url: `/diagnosis-type-order-doctor`,
|
26
|
26
|
method: 'post',
|
27
|
|
- data
|
|
27
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
28
|
28
|
})
|
29
|
29
|
}
|
30
|
30
|
|
|
@@ -61,7 +61,7 @@ export function diagnosisTypeTreeAdd(data) {
|
61
|
61
|
return request({
|
62
|
62
|
url: `/system/diagnosis-type`,
|
63
|
63
|
method: 'post',
|
64
|
|
- data
|
|
64
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
65
|
65
|
})
|
66
|
66
|
}
|
67
|
67
|
|
|
@@ -71,7 +71,7 @@ export function appointmentProjectAdd(data) {
|
71
|
71
|
return request({
|
72
|
72
|
url: `/project/appointment-project`,
|
73
|
73
|
method: 'post',
|
74
|
|
- data
|
|
74
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
75
|
75
|
})
|
76
|
76
|
}
|
77
|
77
|
|
|
@@ -80,7 +80,7 @@ export function diagnosisTypeTreeUpdate(data) {
|
80
|
80
|
return request({
|
81
|
81
|
url: `/system/diagnosis-type`,
|
82
|
82
|
method: 'put',
|
83
|
|
- data
|
|
83
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
84
|
84
|
})
|
85
|
85
|
}
|
86
|
86
|
|
|
@@ -88,7 +88,7 @@ export function appointmentProjectUpdate(data) {
|
88
|
88
|
return request({
|
89
|
89
|
url: `/project/appointment-project`,
|
90
|
90
|
method: 'put',
|
91
|
|
- data
|
|
91
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
92
|
92
|
})
|
93
|
93
|
}
|
94
|
94
|
|
|
@@ -128,7 +128,7 @@ export function diagnosisTypetemplateAdd(data) {
|
128
|
128
|
return request({
|
129
|
129
|
url: `/system/diagnosis-type-template`,
|
130
|
130
|
method: 'post',
|
131
|
|
- data
|
|
131
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
132
|
132
|
})
|
133
|
133
|
}
|
134
|
134
|
|
|
@@ -151,14 +151,14 @@ export function diagnosisTypetemplateUpdate(data) {
|
151
|
151
|
return request({
|
152
|
152
|
url: `/system/diagnosis-type-template`,
|
153
|
153
|
method: 'put',
|
154
|
|
- data
|
|
154
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
155
|
155
|
})
|
156
|
156
|
}
|
157
|
157
|
export function appointmentProjectUpdate1(data) {
|
158
|
158
|
return request({
|
159
|
159
|
url: `/project/appointment-project`,
|
160
|
160
|
method: 'put',
|
161
|
|
- data
|
|
161
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
162
|
162
|
})
|
163
|
163
|
}
|
164
|
164
|
|
|
@@ -173,7 +173,7 @@ export function importTemplate(data) {
|
173
|
173
|
return request({
|
174
|
174
|
url: `/system/diagnosis-type-template/importTemplate`,
|
175
|
175
|
method: 'post',
|
176
|
|
- data,
|
|
176
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data)),
|
177
|
177
|
responseType: "blob",
|
178
|
178
|
timeOut: 1000 * 60
|
179
|
179
|
})
|
|
@@ -282,7 +282,7 @@ export function patientAdd(data) {
|
282
|
282
|
return request({
|
283
|
283
|
url: `/patient/patient`,
|
284
|
284
|
method: 'post',
|
285
|
|
- data
|
|
285
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
286
|
286
|
})
|
287
|
287
|
}
|
288
|
288
|
|
|
@@ -329,7 +329,7 @@ export function patientMedicalRecord(data) {
|
329
|
329
|
return request({
|
330
|
330
|
url: `/patient/medical-record`,
|
331
|
331
|
method: 'post',
|
332
|
|
- data
|
|
332
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
333
|
333
|
})
|
334
|
334
|
}
|
335
|
335
|
|
|
@@ -337,7 +337,7 @@ export function patientMedicalRecordUpdate(data) {
|
337
|
337
|
return request({
|
338
|
338
|
url: `/patient/medical-record`,
|
339
|
339
|
method: 'put',
|
340
|
|
- data
|
|
340
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
341
|
341
|
})
|
342
|
342
|
}
|
343
|
343
|
|
|
@@ -384,7 +384,7 @@ export function appointmentAdd(data) {
|
384
|
384
|
return request({
|
385
|
385
|
url: `/patientAppointment/patientAppointment-appointment`,
|
386
|
386
|
method: 'post',
|
387
|
|
- data
|
|
387
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
388
|
388
|
})
|
389
|
389
|
}
|
390
|
390
|
|
|
@@ -409,7 +409,7 @@ export function modifyStateUpdate(data) {
|
409
|
409
|
return request({
|
410
|
410
|
url: `/patientAppointment/patientAppointment-appointment/modifyState`,
|
411
|
411
|
method: 'post',
|
412
|
|
- data
|
|
412
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
413
|
413
|
})
|
414
|
414
|
}
|
415
|
415
|
|
|
@@ -445,7 +445,7 @@ export function html2Pdf(data) {
|
445
|
445
|
url: `/patient/medical-record/html2Pdf`,
|
446
|
446
|
method: 'post',
|
447
|
447
|
responseType: "blob",
|
448
|
|
- data,
|
|
448
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data)),
|
449
|
449
|
timeout: 1000 * 60 * 5
|
450
|
450
|
})
|
451
|
451
|
}
|
|
@@ -455,14 +455,14 @@ export function businessDictDataUpdate(data) {
|
455
|
455
|
return request({
|
456
|
456
|
url: `/system/business-dict-data`,
|
457
|
457
|
method: 'put',
|
458
|
|
- data
|
|
458
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
459
|
459
|
})
|
460
|
460
|
}
|
461
|
461
|
export function businessDictDataAdd(data) {
|
462
|
462
|
return request({
|
463
|
463
|
url: `/system/business-dict-data`,
|
464
|
464
|
method: 'post',
|
465
|
|
- data
|
|
465
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
466
|
466
|
})
|
467
|
467
|
}
|
468
|
468
|
|
|
@@ -478,7 +478,7 @@ export function clinicInfo(data) {
|
478
|
478
|
return request({
|
479
|
479
|
url: `/clinic-info`,
|
480
|
480
|
method: 'post',
|
481
|
|
- data
|
|
481
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
482
|
482
|
})
|
483
|
483
|
}
|
484
|
484
|
|
|
@@ -502,7 +502,7 @@ export function schedulingConfiguration(data) {
|
502
|
502
|
return request({
|
503
|
503
|
url: `/scheduling-configuration`,
|
504
|
504
|
method: 'post',
|
505
|
|
- data
|
|
505
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
506
|
506
|
})
|
507
|
507
|
}
|
508
|
508
|
|
|
@@ -510,7 +510,7 @@ export function schedulingDetails(data) {
|
510
|
510
|
return request({
|
511
|
511
|
url: `/scheduling-details`,
|
512
|
512
|
method: 'put',
|
513
|
|
- data
|
|
513
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
514
|
514
|
})
|
515
|
515
|
}
|
516
|
516
|
// 查询排班
|
|
@@ -543,7 +543,7 @@ export function schedulingStatusAdd(data) {
|
543
|
543
|
return request({
|
544
|
544
|
url: `/scheduling-status`,
|
545
|
545
|
method: 'post',
|
546
|
|
- data
|
|
546
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
547
|
547
|
})
|
548
|
548
|
}
|
549
|
549
|
|
|
@@ -551,7 +551,7 @@ export function schedulingStatusUpdate(data) {
|
551
|
551
|
return request({
|
552
|
552
|
url: `/scheduling-status`,
|
553
|
553
|
method: 'put',
|
554
|
|
- data
|
|
554
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
555
|
555
|
})
|
556
|
556
|
}
|
557
|
557
|
|
|
@@ -603,7 +603,7 @@ export function patientFollowUp(data) {
|
603
|
603
|
return request({
|
604
|
604
|
url: `/patient-follow-up`,
|
605
|
605
|
method: 'post',
|
606
|
|
- data
|
|
606
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
607
|
607
|
})
|
608
|
608
|
}
|
609
|
609
|
|
|
@@ -627,7 +627,7 @@ export function patientFollowUpUpdate(data) {
|
627
|
627
|
return request({
|
628
|
628
|
url: `/patient-follow-up`,
|
629
|
629
|
method: 'put',
|
630
|
|
- data
|
|
630
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
631
|
631
|
})
|
632
|
632
|
}
|
633
|
633
|
|
|
@@ -635,7 +635,7 @@ export function protocolTemplate(data) {
|
635
|
635
|
return request({
|
636
|
636
|
url: `/protocol-template`,
|
637
|
637
|
method: 'post',
|
638
|
|
- data
|
|
638
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
639
|
639
|
})
|
640
|
640
|
}
|
641
|
641
|
|
|
@@ -643,7 +643,7 @@ export function protocolTemplateUpdate(data) {
|
643
|
643
|
return request({
|
644
|
644
|
url: `/protocol-template`,
|
645
|
645
|
method: 'put',
|
646
|
|
- data
|
|
646
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
647
|
647
|
})
|
648
|
648
|
}
|
649
|
649
|
|
|
@@ -666,7 +666,7 @@ export function protocolType(data) {
|
666
|
666
|
return request({
|
667
|
667
|
url: `/protocol-type`,
|
668
|
668
|
method: 'post',
|
669
|
|
- data
|
|
669
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
670
|
670
|
})
|
671
|
671
|
}
|
672
|
672
|
|
|
@@ -674,7 +674,7 @@ export function protocolTypeUpdate(data) {
|
674
|
674
|
return request({
|
675
|
675
|
url: `/protocol-type`,
|
676
|
676
|
method: 'put',
|
677
|
|
- data
|
|
677
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
678
|
678
|
})
|
679
|
679
|
}
|
680
|
680
|
|
|
@@ -726,7 +726,7 @@ export function collectCostType(data) {
|
726
|
726
|
return request({
|
727
|
727
|
url: `/collect-cost-type`,
|
728
|
728
|
method: 'post',
|
729
|
|
- data
|
|
729
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
730
|
730
|
})
|
731
|
731
|
}
|
732
|
732
|
|
|
@@ -734,7 +734,7 @@ export function collectCostTypeUpdate(data) {
|
734
|
734
|
return request({
|
735
|
735
|
url: `/collect-cost-type`,
|
736
|
736
|
method: 'put',
|
737
|
|
- data
|
|
737
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
738
|
738
|
})
|
739
|
739
|
}
|
740
|
740
|
|
|
@@ -756,14 +756,14 @@ export function collectCostDetailsUpdate(data) {
|
756
|
756
|
return request({
|
757
|
757
|
url: `/collect-cost-details`,
|
758
|
758
|
method: 'put',
|
759
|
|
- data
|
|
759
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
760
|
760
|
})
|
761
|
761
|
}
|
762
|
762
|
export function collectCostDetailsAdd(data) {
|
763
|
763
|
return request({
|
764
|
764
|
url: `/collect-cost-details`,
|
765
|
765
|
method: 'post',
|
766
|
|
- data
|
|
766
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
767
|
767
|
})
|
768
|
768
|
}
|
769
|
769
|
|
|
@@ -802,7 +802,7 @@ export function minioUpload(data) {
|
802
|
802
|
return request({
|
803
|
803
|
url: `/common/minioUpload`,
|
804
|
804
|
method: 'post',
|
805
|
|
- data
|
|
805
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
806
|
806
|
})
|
807
|
807
|
}
|
808
|
808
|
|
|
@@ -818,7 +818,7 @@ export function diagnosisTypeCostProjectAdd(data) {
|
818
|
818
|
return request({
|
819
|
819
|
url: `/diagnosis-type-cost-project`,
|
820
|
820
|
method: 'post',
|
821
|
|
- data
|
|
821
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
822
|
822
|
})
|
823
|
823
|
}
|
824
|
824
|
|
|
@@ -850,7 +850,7 @@ export function collectCostPatientsUpdate(data) {
|
850
|
850
|
return request({
|
851
|
851
|
url: `/collect-cost-patients`,
|
852
|
852
|
method: 'put',
|
853
|
|
- data
|
|
853
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
854
|
854
|
})
|
855
|
855
|
}
|
856
|
856
|
|
|
@@ -858,7 +858,7 @@ export function collectCost(data) {
|
858
|
858
|
return request({
|
859
|
859
|
url: `/collect-cost-patients/collectCost`,
|
860
|
860
|
method: 'post',
|
861
|
|
- data
|
|
861
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
862
|
862
|
})
|
863
|
863
|
}
|
864
|
864
|
export function getChatDisease(params) {
|
|
@@ -886,14 +886,14 @@ export function addClinict(data) {
|
886
|
886
|
return request({
|
887
|
887
|
url: `/sys/clinict/add`,
|
888
|
888
|
method: 'post',
|
889
|
|
- data
|
|
889
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
890
|
890
|
})
|
891
|
891
|
}
|
892
|
892
|
export function editClinict(data) {
|
893
|
893
|
return request({
|
894
|
894
|
url: `/sys/clinict/edit`,
|
895
|
895
|
method: 'put',
|
896
|
|
- data
|
|
896
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
897
|
897
|
})
|
898
|
898
|
}
|
899
|
899
|
|
|
@@ -909,21 +909,21 @@ export function noticeManageRevoke(data) {
|
909
|
909
|
return request({
|
910
|
910
|
url: `/notice-manage/revoke`,
|
911
|
911
|
method: 'post',
|
912
|
|
- data
|
|
912
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
913
|
913
|
})
|
914
|
914
|
}
|
915
|
915
|
export function noticeManageAdd(data) {
|
916
|
916
|
return request({
|
917
|
917
|
url: `/notice-manage`,
|
918
|
918
|
method: 'post',
|
919
|
|
- data
|
|
919
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
920
|
920
|
})
|
921
|
921
|
}
|
922
|
922
|
export function noticeManageUpdate(data) {
|
923
|
923
|
return request({
|
924
|
924
|
url: `/notice-manage`,
|
925
|
925
|
method: 'put',
|
926
|
|
- data
|
|
926
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
927
|
927
|
})
|
928
|
928
|
}
|
929
|
929
|
|
|
@@ -944,7 +944,7 @@ export function noticeManageDetails(params) {
|
944
|
944
|
|
945
|
945
|
export function delClinict(id) {
|
946
|
946
|
return request({
|
947
|
|
- url: `/sys/clinict/`+id,
|
|
947
|
+ url: `/sys/clinict/` + id,
|
948
|
948
|
method: 'delete'
|
949
|
949
|
})
|
950
|
950
|
}
|
|
@@ -961,7 +961,7 @@ export function findListByToothPosition(data) {
|
961
|
961
|
return request({
|
962
|
962
|
url: `/patient/medical-record/findListByToothPosition`,
|
963
|
963
|
method: 'post',
|
964
|
|
- data
|
|
964
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
965
|
965
|
})
|
966
|
966
|
}
|
967
|
967
|
|
|
@@ -985,7 +985,7 @@ export function diagnosisManageListAdd(data) {
|
985
|
985
|
return request({
|
986
|
986
|
url: `/diagnosis-manage`,
|
987
|
987
|
method: 'post',
|
988
|
|
- data
|
|
988
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
989
|
989
|
})
|
990
|
990
|
}
|
991
|
991
|
|
|
@@ -993,7 +993,7 @@ export function diagnosisManageUpdate(data) {
|
993
|
993
|
return request({
|
994
|
994
|
url: `/diagnosis-manage`,
|
995
|
995
|
method: 'put',
|
996
|
|
- data
|
|
996
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
997
|
997
|
})
|
998
|
998
|
}
|
999
|
999
|
|
|
@@ -1008,7 +1008,7 @@ export function diagnosisManageImportTemplate(data) {
|
1008
|
1008
|
return request({
|
1009
|
1009
|
url: `/diagnosis-manage/importTemplate`,
|
1010
|
1010
|
method: 'post',
|
1011
|
|
- data,
|
|
1011
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data)),
|
1012
|
1012
|
responseType: "blob",
|
1013
|
1013
|
timeOut: 1000 * 60
|
1014
|
1014
|
})
|
|
@@ -1018,7 +1018,7 @@ export function getInfoByDiagnosisTypeTemplateId(data) {
|
1018
|
1018
|
return request({
|
1019
|
1019
|
url: `/patient/medical-record/getInfoByDiagnosisTypeTemplateId`,
|
1020
|
1020
|
method: 'post',
|
1021
|
|
- data
|
|
1021
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
1022
|
1022
|
})
|
1023
|
1023
|
}
|
1024
|
1024
|
|
|
@@ -1026,6 +1026,6 @@ export function findNoteList(data) {
|
1026
|
1026
|
return request({
|
1027
|
1027
|
url: `/patient/medical-record/findNoteList`,
|
1028
|
1028
|
method: 'post',
|
1029
|
|
- data
|
|
1029
|
+ data: cyptoTool.methods.encrypt(JSON.stringify(data))
|
1030
|
1030
|
})
|
1031
|
1031
|
}
|