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

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

576
             this.department = response.data.data.department
576
             this.department = response.data.data.department
577
             this.sick = response.data.data.sick
577
             this.sick = response.data.data.sick
578
             this.diagnoses = response.data.data.diagnose
578
             this.diagnoses = response.data.data.diagnose
579
+            this.additions = response.data.data.additions
580
+
579
             // var info = response.data.data.info
581
             // var info = response.data.data.info
580
             // if (info.user_type == 2 || info.user_type == 1) {
582
             // if (info.user_type == 2 || info.user_type == 1) {
581
             //   this.doctorValue = info.admin_user_id
583
             //   this.doctorValue = info.admin_user_id
710
               this.doctorValue = admin_info.admin_user_id
712
               this.doctorValue = admin_info.admin_user_id
711
               if (admin_info.department_id == 0) {
713
               if (admin_info.department_id == 0) {
712
                 if (this.department.length > 0) {
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
                 } else {
723
                 } else {
715
                   this.departmentValue = ''
724
                   this.departmentValue = ''
716
                 }
725
                 }

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

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