Browse Source

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

陈少旭 2 weeks ago
parent
commit
cd226a1e41

+ 3 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1412,6 +1412,9 @@
1412 1412
                         <span v-if="record.prescription.anticoagulant == 16"
1413 1413
                           >mg</span
1414 1414
                         >
1415
+                        <span v-if="record.prescription.anticoagulant == 15"
1416
+                          >mg</span
1417
+                        >
1415 1418
                         <span v-if="record.prescription.anticoagulant == 17"
1416 1419
                           >U</span
1417 1420
                         >

+ 9 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue View File

@@ -1181,6 +1181,9 @@
1181 1181
                         <span v-if="record.prescription.anticoagulant == 1"
1182 1182
                           >mg</span
1183 1183
                         >
1184
+                        <span v-if="record.prescription.anticoagulant == 15"
1185
+                          >mg</span
1186
+                        >
1184 1187
                       </div>
1185 1188
                       <div class="inline_block" style="margin-left: 20px" v-if=" record.prescription.anticoagulant !=1">
1186 1189
                         维持:
@@ -1229,6 +1232,9 @@
1229 1232
                         <span v-if="record.prescription.anticoagulant == 1"
1230 1233
                           >mg/h</span
1231 1234
                         >
1235
+                        <span v-if="record.prescription.anticoagulant == 15"
1236
+                          >mg/h</span
1237
+                        >
1232 1238
                       </div>
1233 1239
                       <div class="inline_block" style="margin-left: 20px" v-if=" record.prescription.anticoagulant !=1">
1234 1240
                         总量:
@@ -1255,6 +1261,9 @@
1255 1261
                         <span v-if="record.prescription.anticoagulant == 1"
1256 1262
                           >mg</span
1257 1263
                         >
1264
+                        <span v-if="record.prescription.anticoagulant == 15"
1265
+                          >mg</span
1266
+                        >
1258 1267
                       </div>
1259 1268
 
1260 1269
                       <div class="inline_block" style="margin-left: 20px">

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -173,13 +173,13 @@
173 173
         </li> -->
174 174
 
175 175
 
176
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635">
176
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721">
177 177
           <label>处方脱水量 : </label>
178 178
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
179 179
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
180 180
         </li>
181 181
 
182
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635">
182
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721">
183 183
           <label>处方脱水量 : </label>
184 184
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
185 185
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>

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

@@ -164,7 +164,7 @@
164 164
                     </el-col>
165 165
 
166 166
                     <el-col :span="8"
167
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635">
167
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721">
168 168
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
169 169
                             <el-input
170 170
                                     type="number"
@@ -174,7 +174,7 @@
174 174
                     </el-col>
175 175
 
176 176
                     <el-col :span="8"
177
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635">
177
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721">
178 178
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
179 179
                             <el-input
180 180
                                     type="number"
@@ -2635,7 +2635,7 @@ mu
2635 2635
       },
2636 2636
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2637 2637
 
2638
-        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0){
2638
+        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0   || this.$store.getters.xt_user.template_info.org_id==10721){
2639 2639
           if(this.predialysis!=undefined){
2640 2640
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2641 2641
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
@@ -3234,7 +3234,7 @@ mu
3234 3234
           }
3235 3235
         }
3236 3236
 
3237
-        if(this.$store.getters.xt_user.template_info.org_id ==10635 || this.$store.getters.xt_user.template_info.org_id ==0 || this.$store.getters.xt_user.template_info.org_id ==10702 ||  this.$store.getters.xt_user.template_info.org_id == 10727){
3237
+        if(this.$store.getters.xt_user.template_info.org_id ==10635 || this.$store.getters.xt_user.template_info.org_id ==0 || this.$store.getters.xt_user.template_info.org_id ==10702 ||  this.$store.getters.xt_user.template_info.org_id == 10727 ||  this.$store.getters.xt_user.template_info.org_id == 10721){
3238 3238
          
3239 3239
           if(this.dialysisPrescription.target_ultrafiltration == 0 || this.dialysisPrescription.target_ultrafiltration=="" || this.dialysisPrescription.target_ultrafiltration == "undefined" || this.dialysisPrescription.target_ultrafiltration == undefined){
3240 3240
           

+ 9 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -387,7 +387,7 @@
387 387
                 org_id == 10599 || 
388 388
                 org_id == 10612 ||
389 389
                 org_id == 10617 ||
390
-                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723 || org_id == 10721) &&
391 391
                 org_id!=10387
392 392
             "
393 393
           >
@@ -458,7 +458,7 @@
458 458
               && org_id!=10432 && org_id!=10445
459 459
               && org_id!=10410 && org_id!=10495 &&
460 460
                org_id!=10485 && org_id!=10395 && org_id!=10375
461
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723)
461
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723 && org_id!=10721)
462 462
               || org_id == 10387
463 463
             "
464 464
           >
@@ -529,7 +529,7 @@
529 529
                 org_id == 10410 ||
530 530
                 org_id == 10495  ||
531 531
                 org_id == 10395
532
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723)
532
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721)
533 533
                 && org_id!=10387
534 534
             "
535 535
           >
@@ -537,7 +537,7 @@
537 537
               {{
538 538
                 scope.row.ultrafiltration_rate
539 539
                   ? scope.row.ultrafiltration_rate
540
-                  : ""
540
+                  : "0"
541 541
               }}
542 542
             </template>
543 543
           </el-table-column>
@@ -584,7 +584,7 @@
584 584
               org_id!=10432 &&
585 585
               org_id!=10445 &&
586 586
               org_id!=10410 && org_id!=10495
587
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723) ||
587
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721) ||
588 588
               org_id == 10387
589 589
             "
590 590
           >
@@ -592,7 +592,7 @@
592 592
               {{
593 593
                 scope.row.ultrafiltration_rate
594 594
                   ? scope.row.ultrafiltration_rate
595
-                  : ""
595
+                  : "0"
596 596
               }}
597 597
             </template>
598 598
           </el-table-column>
@@ -1802,7 +1802,7 @@
1802 1802
                 org_id == 10599 ||
1803 1803
                 org_id ==10612 || 
1804 1804
                 org_id ==10617 || 
1805
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723)
1805
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723 || org_id == 10721)
1806 1806
                 && org_id!=10387 && org_id!=10694
1807 1807
             "
1808 1808
           >
@@ -1877,7 +1877,8 @@
1877 1877
               org_id!=10635 &&
1878 1878
               org_id!=10702 &&
1879 1879
               org_id!=10090 && 
1880
-              org_id!=10723
1880
+              org_id!=10723 &&
1881
+              org_id!=10721
1881 1882
               )
1882 1883
               || org_id == 10387 || org_id == 10694
1883 1884
             "

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -23,15 +23,15 @@
23 23
           <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 " width="76px" > 超滤量(ml)</th>
24 24
           <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471"  width="76px"> 超滤量(L) </th>
25 25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
26
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10721 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
28 28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
29 29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
30 30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>
31 31
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
32 32
           <th v-if="isShow('透析液温度1')" width="92px">透析液温度(℃)</th>
33
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id ==10617 || org_id==10677 || org_id==10702) && org_id!=10558 && org_id!=10598 && org_id!=10414 " width="92px" > 置换率(ml/min) </th>
34
-          <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
33
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id ==10617 || org_id==10677 || org_id==10702 || org_id==10721) && org_id!=10558 && org_id!=10598 && org_id!=10414 " width="92px" > 置换率(ml/min) </th>
34
+          <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702 && org_id !=10721) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
35 35
           <th v-if=" isShow('置换率1')" width="92px" > 置换率(ml/min) </th>
