ソースを参照

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

XMLWAN 3 年 前
コミット
07f757b78a
共有2 個のファイルを変更した46 個の追加35 個の削除を含む
  1. 11 6
      src/xt_pages/hospitalStation/index.vue
  2. 35 29
      src/xt_pages/hospitalStation/summary.vue

+ 11 - 6
src/xt_pages/hospitalStation/index.vue ファイルの表示

458
                 }).catch(() => {
458
                 }).catch(() => {
459
                 })
459
                 })
460
               } else {
460
               } else {
461
+                that.InsuplcAdmdvs = []
461
                 // console.log(parseNumber(response.data.data.info.output.insuinfo.psn_type))
462
                 // console.log(parseNumber(response.data.data.info.output.insuinfo.psn_type))
462
                 // console.log(parseNumber(response.data.data.insutype))
463
                 // console.log(parseNumber(response.data.data.insutype))
463
                 for(let i =0; i < response.data.data.info.output.insuinfo.length; i++){
464
                 for(let i =0; i < response.data.data.info.output.insuinfo.length; i++){
470
 
471
 
471
                 that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
472
                 that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
472
                 that.form.social_type = parseInt(response.data.data.insutype)
473
                 that.form.social_type = parseInt(response.data.data.insutype)
474
+                // that.form.settlement_value = parseInt(response.data.data.insutype)
475
+
473
 
476
 
474
               }
477
               }
475
             }
478
             }
797
       },
800
       },
798
 
801
 
799
       changeDoctor(id) {
802
       changeDoctor(id) {
800
-        for (let i = 0; i < this.doctorList.length; i++) {
803
+        for (let i = 0; i < this.doctorList.length; i++) {su
801
           if (this.doctorList[i].admin_user_id == id) {
804
           if (this.doctorList[i].admin_user_id == id) {
802
             if (this.doctorList[i].department_id == 0) {
805
             if (this.doctorList[i].department_id == 0) {
803
               this.form.department = this.departmentList[0].id
806
               this.form.department = this.departmentList[0].id
836
             this.sick = response.data.data.sick
839
             this.sick = response.data.data.sick
837
             this.diagnoses = response.data.data.diagnose
840
             this.diagnoses = response.data.data.diagnose
838
 
841
 
839
-            this.form.p_type = 14
840
             this.form.sick_type = this.sick[0].id
842
             this.form.sick_type = this.sick[0].id
841
             this.form.diagnosis = this.diagnoses[0].id
843
             this.form.diagnosis = this.diagnoses[0].id
842
 
844
 
845
+            if(this.$store.getters.xt_user.org_id == 10215) {
846
+              this.form.med_type = 14
847
+              this.form.sick_type = 421
848
+              this.form.diagnosis = 92
849
+            }
850
+
851
+
843
           }
852
           }
844
         })
853
         })
845
 
854
 
856
         this.form.id_card_type = 2
865
         this.form.id_card_type = 2
857
       }
866
       }
858
 
867
 
859
-      if(this.$store.getters.xt_user.org_id == 10215) {
860
-        this.form.med_type = 14
861
-        this.form.sick_type = 421
862
-      }
863
 
868
 
864
       this.getInitData()
869
       this.getInitData()
865
       //获取当前机构有人员信息
870
       //获取当前机构有人员信息

+ 35 - 29
src/xt_pages/hospitalStation/summary.vue ファイルの表示

434
                 that.loadingtwo = false
434
                 that.loadingtwo = false
435
                 return false
435
                 return false
