陈少旭 il y a 2 ans
Parent
révision
9624ced772
2 fichiers modifiés avec 94 ajouts et 1 suppressions
  1. 73 1
      src/api/patient.js
  2. 21 0
      src/router/modules/patient.js

+ 73 - 1
src/api/patient.js Voir le fichier

@@ -509,7 +509,7 @@ export function getInspectionItemList(params) {
509 509
 }
510 510
 
511 511
 export function saveCreation(data) {
512
- 
512
+
513 513
   return request({
514 514
     url: '/api/patient/savecreationinspection',
515 515
     method: 'post',
@@ -652,3 +652,75 @@ export function deleteFirstDisease(params) {
652 652
     params: params
653 653
   })
654 654
 }
655
+
656
+export function createSickHistoryRecord(params) {
657
+  return request({
658
+    url: '/api/patient/sickhistory/create',
659
+    method: 'get',
660
+    params: params
661
+  })
662
+}
663
+
664
+
665
+export function deleteSickHistoryRecords(params) {
666
+  return request({
667
+    url: '/api/patient/sickhistory/delete',
668
+    method: 'post',
669
+    params: params
670
+  })
671
+}
672
+
673
+ export function ModifySickHistoryRecord(params) {
674
+  return request({
675
+    url: '/api/patient/sickhistory/modify',
676
+    method: 'get',
677
+    params: params
678
+  })
679
+}
680
+
681
+export function GetSickHistoryRecords(params) {
682
+  return request({
683
+    url: '/api/patient/sickhistory',
684
+    method: 'get',
685
+    params: params
686
+  })
687
+}
688
+
689
+
690
+
691
+export function getPhysiqueCheckRecords(patient_id, start_time_ymd, end_time_ymd) {
692
+  var params = {
693
+    patient_id: patient_id,
694
+    start_time: start_time_ymd,
695
+    end_time: end_time_ymd
696
+  }
697
+  return request({
698
+    url: '/api/patient/physiquecheck',
699
+    method: 'get',
700
+    params: params
701
+  })
702
+}
703
+export function createPhysiqueCheckRecord(params) {
704
+  return request({
705
+    url: '/api/patient/physiquecheck/create',
706
+    method: 'get',
707
+    params: params
708
+  })
709
+}
710
+
711
+export function modifyPhysiqueCheckRecord(params) {
712
+  return request({
713
+    url: '/api/patient/physiquecheck/modify',
714
+    method: 'get',
715
+    params: params
716
+  })
717
+}
718
+
719
+
720
+export function deletePhysiqueCheckRecords(params) {
721
+  return request({
722
+    url: '/api/patient/physiquecheck/delete',
723
+    method: 'post',
724
+    params: params
725
+  })
726
+}

+ 21 - 0
src/router/modules/patient.js Voir le fichier

@@ -188,6 +188,27 @@ export default {
188 188
       is_menu: false,
189 189
       name: 'sickHistory',
190 190
       meta: { title: 'sickHistory', noCache: true }
191
+    }, {
192
+      path: '/patients/inspection_check',
193
+      component: () => import('@/xt_pages/user/inspectionCheck'),
194
+      hidden: true,
195
+      is_menu: false,
196
+      name: 'inspectionCheck',
197
+      meta: { title: 'inspectionCheck', noCache: true }
198
+    },{
199
+      path: '/patients/ktv',
200
+      component: () => import('@/xt_pages/user/ktv'),
201
+      hidden: true,
202
+      is_menu: false,
203
+      name: 'ktv',
204
+      meta: { title: 'ktv', noCache: true }
205
+    },{
206
+      path: '/patients/physicalexamination',
207
+      component: () => import('@/xt_pages/user/Physicalexamination'),
208
+      hidden: true,
209
+      is_menu: false,
210
+      name: 'physicalexamination',
211
+      meta: { title: 'physicalexamination', noCache: true }
191 212
     },
192 213
   {
193 214
     path: '/patients/rescue',