Browse Source

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

csx 3 years ago
parent
commit
94ca981ea6

+ 4 - 8
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -756,8 +756,7 @@
756 756
 
757 757
                     <el-col :span="8" v-if="isShows('透析管路支数')">
758 758
                         <el-form-item label="透析管路支数">
759
-                            <el-input
760
-                                    v-model="dialysisPrescription.hemodialysis_pipelines_count"
759
+                            <el-input oninput="value=value.replace(/\D|^0/g,'')" v-model="dialysisPrescription.hemodialysis_pipelines_count"
761 760
                             ></el-input>
762 761
                         </el-form-item>
763 762
                     </el-col>
@@ -773,8 +772,7 @@
773 772
 
774 773
                     <el-col :span="8" v-if="isShows('穿刺针支数')">
775 774
                         <el-form-item label="穿刺针支数">
776
-                            <el-input
777
-                                    v-model="dialysisPrescription.puncture_needle_count"
775
+                            <el-input oninput="value=value.replace(/\D|^0/g,'')" v-model="dialysisPrescription.puncture_needle_count"
778 776
                             ></el-input>
779 777
                         </el-form-item>
780 778
                     </el-col>
@@ -802,9 +800,7 @@
802 800
 
803 801
                     <el-col :span="8" v-if="isShows('促红素支数')">
804 802
                         <el-form-item label="促红素支数">
805
-                            <el-input
806
-                                    v-model="dialysisPrescription.epo_count"
807
-                            ></el-input>
803
+                            <el-input oninput="value=value.replace(/\D|^0/g,'')" v-model="dialysisPrescription.epo_count"></el-input>
808 804
                         </el-form-item>
809 805
                     </el-col>
810 806
 
@@ -2132,7 +2128,7 @@
2132 2128
            }else{
2133 2129
              this.anticoagulant.shouji_unit = 'iu'
2134 2130
            }
2135
-         
2131
+
2136 2132
           this.anticoagulant.weichi_unit = 'mg/h'
2137 2133
           this.anticoagulant.zongliang_unit = 'mg'
2138 2134
         }