436
               } else {
436
               } else {
437
-                if (response.data.data.failed_code == -10) {
437
+                if (response.data.data.failed_csuode == -10) {
438
                   // that.$message.error(response.data.data.msg)
438
                   // that.$message.error(response.data.data.msg)
439
                   that.$confirm(response.data.data.msg, '医保错误信息', {
439
                   that.$confirm(response.data.data.msg, '医保错误信息', {
440
                     confirmButtonText: '确 定',
440
                     confirmButtonText: '确 定',
527
                   return false
527
                   return false
528
                 } else {
528
                 } else {
529
                   if (response.data.data.failed_code == -10) {
529
                   if (response.data.data.failed_code == -10) {
530
-                    // that.$message.error(response.data.data.msg)
531
                     that.$confirm(response.data.data.msg, '医保错误信息', {
530
                     that.$confirm(response.data.data.msg, '医保错误信息', {
532
                       confirmButtonText: '确 定',
531
                       confirmButtonText: '确 定',
533
                       type: 'warning'
532
                       type: 'warning'
619
               let charge_name = ''
618
               let charge_name = ''
620
               let order_status = ''
619
               let order_status = ''
621
 
620
 
622
-              if (order.his_patient != null && order.his_patient.number.length > 0) {
623
-                number = order.his_patient.number
621
+              if (order.his_hospital_patient != null && order.his_hospital_patient.number.length > 0) {
622
+                number = order.his_hospital_patient.number
624
 
623
 
625
               }
624
               }
626
 
625
 
665
               }
664
               }
666
 
665
 
667
               let obj = {
666
               let obj = {
668
-                '就诊号': number,
667
+                '单号': order.number,
668
+                '人员编号':order.his_hospital_patient.psn_no,
669
+                '身份证号':order.patient.id_card_no,
669
                 '患者姓名': name,
670
                 '患者姓名': name,
670
-                '应收金额': order.medfee_sumamt,
671
-                '实收金额': order.psn_cash_pay,
672
-                '医保统筹金额': order.fund_pay_sumamt,
673
-                '大额基金金额': order.hifob_pay,
674
-                '大病基金金额': order.hifmi_pay,
675
-                '补充保险基金金额': order.hifes_pay,
676
-                '医疗救助基金金额': order.maf_pay,
677
-                '公务员基金': order.cvlserv_pay,
678
-                '个人支付基金': order.psn_cash_pay,
671
+                '险种':order.insutype,
672
+                '医疗类别':order.med_type,
673
+                '就诊id': number,
674
+                '登记日期': order.his_hospital_patient.in_hosptial_time,
675
+                '出院日期': order.his_hospital_patient.out_hosptial_time,
676
+                '结算id': order.setl_id,
677
+                '结算日期': order.setl_time,
678
+                '医疗费总额': order.medfee_sumamt,
679
+                '全自费金额':order.fulamt_ownpay_amt ,
680
+                '超限价自费金额': order.overlmt_self_pay,
681
+                '先行自付金额': order.preselfpay_amt,
682
+                '符合政策范围金额': order.inscp_scp_amt,
683
+                '实际支付起付线': order.act_pay_dedc,
684
+                '基本医疗保险统筹基金支出': order.hifp_pay,
685
+                '基本医疗保险统筹基金支付比例': order.pool_prop_selfpay,
686
+                '公务员医疗补助基金支出': order.cvlserv_pay,
687
+                '企业补充医疗保险基金支出': order.hifes_pay,
688
+                '居民大病保险基金支出': order.hifmi_pay,
689
+                '职工大额医疗费用补助基金支出': order.hifob_pay,
690
+                '医疗救助基金支出': order.maf_pay,
691
+                '其他支出': order.oth_pay,
692
+                '基金支付总额': order.fund_pay_sumamt,
693
+                '个人负担总金额': order.psn_part_amt,
679
                 '个人账户支付金额': order.acct_pay,
694
                 '个人账户支付金额': order.acct_pay,
680
-                '科室': department,
681
-                '医生姓名': doctor_name,
682
-                '收费类别': balance_accounts,
683
-                '收费者姓名': charge_name,
684
-                '总金额': order.medfee_sumamt,
685
-                '现金支付': '',
686
-                '账户支付': '',
687
-                '支付宝支付': '',
688
-                '微信支付': '',
689
-                '其他支付': '',
690
-                '收费时间': order.setl_time,
691
-                '收费状态': order_status,
692
-                '退费日期': ''
695
+                '个人现金支出': order.psn_cash_pay,
696
+                '医院总负担金额': order.hosp_part_amt,
697
+                '余额': order.balc,
698
+                '个账共济支付金额': order.acct_mulaid_pay,
693
               }
699
               }
694
               list.push(obj)
700
               list.push(obj)
695
             }
701
             }
696
             import('@/vendor/Export2Excel').then(excel => {
702
             import('@/vendor/Export2Excel').then(excel => {
697
-              const tHeader = ['就诊号', '患者姓名', '应收金额', '实收金额', '医保统筹金额', '大额基金金额', '大病基金金额', '补充保险基金金额', '医疗救助基金金额', '公务员基金', '个人支付基金', '个人账户支付金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费时间', '收费状态', '退费日期']
698
-              const filterVal = ['就诊号', '患者姓名', '应收金额', '实收金额', '医保统筹金额', '大额基金金额', '大病基金金额', '补充保险基金金额', '医疗救助基金金额', '公务员基金', '个人支付基金', '个人账户支付金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费时间', '收费状态', '退费日期']
703
+              const tHeader = ['单号', '人员编号', '身份证号', '患者姓名', '险种', '医疗类别', '就诊id', '登记日期', '出院日期', '结算id', '结算日期', '医疗费总额', '全自费金额', '超限价自费金额', '先行自付金额', '符合政策范围金额', '实际支付起付线', '基本医疗保险统筹基金支出', '基本医疗保险统筹基金支付比例', '公务员医疗补助基金支出', '企业补充医疗保险基金支出', '居民大病保险基金支出', '职工大额医疗费用补助基金支出', '医疗救助基金支出', '其他支出','基金支付总额','个人负担总金额','个人账户支付金额','个人现金支出','医院总负担金额','余额','个账共济支付金额']
704
+              const filterVal = ['单号', '人员编号', '身份证号', '患者姓名', '险种', '医疗类别', '就诊id', '登记日期', '出院日期', '结算id', '结算日期', '医疗费总额', '全自费金额', '超限价自费金额', '先行自付金额', '符合政策范围金额', '实际支付起付线', '基本医疗保险统筹基金支出', '基本医疗保险统筹基金支付比例', '公务员医疗补助基金支出', '企业补充医疗保险基金支出', '居民大病保险基金支出', '职工大额医疗费用补助基金支出', '医疗救助基金支出', '其他支出','基金支付总额','个人负担总金额', '个人账户支付金额','个人现金支出','医院总负担金额','余额','个账共济支付金额']
699
               const data = this.formatJson(filterVal, list)
705
               const data = this.formatJson(filterVal, list)
700
               excel.export_json_to_excel({
706
               excel.export_json_to_excel({
701
                 header: tHeader,
707
                 header: tHeader,