瀏覽代碼

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

XMLWAN 2 年之前
父節點
當前提交
3f6573611b

+ 17 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_sixty.vue 查看文件

1329
                                   "
1329
                                   "
1330
                                   >【开始透析】</template
1330
                                   >【开始透析】</template
1331
                                 >
1331
                                 >
1332
-                                <template
1332
+                                <!-- <template
1333
                                   v-if="
1333
                                   v-if="
1334
                                     record.dialysis_order &&
1334
                                     record.dialysis_order &&
1335
                                     monitor_record.operate_time ==
1335
                                     monitor_record.operate_time ==
1336
                                       record.dialysis_order.end_time
1336
                                       record.dialysis_order.end_time
1337
                                   "
1337
                                   "
1338
                                   >【结束透析】</template
1338
                                   >【结束透析】</template
1339
-                                >
1339
+                                > -->
1340
                                 {{ monitor_record.end }}
1340
                                 {{ monitor_record.end }}
1341
                                 {{ monitor_record.symptom }} &nbsp;{{
1341
                                 {{ monitor_record.symptom }} &nbsp;{{
1342
                                   monitor_record.dispose
1342
                                   monitor_record.dispose
2675
         var resp = rs.data;
2675
         var resp = rs.data;
2676
         if (resp.state == 1) {
2676
         if (resp.state == 1) {
2677
           this.records = this.records.concat(resp.data.schedules);
2677
           this.records = this.records.concat(resp.data.schedules);
2678
-
2678
+          console.log("this.records------",this.records)
2679
+          var tempmonitorflag = true;
2680
+          for(let i=0;i<this.records.length;i++){
2681
+            for(let j=0;j<this.records[i].monitor_records.length;j++){
2682
+              this.records[i].monitor_records[j].end = ""
2683
+              if (this.records[i].dialysis_order &&this.records[i].monitor_records[j].operate_time ==  this.records[i].dialysis_order.end_time) {
2684
+              this.records[i].monitor_records[j].end = "【结束透析】";
2685
+              tempmonitorflag = false;
2686
+            }
2687
+            if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
2688
+              this.records[i].monitor_records[j].end = "【结束透析】";
2689
+            }
2690
+            }
2691
+          }
2692
+          console.log("hhhhhhhhh",this.records)
2679
           for (const recordIndex in this.records) {
2693
           for (const recordIndex in this.records) {
2680
             var dlegh = 0;
2694
             var dlegh = 0;
2681
             if (
2695
             if (

+ 8 - 2
src/xt_pages/dialysis/signPrint.vue 查看文件

14
                     <div class="signPrint" v-for="it in item.doctor_advice" style="page-break-after: always;">
14
                     <div class="signPrint" v-for="it in item.doctor_advice" style="page-break-after: always;">
15
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
15
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
16
                         <div>姓名:{{item.patient.name}}</div>  
16
                         <div>姓名:{{item.patient.name}}</div>  
17
-                        <div>医嘱内容:{{ it.advice_name }}</div>  
17
+                        <div>医嘱内容:{{ it.advice_name }} 
18
+                           <span v-if="it.prescribing_number>0">
19
+                            {{it.prescribing_number}}{{ it.prescribing_number_unit }}
20
+                          </span> 
21
+                        </div>  
18
                         <div>给药途径:{{it.execution_frequency}}</div>  
22
                         <div>给药途径:{{it.execution_frequency}}</div>  
19
                         <div>执行频率:{{it.delivery_way}}</div>  
23
                         <div>执行频率:{{it.delivery_way}}</div>  
20
                         <div>打印时间:{{time}}</div>   
24
                         <div>打印时间:{{time}}</div>   
29
                     <div class="signPrint" v-for="it in item.doctor_advice" style="page-break-after: always;">
33
                     <div class="signPrint" v-for="it in item.doctor_advice" style="page-break-after: always;">
30
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
34
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
31
                         <div>姓名:{{item.patient.name}}</div>  
35
                         <div>姓名:{{item.patient.name}}</div>  
32
-                        <div>医嘱内容:{{getAdvice(item.doctor_advice)}}</div>  
36
+                        <div>医嘱内容:{{getAdvice(item.doctor_advice)}} 
37
+                           <span v-if="it.prescribing_number >0"> {{it.prescribing_number}}{{ it.prescribing_number_unit }}</span>
38
+                        </div>  
33
                         <div>给药途径:{{item.doctor_advice[0].execution_frequency}}</div>  
39
                         <div>给药途径:{{item.doctor_advice[0].execution_frequency}}</div>  
34
                         <div>执行频率:{{item.doctor_advice[0].delivery_way}}</div>  
40
                         <div>执行频率:{{item.doctor_advice[0].delivery_way}}</div>  
35
                         <div>打印时间:{{time}}</div>   
41
                         <div>打印时间:{{time}}</div>   

+ 31 - 13
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue 查看文件

374
                       医师签名:
374
                       医师签名:
375
                       <span
375
                       <span
376
                         style="height: 20px"
376
                         style="height: 20px"
377
-                        v-if="setAdminUserES(prescription.modifier) == ''"
377
+                        v-if="setAdminUserES(advices[0].advice_doctor) == ''"
378
                       >
378
                       >
379
-                        {{ getAdminUser(prescription.modifier) }}
379
+                        {{ getAdminUser(advices[0].advice_doctor) }}
380
                       </span>
380
                       </span>
381
                       <img
381
                       <img
382
                         class="es-img"
382
                         class="es-img"
383
                         style="height: 25px"
383
                         style="height: 25px"
384
-                        :src="setAdminUserES(prescription.modifier)"
384
+                        :src="setAdminUserES(advices[0].advice_doctor)"
385
                         alt
385
                         alt
386
                         srcset
386
                         srcset
387
                         v-else
387
                         v-else
805
                   <td
805
                   <td
806
                     style="height: 20px"
806
                     style="height: 20px"
807
                     width="90"
807
                     width="90"
808
-                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
808
+                    v-if="org_id == 10346 || org_id == 9675"
809
                   >
809
                   >
810
                     <p style="height: 20px; line-height: 20px">开嘱医生</p>
810
                     <p style="height: 20px; line-height: 20px">开嘱医生</p>
811
                   </td>
811
                   </td>
815
                   <td
815
                   <td
816
                     style="height: 20px"
816
                     style="height: 20px"
817
                     width="70"
817
                     width="70"
818
-                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
818
+                    v-if="org_id == 10346 || org_id == 9675"
819
                   >
819
                   >
820
                     <p style="height: 20px; line-height: 20px">执行时间</p>
820
                     <p style="height: 20px; line-height: 20px">执行时间</p>
821
                   </td>
821
                   </td>
822
+                  <td style="height: 20px" width="90" v-if="org_id == 10249  || org_id == 0">
823
+                    <p style="height: 20px; line-height: 20px">开嘱医生</p>
824
+                  </td>
822
                   <td style="height: 20px" width="90">
825
                   <td style="height: 20px" width="90">
823
                     <p style="height: 20px; line-height: 20px">执行</p>
826
                     <p style="height: 20px; line-height: 20px">执行</p>
824
                   </td>
827
                   </td>
855
                   <td
858
                   <td
856
                     style="line-height: 30px"
859
                     style="line-height: 30px"
857
                     width="90"
860
                     width="90"
858
-                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
861
+                    v-if="org_id == 10346 || org_id == 9675"
859
                   >
862
                   >
860
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
863
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
861
                       {{ getAdminUser(advice.advice_doctor) }}
864
                       {{ getAdminUser(advice.advice_doctor) }}
894
                   <td
897
                   <td
895
                     style="line-height: 10px"
898
                     style="line-height: 10px"
896
                     width="70"
899
                     width="70"
897
-                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
900
+                    v-if="org_id == 10346 || org_id == 9675"
898
                   >
901
                   >
899
                     <span v-if="advice.execution_time">{{
902
                     <span v-if="advice.execution_time">{{
900
                       getTime(advice.execution_time, "{h}:{i}")
903
                       getTime(advice.execution_time, "{h}:{i}")
901
                     }}</span>
904
                     }}</span>
902
                   </td>
905
                   </td>
906
+                  <td
907
+                    style="line-height: 30px"
908
+                    width="90"
909
+                    v-if="org_id == 10249 || org_id == 0"
910
+                  >
911
+                    <span v-if="setAdminUserES(advice.advice_doctor) == ''">
912
+                      {{ getAdminUser(advice.advice_doctor) }}
913
+                    </span>
914
+                    <img
915
+                      style="height: 30px"
916
+                      :src="setAdminUserES(advice.advice_doctor)"
917
+                      alt=""
918
+                      srcset=""
919
+                    />
920
+                  </td>
903
                   <td style="line-height: 10px" width="90">
921
                   <td style="line-height: 10px" width="90">
904
                     <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
922
                     <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
905
                       getAdminUser(advice.execution_staff)
923
                       getAdminUser(advice.execution_staff)
1043
                       <span
1061
                       <span
1044
                         v-if="
1062
                         v-if="
1045
                           setAdminUserES(
1063
                           setAdminUserES(
1046
-                            prescription == null
1064
+                            advices == null
1047
                               ? 0
1065
                               ? 0
1048
-                              : prescription.prescription_doctor
1049
-                              ? prescription.prescription_doctor
1066
+                              : advices[0].advice_doctor
1067
+                              ? advices[0].advice_doctor
1050
                               : ''
1068
                               : ''
1051
                           ) == ''
1069
                           ) == ''
1052
                         "
1070
                         "
1053
                       >
1071
                       >
1054
                         {{
1072
                         {{
1055
                           getAdminUser(
1073
                           getAdminUser(
1056
-                            prescription == null
1074
+                            advices == null
1057
                               ? 0
1075
                               ? 0
1058
-                              : prescription.prescription_doctor
1059
-                              ? prescription.prescription_doctor
1076
+                              : advices[0].advice_doctor
1077
+                              ? advices[0].advice_doctor
1060
                               : ""
1078
                               : ""
1061
                           )
1079
                           )
1062
                         }}
1080
                         }}

+ 142 - 1
src/xt_pages/hospitalStation/summary.vue 查看文件

215
             >
215
             >
216
               上传结算清单
216
               上传结算清单
217
             </el-button>
217
             </el-button>
218
+            <el-button
219
+              size="mini"
220
+              type="primary"
221
+              @click="confirmUploadInfo(scope.row)"
222
+              v-if="$store.getters.xt_user.org_id == 10265"
223
+            >
224
+              确认结算清单
225
+            </el-button>
226
+            <el-button
227
+              size="mini"
228
+              type="primary"
229
+              @click="cancelUploadTwo(scope.row)"
230
+              v-if="$store.getters.xt_user.org_id == 10265"
231
+            >
232
+              取消结算清单
233
+            </el-button>
234
+
235
+            <el-button
236
+              size="mini"
237
+              type="primary"
238
+              @click="queryData(scope.row)"
239
+              v-if="$store.getters.xt_user.org_id == 10265"
240
+            >
241
+              查询结算清单
242
+            </el-button>
243
+
218
             <el-button
244
             <el-button
219
               size="mini"
245
               size="mini"
220
               type="primary"
246
               type="primary"
452
   },
478
   },
453
 
479
 
454
   methods: {
480
   methods: {
481
+    confirmUploadInfo(row){
482
+      var that = this;
483
+      axios
484
+        .get("http://127.0.0.1:9532/api/4102", {
485
+          params: {
486
+            order_id: row.id,
487
+            admin_user_id: this.$store.getters.xt_user.user.id,
488
+            stas_type: 1
489
+          },
490
+        })
491
+        .then(function (response) {
492
+          if (response.data.state == 0) {
493
+            that.$message.error(response.data.msg);
494
+            return false;
495
+          } else {
496
+            if (response.data.data.failed_code == -10) {
497
+              that
498
+                .$confirm(response.data.data.msg, "医保错误信息", {
499
+                  confirmButtonText: "确 定",
500
+                  type: "warning",
501
+                })
502
+                .then(() => {
503
+                })
504
+                .catch(() => {
505
+                });
506
+            } else {
507
+              that.$message.success("确认成功");
508
+              row.result.id = response.data.data.result.id;
509
+            }
510
+          }
511
+        })
512
+        .catch(function (error) {
513
+        });
514
+
515
+
516
+    },
517
+    cancelUploadTwo(row){
518
+      if(this.$store.getters.xt_user.org_id == 10265){
519
+        var that = this;
520
+        axios
521
+          .get("http://127.0.0.1:9532/api/4102", {
522
+            params: {
523
+              order_id: row.id,
524
+              admin_user_id: this.$store.getters.xt_user.user.id,
525
+              stas_type: 0
526
+            },
527
+          })
528
+          .then(function (response) {
529
+            if (response.data.state == 0) {
530
+              that.$message.error(response.data.msg);
531
+              return false;
532
+            } else {
533
+              if (response.data.data.failed_code == -10) {
534
+                // that.$message.error(response.data.data.msg)
535
+                that
536
+                  .$confirm(response.data.data.msg, "医保错误信息", {
537
+                    confirmButtonText: "确 定",
538
+                    type: "warning",
539
+                  })
540
+                  .then(() => {
541
+                  })
542
+                  .catch(() => {
543
+                  });
544
+              } else {
545
+                that.$message.success("撤销成功");
546
+                row.result.id = 0;
547
+              }
548
+            }
549
+          })
550
+          .catch(function (error) {
551
+          });
552
+      }
553
+    },
554
+    queryData(row){
555
+      var that = this;
556
+      axios
557
+        .get("http://127.0.0.1:9532/api/4103", {
558
+          params: {
559
+            order_id: row.id,
560
+            admin_user_id: this.$store.getters.xt_user.user.id,
561
+          },
562
+        })
563
+        .then(function (response) {
564
+          if (response.data.state == 0) {
565
+            that.$message.error(response.data.msg);
566
+            return false;
567
+          } else {
568
+            if (response.data.data.failed_code == -10) {
569
+              that
570
+                .$confirm(response.data.data.msg, "医保错误信息", {
571
+                  confirmButtonText: "确 定",
572
+                  type: "warning",
573
+                })
574
+                .then(() => {
575
+                })
576
+                .catch(() => {
577
+                });
578
+            } else {
579
+              that
580
+                .$confirm(response.data.data.msg, "医保信息", {
581
+                  confirmButtonText: "确 定",
582
+                })
583
+                .then(() => {
584
+                })
585
+                .catch(() => {
586
+                });
587
+            }
588
+          }
589
+        })
590
+        .catch(function (error) {
591
+        });
592
+
593
+
594
+    },
595
+
455
     setStorage() {
596
     setStorage() {
456
       this.$store.commit("SET_PAGEDATA", {
597
       this.$store.commit("SET_PAGEDATA", {
457
         page: this.page,
598
         page: this.page,
1123
         setl_time: obj.setl_time,
1264
         setl_time: obj.setl_time,
1124
       };
1265
       };
1125
       this.invoiceParams = paramsObj;
1266
       this.invoiceParams = paramsObj;
1126
-      
1267
+
1127
       const loading = this.$loading({
1268
       const loading = this.$loading({
1128
           lock: true,
1269
           lock: true,
1129
           text: '正在加载中...',
1270
           text: '正在加载中...',

文件差異過大導致無法顯示
+ 554 - 554
src/xt_pages/outpatientCharges/newTreatTemplate/printTwo.vue