Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 2 days ago
parent
commit
ef628a363c

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

3215
                 var err_msg = ""
3215
                 var err_msg = ""
3216
                 for(let i =0; i < this.prescriptions.length; i++){
3216
                 for(let i =0; i < this.prescriptions.length; i++){
3217
                   for(let b= 0; b < this.prescriptions[i].advices.length;b++){
3217
                   for(let b= 0; b < this.prescriptions[i].advices.length;b++){
3218
-                    console.log(this.prescriptions[i].advices[b])
3219
-                    if(this.prescriptions[i].advices[b].prescribing_number_unit !=this.prescriptions[i].advices[b].drug.min_unit){
3218
+
3219
+                    if(this.prescriptions[i].advices[b].prescribing_number_unit !=this.prescriptions[i].advices[b].drug.min_unit && this.prescriptions[i].advices[b].delivery_way.indexOf("口服") != -1 ){
3220
                       isLoading = false
3220
                       isLoading = false
3221
                       if(err_msg.length == 0){
3221
                       if(err_msg.length == 0){
3222
 
3222
 

+ 3 - 1
src/xt_pages/user/patientInfo.vue View File

1
 
1
 
2
 <template>
2
 <template>
3
   <div class="patient-container">
3
   <div class="patient-container">
4
-  <patient-sidebar :id="patientID"></patient-sidebar>
4
+  <patient-sidebar :id="patientID" v-if="org_id!=0&&org_id!=10702"></patient-sidebar>
5
+  <PatientSidebar_ord :id="patientID" v-if="org_id==0 || org_id==10702"></PatientSidebar_ord>
5
    <!-- <PatientSidebar_new :id="patientID"></PatientSidebar_new> -->
6
    <!-- <PatientSidebar_new :id="patientID"></PatientSidebar_new> -->
6
   <patient-detail :is-edit='true' :class='panelClass' v-on:tran-patient-info="patientInfo=$event"></patient-detail>
7
   <patient-detail :is-edit='true' :class='panelClass' v-on:tran-patient-info="patientInfo=$event"></patient-detail>
8
+
7
   </div>
9
   </div>
8
 </template>
10
 </template>
9
 
11