Browse Source

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

csx 4 years ago
parent
commit
0903d04c48

+ 8 - 8
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

3703
                       }
3703
                       }
3704
                       this.all_table_data.push(obj)
3704
                       this.all_table_data.push(obj)
3705
 
3705
 
3706
+                      if(obj.name == "刘伟琼"){
3707
+                        console.log(obj)
3708
+
3709
+                      }
3710
+
3706
                     }
3711
                     }
3707
                   } else {
3712
                   } else {
3708
                     let obj = {
3713
                     let obj = {
3729
                         id: response.data.data.list[i].id,
3734
                         id: response.data.data.list[i].id,
3730
                         name: response.data.data.list[i].name,
3735
                         name: response.data.data.list[i].name,
3731
                         number: response.data.data.list[i].his_patient[b].number,
3736
                         number: response.data.data.list[i].his_patient[b].number,
3732
-                        order_status: 1,
3737
+                        order_status: 0,
3733
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
3738
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
3734
                         order_number: '',
3739
                         order_number: '',
3735
                         order_id: 0,
3740
                         order_id: 0,
3764
                 this.hisPatientDatas.push(this.all_table_data[i])
3769
                 this.hisPatientDatas.push(this.all_table_data[i])
3765
               }
3770
               }
3766
             }
3771
             }
3772
+
3767
             let unChargePatient = []
3773
             let unChargePatient = []
3768
             for (let i = 0; i < this.all_table_data.length; i++) {
3774
             for (let i = 0; i < this.all_table_data.length; i++) {
3769
               let isHasUnCharge = false
3775
               let isHasUnCharge = false
3807
             if (this.radio == 1) {
3813
             if (this.radio == 1) {
3808
               this.all_table_data = this.unique_four(this.all_table_data)
3814
               this.all_table_data = this.unique_four(this.all_table_data)
3809
             }
3815
             }
3810
-            console.log("~~~~~~~~~~")
3811
-
3812
-            console.log(this.all_table_data)
3813
 
3816
 
3814
             switch (this.radio) {
3817
             switch (this.radio) {
3815
               case 1:
3818
               case 1:
3816
-                console.log(this.all_table_data)
3817
                 this.patientTableData = []
3819
                 this.patientTableData = []
3818
                 for (let i = 0; i < this.all_table_data.length; i++) {
3820
                 for (let i = 0; i < this.all_table_data.length; i++) {
3819
                   let isHasUnCharge = false
3821
                   let isHasUnCharge = false
3837
                   if (isHasUnCharge) {
3839
                   if (isHasUnCharge) {
3838
                     this.patientTableData.push(this.all_table_data[i])
3840
                     this.patientTableData.push(this.all_table_data[i])
3839
                   }
3841
                   }
3840
-
3841
                 }
3842
                 }
3842
-
3843
                 this.all_patient = this.patientTableData
3843
                 this.all_patient = this.patientTableData
3844
-
3845
                 break
3844
                 break
3845
+
3846
               case 2:
3846
               case 2:
3847
                 this.patientTableData = []
3847
                 this.patientTableData = []
3848
                 for (let i = 0; i < this.all_table_data.length; i++) {
3848
                 for (let i = 0; i < this.all_table_data.length; i++) {

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

1910
           this.showTwo = true
1910
           this.showTwo = true
1911
         }
1911
         }
1912
 
1912
 
1913
-        this.state2 = info.sick_history
1914
-        if (this.state2 == 0) {
1915
-          this.state2 = ''
1916
-        }
1913
+
1917
 
1914
 
1918
         if (info.prescription_status == 0) {
1915
         if (info.prescription_status == 0) {
1919
           this.order_status = ''
1916
           this.order_status = ''
1991
 
1988
 
1992
                 }
1989
                 }
1993
               }
1990
               }
1991
+
1992
+              if(last_info.sick_history == 0){
1993
+                this.state2 = ''
1994
+              }else{
1995
+                this.state2 = last_info.sick_history
1996
+              }
1997
+
1998
+
1994
             }else{
1999
             }else{
2000
+              this.state2 = info.sick_history
2001
+              if (this.state2 == 0) {
2002
+                this.state2 = ''
2003
+              }
1995
               if(info.diagnosis.length == 0){
2004
               if(info.diagnosis.length == 0){
1996
                 this.diagnose = []
2005
                 this.diagnose = []
1997
               }else{
2006
               }else{