+ 8 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -2466,8 +2466,14 @@
2466 2466
             } else {
2467 2467
               var index = 0
2468 2468
               for (let i = 0; i < this.patientTableData.length; i++) {
2469
-                if (this.hisPatientInfo.id == this.patientTableData[i].his_patient_id) {
2470
-                  index  = i
2469
+                if(this.hisPatientInfo.id == 0){
2470
+                  if (this.patientInfo.id == this.patientTableData[i].id) {
2471
+                    index  = i
2472
+                  }
2473
+                }else{
2474
+                  if (this.hisPatientInfo.id == this.patientTableData[i].his_patient_id) {
2475
+                    index  = i
2476
+                  }
2471 2477
                 }
2472 2478
               }
2473 2479
               this.$refs.tab.setCurrentRow(this.patientTableData[index])

+ 17 - 17
src/xt_pages/user/dialysisSolution.vue View File

@@ -286,7 +286,7 @@
286 286
               ></el-input>
287 287
             </el-form-item>
288 288
             </div>
289
-            
289
+
290 290
           </el-col>
291 291
           <el-col
292 292
             :span="8"
@@ -648,7 +648,7 @@
648 648
 
649 649
           <el-col :span="8" v-if="isShows('透析管路支数')">
650 650
             <el-form-item label="透析管路支数">
651
-              <el-input v-model="addPlan.hemodialysis_pipelines_count"></el-input>
651
+              <el-input oninput="value=value.replace(/\D|^0/g,'')" v-model="addPlan.hemodialysis_pipelines_count"></el-input>
652 652
             </el-form-item>
653 653
           </el-col>
654 654
 
@@ -664,7 +664,7 @@
664 664
 
665 665
           <el-col :span="8" v-if="isShows('穿刺针支数')">
666 666
             <el-form-item label="穿刺针支数">
667
-              <el-input v-model="addPlan.puncture_needle_count"></el-input>
667
+              <el-input  oninput="value=value.replace(/\D|^0/g,'')" v-model="addPlan.puncture_needle_count"></el-input>
668 668
             </el-form-item>
669 669
           </el-col>
670 670
 
@@ -683,7 +683,7 @@
683 683
 
684 684
           <el-col :span="8" v-if="isShows('促红素支数')">
685 685
             <el-form-item label="促红素支数">
686
-              <el-input v-model="addPlan.epo_count"></el-input>
686
+              <el-input oninput="value=value.replace(/\D|^0/g,'')" v-model="addPlan.epo_count"></el-input>
687 687
             </el-form-item>
688 688
           </el-col>
689 689
 
@@ -1571,7 +1571,7 @@ export default {
1571 1571
       if(row.blood_flow_volume!="" || row.blood_flow_volume!=undefined){
1572 1572
         this.addPlan.blood_flow_volume = row.blood_flow_volume.toString()
1573 1573
       }
1574
-     
1574
+
1575 1575
       if (row.anticoagulant == 3) {
1576 1576
         this.addPlan.anticoagulant = '低分子肝素'
1577 1577
       }
@@ -1590,7 +1590,7 @@ export default {
1590 1590
       if(row.target_ultrafiltration!="" || row.target_ultrafiltration!=undefined){
1591 1591
         this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
1592 1592
       }
1593
-   
1593
+
1594 1594
 
1595 1595
       this.addPlan.dialysis_duration = parseFloat(row.dialysis_duration_hour) + parseFloat((row.dialysis_duration_minute / 60).toFixed(2))
1596 1596
       this.addPlan.dialysis_duration_hour = row.dialysis_duration_hour
@@ -1619,7 +1619,7 @@ export default {
1619 1619
       if(row.calcium!=""||row.calcium!=undefined){
1620 1620
          this.addPlan.calcium = row.calcium.toString()
1621 1621
       }
1622
-     
1622
+
1623 1623
      if(row.bicarbonate!=""||  row.bicarbonate!=undefined){
1624 1624
        this.addPlan.bicarbonate = row.bicarbonate.toString()
1625 1625
      }
@@ -1636,36 +1636,36 @@ export default {
1636 1636
     if(row.conductivity!="" ||row.conductivity!=undefined ){
1637 1637
        this.addPlan.conductivity = row.conductivity.toString()
1638 1638
     }
1639
-     
1640
-    
1639
+
1640
+
1641 1641
       this.addPlan.remark = row.remark
1642 1642
 
1643 1643
       this.addPlan.hemodialysis_pipelines  = row.hemodialysis_pipelines
1644 1644
       if(row.hemodialysis_pipelines_count!="" || row.hemodialysis_pipelines_count!=undefined){
1645 1645
         this.addPlan.hemodialysis_pipelines_count  = row.hemodialysis_pipelines_count.toString()
1646 1646
       }
1647
-     
1647
+
1648 1648
       this.addPlan.puncture_needle  = row.puncture_needle
1649 1649
       if(row.puncture_needle_count!=null || row.puncture_needle_count!=undefined){
1650 1650
         this.addPlan.puncture_needle_count = row.puncture_needle_count.toString()
1651 1651
       }
1652
-     
1652
+
1653 1653
       this.addPlan.epo  = row.epo
1654 1654
       if(row.epo_count!="" || row.epo_count!=undefined){
1655 1655
         this.addPlan.epo_count  = row.epo_count.toString()
1656 1656
       }
1657
-    
1657
+
1658 1658
       if(row.dialyzer_perfusion_apparatus!="" ||  row.dialyzer_perfusion_apparatus!=undefined){
1659 1659
          this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1660 1660
       }
1661 1661
       if(row.plasma_separator!="" || row.plasma_separator!=undefined){
1662 1662
         this.addPlan.plasma_separator = row.plasma_separator.toString()
1663 1663
       }
1664
-     
1664
+
1665 1665
       if(row.bilirubin_adsorption_column!="" || row.bilirubin_adsorption_column!=undefined){
1666 1666
          this.addPlan.bilirubin_adsorption_column = row.bilirubin_adsorption_column.toString()
1667 1667
       }
1668
-    
1668
+
1669 1669
       this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1670 1670
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1671 1671
       this.dialysis_irrigation = row.dialysis_irrigation
@@ -1687,12 +1687,12 @@ export default {
1687 1687
       if(row.body_fluid_other!=''|| row.body_fluid_other!=undefined){
1688 1688
         this.addPlan.body_fluid_other = row.body_fluid_other.toString()
1689 1689
       }
1690
-     
1690
+
1691 1691
       this.addPlan.special_medicine = row.special_medicine
1692 1692
       if(row.special_medicine_other!=""||row.special_medicine_other!=undefined){
1693 1693
         this.addPlan.special_medicine_other = row.special_medicine_other.toString()
1694 1694
       }
1695
-   
1695
+
1696 1696
       this.addPlan.displace_liqui_part = row.displace_liqui_part
1697 1697
       if(row.displace_liqui_value!=''||row.displace_liqui_value!=undefined){
1698 1698
         this.addPlan.displace_liqui_value = row.displace_liqui_value.toString()
@@ -1700,7 +1700,7 @@ export default {
1700 1700
       if(row.ultrafiltration!='' ||  row.ultrafiltration!=undefined){
1701 1701
         this.addPlan.ultrafiltration = row.ultrafiltration.toString()
1702 1702
       }
1703
-     
1703
+
1704 1704
       this.addPlan.blood_access = row.blood_access
1705 1705
 
1706 1706
       this.addPlan.registrars_id = row.registrars_id

+ 73 - 67
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -88,64 +88,66 @@
88 88
                 </ul>
89 89
             </div>
90 90
         </div>
91
-        <!--<el-table-->
92
-                <!--:row-style="{ color: '#303133' }"-->
93
-                <!--:data="summarySchData"-->
94
-                <!--border-->
95
-                <!--:header-cell-style="{-->
96
-        <!--backgroundColor: 'rgb(245, 247, 250)',-->
97
-        <!--color: '#606266'-->
98
-      <!--}"-->
99
-                <!--style="width: 100%"-->
100
-        <!--&gt;-->
101
-
102
-            <!--<el-table-column label="分区" min-width="70" align="center">-->
103
-                <!--<template slot-scope="scope">-->
104
-                    <!--{{ scope.row.zone.name }}-->
105
-                <!--</template>-->
106
-            <!--</el-table-column>-->
107
-
108
-            <!--<el-table-column label="透析模式" min-width="100" align="center">-->
109
-                <!--<template slot-scope="scope">-->
110
-                    <!--{{getModeDesc(scope.row.list)}}-->
111
-                <!--</template>-->
112
-            <!--</el-table-column>-->
113
-            <!--<el-table-column label="透析液" min-width="100" align="center">-->
114
-                <!--<template slot-scope="scope">-->
115
-                    <!--{{getDialysisLiquidDesc(scope.row.list)}}-->
116
-                <!--</template>-->
117
-            <!--</el-table-column>-->
118
-
119
-            <!--<el-table-column label="透析管路" min-width="100" align="center">-->
120
-                <!--<template slot-scope="scope">-->
121
-                    <!--{{getDialysisPipeDesc(scope.row.list)}}-->
122
-                <!--</template>-->
123
-            <!--</el-table-column>-->
124
-
125
-            <!--<el-table-column label="穿刺针" min-width="100" align="center">-->
126
-                <!--<template slot-scope="scope">-->
127
-                    <!--{{getPunctureNeedleDesc(scope.row.list)}}-->
128
-                <!--</template>-->
129
-            <!--</el-table-column>-->
130
-
131
-
132
-            <!--<el-table-column label="抗凝剂" min-width="100" align="center">-->
133
-                <!--<template slot-scope="scope">-->
134
-                    <!--{{getAnticoagulantDesc(scope.row.list)}}-->
135
-                <!--</template>-->
136
-            <!--</el-table-column>-->
137
-
138
-
139
-            <!--<el-table-column label="促红素" min-width="100" align="center">-->
140
-                <!--<template slot-scope="scope">-->
141
-                    <!--{{getEPODesc(scope.row.list)}}-->
142
-                <!--</template>-->
143
-            <!--</el-table-column>-->
144
-
145
-
146
-        <!--</el-table>-->
91
+        <el-table
92
+                v-loading="isloading"
93
+                :row-style="{ color: '#303133' }"
94
+                :data="summarySchData"
95
+                border
96
+                :header-cell-style="{
97
+        backgroundColor: 'rgb(245, 247, 250)',
98
+        color: '#606266'
99
+      }"
100
+                style="width: 100%"
101
+        >
102
+
103
+            <el-table-column label="分区" min-width="70" align="center">
104
+                <template slot-scope="scope">
105
+                    {{ scope.row.zone.name }}
106
+                </template>
107
+            </el-table-column>
108
+
109
+            <el-table-column label="透析模式" min-width="100" align="center">
110
+                <template slot-scope="scope">
111
+                    {{getModeDesc(scope.row.list)}}
112
+                </template>
113
+            </el-table-column>
114
+            <el-table-column label="透析液" min-width="100" align="center">
115
+                <template slot-scope="scope">
116
+                    {{getDialysisLiquidDesc(scope.row.list)}}
117
+                </template>
118
+            </el-table-column>
119
+
120
+            <el-table-column label="透析管路" min-width="100" align="center">
121
+                <template slot-scope="scope">
122
+                    {{getDialysisPipeDesc(scope.row.list)}}
123
+                </template>
124
+            </el-table-column>
125
+
126
+            <el-table-column label="穿刺针" min-width="100" align="center">
127
+                <template slot-scope="scope">
128
+                    {{getPunctureNeedleDesc(scope.row.list)}}
129
+                </template>
130
+            </el-table-column>
131
+
132
+
133
+            <el-table-column label="抗凝剂" min-width="100" align="center">
134
+                <template slot-scope="scope">
135
+                    {{getAnticoagulantDesc(scope.row.list)}}
136
+                </template>
137
+            </el-table-column>
138
+
139
+
140
+            <el-table-column label="促红素" min-width="100" align="center">
141
+                <template slot-scope="scope">
142
+                    {{getEPODesc(scope.row.list)}}
143
+                </template>
144
+            </el-table-column>
145
+
146
+
147
+        </el-table>
147 148
 
148 149
         <el-table
150
+                v-loading="isloading"
149 151
                 :row-style="{ color: '#303133' }"
150 152
                 :data="scheduleData"
151 153
                 border
@@ -361,6 +363,7 @@
361 363
 
362 364
     data() {
363 365
       return {
366
+        isloading:false,
364 367
         weekArr: [
365 368
           { id: 0, name: '全部' },
366 369
           { id: 1, name: '周一' },
@@ -656,9 +659,9 @@
656 659
         let desc = ''
657 660
         for (let b = 0; b < modes.length; b++) {
658 661
           if (desc.length == 0) {
659
-            desc = modes[b].name + ': ' + modes[b].count + ''
662
+            desc = modes[b].name + ': ' + modes[b].count + ''
660 663
           } else {
661
-            desc = desc + ' \n\r ' + modes[b].name + ': ' + modes[b].count + ''
664
+            desc = desc + ' \n\r ' + modes[b].name + ': ' + modes[b].count + ''
662 665
           }
663 666
         }
664 667
 
@@ -705,9 +708,9 @@
705 708
 
706 709
         for (let b = 0; b < dialysisPipe.length; b++) {
707 710
           if (desc.length == 0) {
708
-            desc = dialysisPipe[b].name + ': ' + dialysisPipe[b].count + ''
711
+            desc = dialysisPipe[b].name + ': ' + dialysisPipe[b].count + ''
709 712
           } else {
710
-            desc = desc + ' \n\r ' + dialysisPipe[b].name + ': ' + dialysisPipe[b].count + ''
713
+            desc = desc + ' \n\r ' + dialysisPipe[b].name + ': ' + dialysisPipe[b].count + ''
711 714
           }
712 715
         }
713 716
 
@@ -751,9 +754,9 @@
751 754
 
752 755
         for (let b = 0; b < punctureNeedle.length; b++) {
753 756
           if (desc.length == 0) {
754
-            desc = punctureNeedle[b].name + ': ' + punctureNeedle[b].count + ''
757
+            desc = punctureNeedle[b].name + ': ' + punctureNeedle[b].count + ''
755 758
           } else {
756
-            desc = desc + ' \n\r ' + punctureNeedle[b].name + ': ' + punctureNeedle[b].count + ''
759
+            desc = desc + ' \n\r ' + punctureNeedle[b].name + ': ' + punctureNeedle[b].count + ''
757 760
           }
758 761
         }
759 762
 
@@ -783,9 +786,9 @@
783 786
         let desc = ''
784 787
         for (let b = 0; b < modes.length; b++) {
785 788
           if (desc.length == 0) {
786
-            desc = modes[b].name + ': ' + modes[b].count + ''
789
+            desc = modes[b].name + ': ' + modes[b].count + ''
787 790
           } else {
788
-            desc = desc + ' \n\r ' + modes[b].name + ': ' + modes[b].count + ''
791
+            desc = desc + ' \n\r ' + modes[b].name + ': ' + modes[b].count + ''
789 792
           }
790 793
         }
791 794
         return desc
@@ -824,9 +827,9 @@
824 827
         }
825 828
         for (let b = 0; b < EPO.length; b++) {
826 829
           if (desc.length == 0) {
827
-            desc = EPO[b].name + ': ' + EPO[b].count + ''
830
+            desc = EPO[b].name + ': ' + EPO[b].count + ''
828 831
           } else {
829
-            desc = desc + ' \n\r ' + EPO[b].name + ': ' + EPO[b].count + ''
832
+            desc = desc + ' \n\r ' + EPO[b].name + ': ' + EPO[b].count + ''
830 833
           }
831 834
         }
832 835
 
@@ -911,9 +914,12 @@
911 914
           week_time: this.week_time,
912 915
           zone: this.zone
913 916
         }
914
-
917
+        this.scheduleData = []
918
+        this.isloading = true
915 919
         getScheduleList(params).then(response => {
916 920
           if (response.data.state == 1) {
921
+            this.isloading = false
922
+
917 923
             console.log('22333333333', this.pre_status)
918 924
             var list = response.data.data.list
919 925
             if (this.pre_status == 0) {