陈少旭 пре 10 месеци
родитељ
комит
8d981538ab

+ 98 - 17
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Прегледај датотеку

@@ -17,7 +17,11 @@
17 17
         <el-button style="width: 100px"  size="small" @click="callElePre(3)" type="primary">处方上传</el-button>
18 18
         <el-button style="width: 100px"  size="small" @click="callElePre(4)" type="primary">处方撤销</el-button>
19 19
         <el-button style="width: 100px"  size="small" @click="callElePre(5)" type="primary">处方信息查询</el-button>
20
-        <el-button style="width: 100px"  size="small" @click="callElePre(6)" type="primary">处方结果查询</el-button>
20
+        <el-button style="width: 100px"  size="small" @click="callElePre(6)" type="primary">处方审核结果查询</el-button>
21
+          <el-button style="width: 100px"  size="small" @click="callElePre(7)" type="primary">处方取药结果查询</el-button>
22
+          <el-button style="width: 100px"  size="small" @click="callElePre(8)" type="primary">药品在售查询</el-button>
23
+
24
+
21 25
         </div>
22 26
         <el-tabs v-model="dayorMonth" @tab-click="changeDayOrMonth">
23 27
           <el-tab-pane label="日结" name="day"></el-tab-pane>
@@ -4447,9 +4451,10 @@ export default {
4447 4451
         case 2:
4448 4452
           var  that = this
4449 4453
           let params2 = {
4450
-            'order_id': this.order.id,
4451
-            'admin_user_id': this.$store.getters.xt_user.user.id,
4452
-            'fapiao_code':this.fapiao_code,
4454
+            'admin_user_id':3626,
4455
+            'patient_id': this.patientInfo.id,
4456
+            'his_patient_id': this.hisPatientInfo.id,
4457
+            'record_time':this.record_date
4453 4458
           }
4454 4459
           axios.get('http://127.0.0.1:9532/api/CFYLJG002', {
4455 4460
             params: params2
@@ -4484,9 +4489,10 @@ export default {
4484 4489
         case 3:
4485 4490
           var  that = this
4486 4491
           let params3 = {
4487
-            'order_id': this.order.id,
4488
-            'admin_user_id': this.$store.getters.xt_user.user.id,
4489
-            'fapiao_code':this.fapiao_code,
4492
+            'admin_user_id':3626,
4493
+            'patient_id': this.patientInfo.id,
4494
+            'his_patient_id': this.hisPatientInfo.id,
4495
+            'record_time':this.record_date
4490 4496
           }
4491 4497
           axios.get('http://127.0.0.1:9532/api/CFYLJG003', {
4492 4498
             params: params3
@@ -4521,9 +4527,10 @@ export default {
4521 4527
         case 4:
4522 4528
           var  that = this
4523 4529
           let params4 = {
4524
-            'order_id': this.order.id,
4525
-            'admin_user_id': this.$store.getters.xt_user.user.id,
4526
-            'fapiao_code':this.fapiao_code,
4530
+            'admin_user_id':3626,
4531
+            'patient_id': this.patientInfo.id,
4532
+            'his_patient_id': this.hisPatientInfo.id,
4533
+            'record_time':this.record_date
4527 4534
           }
4528 4535
           axios.get('http://127.0.0.1:9532/api/CFYLJG004', {
4529 4536
             params: params4
@@ -4558,9 +4565,10 @@ export default {
4558 4565
         case 5:
4559 4566
           var  that = this
4560 4567
           let params5 = {
4561
-            'order_id': this.order.id,
4562
-            'admin_user_id': this.$store.getters.xt_user.user.id,
4563
-            'fapiao_code':this.fapiao_code,
4568
+            'admin_user_id':3626,
4569
+            'patient_id': this.patientInfo.id,
4570
+            'his_patient_id': this.hisPatientInfo.id,
4571
+            'record_time':this.record_date
4564 4572
           }
4565 4573
           axios.get('http://127.0.0.1:9532/api/CFYLJG005', {
4566 4574
             params: params5
@@ -4595,9 +4603,10 @@ export default {
4595 4603
         case 6:
4596 4604
           var  that = this
4597 4605
           let params6 = {
4598
-            'order_id': this.order.id,
4599
-            'admin_user_id': this.$store.getters.xt_user.user.id,
4600
-            'fapiao_code':this.fapiao_code,
4606
+            'admin_user_id':3626,
4607
+            'patient_id': this.patientInfo.id,
4608
+            'his_patient_id': this.hisPatientInfo.id,
4609
+            'record_time':this.record_date
4601 4610
           }
4602 4611
           axios.get('http://127.0.0.1:9532/api/CFYLJG006', {
4603 4612
             params: params6
@@ -4629,11 +4638,83 @@ export default {
4629 4638
 
4630 4639
             })
4631 4640
           break
4641
+        case 7:
4642
+          var  that = this
4643
+          let params7 = {
4644
+            'admin_user_id':3626,
4645
+            'patient_id': this.patientInfo.id,
4646
+            'his_patient_id': this.hisPatientInfo.id,
4647
+            'record_time':this.record_date
4648
+          }
4649
+          axios.get('http://127.0.0.1:9532/api/CFYLJG007', {
4650
+            params: params7
4651
+          }).then(function(response) {
4652
+            if (response.data.state == 0) {
4653
+              that.$message.error(response.data.msg)
4654
+              that.fapiaoCodeDialogVisible = false
4655
+              return false
4656
+            } else {
4657
+              that.fapiaoCodeDialogVisible = false
4658
+              if (response.data.data.failed_code == -10) {
4659
+                that.$confirm(response.data.data.msg, '医保错误信息', {
4660
+                  confirmButtonText: '确 定',
4661
+                  type: 'warning'
4662
+                }).then(() => {
4632 4663
 
4633
-      }
4664
+                }).catch(() => {
4665
+
4666
+                })
4634 4667
 
4668
+              } else {
4669
+                that.$message({ message: '上传成功', type: 'success', duration: 5000 })
4670
+                that.order.is_upload_diagnose = 1
4671
+              }
4672
+
4673
+            }
4674
+          })
4675
+            .catch(function(error) {
4676
+
4677
+            })
4678
+          break
4679
+        case 8:
4680
+          var  that = this
4681
+          let params8 = {
4682
+            'admin_user_id':3626,
4683
+            'patient_id': this.patientInfo.id,
4684
+            'his_patient_id': this.hisPatientInfo.id,
4685
+            'record_time':this.record_date
4686
+          }
4687
+          axios.get('http://127.0.0.1:9532/api/CFYLJG008', {
4688
+            params: params8
4689
+          }).then(function(response) {
4690
+            if (response.data.state == 0) {
4691
+              that.$message.error(response.data.msg)
4692
+              that.fapiaoCodeDialogVisible = false
4693
+              return false
4694
+            } else {
4695
+              that.fapiaoCodeDialogVisible = false
4696
+              if (response.data.data.failed_code == -10) {
4697
+                that.$confirm(response.data.data.msg, '医保错误信息', {
4698
+                  confirmButtonText: '确 定',
4699
+                  type: 'warning'
4700
+                }).then(() => {
4701
+
4702
+                }).catch(() => {
4703
+
4704
+                })
4635 4705
 
4706
+              } else {
4707
+                that.$message({ message: '上传成功', type: 'success', duration: 5000 })
4708
+                that.order.is_upload_diagnose = 1
4709
+              }
4636 4710
 
4711
+            }
4712
+          })
4713
+            .catch(function(error) {
4714
+
4715
+            })
4716
+          break
4717
+      }
4637 4718
     }
4638 4719
   }, mounted() {
4639 4720
     this.request_record_date = this.record_date

+ 2 - 2
src/xt_pages/outpatientTool/components/print9919.vue Прегледај датотеку

@@ -1,7 +1,8 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3 3
 
4
-    <div class="statementTitle">广东省社会医疗保险医疗费用结算单</div>
4
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org.id != 0">广东省社会医疗保险医疗费用结算单</div>
5
+    <div class="statementTitle" v-else>安徽省社会医疗保险医疗费用结算单</div>
5 6
     <table class="statementTable" border="1">
6 7
       <tr>
7 8
         <td width="80">机构名称</td>
@@ -240,7 +241,6 @@
240 241
         <td style="text-align:right;padding-right:10px;">{{info.huli_cost_self_total}}</td>
241 242
         <td colspan="2" style="text-align:right;padding-right:10px;">{{info.huli_cost_part_self_total}}</td>
242 243
       </tr>
243
-
244 244
       <tr>
245 245
         <td>合计</td>
246 246
         <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_total) +