36 36
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
37 37
           <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644" width="92px"  > 置换量(ml)  </th>

+ 1 - 1
src/xt_pages/dialysis/details/index.vue View File

@@ -2756,7 +2756,7 @@ export default {
2756 2756
           newArr.sort(this.compare('created_time'))
2757 2757
         }
2758 2758
 
2759
-        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679){
2759
+        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679 || this.org_id == 10702){
2760 2760
           if(newArr!=null && newArr.length>0){
2761 2761
             for(let i=0;i<newArr.length;i++){
2762 2762
               newArr[i].sort =0

+ 6 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1439,6 +1439,7 @@
1439 1439
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1440 1440
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1441 1441
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1442
+                     <span v-if="prescription.anticoagulant == 15">mg</span>
1442 1443
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1443 1444
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1444 1445
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
@@ -1463,6 +1464,7 @@
1463 1464
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1464 1465
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1465 1466
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1467
+                     <span v-if="prescription.anticoagulant == 15">mg</span>
1466 1468
                      <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1467 1469
                       <span v-if="org_id!=10644">mg</span>
1468 1470
                       <span v-if="org_id==10644">iu</span>
@@ -1514,6 +1516,7 @@
1514 1516
                             <span v-if="org_id==10644">iu/h</span>
1515 1517
                           </span>
1516 1518
                           <span v-if="prescription.anticoagulant == 17">U/h</span>
1519
+                          <span v-if="prescription.anticoagulant == 15">mg/h</span>
1517 1520
                       </span>
1518 1521
                       <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">
1519 1522
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
@@ -1532,6 +1535,7 @@
1532 1535
                             <span v-if="org_id==10644">iu/h</span>
1533 1536
                           </span>
1534 1537
                           <span v-if="prescription.anticoagulant == 17">U/h</span>
1538
+                          <span v-if="prescription.anticoagulant == 15">mg/h</span>
1535 1539
                       </span>
1536 1540
                     </div>
1537 1541
                     <div
@@ -1596,6 +1600,7 @@
1596 1600
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1597 1601
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1598 1602
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1603
+                      <span v-if="prescription.anticoagulant == 15">mg</span>
1599 1604
 
1600 1605
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1601 1606
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
@@ -1623,6 +1628,7 @@
1623 1628
                         <span v-if="org_id==10644">iu</span>
1624 1629
                       </span>
1625 1630
                       <span v-if="prescription.anticoagulant == 17">U</span>
1631
+                      <span v-if="prescription.anticoagulant == 15">mg</span>
1626 1632
                     </span>
1627 1633
                     </div>
1628 1634
                     <div class="inline_block" style="margin-left: 20px" v-if="org_id!=9675 && org_id!=10447">

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue View File

@@ -3715,9 +3715,9 @@ export default {
3715 3715
         //    this.advice_groups.push(group)
3716 3716
         //   }
3717 3717
         // }
3718
-        if (this.doctor_advices.length <= 6) {
3719
-          var nl = 6;
3720
-          this.print_length = 6;
3718
+        if (this.doctor_advices.length <= 4) {
3719
+          var nl = 4;
3720
+          this.print_length = 4;
3721 3721
 
3722 3722
           for (let index = 0; index < nl; index++) {
3723 3723
             if (

+ 7 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

@@ -1067,8 +1067,9 @@
1067 1067
                      <span v-if="prescription.anticoagulant == 9">iu</span>
1068 1068
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1069 1069
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1070
-                     <span v-if="prescription.anticoagulant == 13">iu</span>
1071
-
1070
+                     <span v-if="prescription.anticoagulant == 13||prescription.anticoagulant == 14">iu</span>
1071
+                     <span v-if="prescription.anticoagulant == 15">mg</span>
1072
+                     
1072 1073
                     </span>
1073 1074
                     </div>
1074 1075
                     <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant != 1">
@@ -1096,7 +1097,8 @@
1096 1097
                           <span v-if="prescription.anticoagulant == 9">iu/h</span>
1097 1098
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1098 1099
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1099
-                          <span v-if="prescription.anticoagulant == 13">iu/h</span>
1100
+                          <span v-if="prescription.anticoagulant == 13 || prescription.anticoagulant == 14">iu/h</span>
1101
+                          <span v-if="prescription.anticoagulant == 15">mg/h</span>
1100 1102
                       </span>
1101 1103
                     </div>
1102 1104
                     <div
@@ -1162,7 +1164,8 @@
1162 1164
                        <span v-if="prescription.anticoagulant == 9">iu</span>
1163 1165
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1164 1166
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1165
-                      <span v-if="prescription.anticoagulant == 13">iu</span>
1167
+                      <span v-if="prescription.anticoagulant == 13 || prescription.anticoagulant == 14">iu</span>
1168
+                      <span v-if="prescription.anticoagulant == 15">mg</span>
1166 1169
                     </span>
1167 1170
                     </div>
1168 1171
                     <div class="inline_block" style="margin-left: 20px">

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue View File

@@ -411,7 +411,7 @@
411 411
                             : "/"
412 412
                         }}
413 413
                       </div>
414
-                      ml
414
+                      L
415 415
                     </div>
416 416
                   </div>
417 417
 

+ 39 - 17
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -57,10 +57,14 @@
57 57
                     :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
58 58
                     highlight-current-row ref="tab"
59 59
                     @current-change="handleCurrentChange">
60
-            <el-table-column align="center" prop="name" label="姓名" wdith='89'>
61
-              <template slot-scope="scope">{{ scope.$index + 1 }}.{{ scope.row.name }}</template>
60
+            <el-table-column prop="name" label="姓名" wdith='110'>
61
+              <template slot-scope="scope">
62
+                <span>{{ scope.$index + 1 }}.{{ scope.row.name }}</span>
63
+                <span class="futou" v-if="scope.row.patient_type==4">腹</span>
64
+                <!-- v-if="scope.row.patient_type==4" -->
65
+              </template>
62 66
             </el-table-column>
63
-            <el-table-column align="center" prop="name" label="就诊号" width="110">
67
+            <el-table-column align="center" prop="name" label="就诊号" width="89">
64 68
               <template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
65 69
               </template>
66 70
             </el-table-column>
@@ -4793,7 +4797,8 @@ export default {
4793 4797
                     order_number: '',
4794 4798
                     his_patient_id: 0,
4795 4799
                     prescription: response.data.data.list[i].prescription,
4796
-                    first_letter:response.data.data.list[i].first_letter
4800
+                    first_letter:response.data.data.list[i].first_letter,
4801
+                    patient_type:response.data.data.list[i].patient_type
4797 4802
                   }
4798 4803
 
4799 4804
                   this.all_table_data.push(obj)
@@ -4812,7 +4817,8 @@ export default {
4812 4817
                         order_number: response.data.data.list[i].his_patient[0].orders[b].order_number,
4813 4818
                         order_id: response.data.data.list[i].his_patient[0].orders[b].id,
4814 4819
                         prescription: response.data.data.list[i].prescription,
4815
-                        first_letter:response.data.data.list[i].first_letter
4820
+                        first_letter:response.data.data.list[i].first_letter,
4821
+                        patient_type:response.data.data.list[i].patient_type
4816 4822
 
4817 4823
                       }
4818 4824
                       this.all_table_data.push(obj)
@@ -4828,7 +4834,8 @@ export default {
4828 4834
                       order_number: '',
4829 4835
                       order_id: 0,
4830 4836
                       prescription: response.data.data.list[i].prescription,
4831
-                      first_letter:response.data.data.list[i].first_letter
4837
+                      first_letter:response.data.data.list[i].first_letter,
4838
+                      patient_type:response.data.data.list[i].patient_type
4832 4839
                     }
4833 4840
                     this.all_table_data.push(obj)
4834 4841
 
@@ -4847,7 +4854,8 @@ export default {
4847 4854
                         order_number: '',
4848 4855
                         order_id: 0,
4849 4856
                         prescription: response.data.data.list[i].prescription,
4850
-                        first_letter:response.data.data.list[i].first_letter
4857
+                        first_letter:response.data.data.list[i].first_letter,
4858
+                        patient_type:response.data.data.list[i].patient_type
4851 4859
                       }
4852 4860
                       this.all_table_data.push(obj)
4853 4861
                     } else {
@@ -4862,7 +4870,8 @@ export default {
4862 4870
                           order_number: response.data.data.list[i].his_patient[b].orders[c].number,
4863 4871
                           order_id: response.data.data.list[i].his_patient[b].orders[c].id,
4864 4872
                           prescription: response.data.data.list[i].prescription,
4865
-                          first_letter:response.data.data.list[i].first_letter
4873
+                          first_letter:response.data.data.list[i].first_letter,
4874
+                          patient_type:response.data.data.list[i].patient_type
4866 4875
                         }
4867 4876
                         this.all_table_data.push(obj)
4868 4877
                       }
@@ -5043,7 +5052,7 @@ export default {
5043 5052
           let one_count = 0
5044 5053
           let two_count = 0
5045 5054
           let three_count = 0
5046
-          console.log('vvvvvvvvvvvvv',response.data.data);
5055
+          console.log('vvvvvvvvvvvvv1211',response.data.data);
5047 5056
           for (let i = 0; i < response.data.data.list.length; i++) {
5048 5057
             if (response.data.data.list[i].his_patient.length == 0) { //没挂号
5049 5058
               if (response.data.data.list[i].prescription.length > 0) {
@@ -5056,8 +5065,8 @@ export default {
5056 5065
                   his_patient_id: 0,
5057 5066
                   prescription: response.data.data.list[i].prescription,
5058 5067
                   schedle: response.data.data.list[i].schedule,
5059
-                  first_letter:response.data.data.list[i].first_letter
5060
-
5068
+                  first_letter:response.data.data.list[i].first_letter,
5069
+                  patient_type:response.data.data.list[i].patient_type
5061 5070
                 }
5062 5071
 
5063 5072
                 this.all_table_data.push(obj)
@@ -5077,8 +5086,8 @@ export default {
5077 5086
                       order_id: response.data.data.list[i].his_patient[0].orders[b].id,
5078 5087
                       prescription: response.data.data.list[i].prescription,
5079 5088
                       schedle: response.data.data.list[i].schedule,
5080
-                      first_letter:response.data.data.list[i].first_letter
5081
-
5089
+                      first_letter:response.data.data.list[i].first_letter,
5090
+                      patient_type:response.data.data.list[i].patient_type
5082 5091
                     }
5083 5092
                     this.all_table_data.push(obj)
5084 5093
 
@@ -5094,8 +5103,8 @@ export default {
5094 5103
                     order_id: 0,
5095 5104
                     prescription: response.data.data.list[i].prescription,
5096 5105
                     schedle: response.data.data.list[i].schedule,
5097
-                    first_letter:response.data.data.list[i].first_letter
5098
-
5106
+                    first_letter:response.data.data.list[i].first_letter,
5107
+                    patient_type:response.data.data.list[i].patient_type
5099 5108
                   }
5100 5109
                   this.all_table_data.push(obj)
5101 5110
 
@@ -5115,7 +5124,8 @@ export default {
5115 5124
                       order_id: 0,
5116 5125
                       prescription: response.data.data.list[i].prescription,
5117 5126
                       schedle: response.data.data.list[i].schedule,
5118
-                      first_letter:response.data.data.list[i].first_letter
5127
+                      first_letter:response.data.data.list[i].first_letter,
5128
+                      patient_type:response.data.data.list[i].patient_type
5119 5129
                     }
5120 5130
                     this.all_table_data.push(obj)
5121 5131
                   } else {
@@ -5131,7 +5141,8 @@ export default {
5131 5141
                         order_id: response.data.data.list[i].his_patient[b].orders[c].id,
5132 5142
                         prescription: response.data.data.list[i].prescription,
5133 5143
                         schedle: response.data.data.list[i].schedule,
5134
-                        first_letter:response.data.data.list[i].first_letter
5144
+                        first_letter:response.data.data.list[i].first_letter,
5145
+                        patient_type:response.data.data.list[i].patient_type
5135 5146
 
5136 5147
                       }
5137 5148
                       this.all_table_data.push(obj)
@@ -6739,6 +6750,17 @@ li {
6739 6750
 
6740 6751
 }
6741 6752
 }
6753
+.futou{
6754
+  display: inline-block;
6755
+  width: 20px;
6756
+  height: 20px;
6757
+  border-radius: 50px;
6758
+  background: #38d7d7;
6759
+  color: white;
6760
+  text-align: center;
6761
+  position: absolute;
6762
+  right: 5px;
6763
+}
6742 6764
 </style>
6743 6765
 
6744 6766
 <style lang="scss">

+ 21 - 3
src/xt_pages/outpatientCharges/summary.vue View File

@@ -192,9 +192,11 @@
192 192
         <el-table-column align="center" width="60" prop="name" label="患者年龄">
193 193
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
194 194
         </el-table-column>
195
-        <!--<el-table-column align="center" prop="name" label="患者类型">-->
196
-        <!--<template slot-scope="scope"></template>-->
197
-        <!--</el-table-column>-->
195
+        <el-table-column align="center" prop="name" label="患者类型">
196
+          <template slot-scope="scope">
197
+            {{ getpatient(scope.row.patient.patient_type) }}
198
+          </template>
199
+        </el-table-column>
198 200
 
199 201
         <el-table-column align="center" width="80" prop="name" label="应收金额">
200 202
           <template slot-scope="scope">{{
@@ -716,6 +718,9 @@ export default {
716 718
       settlementObj: {},
717 719
       accounts_click_vi:false,
718 720
       org_id:'',
721
+      patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
722
+                        {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
723
+      ]
719 724
     }
720 725
   },
721 726
 
@@ -762,6 +767,19 @@ export default {
762 767
   },
763 768
 
764 769
   methods: {
770
+    // 患者类型
771
+    getpatient(id){
772
+      const options = this.patienttypeArr
773
+      if(id !=0&&id!=''){
774
+        for(let i in options){
775
+          if(id == options[i].value){
776
+            return options[i].label
777
+          }
778
+        }
779
+      }else{
780
+        return ''
781
+      }
782
+    },
765 783
     query(){
766 784
       this.getHisOrderList()
767 785
     },

+ 48 - 14
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -58,7 +58,11 @@
58 58
                     ref="tab"
59 59
           >
60 60
             <el-table-column prop="name" label="姓名" width='89'>
61
-              <template slot-scope="scope">{{ scope.row.name }}</template>
61
+              <template slot-scope="scope">
62
+                <span>{{ scope.row.name }}</span>
63
+                <span class="futou" v-if="scope.row.patient_type==4">腹</span>
64
+                <!--  v-if="scope.row.patient_type==1" -->
65
+              </template>
62 66
             </el-table-column>
63 67
             <el-table-column prop="name" label="就诊号" width="110">
64 68
               <template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
@@ -74,7 +78,10 @@
74 78
                     ref="tab"
75 79
           >
76 80
             <el-table-column prop="name" label="姓名" width='89'>
77
-              <template slot-scope="scope">{{ scope.row.name }}</template>
81
+              <template slot-scope="scope">
82
+                <span>{{ scope.row.name }}</span>
83
+                <span class="futou" v-if="scope.row.patient_type==4">腹</span>
84
+              </template>
78 85
             </el-table-column>
79 86
             <el-table-column prop="name" label="就诊号" width="110">
80 87
               <template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
@@ -90,7 +97,10 @@
90 97
                     ref="tab"
91 98
           >
92 99
             <el-table-column prop="name" label="姓名" width='89'>
93
-              <template slot-scope="scope">{{ scope.row.name }}</template>
100
+              <template slot-scope="scope">
101
+                <span>{{ scope.row.name }}</span>
102
+                <span class="futou" v-if="scope.row.patient_type==4">腹</span>
103
+              </template>
94 104
             </el-table-column>
95 105
             <el-table-column prop="name" label="就诊号" width="110">
96 106
               <template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
@@ -934,6 +944,8 @@ export default {
934 944
           return false
935 945
         } else {
936 946
           //挂号
947
+          console.log('response.data.data',response.data.data);
948
+          
937 949
           for (let i = 0; i < response.data.data.list.length; i++) {
938 950
             for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
939 951
               //未就诊
@@ -942,7 +954,8 @@ export default {
942 954
                   name: response.data.data.list[i].his_patient[b].name,
943 955
                   number: response.data.data.list[i].his_patient[b].number,
944 956
                   id: response.data.data.list[i].id,
945
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
957
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
958
+                  // patient_type:
946 959
                 }
947 960
                 this.un_cure_data.push(obj)
948 961
               }
@@ -1157,7 +1170,8 @@ export default {
1157 1170
                   number: response.data.data.list[i].his_patient[b].number,
1158 1171
                   id: response.data.data.list[i].id,
1159 1172
                   his_patient_id: response.data.data.list[i].his_patient[b].id,
1160
-                  first_letter: response.data.data.list[i].first_letter
1173
+                  first_letter: response.data.data.list[i].first_letter,
1174
+                  patient_type: response.data.data.list[i].patient_type
1161 1175
                 }
1162 1176
                 this.un_cure_data.push(obj)
1163 1177
                 console.log('vvvvv', this.un_cure_data)
@@ -1169,7 +1183,8 @@ export default {
1169 1183
                   number: response.data.data.list[i].his_patient[b].number,
1170 1184
                   id: response.data.data.list[i].id,
1171 1185
                   his_patient_id: response.data.data.list[i].his_patient[b].id,
1172
-                  first_letter: response.data.data.list[i].first_letter
1186
+                  first_letter: response.data.data.list[i].first_letter,
1187
+                  patient_type: response.data.data.list[i].patient_type
1173 1188
                 }
1174 1189
                 this.cure_data.push(obj)
1175 1190
               }
@@ -1187,7 +1202,8 @@ export default {
1187 1202
                 number: response.data.data.list_two[i].his_patient.number,
1188 1203
                 id: response.data.data.list_two[i].id,
1189 1204
                 his_patient_id: response.data.data.list_two[i].his_patient.id,
1190
-                first_letter: response.data.data.list_two[i].first_letter
1205
+                first_letter: response.data.data.list_two[i].first_letter,
1206
+                patient_type: response.data.data.list_two[i].patient_type
1191 1207
               }
1192 1208
               this.un_cure_data.push(obj)
1193 1209
               // console.log('aaaaa',this.un_cure_data);
@@ -1200,7 +1216,8 @@ export default {
1200 1216
                 number: response.data.data.list_two[i].his_patient.number,
1201 1217
                 id: response.data.data.list_two[i].id,
1202 1218
                 his_patient_id: response.data.data.list_two[i].his_patient.id,
1203
-                first_letter: response.data.data.list_two[i].first_letter
1219
+                first_letter: response.data.data.list_two[i].first_letter,
1220
+                patient_type: response.data.data.list_two[i].patient_type
1204 1221
               }
1205 1222
               this.cure_data.push(obj)
1206 1223
             }
@@ -1787,7 +1804,7 @@ export default {
1787 1804
           this.$message.error(response.data.msg)
1788 1805
           return false
1789 1806
         } else {
1790
-          console.log('getSchedulePatientList', response.data.data.list_two)
1807
+          console.log('getSchedulePatientList', response.data.data)
1791 1808
           //排班
1792 1809
           for (let i = 0; i < response.data.data.list_two.length; i++) {
1793 1810
             //未就诊
@@ -1797,7 +1814,8 @@ export default {
1797 1814
                 number: response.data.data.list_two[i].his_patient.number,
1798 1815
                 id: response.data.data.list_two[i].id,
1799 1816
                 his_patient_id: response.data.data.list_two[i].his_patient.id,
1800
-                first_letter: response.data.data.list_two[i].first_letter
1817
+                first_letter: response.data.data.list_two[i].first_letter,
1818
+                patient_type: response.data.data.list_two[i].patient_type
1801 1819
               }
1802 1820
               // console.log('6666',obj);
1803 1821
               this.un_cure_data.push(obj)
@@ -1810,7 +1828,8 @@ export default {
1810 1828
                 number: response.data.data.list_two[i].his_patient.number,
1811 1829
                 id: response.data.data.list_two[i].id,
1812 1830
                 his_patient_id: response.data.data.list_two[i].his_patient.id,
1813
-                first_letter: response.data.data.list_two[i].first_letter
1831
+                first_letter: response.data.data.list_two[i].first_letter,
1832
+                patient_type: response.data.data.list_two[i].patient_type
1814 1833
               }
1815 1834
               this.cure_data.push(obj)
1816 1835
             }
@@ -1826,7 +1845,8 @@ export default {
1826 1845
                   number: response.data.data.list[i].his_patient[b].number,
1827 1846
                   id: response.data.data.list[i].id,
1828 1847
                   his_patient_id: response.data.data.list[i].his_patient[b].id,
1829
-                  first_letter: response.data.data.list[i].first_letter
1848
+                  first_letter: response.data.data.list[i].first_letter,
1849
+                  patient_type: response.data.data.list[i].patient_type
1830 1850
                 }
1831 1851
                 // console.log('8888',obj);
1832 1852
                 this.un_cure_data.push(obj)
@@ -1838,7 +1858,8 @@ export default {
1838 1858
                   number: response.data.data.list[i].his_patient[b].number,
1839 1859
                   id: response.data.data.list[i].id,
1840 1860
                   his_patient_id: response.data.data.list[i].his_patient[b].id,
1841
-                  first_letter: response.data.data.list[i].first_letter
1861
+                  first_letter: response.data.data.list[i].first_letter,
1862
+                  patient_type: response.data.data.list[i].patient_type
1842 1863
                 }
1843 1864
                 this.cure_data.push(obj)
1844 1865
               }
@@ -1861,7 +1882,8 @@ export default {
1861 1882
 
1862 1883
           this.all_data = this.all_data.concat(this.cure_data)
1863 1884
           this.all_data = this.all_data.concat(this.un_cure_data)
1864
-
1885
+          
1886
+          
1865 1887
           this.cure_data_two = this.cure_data
1866 1888
           this.un_cure_data_two = this.un_cure_data
1867 1889
           this.all_data_two = this.all_data
@@ -1874,6 +1896,7 @@ export default {
1874 1896
             this.oldCurrentRow = this.un_cure_data[0]
1875 1897
             this.getPatientInfo(this.un_cure_data[0])
1876 1898
           }
1899
+          console.log('1111111this.all_data',this.cure_data);
1877 1900
         }
1878 1901
       })
1879 1902
     },
@@ -6541,6 +6564,17 @@ p {
6541 6564
   display: flex;
6542 6565
   justify-content: space-between;
6543 6566
 }
6567
+.futou{
6568
+  display: inline-block;
6569
+  width: 20px;
6570
+  height: 20px;
6571
+  border-radius: 50px;
6572
+  background: #38d7d7;
6573
+  color: white;
6574
+  text-align: center;
6575
+  position: absolute;
6576
+  right: 5px;
6577
+}
6544 6578
 </style>
6545 6579
 
6546 6580
 <style lang="scss">

+ 1 - 1
src/xt_pages/outpatientTool/components/newSettlePrint.vue View File

@@ -30,7 +30,7 @@ import axios from 'axios'
30 30
 import { getAllDoctorList, getAllHisPatientList } from '@/api/project/project'
31 31
 import { getPrivateExpenses, getPrivateExpensesOrder, getPrivateExpensesTwo } from '@/api/his/his'
32 32
 import Print9919 from './print9919.vue'
33
-import printJS from "print-js";
33
+import print from "print-js";
34 34
 export default {
35 35
   name: 'dialysisPrintOrder',
36 36
   components: {

+ 26 - 26
src/xt_pages/stock/detail/stockOutDetail.vue View File

@@ -15,7 +15,7 @@
15 15
       type="primary"
16 16
       v-if="orgId !=10480"
17 17
       >明细导出
18
-     
18
+
19 19
     </el-button>
20 20
     <el-button
21 21
       style="float: right;margin-right:10px"
@@ -24,7 +24,7 @@
24 24
       type="primary"
25 25
       v-if="orgId ==10480"
26 26
       >明细导出
27
-     
27
+
28 28
     </el-button>
29 29
      <el-button
30 30
       style="float: right;margin-right:10px"
@@ -142,7 +142,7 @@
142 142
             {{ getManufactuerName(scope.row.manufacturer) }}
143 143
           </template>
144 144
         </el-table-column>
145
-<!-- 
145
+<!--
146 146
         <el-table-column label="进销商" align="center">
147 147
             <template slot-scope="scope">
148 148
               {{ getDealerName(scope.row.dealer) }}
@@ -189,13 +189,13 @@
189 189
             <span v-if="scope.row.is_total == 0">
190 190
               <span v-if="orgId!=9583">{{ scope.row.count }}</span>
191 191
               <span v-if="orgId ==9583">{{getStockCount(scope.row.good_id) }}</span>
192
-            </span> 
192
+            </span>
193 193
             <span v-if="scope.row.is_total == 1">
194 194
               {{scope.row.count}}
195 195
             </span>
196 196
           </template>
197 197
         </el-table-column>
198
-      
198
+
199 199
         <el-table-column label="总价" align="center">
200 200
           <template slot-scope="scope">
201 201
             <span v-if="scope.row.is_total == 0 && scope.row.price > 0">{{getTotal(scope.row.price, scope.row.count)}}</span>
@@ -265,7 +265,7 @@ export default {
265 265
     this.fetchAllAdminUsers();
266 266
     this.goodUnit = this.$store.getters.good_unit
267 267
     var org_id = this.$store.getters.xt_user.org.id
268
-   
268
+
269 269
     this.orgId = org_id
270 270
 
271 271
 
@@ -388,7 +388,7 @@ export default {
388 388
           this.wareOutList =  response.data.data.list
389 389
           this.patientsList = []
390 390
           this.patientsList = response.data.data.patientsList
391
-         
391
+
392 392
           var total = 0
393 393
           var objOne = {
394 394
             warehouse_out_order_number: "合计",
@@ -408,7 +408,7 @@ export default {
408 408
             this.cancelStockDate.push(obj);
409 409
             objOne.count += response.data.data.list[i].count
410 410
           }
411
-       
411
+
412 412
           this.cancelStockDate.push(objOne);
413 413
 
414 414
         }
@@ -479,7 +479,7 @@ export default {
479 479
             }
480 480
             objOne.count +=response.data.data.list[i].count
481 481
             obj["is_total"] = 0;
482
-            
482
+
483 483
             this.cancelStockDate.push(obj);
484 484
           }
485 485
 
@@ -602,14 +602,14 @@ export default {
602 602
      },
603 603
      getDealerNameOne(id){
604 604
        var dealer_name = ""
605
-     
605
+
606 606
        for(let i=0;i<this.dealerList.length;i++){
607 607
           if(id == this.dealerList[i].id){
608 608
               dealer_name = this.dealerList[i].dealer_name
609 609
           }
610 610
        }
611 611
        return dealer_name
612
-     }, 
612
+     },
613 613
     getManufactuerName: function(manufacturer_id) {
614 614
       for (let i = 0; i < this.manufacturer.length; i++) {
615 615
         if (this.manufacturer[i].id == manufacturer_id) {
@@ -755,7 +755,7 @@ export default {
755 755
     PrintAction: function() {
756 756
       window.sessionStorage.setItem('start',this.start_time)
757 757
       window.sessionStorage.setItem('end',this.end_time)
758
-     
758
+
759 759
       if(this.orgId != 9671){
760 760
         this.$router.push({
761 761
           path: "/stock/print",
@@ -782,7 +782,7 @@ export default {
782 782
           }
783 783
         });
784 784
       }
785
-    
785
+
786 786
     },
787 787
     // getPrintStockGood(){
788 788
     //   const params = {
@@ -887,7 +887,7 @@ export default {
887 887
       },
888 888
 
889 889
     exportList(){
890
-    
890
+
891 891
        for(let i=0;i<this.tableOut.length;i++){
892 892
         this.tableOut[i].index = i+1
893 893
         this.tableOut[i].good_name = this.tableOut[i].good_name
@@ -933,32 +933,32 @@ export default {
933 933
           this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
934 934
         }else if(this.orgId==10445){
935 935
           this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
936
+        }else if(this.orgId==10635){
937
+           this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
936 938
         }else{
937 939
           this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
938 940
         }
939 941
 
940 942
         if(this.orgId  == 10265 || this.orgId ==10215 || this.orgId == 9919 || this.orgId == 9671 || this.orgId == 10402 || this.orgId==10138 || this.orgId==10278||this.orgId==10537||this.orgId==10610||this.orgId==0){
941
-
942
-         this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
943
+            this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
943 944
         }
944
-        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191 || this.orgId == 0 || this.orgId ==10489 || this.orgId == 10375 || this.orgId == 10485 || this.org_id ==10635 || this.org_id ==10726 || this.org_id == 10724 || this.org_id ==10635 || this.org_id ==10724 || this.org_id ==10726 || this.org_id ==10721){
945
+        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191 || this.orgId == 0 || this.orgId ==10489 || this.orgId == 10375 || this.orgId == 10485 || this.orgId ==10635 || this.orgId ==10726 || this.orgId == 10724 || this.orgId ==10635 || this.orgId ==10724 || this.orgId ==10726 || this.orgId ==10721){
945 946
           this.tableOut[i].out_count = this.getWarehouseOut(this.tableOut[i].good_id)
946
-         
947 947
         }
948 948
         if(this.orgId ==10445){
949 949
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
950 950
         }
951
-        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402 && this.orgId != 10489 && this.orgId!=10375 && this.orgId!=10485&&this.orgId!=0&&this.orgId!=10138&&this.orgId!=10278&&this.orgId!=10537&&this.orgId!=10610 &&this.orgId!=10445 &&  this.org_id !=10635  &&  this.org_id !=10724 &&  this.org_id !=10726  &&  this.org_id !=10721){
951
+        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402 && this.orgId != 10489 && this.orgId!=10375 && this.orgId!=10485&&this.orgId!=0&&this.orgId!=10138&&this.orgId!=10278&&this.orgId!=10537&&this.orgId!=10610 &&this.orgId!=10445 &&  this.orgId !=10635  &&  this.orgId !=10724 &&  this.orgId !=10726  &&  this.orgId !=10721){
952 952
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
953 953
         }
954 954
         this.tableOut[i].manufacturer_name = this.getManufacturerNameOne(this.tableOut[i].manufacturer)
955
-       
955
+
956 956
         this.tableOut[i].dealer_name = this.getDealerNameOne(this.tableOut[i].dealer)
957 957
 
958 958
         this.tableOut[i].order_time = this.start_time + " ~ " + this.end_time
959 959
        }
960 960
        console.log("retusoossoso",this.tableOut)
961
-       
961
+
962 962
        import('@/vendor/Export2Excel').then(excel => {
963 963
        const tHeader = ['序号','耗材名称', '规格型号','生产厂商','进销商', '单位','数量','出货价','总价','出库时间','备注']
964 964
 
@@ -977,7 +977,7 @@ export default {
977 977
      },
978 978
      exportListDetail(){
979 979
         console.log("hahhdhafhhahdf",this.tableDataList)
980
-      
980
+
981 981
         var obj = {index:"合计",total_price:0}
982 982
         var total = 0
983 983
         for(let i=0;i<this.tableDataList.length;i++){
@@ -1007,7 +1007,7 @@ export default {
1007 1007
         }
1008 1008
         obj.total_price = total.toFixed(2)
1009 1009
         console.log("WOHHAHHAHAH",this.tableDataList)
1010
-      
1010
+
1011 1011
         this.tableDataList.push(obj)
1012 1012
        import('@/vendor/Export2Excel').then(excel => {
1013 1013
        const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用患者','数量','总价']
@@ -1049,7 +1049,7 @@ export default {
1049 1049
               this.tableDataList[i].ctimeTwo = this.getTimeOne(this.tableDataList[i].ctime)
1050 1050
               this.tableDataList[i].expiry_date = this.getTime(this.tableDataList[i].expiry_date)
1051 1051
               this.tableDataList[i].project_name ="居民报销"
1052
-            
1052
+
1053 1053
               out_total += this.tableDataList[i].count * this.tableDataList[i].price
1054 1054
               in_total += this.tableDataList[i].count *this.tableDataList[i].WarehousingInfoNight.price
1055 1055
 
@@ -1166,7 +1166,7 @@ export default {
1166 1166
       return total
1167 1167
     },
1168 1168
     getPatientName(id){
1169
-     
1169
+
1170 1170
       var name =""
1171 1171
       for(let i=0;i<this.patientsList.length;i++){
1172 1172
         if(id == this.patientsList[i].id){
@@ -1199,7 +1199,7 @@ export default {
1199 1199
 //   display: flex;
1200 1200
 //   flex-direction: column;
1201 1201
 //   .el-table__header-wrapper {
1202
-//     height: 70px !important; 
1202
+//     height: 70px !important;
1203 1203
 //   }
1204 1204
 // }
1205 1205
 </style>

+ 25 - 0
src/xt_pages/user/components/PatientDetail.vue View File

@@ -393,6 +393,25 @@
393 393
               </el-form-item>
394 394
             </el-col>
395 395
 
396
+            <el-col :span="24" :style="isEdit ? 'width:600px' : ''">
397
+                <el-form-item
398
+                  label="患者类型 : "
399
+                  class="is-required"
400
+                  prop="source"
401
+                >
402
+                  <el-radio-group v-model="form.patient_type">
403
+                    <el-radio
404
+                      v-for="item in patientType"
405
+                      :key="item.value"
406
+                      :label="item.value"
407
+                      :value="item.value"
408
+                      >{{ item.label }}</el-radio
409
+                    >
410
+                  </el-radio-group>
411
+                </el-form-item>
412
+              </el-col>
413
+
414
+
396 415
             <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
397 416
                 <el-form-item
398 417
                   label="患者去向 : "
@@ -1647,6 +1666,7 @@ const defaultForm = {
1647 1666
   allergic_history:"",
1648 1667
   print_date:"",
1649 1668
   famality_record:"",
1669
+  patient_type:"",
1650 1670
 };
1651 1671
 
1652 1672
 export default {
@@ -1753,6 +1773,7 @@ export default {
1753 1773
       operators:[],
1754 1774
       liuAddresslist:[],
1755 1775
       patientVascularAccessOne:{},
1776
+      patientType: [{ value: 1, label: "血透患者" }, { value: 2, label: "慢病患者" }, { value: 3, label: "会员患者" },{ value: 4, label: "腹透患者" },{ value: 5, label: "CKD患者" },{ value: 6, label: "其他患者" }],
1756 1777
     };
1757 1778
   },
1758 1779
   computed: {
@@ -2036,6 +2057,9 @@ export default {
2036 2057
             this.form.allergic_history = patietInfo.allergic_history
2037 2058
             this.form.infectious_remark = patietInfo.infectious_remark
2038 2059
             this.form.famality_record  = patietInfo.famality_record
2060
+            if(patietInfo.patient_type >0){
2061
+               this.form.patient_type = patietInfo.patient_type
2062
+            }
2039 2063
             // this.form.initial = patietInfo.initial_dialysis + "";
2040 2064
             // this.form.dialysisTotal = patietInfo.total_dialysis + "";
2041 2065
             // this.form.assessment = patietInfo.evaluate;
@@ -2371,6 +2395,7 @@ export default {
2371 2395
             } else {
2372 2396
               this.patientPrint.hospital_first_dialysis_date = "";
2373 2397
             }
2398
+          
2374 2399
             // this.checkIdCardNo();
2375 2400
           } else {
2376 2401
             console.log("patient get err state");

+ 33 - 2
src/xt_pages/user/components/PatientForm.vue View File

@@ -437,6 +437,26 @@
437 437
                   </el-radio-group>
438 438
                 </el-form-item>
439 439
               </el-col>
440
+
441
+              <el-col :span="24" :style="isEdit ? 'width:600px' : ''">
442
+                <el-form-item
443
+                  label="患者类型 : "
444
+                  class="is-required"
445
+                  prop="source"
446
+                >
447
+                  <el-radio-group v-model="form.patient_type">
448
+                    <el-radio
449
+                      v-for="item in patientType"
450
+                      :key="item.value"
451
+                      :label="item.value"
452
+                      :value="item.value"
453
+                      >{{ item.label }}</el-radio
454
+                    >
455
+                  </el-radio-group>
456
+                </el-form-item>
457
+              </el-col>
458
+
459
+              
440 460
       
441 461
               <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
442 462
                 <el-form-item
@@ -1166,7 +1186,7 @@ const defaultForm = {
1166 1186
   response_result: "",
1167 1187
   remind_cycle: 0,
1168 1188
   record_date: "",
1169
-
1189
+  patient_type:"1",
1170 1190
   tell_phone: "",
1171 1191
   first_treatment_date: "",
1172 1192
   dialysis_age: "",
@@ -1430,6 +1450,7 @@ export default {
1430 1450
       // typeOptions: null,
1431 1451
       // styleOptions: null,
1432 1452
       sourceOptions: [{ value: 1, label: "门诊" }, { value: 2, label: "住院" }, { value: 3, label: "门特" }],
1453
+      patientType: [{ value: 1, label: "血透患者" }, { value: 2, label: "慢病患者" }, { value: 3, label: "会员患者" },{ value: 4, label: "腹透患者" },{ value: 5, label: "CKD患者" },{ value: 6, label: "其他患者" }],
1433 1454
       patientSourceList:[
1434 1455
         {value:1,label:"门诊"},
1435 1456
         {value:2,label:"住院"},
@@ -1711,6 +1732,10 @@ export default {
1711 1732
             }
1712 1733
             console.log("form---",this.form)
1713 1734
 
1735
+            if(this.form.patient_type >0){
1736
+               this.form.patient_type = parseInt(this.form.patient_type)
1737
+            }
1738
+
1714 1739
             editPatient(this.patientID, this.form)
1715 1740
 
1716 1741
               .then(response => {
@@ -1755,6 +1780,10 @@ export default {
1755 1780
             }
1756 1781
             console.log("form233322332w",this.form)
1757 1782
 
1783
+            if(this.form.patient_type >0){
1784
+               this.form.patient_type = parseInt(this.form.patient_type)
1785
+            }
1786
+
1758 1787
             createPatient(this.form)
1759 1788
               .then(response => {
1760 1789
                 if (response.data.state == 0) {
@@ -2113,7 +2142,9 @@ export default {
2113 2142
             this.form.patient_address = patietInfo.patient_address
2114 2143
             this.form.allergic_history = patietInfo.allergic_history
2115 2144
             this.form.infectious_remark = patietInfo.infectious_remark
2116
-          
2145
+            if(patietInfo.patient_type >0){
2146
+              this.form.patient_type = patietInfo.patient_type
2147
+            }
2117 2148
 
2118 2149
             // this.checkIdCardNo();
2119 2150
           } else {

+ 137 - 116
src/xt_pages/user/patients.vue View File

@@ -452,6 +452,11 @@
452 452
             <span>{{ LapsetoInfo(scope.row) }}</span>
453 453
           </template>
454 454
         </el-table-column>
455
+        <el-table-column label="患者类型" align="center">
456
+          <template slot-scope="scope">
457
+            <span>{{ getpatient(scope.row.patient_type) }}</span>
458
+          </template>
459
+        </el-table-column>
455 460
         <el-table-column label="转出(死亡)时间" min-width="134" align="center">
456 461
           <template slot-scope="scope">
457 462
 <!--            <span>{{getTime(scope.row.death_time)}}</span>-->
@@ -929,7 +934,10 @@
929 934
         },
930 935
         adminUserOptions:[],
931 936
         scheduleList:[],
932
-        patientsList:[]
937
+        patientsList:[],
938
+        patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
939
+                        {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
940
+        ]
933 941
       }
934 942
     },
935 943
     created() {
@@ -953,6 +961,19 @@
953 961
     },
954 962
 
955 963
     methods: {
964
+      // 患者类型
965
+      getpatient(id){
966
+        const options = this.patienttypeArr
967
+        if(id !=0&&id!=''){
968
+          for(let i in options){
969
+            if(id == options[i].value){
970
+              return options[i].label
971
+            }
972
+          }
973
+        }else{
974
+          return ''
975
+        }
976
+      },
956 977
       getExportList(){
957 978
         getExportList(this.listQuery).then(response=>{
958 979
            if(response.data.state ==1){
@@ -1769,132 +1790,132 @@
1769 1790
         }
1770 1791
 
1771 1792
       },
1772
-     toExport(){
1773
-      import('@/vendor/Export2Excel').then(excel => {
1793
+      toExport(){
1794
+        import('@/vendor/Export2Excel').then(excel => {
1774 1795
 
1775
-        console.log("hhhh323223",this.tableData)
1776
-        for(let i=0;i<this.tableData.length;i++){
1777
-          if(this.tableData[i].gender == 1){
1778
-            this.tableData[i].genders = "男"
1779
-          }
1780
-          if(this.tableData[i].gender == 2){
1781
-            this.tableData[i].genders = "女"
1782
-          }
1783
-          this.tableData[i].age_year = this.tranAge(this.tableData[i])
1784
-          this.tableData[i].first_dialysis_date = this.getTime(this.tableData[i].first_dialysis_date)
1785
-          if(this.tableData[i].lapseto == 0){
1786
-            this.tableData[i].lapesetos = ""
1787
-          }
1788
-          if(this.tableData[i].lapseto == 1){
1789
-            this.tableData[i].lapesetos = "留治"
1790
-          }
1791
-          if(this.tableData[i].lapseto == 2){
1792
-            this.tableData[i].lapesetos = "转归"
1793
-          }
1794
-           if(this.tableData[i].source == 0){
1795
-             this.tableData[i].sources = ""
1796
-          }
1797
-          if(this.tableData[i].source == 1){
1798
-             this.tableData[i].sources = "门诊"
1799
-          }
1800
-           if(this.tableData[i].source == 2){
1801
-             this.tableData[i].sources = "住院"
1802
-          }
1803
-         if(this.tableData[i].is_infectious == 0){
1804
-             this.tableData[i].is_infectiouss = ""
1805
-          }
1806
-          if(this.tableData[i].is_infectious == 1){
1807
-             this.tableData[i].is_infectiouss = "阴性"
1808
-          }
1809
-          if(this.tableData[i].is_infectious == 2){
1810
-             this.tableData[i].is_infectiouss = "阳性"
1796
+          console.log("hhhh323223",this.tableData)
1797
+          for(let i=0;i<this.tableData.length;i++){
1798
+            if(this.tableData[i].gender == 1){
1799
+              this.tableData[i].genders = "男"
1800
+            }
1801
+            if(this.tableData[i].gender == 2){
1802
+              this.tableData[i].genders = "女"
1803
+            }
1804
+            this.tableData[i].age_year = this.tranAge(this.tableData[i])
1805
+            this.tableData[i].first_dialysis_date = this.getTime(this.tableData[i].first_dialysis_date)
1806
+            if(this.tableData[i].lapseto == 0){
1807
+              this.tableData[i].lapesetos = ""
1808
+            }
1809
+            if(this.tableData[i].lapseto == 1){
1810
+              this.tableData[i].lapesetos = "留治"
1811
+            }
1812
+            if(this.tableData[i].lapseto == 2){
1813
+              this.tableData[i].lapesetos = "转归"
1814
+            }
1815
+            if(this.tableData[i].source == 0){
1816
+              this.tableData[i].sources = ""
1817
+            }
1818
+            if(this.tableData[i].source == 1){
1819
+              this.tableData[i].sources = "门诊"
1820
+            }
1821
+            if(this.tableData[i].source == 2){
1822
+              this.tableData[i].sources = "住院"
1823
+            }
1824
+          if(this.tableData[i].is_infectious == 0){
1825
+              this.tableData[i].is_infectiouss = ""
1826
+            }
1827
+            if(this.tableData[i].is_infectious == 1){
1828
+              this.tableData[i].is_infectiouss = "阴性"
1829
+            }
1830
+            if(this.tableData[i].is_infectious == 2){
1831
+              this.tableData[i].is_infectiouss = "阳性"
1832
+            }
1833
+
1834
+            this.tableData[i].ctime = this.getTime(this.tableData[i].created_time)
1811 1835
           }
1812 1836
 
1813
-          this.tableData[i].ctime = this.getTime(this.tableData[i].created_time)
1814
-        }
1837
+          const tHeader = ['姓名', '性别', '身份证号码','年龄','透析号','首次治疗时间','本人电话','患者来源','治疗状态','传染病','家庭住址','工作单位',"登记时间","家属电话","上家透析医院"]
1838
+          const filterVal = ['name', 'genders', 'id_card_no','age_year','dialysis_no','first_dialysis_date','phone','sources','lapesetos','is_infectiouss','home_address','work_unit','ctime','home_telephone','first_dialysis_hospital']
1839
+          console.log("table",this.tableData)
1815 1840
 
1816
-        const tHeader = ['姓名', '性别', '身份证号码','年龄','透析号','首次治疗时间','本人电话','患者来源','治疗状态','传染病','家庭住址','工作单位',"登记时间","家属电话","上家透析医院"]
1817
-        const filterVal = ['name', 'genders', 'id_card_no','age_year','dialysis_no','first_dialysis_date','phone','sources','lapesetos','is_infectiouss','home_address','work_unit','ctime','home_telephone','first_dialysis_hospital']
1818
-        console.log("table",this.tableData)
1841
+          const data = this.formatJson(filterVal, this.tableData)
1842
+          excel.export_json_to_excel({
1843
+            header: tHeader,
1844
+            data,
1845
+            filename: '患者名单'
1846
+          })
1847
+          this.downloadLoading = false
1848
+      })
1849
+      },
1850
+      formatJson(filterVal, jsonData) {
1851
+        return jsonData.map(v => filterVal.map(j => v[j]));
1852
+      },
1819 1853
 
1820
-        const data = this.formatJson(filterVal, this.tableData)
1821
-        excel.export_json_to_excel({
1822
-          header: tHeader,
1823
-          data,
1824
-          filename: '患者名单'
1825
-        })
1826
-        this.downloadLoading = false
1827
-     })
1828
-    },
1829
-    formatJson(filterVal, jsonData) {
1830
-      return jsonData.map(v => filterVal.map(j => v[j]));
1831
-    },
1854
+      toExportOne(){
1855
+        import('@/vendor/Export2Excel').then(excel => {
1856
+
1857
+          console.log("hhhh323223",this.scheduleList)
1858
+          for(let i=0;i<this.scheduleList.length;i++){
1859
+            this.scheduleList[i].name = ""
1860
+            this.scheduleList[i].wort_unit = ""
1861
+              this.scheduleList[i].name = this.GetPatientName(this.scheduleList[i].patient_id)
1862
+              this.scheduleList[i].wort_unit = this.GetPatientWorkUnit(this.scheduleList[i].patient_id)
1863
+          }
1832 1864
 
1833
-    toExportOne(){
1834
-      import('@/vendor/Export2Excel').then(excel => {
1865
+          const tHeader = ['姓名', '工作单位']
1866
+          const filterVal = ['name', 'wort_unit']
1867
+          console.log("table",this.scheduleList)
1835 1868
 
1836
-        console.log("hhhh323223",this.scheduleList)
1837
-        for(let i=0;i<this.scheduleList.length;i++){
1838
-          this.scheduleList[i].name = ""
1839
-          this.scheduleList[i].wort_unit = ""
1840
-            this.scheduleList[i].name = this.GetPatientName(this.scheduleList[i].patient_id)
1841
-            this.scheduleList[i].wort_unit = this.GetPatientWorkUnit(this.scheduleList[i].patient_id)
1869
+          const data = this.formatJson(filterVal, this.scheduleList)
1870
+          excel.export_json_to_excel({
1871
+            header: tHeader,
1872
+            data,
1873
+            filename: '今日透析记录'
1874
+          })
1875
+          this.downloadLoading = false
1876
+      })
1877
+      },
1878
+      tranAge(val) {
1879
+        if(val.birthday){
1880
+          var birth = uParseTime(val.birthday, '{y}-{m}-{d}');
1881
+          return jsGetAge(birth, '-');
1842 1882
         }
1883
+      },
1884
+      toOpen(id){
1885
+        this.$router.push({path:"/patients/patient/"+id})
1886
+        this.$router.push({path:'/patient/patient/'+id+'/lapsoSummary'})
1887
+        // getPatientAllagic(id).then(response=>{
1888
+        //   if(response.data.state == 1){
1889
+        //     var list =  response.data.data.list
1890
+        //     this.patieintDialogVisible=  true
1891
+        //     this.patientAllgicList = list
1892
+        //   }
1893
+        // })
1894
+      },
1895
+      GetPatientName(id){
1896
+        var name = ""
1897
+        for(let i=0;i<this.patientsList.length;i++){
1898
+            if(id == this.patientsList[i].id){
1899
+              name = this.patientsList[i].name
1900
+            }
1901
+        }
1902
+        return name
1903
+      },
1904
+      GetPatientWorkUnit(id){
1905
+        console.log("HHAHAHAH",this.patientsList)
1906
+        var work_unit =""
1907
+        for(let i=0;i<this.patientsList.length;i++){
1908
+            if(id == this.patientsList[i].id){
1909
+              work_unit = this.patientsList[i].work_unit
1910
+            }
1911
+        }
1912
+        return work_unit
1913
+      },
1914
+      toJiaoBen(){
1915
+        getPatientLapeso().then(response=>{
1843 1916
 
1844
-        const tHeader = ['姓名', '工作单位']
1845
-        const filterVal = ['name', 'wort_unit']
1846
-        console.log("table",this.scheduleList)
1847
-
1848
-        const data = this.formatJson(filterVal, this.scheduleList)
1849
-        excel.export_json_to_excel({
1850
-          header: tHeader,
1851
-          data,
1852
-          filename: '今日透析记录'
1853 1917
         })
1854
-        this.downloadLoading = false
1855
-     })
1856
-    },
1857
-    tranAge(val) {
1858
-      if(val.birthday){
1859
-        var birth = uParseTime(val.birthday, '{y}-{m}-{d}');
1860
-        return jsGetAge(birth, '-');
1861 1918
       }
1862
-    },
1863
-    toOpen(id){
1864
-      this.$router.push({path:"/patients/patient/"+id})
1865
-      this.$router.push({path:'/patient/patient/'+id+'/lapsoSummary'})
1866
-      // getPatientAllagic(id).then(response=>{
1867
-      //   if(response.data.state == 1){
1868
-      //     var list =  response.data.data.list
1869
-      //     this.patieintDialogVisible=  true
1870
-      //     this.patientAllgicList = list
1871
-      //   }
1872
-      // })
1873
-    },
1874
-    GetPatientName(id){
1875
-       var name = ""
1876
-       for(let i=0;i<this.patientsList.length;i++){
1877
-          if(id == this.patientsList[i].id){
1878
-             name = this.patientsList[i].name
1879
-          }
1880
-       }
1881
-       return name
1882
-    },
1883
-    GetPatientWorkUnit(id){
1884
-      console.log("HHAHAHAH",this.patientsList)
1885
-      var work_unit =""
1886
-      for(let i=0;i<this.patientsList.length;i++){
1887
-          if(id == this.patientsList[i].id){
1888
-            work_unit = this.patientsList[i].work_unit
1889
-          }
1890
-       }
1891
-       return work_unit
1892
-    },
1893
-    toJiaoBen(){
1894
-      getPatientLapeso().then(response=>{
1895
-
1896
-      })
1897
-    }
1898 1919
    
1899 1920
 
1900 1921
     }

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))