瀏覽代碼

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

csx 3 年之前
父節點
當前提交
0903d04c48

+ 8 - 8
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

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

+ 13 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

@@ -1910,10 +1910,7 @@
1910 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 1915
         if (info.prescription_status == 0) {
1919 1916
           this.order_status = ''
@@ -1991,7 +1988,19 @@
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 1999
             }else{
2000
+              this.state2 = info.sick_history
2001
+              if (this.state2 == 0) {
2002
+                this.state2 = ''
2003
+              }
1995 2004
               if(info.diagnosis.length == 0){
1996 2005
                 this.diagnose = []
1997 2006
               }else{