Browse Source

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

XMLWAN 3 years ago
parent
commit
3b61f79460

+ 8 - 0
src/api/his/his.js View File

554
 
554
 
555
 
555
 
556
 
556
 
557
+export function getAllOrders(params) {
558
+  return request({
559
+    url: "/api/orders",
560
+    method: "get",
561
+    params:params,
562
+  });
563
+}
564
+
557
 
565
 
558
 
566
 

+ 2 - 2
src/api/project/project.js View File

454
   })
454
   })
455
 }
455
 }
456
 
456
 
457
-export function getPrescriptionList(id,p_type){
457
+export function getPrescriptionList(id,p_type,record_date){
458
 
458
 
459
   return request({
459
   return request({
460
-    url:"/api/hispatient/getprescription?patient_id="+id+"&p_type="+p_type,
460
+    url:"/api/hispatient/getprescription?patient_id="+id+"&p_type="+p_type+"&record_date="+record_date,
461
     method:"Get",
461
     method:"Get",
462
   })
462
   })
463
 }
463
 }

+ 6 - 6
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

433
       },
433
       },
434
       openPrint() {
434
       openPrint() {
435
         // this.centerDialogVisible = true
435
         // this.centerDialogVisible = true
436
-        this.getPrescriptionList(this.patientInfo.id)
436
+        this.getPrescriptionList(this.patientInfo.id, this.record_date)
437
       },
437
       },
438
       allCheck() {
438
       allCheck() {
439
         this.$refs.multipleTable1.toggleAllSelection()
439
         this.$refs.multipleTable1.toggleAllSelection()
4178
           this.$refs.prescriptions.open(1, this.saveLoading)
4178
           this.$refs.prescriptions.open(1, this.saveLoading)
4179
         } else if (index == 2) {
4179
         } else if (index == 2) {
4180
 
4180
 
4181
-          this.getPrescriptionList(this.patientInfo.id, 1)
4181
+          this.getPrescriptionList(this.patientInfo.id,this.record_date, 1)
4182
           // this.$router.push("/outpatientDoctorStation/print?record="+this.record_date+"&prescription_id="+this.prescription_id)
4182
           // this.$router.push("/outpatientDoctorStation/print?record="+this.record_date+"&prescription_id="+this.prescription_id)
4183
         } else if (index == 3) {
4183
         } else if (index == 3) {
4184
           this.$refs.prescriptions.open(3)
4184
           this.$refs.prescriptions.open(3)
4186
           this.$refs.prescriptions.open(4)
4186
           this.$refs.prescriptions.open(4)
4187
         } else if (index == 6) {
4187
         } else if (index == 6) {
4188
           // this.$router.push("/outpatientDoctorStation/treatPrint?record="+this.record_date+"&prescription_id="+this.prescription_id)
4188
           // this.$router.push("/outpatientDoctorStation/treatPrint?record="+this.record_date+"&prescription_id="+this.prescription_id)
4189
-          this.getPrescriptionList(this.patientInfo.id, 2)
4189
+          this.getPrescriptionList(this.patientInfo.id,this.record_date, 2)
4190
           // this.$router.push("/outpatientDoctorStation/treatPrint?record="+this.record_date+"&prescription_id="+this.prescription_id)
4190
           // this.$router.push("/outpatientDoctorStation/treatPrint?record="+this.record_date+"&prescription_id="+this.prescription_id)
4191
 
4191
 
4192
         } else if (index == 20) {
4192
         } else if (index == 20) {
4193
-          this.getPrescriptionList(this.patientInfo.id, 2, 3)
4193
+          this.getPrescriptionList(this.patientInfo.id,this.record_date, 2, 3)
4194
         }
4194
         }
4195
 
4195
 
4196
       },
4196
       },
4229
         this.prescription_id = data
4229
         this.prescription_id = data
4230
       },
4230
       },
4231
 
4231
 
4232
-      getPrescriptionList(id, type, checkType) {
4233
-        getPrescriptionList(id, 2).then(response => {
4232
+      getPrescriptionList(id,record_date, type, checkType) {
4233
+        getPrescriptionList(id, 2,record_date).then(response => {
4234
           if (response.data.state == 1) {
4234
           if (response.data.state == 1) {
4235
             if (checkType != 3) {
4235
             if (checkType != 3) {
4236
               this.centerDialogVisible = true
4236
               this.centerDialogVisible = true