Преглед на файлове

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

see999 преди 3 години
родител
ревизия
7ade09fd63

+ 17 - 13
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Целия файл

@@ -294,7 +294,6 @@
294 294
 
295 295
                                                 <span>个人账户金额:<span style="color:red;">{{ items.curPrescriptions.order.account_price?items.curPrescriptions.order.account_price:''}}元</span></span>
296 296
 
297
-
298 297
                                                 <span v-if="items.curPrescriptions.order_status  == 1">待结算</span>
299 298
                                                 <span v-if="items.curPrescriptions.order_status  == 2">已结算</span>
300 299
                                                 <span v-if="items.curPrescriptions.order_status  == 3">已退费</span>
@@ -302,7 +301,6 @@
302 301
                                         </div>
303 302
                                     </div>
304 303
 
305
-
306 304
                                 </div>
307 305
                                 <div class="centerRight">
308 306
                                     <p class="centerRightTitle" style="padding-top: 10px;"
@@ -621,7 +619,7 @@
621 619
                                         <!--<li style="width:100%;" v-if="activeName == 'second'">总费用:{{ getTotalTwo() }}-->
622 620
                                         <!--</li>-->
623 621
 
624
-                                        <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
622
+                                        <li style="width:100%;">判断结果:{{GetDiagnosisName(info.diagnosis)}}</li>
625 623
                                         <!--<li style="width:100%;">是否有传染病:</li>-->
626 624
                                         <!--<li style="width:100%;">血压:</li>-->
627 625
                                     </ul>
@@ -947,6 +945,11 @@
947 945
       changevalue(val) {
948 946
         this.$forceUpdate()
949 947
 
948
+      },  GetDiagnosisName(ids){
949
+
950
+
951
+
952
+
950 953
       },
951 954
       query() {
952 955
         if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990) {
@@ -3703,6 +3706,11 @@
3703 3706
                       }
3704 3707
                       this.all_table_data.push(obj)
3705 3708
 
3709
+                      if(obj.name == "刘伟琼"){
3710
+                        console.log(obj)
3711
+
3712
+                      }
3713
+
3706 3714
                     }
3707 3715
                   } else {
3708 3716
                     let obj = {
@@ -3729,7 +3737,7 @@
3729 3737
                         id: response.data.data.list[i].id,
3730 3738
                         name: response.data.data.list[i].name,
3731 3739
                         number: response.data.data.list[i].his_patient[b].number,
3732
-                        order_status: 1,
3740
+                        order_status: 0,
3733 3741
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
3734 3742
                         order_number: '',
3735 3743
                         order_id: 0,
@@ -3764,6 +3772,7 @@
3764 3772
                 this.hisPatientDatas.push(this.all_table_data[i])
3765 3773
               }
3766 3774
             }
3775
+
3767 3776
             let unChargePatient = []
3768 3777
             for (let i = 0; i < this.all_table_data.length; i++) {
3769 3778
               let isHasUnCharge = false
@@ -3807,13 +3816,9 @@
3807 3816
             if (this.radio == 1) {
3808 3817
               this.all_table_data = this.unique_four(this.all_table_data)
3809 3818
             }
3810
-            console.log("~~~~~~~~~~")
3811
-
3812
-            console.log(this.all_table_data)
3813 3819
 
3814 3820
             switch (this.radio) {
3815 3821
               case 1:
3816
-                console.log(this.all_table_data)
3817 3822
                 this.patientTableData = []
3818 3823
                 for (let i = 0; i < this.all_table_data.length; i++) {
3819 3824
                   let isHasUnCharge = false
@@ -3837,12 +3842,10 @@
3837 3842
                   if (isHasUnCharge) {
3838 3843
                     this.patientTableData.push(this.all_table_data[i])
3839 3844
                   }
3840
-
3841 3845
                 }
3842
-
3843 3846
                 this.all_patient = this.patientTableData
3844
-
3845 3847
                 break
3848
+
3846 3849
               case 2:
3847 3850
                 this.patientTableData = []
3848 3851
                 for (let i = 0; i < this.all_table_data.length; i++) {
@@ -4673,10 +4676,11 @@
4673 4676
               var that = this
4674 4677
               axios.get('http://127.0.0.1:9532/sz/api/detail/cancel', {
4675 4678
                 params: {
4676
-                  order_id: this.order.id,
4679
+                  order_id: order.id,
4677 4680
                   record_time: this.record_date,
4678 4681
                   admin_user_id: this.$store.getters.xt_user.user.id,
4679
-                  patient_id: this.patientInfo.id
4682
+                  patient_id: this.patientInfo.id,
4683
+                  his_patient_id:this.hisPatientInfo.id,
4680 4684
 
4681 4685
                 }
4682 4686
               })

+ 10 - 0
src/xt_pages/outpatientCharges/summary.vue Целия файл

@@ -89,6 +89,16 @@
89 89
                         <div>{{getMedType(scope.row.med_type)}}</div>
90 90
                     </template>
91 91
                 </el-table-column>
92
+
93
+                <el-table-column align="center" width="90" prop="name" label="收费类型">
94
+                    <template slot-scope="scope">
95
+                        <div v-if="scope.row.his_patient.balance_accounts_type != 2">医保</div>
96
+                        <div v-if="scope.row.his_patient.balance_accounts_type == 2">自费</div>
97
+                    </template>
98
+                </el-table-column>
99
+
100
+
101
+
92 102
                 <el-table-column align="center" width="100" prop="name" label="收费日期">
93 103
                     <template slot-scope="scope">
94 104
                         {{scope.row.setl_time?scope.row.setl_time:getTimes(scope.row.settle_accounts_date)}}

+ 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{