Преглед изворни кода

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

csx пре 5 година
родитељ
комит
8f5c2e03d2

+ 2 - 5
src/xt_pages/dialysis/batch_print/batch_print_order.vue Прегледај датотеку

@@ -1137,10 +1137,7 @@
1137 1137
                       </div>
1138 1138
                       <div class="inline_block" style="margin-left: 20px;">
1139 1139
                         透析器凝血:
1140
-                        <div
1141
-                          class="under_line"
1142
-                          style="width: 100px"
1143
-                        >
1140
+                        <div class="under_line" style="width: 100px">
1144 1141
                           {{
1145 1142
                             record.assessment_after_dislysis &&
1146 1143
                             record.assessment_after_dislysis.cruor
@@ -2085,7 +2082,7 @@ export default {
2085 2082
       });
2086 2083
   },
2087 2084
   methods: {
2088
-   getAge: function(val) {
2085
+    getAge: function(val) {
2089 2086
       val.birth = uParseTime(val.birthday, "{y}-{m}-{d}");
2090 2087
       if (
2091 2088
         this.org_template_info.template_id == 2 ||

+ 2 - 2
src/xt_pages/dialysis/details/assessmentBefore.vue Прегледај датотеку

@@ -268,8 +268,8 @@
268 268
           <span class="unit"> </span>
269 269
         </li>
270 270
 
271
-        <li v-if="isShow('内瘘皮肤情况')">
272
-          <label>内瘘皮肤情况: </label>
271
+        <li v-if="isShow('血管通路皮肤情况')">
272
+          <label>血管通路皮肤情况: </label>
273 273
           <span class="content">{{ internal_fistula_skin }}</span>
274 274
           <span class="unit"></span>
275 275
         </li>

+ 48 - 16
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Прегледај датотеку

@@ -138,18 +138,21 @@
138 138
         label="跌倒风险预防措施: "
139 139
         v-if="isShow('跌倒风险预防措施')"
140 140
       >
141
-        <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="1">镇定剂</el-radio>-->
142
-        <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="2">约束带</el-radio>-->
143
-        <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="3">床栏</el-radio>-->
144
-        <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="4">加强宣教</el-radio>-->
145
-
146
-        <el-radio
147
-          v-for="(item, index) in precaution_arr"
148
-          :key="index"
149
-          :label="item.id"
150
-          v-model="receiveTreatmentAsses.precaution"
151
-          >{{ item.name }}
152
-        </el-radio>
141
+        <!--        <el-radio-->
142
+        <!--          v-for="(item, index) in precaution_arr"-->
143
+        <!--          :key="index"-->
144
+        <!--          :label="item.id"-->
145
+        <!--          v-model="receiveTreatmentAsses.precaution"-->
146
+        <!--          >{{ item.name }}-->
147
+        <!--        </el-radio>-->
148
+        <el-checkbox-group v-model="precautionTwo">
149
+          <el-checkbox
150
+            v-for="item in precaution_arr"
151
+            :label="item.name"
152
+            :key="item.id"
153
+            >{{ item.name }}</el-checkbox
154
+          >
155
+        </el-checkbox-group>
153 156
       </el-form-item>
154 157
       <el-form-item
155 158
         label-width="200px"
@@ -266,10 +269,11 @@ export default {
266 269
         sick_condition_other: "",
267 270
         score: "",
268 271
         psychological_other: "",
269
-        precaution: "1",
272
+        precaution: "",
270 273
         precaution_other: "",
271 274
         admission_number: ""
272
-      }
275
+      },
276
+      precautionTwo: []
273 277
     };
274 278
   },
275 279
   methods: {
@@ -289,6 +293,20 @@ export default {
289 293
     show(accepts) {
290 294
       this.accepts = accepts;
291 295
       console.log("accepts", accepts);
296
+      var arr = [];
297
+      var precaution = this.accepts.precaution.split(",");
298
+      console.log("precaution", precaution);
299
+      console.log("hhh", this.precaution_arr);
300
+      for (let i = 0; i < precaution.length; i++) {
301
+        for (let j = 0; j < this.precaution_arr.length; j++) {
302
+          if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
303
+            console.log("aaaa");
304
+            arr.push(this.precaution_arr[j].name);
305
+          }
306
+        }
307
+      }
308
+      this.precautionTwo = arr;
309
+      console.log("arr", arr);
292 310
       this.getPermission();
293 311
       for (var index in this.receiveTreatmentAsses) {
294 312
         if (
@@ -313,7 +331,19 @@ export default {
313 331
       this.isVisibility = false;
314 332
     },
315 333
     handleComfirm: function() {
334
+      var arr = [];
335
+      for (let i = 0; i < this.precaution_arr.length; i++) {
336
+        for (let j = 0; j < this.precautionTwo.length; j++) {
337
+          if (this.precaution_arr[i].name == this.precautionTwo[j]) {
338
+            arr.push(this.precaution_arr[i].id);
339
+          }
340
+        }
341
+      }
342
+      console.log("arr", arr);
343
+      var obj = arr.join(",");
344
+      this.receiveTreatmentAsses.precaution = obj;
316 345
       let ParamsQuery = this.receiveTreatmentAsses;
346
+      console.log("ParamsQuery", ParamsQuery);
317 347
       ParamsQuery["patient"] = this.patient.id;
318 348
       ParamsQuery["record_date"] = this.record_date;
319 349
       console.log(this.receiver_treatment_access);
@@ -327,7 +357,7 @@ export default {
327 357
           ParamsQuery["mode"] = "3";
328 358
         }
329 359
       }
330
-
360
+      console.log("数据", this.precautionTwo);
331 361
       postAccepts(ParamsQuery).then(response => {
332 362
         if (response.data.state == 0) {
333 363
           this.$message.error(response.data.msg);
@@ -342,7 +372,8 @@ export default {
342 372
 
343 373
           let receive_treatment_asses_resp =
344 374
             response.data.data.receiveTreatmentAsses;
345
-          //prop
375
+
376
+          //pror
346 377
           var receiver_treatment_access = this.receiver_treatment_access;
347 378
           for (var index in receive_treatment_asses_resp) {
348 379
             // receiver_treatment_access[index] = receive_treatment_asses_resp[index];
@@ -436,6 +467,7 @@ export default {
436 467
     this.posture_arr = getDataConfig("hemodialysis", "posture");
437 468
     this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
438 469
     this.precaution_arr = getDataConfig("hemodialysis", "precaution");
470
+    console.log("风险", this.precaution_arr);
439 471
     this.intake_arr = getDataConfig("hemodialysis", "intake");
440 472
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
441 473
   }

+ 37 - 10
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Прегледај датотеку

@@ -740,30 +740,39 @@
740 740
               :isChecked="
741 741
                 receiverTreatmentAccess.danger_level == 4 ? true : false
742 742
               "
743
-            ></label-box
744
-            >跌倒风险预防措施:
743
+            >
744
+            </label-box
745
+            ><span>&nbsp;&nbsp;</span>跌倒风险预防措施:
745 746
             <label-box
746
-              showValue="镇剂"
747
+              showValue="镇剂"
747 748
               :isChecked="
748
-                receiverTreatmentAccess.precaution == 1 ? true : false
749
+                receiverTreatmentAccess.precaution.indexOf('镇定剂') > -1
750
+                  ? true
751
+                  : false
749 752
               "
750 753
             ></label-box>
751 754
             <label-box
752 755
               showValue="约束带"
753 756
               :isChecked="
754
-                receiverTreatmentAccess.precaution == 2 ? true : false
757
+                receiverTreatmentAccess.precaution.indexOf('约束带') > -1
758
+                  ? true
759
+                  : false
755 760
               "
756 761
             ></label-box>
757 762
             <label-box
758 763
               showValue="床栏"
759 764
               :isChecked="
760
-                receiverTreatmentAccess.precaution == 3 ? true : false
765
+                receiverTreatmentAccess.precaution.indexOf('床栏') > -1
766
+                  ? true
767
+                  : false
761 768
               "
762 769
             ></label-box>
763 770
             <label-box
764 771
               showValue="加强宣传"
765 772
               :isChecked="
766
-                receiverTreatmentAccess.precaution == 4 ? true : false
773
+                receiverTreatmentAccess.precaution.indexOf('加强宣传') > -1
774
+                  ? true
775
+                  : false
767 776
               "
768 777
             ></label-box>
769 778
           </td>
@@ -960,10 +969,12 @@
960 969
           </td>
961 970
         </tr>
962 971
         <tr>
963
-          <td style="text-align:left;">
964
-            置换液总量:{{ afterdialysis.actual_displacement }} L
972
+          <td style="text-align:left;" colspan="2">
973
+            <span style="display:inline-block;margin-left:15px;">
974
+              实际置换量:{{ afterdialysis.actual_displacement }} L
975
+            </span>
965 976
           </td>
966
-          <td style="text-align:left;" colspan="11">
977
+          <td style="text-align:left;" colspan="10">
967 978
             <span style="display:inline-block;margin-left:15px;">
968 979
               内瘘搏动及震颤音:
969 980
               <label-box
@@ -1685,6 +1696,20 @@ export default {
1685 1696
           this.schedule = schedule;
1686 1697
           var receiverTreatmentAccess =
1687 1698
             response.data.data.receiverTreatmentAccess;
1699
+          var obj = receiverTreatmentAccess.precaution;
1700
+          var arr = obj.split(",");
1701
+          console.log("arr", arr);
1702
+          var arr2 = [];
1703
+          for (let i = 0; i < this.precautions.length; i++) {
1704
+            for (let j = 0; j < arr.length; j++) {
1705
+              if (this.precautions[i].id == parseInt(arr[j])) {
1706
+                arr2.push(this.precautions[i].name);
1707
+              }
1708
+            }
1709
+          }
1710
+          var obj2 = arr2.join(",");
1711
+          console.log("obj2", obj2);
1712
+          receiverTreatmentAccess.precaution = obj2;
1688 1713
           console.log("接诊评估", receiverTreatmentAccess);
1689 1714
           this.receiverTreatmentAccess = receiverTreatmentAccess;
1690 1715
           var dialysisway = response.data.data.dialysisway;
@@ -2094,11 +2119,13 @@ export default {
2094 2119
     }
2095 2120
 
2096 2121
     this.ways = getDataConfig("hemodialysis", "way");
2122
+    console.log("ways", this.ways);
2097 2123
     this.consciousnesses = getDataConfig("hemodialysis", "consciousness");
2098 2124
     this.appetites = getDataConfig("hemodialysis", "appetite");
2099 2125
     this.postures = getDataConfig("hemodialysis", "posture");
2100 2126
     this.sick_condition = getDataConfig("hemodialysis", "sick_condition");
2101 2127
     this.precautions = getDataConfig("hemodialysis", "precaution");
2128
+    console.log("跌倒", this.precautions);
2102 2129
     this.intake = getDataConfig("hemodialysis", "intake");
2103 2130
     this.nutrition = getDataConfig("hemodialysis", "nutrition");
2104 2131
     var bloodAccess = getDataConfig("hemodialysis", "vascular_access");

+ 38 - 22
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue Прегледај датотеку

@@ -1413,19 +1413,19 @@
1413 1413
                       <div style="display:flex;justify-content:space-between;">
1414 1414
                         <label-box
1415 1415
                           :isChecked="
1416
-                            afterdialysis.tremor_noise == 1 ? true : false
1416
+                           afterdialysis.internal_fistula.indexOf('震颤-存在')>-1?true:false
1417 1417
                           "
1418 1418
                           showValue="存在"
1419 1419
                         ></label-box>
1420 1420
                         <label-box
1421 1421
                           :isChecked="
1422
-                            afterdialysis.tremor_noise == 3 ? true : false
1422
+                            afterdialysis.internal_fistula.indexOf('震颤-减弱')>-1? true : false
1423 1423
                           "
1424 1424
                           showValue="减弱"
1425 1425
                         ></label-box>
1426 1426
                         <label-box
1427 1427
                           :isChecked="
1428
-                            afterdialysis.tremor_noise == 2 ? true : false
1428
+                             afterdialysis.internal_fistula.indexOf('震颤-无')>-1 ? true : false
1429 1429
                           "
1430 1430
                           showValue="不存在"
1431 1431
                         ></label-box>
@@ -1488,12 +1488,20 @@
1488 1488
                     <td width="40">肝素:</td>
1489 1489
                     <td width="30">A端</td>
1490 1490
                     <td width="30">
1491
-                      <div class="under-line">&nbsp;</div>
1491
+                      <div class="under-line">&nbsp;{{
1492
+                        afterdialysis.cvc_a
1493
+                        ? afterdialysis.cvc_a
1494
+                        : ""
1495
+                        }}</div>
1492 1496
                     </td>
1493 1497
                     <td width="20">ml</td>
1494 1498
                     <td width="30">V端</td>
1495 1499
                     <td width="30">
1496
-                      <div class="under-line">&nbsp;</div>
1500
+                      <div class="under-line">{{
1501
+                        afterdialysis.cvc_v
1502
+                        ? afterdialysis.cvc_v
1503
+                        : ""
1504
+                        }}</div>
1497 1505
                     </td>
1498 1506
                     <td width="20">ml</td>
1499 1507
                     <td></td>
@@ -1509,7 +1517,7 @@
1509 1517
                       <div style="display:flex;justify-content:space-between;">
1510 1518
                         <label-box
1511 1519
                           :isChecked="
1512
-                            afterdialysis.complications_index.indexOf('无') > -1
1520
+                            afterdialysis.complication.indexOf('无') > -1
1513 1521
                               ? true
1514 1522
                               : false
1515 1523
                           "
@@ -1517,7 +1525,7 @@
1517 1525
                         ></label-box>
1518 1526
                         <label-box
1519 1527
                           :isChecked="
1520
-                            afterdialysis.complications_index.indexOf('头晕') >
1528
+                            afterdialysis.complication.indexOf('头晕') >
1521 1529
                             -1
1522 1530
                               ? true
1523 1531
                               : false
@@ -1526,7 +1534,7 @@
1526 1534
                         ></label-box>
1527 1535
                         <label-box
1528 1536
                           :isChecked="
1529
-                            afterdialysis.complications_index.indexOf('头痛') >
1537
+                            afterdialysis.complication.indexOf('头痛') >
1530 1538
                             -1
1531 1539
                               ? true
1532 1540
                               : false
@@ -1535,7 +1543,7 @@
1535 1543
                         ></label-box>
1536 1544
                         <label-box
1537 1545
                           :isChecked="
1538
-                            afterdialysis.complications_index.indexOf('呕吐') >
1546
+                            afterdialysis.complication.indexOf('呕吐') >
1539 1547
                             -1
1540 1548
                               ? true
1541 1549
                               : false
@@ -1544,7 +1552,7 @@
1544 1552
                         ></label-box>
1545 1553
                         <label-box
1546 1554
                           :isChecked="
1547
-                            afterdialysis.complications_index.indexOf(
1555
+                            afterdialysis.complication.indexOf(
1548 1556
                               '低血压'
1549 1557
                             ) > -1
1550 1558
                               ? true
@@ -1555,7 +1563,7 @@
1555 1563
                         <label-box showValue="发热"></label-box>
1556 1564
                         <label-box
1557 1565
                           :isChecked="
1558
-                            afterdialysis.complications_index.indexOf('抽搐') >
1566
+                            afterdialysis.complication.indexOf('抽搐') >
1559 1567
                             -1
1560 1568
                               ? true
1561 1569
                               : false
@@ -1564,7 +1572,7 @@
1564 1572
                         ></label-box>
1565 1573
                         <label-box
1566 1574
                           :isChecked="
1567
-                            afterdialysis.complications_index.indexOf(
1575
+                            afterdialysis.complication.indexOf(
1568 1576
                               '高血压'
1569 1577
                             ) > -1
1570 1578
                               ? true
@@ -1574,7 +1582,7 @@
1574 1582
                         ></label-box>
1575 1583
                         <label-box
1576 1584
                           :isChecked="
1577
-                            afterdialysis.complications_index.indexOf(
1585
+                            afterdialysis.complication.indexOf(
1578 1586
                               '心律失常'
1579 1587
                             ) > -1
1580 1588
                               ? true
@@ -1631,25 +1639,25 @@
1631 1639
                       <div style="display:flex;justify-content:space-between;">
1632 1640
                         <label-box
1633 1641
                           :isChecked="
1634
-                            afterdialysis.dialyzer == 1 ? true : false
1642
+                            afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false
1635 1643
                           "
1636 1644
                           showValue="无"
1637 1645
                         ></label-box>
1638 1646
                         <label-box
1639 1647
                           :isChecked="
1640
-                            afterdialysis.dialyzer == 2 ? true : false
1648
+                             afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false
1641 1649
                           "
1642 1650
                           showValue="+"
1643 1651
                         ></label-box>
1644 1652
                         <label-box
1645 1653
                           :isChecked="
1646
-                            afterdialysis.dialyzer == 3 ? true : false
1654
+                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') >  -1 ? true : false
1647 1655
                           "
1648 1656
                           showValue="+ +"
1649 1657
                         ></label-box>
1650 1658
                         <label-box
1651 1659
                           :isChecked="
1652
-                            afterdialysis.dialyzer == 4 ? true : false
1660
+                            afterdialysis.cruor.indexOf('透析器-Ⅲ度')> -1  ? true : false
1653 1661
                           "
1654 1662
                           showValue="+ + +"
1655 1663
                         ></label-box>
@@ -1659,10 +1667,18 @@
1659 1667
                     <td width="60">管路:</td>
1660 1668
                     <td width="220">
1661 1669
                       <div style="display:flex;justify-content:space-between;">
1662
-                        <label-box showValue="无"></label-box>
1663
-                        <label-box showValue="+"></label-box>
1664
-                        <label-box showValue="+ +"></label-box>
1665
-                        <label-box showValue="+ + +"></label-box>
1670
+                        <label-box showValue="无" :isChecked="
1671
+                            afterdialysis.channel == 1 ? true : false
1672
+                          "></label-box>
1673
+                        <label-box showValue="+" :isChecked="
1674
+                            afterdialysis.channel == 2 ? true : false
1675
+                          "></label-box>
1676
+                        <label-box showValue="+ +" :isChecked="
1677
+                            afterdialysis.channel == 3  ? true : false
1678
+                          "></label-box>
1679
+                        <label-box showValue="+ + +" :isChecked="
1680
+                            afterdialysis.channel == 4 ? true : false
1681
+                          "></label-box>
1666 1682
                       </div>
1667 1683
                     </td>
1668 1684
                     <td></td>
@@ -2038,7 +2054,7 @@
2038 2054
               <span v-if="advice[0].advice_desc"
2039 2055
                 >{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span
2040 2056
               >
2041
-              
2057
+
2042 2058
               <span v-if="advice[0].prescribing_number"
2043 2059
                 >* {{ advice[0].prescribing_number
2044 2060
                 }}{{ advice[0].prescribing_number_unit }}</span

Разлика између датотеке није приказан због своје велике величине
+ 3234 - 1756
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue