Browse Source

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

XMLWAN 4 years ago
parent
commit
1d203fd960

+ 7 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -211,6 +211,9 @@
211 211
       </div>
212 212
     </div>
213 213
     <additionalCharges ref='additionalCharges' @click="addCharges" :addtions_charge="addtions_charge"></additionalCharges>
214
+
215
+   <register-dialog></register-dialog>
216
+
214 217
     <el-dialog
215 218
       class="centerDialog"
216 219
       width="900px"
@@ -231,11 +234,13 @@
231 234
   import additionalCharges from './components/additionalCharges'
232 235
   import { getPatientInformation, getPatientList } from '@/api/project/project'
233 236
   import { getPatientInfo, getSchedulePatientList, register, upload,Refund } from '@/api/his/his'
237
+  import RegisterDialog from "./components/registerDialog";
234 238
   import treatPrint from './treatPrint'
235 239
 
236 240
   const moment = require('moment')
237 241
   export default {
238 242
     components: {
243
+      RegisterDialog,
239 244
       BreadCrumb,
240 245
       noCharge,
241 246
       charged,
@@ -243,7 +248,7 @@
243 248
       prescriptionTable,
244 249
       additionalCharges,
245 250
       treatPrint,
246
-      
251
+
247 252
     },
248 253
     data() {
249 254
       return {
@@ -485,7 +490,7 @@
485 490
         }
486 491
       },
487 492
       open(index) {
488
-        console.log('index', index)
493
+
489 494
         if (index == 1) {
490 495
 
491 496
         } else if (index == 2) {

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

@@ -576,6 +576,8 @@
576 576
             this.department = response.data.data.department
577 577
             this.sick = response.data.data.sick
578 578
             this.diagnoses = response.data.data.diagnose
579
+            this.additions = response.data.data.additions
580
+
579 581
             // var info = response.data.data.info
580 582
             // if (info.user_type == 2 || info.user_type == 1) {
581 583
             //   this.doctorValue = info.admin_user_id
@@ -710,7 +712,14 @@
710 712
               this.doctorValue = admin_info.admin_user_id
711 713
               if (admin_info.department_id == 0) {
712 714
                 if (this.department.length > 0) {
713
-                  this.departmentValue = department[0].id
715
+                  if(department && department.length > 0){
716
+                    this.departmentValue = department[0].id
717
+
718
+                  }else{
719
+
720
+                    this.departmentValue = ''
721
+
722
+                  }
714 723
                 } else {
715 724
                   this.departmentValue = ''
716 725
                 }

+ 4 - 3
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -118,7 +118,7 @@
118 118
       title="打印"
119 119
       :visible.sync="innerVisible"
120 120
       append-to-body>
121
-      
121
+
122 122
       <print v-if="index == 2" :paramsObj='paramsObj'></print>
123 123
       <treatPrint v-if="index == 6" :paramsObj='paramsObj'></treatPrint>
124 124
     </el-dialog>
@@ -210,7 +210,8 @@
210 210
         innerVisible:false,
211 211
         paramsObj:{},
212 212
         recordVisible:false,
213
-        recordObj:{}
213
+        recordObj:{},
214
+        additions:[],
214 215
 
215 216
       }
216 217
     },
@@ -877,7 +878,7 @@
877 878
            }
878 879
            this.paramsObj = obj
879 880
            this.innerVisible = true
880
-           
881
+
881 882
           //  this.$router.push("/outpatientDoctorStation/print?record="+this.record_date+"&prescription_id="+this.prescription_id+"&ids="+ids+"&patient_id="+this.patientid)
882 883
          }
883 884
          if(this.index == 6){