瀏覽代碼

7月14日杨青

杨青 1 年之前
父節點
當前提交
33deb686ab

二進制
src/assets/evaluate/a.png 查看文件


二進制
src/assets/evaluate/b.png 查看文件


二進制
src/assets/evaluate/c.png 查看文件


二進制
src/assets/evaluate/d.png 查看文件


二進制
src/assets/evaluate/e.png 查看文件


二進制
src/assets/evaluate/f.png 查看文件


+ 12 - 0
src/router/modules/dialysis.js 查看文件

425
         noCache: true
425
         noCache: true
426
       }
426
       }
427
     },
427
     },
428
+    {
429
+      path: '/dialysis/print/batch/sixtysix',
430
+      component: () =>
431
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_sixtysix'),
432
+      hidden: true,
433
+      is_menu: false,
434
+      name: 'dialysis_batch_sixtysix',
435
+      meta: {
436
+        title: '批量打印',
437
+        noCache: true
438
+      }
439
+    },
428
     // {
440
     // {
429
     //   path: '/dialysis/print/batch/fiftythree',
441
     //   path: '/dialysis/print/batch/fiftythree',
430
     //   component: () =>
442
     //   component: () =>

文件差異過大導致無法顯示
+ 3656 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_sixtysix.vue


+ 11 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue 查看文件

401
           type="primary"
401
           type="primary"
402
           >批量打印</el-button>
402
           >批量打印</el-button>
403
       </template>
403
       </template>
404
-      
404
+      <template v-if="this.template_id == 66">
405
+        <el-button
406
+          size="small"
407
+          icon="el-icon-printer"
408
+          :disabled="selecting_schs.length == 0"
409
+          @click="batchPrintAction"
410
+          type="primary"
411
+          >批量打印</el-button>
412
+      </template>
405
     </div>
413
     </div>
406
     <div class="app-container">
414
     <div class="app-container">
407
       <!-- <div class="filter-container">
415
       <!-- <div class="filter-container">
2138
         this.$router.push({ path: "/dialysis/print/batch/sixtyTwo" });
2146
         this.$router.push({ path: "/dialysis/print/batch/sixtyTwo" });
2139
       }else if (this.template_id == 65) {
2147
       }else if (this.template_id == 65) {
2140
         this.$router.push({ path: "/dialysis/print/batch/sixtyFive" });
2148
         this.$router.push({ path: "/dialysis/print/batch/sixtyFive" });
2149
+      }else if (this.template_id == 66) {
2150
+        this.$router.push({ path: "/dialysis/print/batch/sixtysix" });
2141
       }
2151
       }
2142
 
2152
 
2143
     },
2153
     },

+ 34 - 8
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

796
         </div>
796
         </div>
797
       </template>
797
       </template>
798
 
798
 
799
-      <template v-if="org_template_info.template_id == 65  || $store.getters.xt_user.org.id == 0 ">
799
+      <template v-if="org_template_info.template_id == 65 ">
800
         <div>
800
         <div>
801
           <el-button
801
           <el-button
802
             :loading="loading"
802
             :loading="loading"
806
             type="primary"
806
             type="primary"
807
             >打印</el-button
807
             >打印</el-button
808
           >
808
           >
809
+          <!-- || $store.getters.xt_user.org.id == 0  -->
810
+        </div>
811
+      </template>
812
+      <template v-if="org_template_info.template_id == 66 || $store.getters.xt_user.org.id == 0">
813
+        <div>
814
+          <el-button
815
+          :loading="loading"
816
+          size="small"
817
+          icon="el-icon-printer"
818
+          @click="printThisPage"
819
+          type="primary"
820
+          >打印</el-button
821
+        >
809
         </div>
822
         </div>
810
       </template>
823
       </template>
811
 
824
 
1261
             v-if="org_template_info.template_id == 65">
1274
             v-if="org_template_info.template_id == 65">
1262
 
1275
 
1263
           </DialysisPrintOrderSixtyFive>
1276
           </DialysisPrintOrderSixtyFive>
1277
+          <DialysisPrintOrderSixtysix 
1278
+            v-bind:childResponse="childResponse"
1279
+            v-if="org_template_info.template_id == 66">
1280
+
1281
+          </DialysisPrintOrderSixtysix>
1264
         </div>
1282
         </div>
1265
       </el-container>
1283
       </el-container>
1266
     </div>
1284
     </div>
1344
 // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
1362
 // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
1345
 import DialysisPrintOrderSixtyfour from './template/DialysisPrintOrderSixtyfour'
1363
 import DialysisPrintOrderSixtyfour from './template/DialysisPrintOrderSixtyfour'
1346
 import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1364
 import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1365
+import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix.vue'
1347
 export default {
1366
 export default {
1348
   name: "dialysisPrintOrder",
1367
   name: "dialysisPrintOrder",
1349
   components: {
1368
   components: {
1412
     DialysisPrintOrderNine,
1431
     DialysisPrintOrderNine,
1413
     DialysisPrintOrderSixtyfour,
1432
     DialysisPrintOrderSixtyfour,
1414
     DialysisPrintOrderSixtyFive,
1433
     DialysisPrintOrderSixtyFive,
1434
+    DialysisPrintOrderSixtysix,
1415
     LabelBox,
1435
     LabelBox,
1416
     BreadCrumb,
1436
     BreadCrumb,
1417
-    DialysisPrintOrderSixtyFive
1437
+    // DialysisPrintOrderSixtyFive
1418
 },
1438
 },
1419
   data() {
1439
   data() {
1420
     return {
1440
     return {
1585
       //
1605
       //
1586
       const style4 =
1606
       const style4 =
1587
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:18px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:18px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:18px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1607
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:18px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:18px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:18px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1588
-      
1589
- 
1590
-
1591
       const style5 =
1608
       const style5 =
1592
         '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title {  margin: auto;  font-weight: 600;  text-align: center;  font-size: 22px;  padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box {  width: 100%;  line-height: 18px;  font-size: 14px;}.dialysis-print-order .print-table {  width: 100%;  text-align: center;  border-collapse: collapse;  line-height: 28px;  font-size: 14px;}.dialysis-print-order .print-table-no {  width: 100%;  text-align: center;  border-collapse: collapse;  font-size: 14px;}.dialysis-print-order .under-line {  border-bottom: 1px solid #999;  width: 95%;  text-align: center;  margin-left: 2px;}.dialysis-print-order .title-box {  text-align: center;  font-size: 16px;}.dialysis-print-order .radio-lebel-box {  font-weight: 400;  cursor: pointer;}.dialysis-print-order .radio-no {  opacity: 0;  outline: none;  position: absolute;  margin: 0;  width: 0;  height: 0;  z-index: -1;}.dialysis-print-order .radio-inner {  white-space: nowrap;  cursor: pointer;  outline: none;  display: inline-block;  line-height: 1;  position: relative;  vertical-align: middle;}.dialysis-print-order .radio-fang {  display: inline-block;  position: relative;  border: 1px solid #000;  box-sizing: border-box;  width: 14px;  height: 14px;  background-color: #fff;  z-index: 1;  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),    background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after {  content: "√";  font-size: 15px;}.dialysis-print-order .print-table-no tr td {  padding: 8px 5px;  line-height: 25px;}.dialysis-print-order .print-table tr td {  padding: 1px 1px;  /*line-height: 25px;*/}.es-img {  height: 25px;}.advice-name {  text-align: left;}.advice-children {  display: flex;}.title-box-pro {  border: 0 #fff;  line-height: 25px;  height: 25px;  text-align: left;  padding-left: 10px !important;}.title-box-pro-tr {  border: 0 #fff;}.text-align-left {  text-align: left !important;  padding-left: 10px !important;  font-size: 14px !important;  line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
1609
         '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title {  margin: auto;  font-weight: 600;  text-align: center;  font-size: 22px;  padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box {  width: 100%;  line-height: 18px;  font-size: 14px;}.dialysis-print-order .print-table {  width: 100%;  text-align: center;  border-collapse: collapse;  line-height: 28px;  font-size: 14px;}.dialysis-print-order .print-table-no {  width: 100%;  text-align: center;  border-collapse: collapse;  font-size: 14px;}.dialysis-print-order .under-line {  border-bottom: 1px solid #999;  width: 95%;  text-align: center;  margin-left: 2px;}.dialysis-print-order .title-box {  text-align: center;  font-size: 16px;}.dialysis-print-order .radio-lebel-box {  font-weight: 400;  cursor: pointer;}.dialysis-print-order .radio-no {  opacity: 0;  outline: none;  position: absolute;  margin: 0;  width: 0;  height: 0;  z-index: -1;}.dialysis-print-order .radio-inner {  white-space: nowrap;  cursor: pointer;  outline: none;  display: inline-block;  line-height: 1;  position: relative;  vertical-align: middle;}.dialysis-print-order .radio-fang {  display: inline-block;  position: relative;  border: 1px solid #000;  box-sizing: border-box;  width: 14px;  height: 14px;  background-color: #fff;  z-index: 1;  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),    background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after {  content: "√";  font-size: 15px;}.dialysis-print-order .print-table-no tr td {  padding: 8px 5px;  line-height: 25px;}.dialysis-print-order .print-table tr td {  padding: 1px 1px;  /*line-height: 25px;*/}.es-img {  height: 25px;}.advice-name {  text-align: left;}.advice-children {  display: flex;}.title-box-pro {  border: 0 #fff;  line-height: 25px;  height: 25px;  text-align: left;  padding-left: 10px !important;}.title-box-pro-tr {  border: 0 #fff;}.text-align-left {  text-align: left !important;  padding-left: 10px !important;  font-size: 14px !important;  line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
1593
       const style6 =
1610
       const style6 =
1661
         // this.org_template_info.template_id == 51 ||
1678
         // this.org_template_info.template_id == 51 ||
1662
         this.org_template_info.template_id == 58 ||
1679
         this.org_template_info.template_id == 58 ||
1663
         this.org_template_info.template_id == 60 ||
1680
         this.org_template_info.template_id == 60 ||
1664
-        this.org_template_info.template_id == 61
1665
-      
1681
+        this.org_template_info.template_id == 61 ||
1682
+        this.org_template_info.template_id == 66
1666
        
1683
        
1667
       ) {
1684
       ) {
1668
         printJS({
1685
         printJS({
1984
           scanStyles: false,
2001
           scanStyles: false,
1985
         });
2002
         });
1986
         
2003
         
1987
-      }else if (
2004
+      }
2005
+      // else if (this.org_template_info.template_id == 66 ) {
2006
+      //   printJS({
2007
+      //     printable: "dialysis-print-box-1",
2008
+      //     type: "html",
2009
+      //     style: style2,
2010
+      //     scanStyles: false,
2011
+      //   });
2012
+      // }
2013
+      else if (
1988
         this.org_template_info.template_id == 53
2014
         this.org_template_info.template_id == 53
1989
       ) {
2015
       ) {
1990
         printJS({
2016
         printJS({

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue 查看文件

777
             <td>{{ monitor.blood_flow_volume }}</td>
777
             <td>{{ monitor.blood_flow_volume }}</td>
778
             <td>{{ monitor.venous_pressure }}</td>
778
             <td>{{ monitor.venous_pressure }}</td>
779
             <td>{{ monitor.transmembrane_pressure }}</td>
779
             <td>{{ monitor.transmembrane_pressure }}</td>
780
-            <td>{{ monitor.ultrafiltration_rate }}</td>
780
+            <td>{{ monitor.ultrafiltration_rate }}</td>//
781
             <td>{{ monitor.ultrafiltration_volume }}</td>
781
             <td>{{ monitor.ultrafiltration_volume }}</td>
782
             <td>{{ monitor.sodium_concentration }}</td>
782
             <td>{{ monitor.sodium_concentration }}</td>
783
             <td>
783
             <td>

+ 196 - 120
src/xt_pages/dialysis/template/DialysisPrintOrderSixtysix.vue 查看文件

107
                 {{ patientInfo.dialysis_no }}
107
                 {{ patientInfo.dialysis_no }}
108
               </div>
108
               </div>
109
             </div>
109
             </div>
110
-            <div class="inline_block" style="margin-left: 5px;" v-if="org_id!=9675 && org_id!=10447">
111
-              住院号/门诊号:
112
-              <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
113
-                {{ receiverTreatmentAccess.admission_number }}
114
-              </div>
115
-              <div class="under_line" style="width: 70px;text-align: left" v-else-if="patientInfo.admission_number">
116
-                {{ patientInfo.admission_number }}
117
-              </div>
118
-              <div class="under_line" style="width: 70px;text-align: left" v-else>
119
-                {{ "/" }}
120
-              </div>
121
-            </div>
122
           </div>
110
           </div>
123
           <div class="row">
111
           <div class="row">
124
             <div class="inline_block">
112
             <div class="inline_block">
229
                         </div>
217
                         </div>
230
                       </div>
218
                       </div>
231
                       <div class="inline_block" style="flex: 1">
219
                       <div class="inline_block" style="flex: 1">
232
-                        透前症状
220
+                        上次透析日期
233
                         <div
221
                         <div
234
                           class="under_line"
222
                           class="under_line"
235
                           style="width: 150px; text-align: center"
223
                           style="width: 150px; text-align: center"
236
                         >
224
                         >
237
-                          {{
225
+                          <!-- {{
238
                             predialysis.symptom_before_dialysis
226
                             predialysis.symptom_before_dialysis
239
                               ? predialysis.symptom_before_dialysis
227
                               ? predialysis.symptom_before_dialysis
240
                               : "/"
228
                               : "/"
241
-                          }}
229
+                          }} -->
242
                         </div>
230
                         </div>
243
                       </div>
231
                       </div>
244
                     </div>
232
                     </div>
760
                           class="under_line"
748
                           class="under_line"
761
                           style="width: 70px; text-align: center"
749
                           style="width: 70px; text-align: center"
762
                         >
750
                         >
751
+                        
763
                           {{
752
                           {{
764
                             prescription.displace_liqui_value
753
                             prescription.displace_liqui_value
765
                               ? prescription.displace_liqui_value
754
                               ? prescription.displace_liqui_value
766
                               : "/"
755
                               : "/"
767
                           }}
756
                           }}
757
+                        
768
                         </div>
758
                         </div>
769
                         L
759
                         L
770
                       </div>
760
                       </div>
805
                           {{
795
                           {{
806
                             prescription.dialysis_duration_minute
796
                             prescription.dialysis_duration_minute
807
                               ? prescription.dialysis_duration_minute
797
                               ? prescription.dialysis_duration_minute
808
-                              : "/"
798
+                              : "0"
809
                           }}
799
                           }}
810
                         </div>
800
                         </div>
811
                         min
801
                         min
1067
                         mmol/L
1057
                         mmol/L
1068
                       </div>
1058
                       </div>
1069
                       <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10478">
1059
                       <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10478">
1070
-                        碳酸氢根:
1071
-                        <div
1072
-                          class="under_line"
1073
-                          style="width: 50px; text-align: center"
1074
-                        >
1075
-                          {{
1076
-                            prescription.bicarbonate
1077
-                              ? prescription.bicarbonate
1078
-                              : "/"
1079
-                          }}
1080
-                        </div>
1081
-                        mmol/L
1082
-                      </div>
1083
-                      <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10478">
1084
-                        流量:
1060
+                        透析液流量:
1085
                         <div
1061
                         <div
1086
                           class="under_line"
1062
                           class="under_line"
1087
                           style="width: 50px; text-align: center"
1063
                           style="width: 50px; text-align: center"
1412
                               prescription.mode_id == 2 ||
1388
                               prescription.mode_id == 2 ||
1413
                               prescription.mode_id == 5
1389
                               prescription.mode_id == 5
1414
                                 ? 14
1390
                                 ? 14
1415
-                                : 13
1391
+                                : 15
1416
                             "
1392
                             "
1417
                             style="
1393
                             style="
1418
                               letter-spacing: 5px;
1394
                               letter-spacing: 5px;
1432
                           <td width="50">脉搏<br />(次/分)</td>
1408
                           <td width="50">脉搏<br />(次/分)</td>
1433
                           <td width="50">呼吸<br />(次/分)</td>
1409
                           <td width="50">呼吸<br />(次/分)</td>
1434
                           <td width="50">血流量<br />(ml/min)</td>
1410
                           <td width="50">血流量<br />(ml/min)</td>
1411
+                          <td width="50" v-if="org_id==10478 || org_id == 0">
1412
+                            动脉压<br />({{
1413
+                              monitors[0] &&
1414
+                              monitors[0]["venous_pressure_type"] == 2
1415
+                                ? "kpa"
1416
+                                : "mmHg"
1417
+                            }})
1418
+                          </td>
1435
                           <td width="50">
1419
                           <td width="50">
1436
                             静脉压<br />({{
1420
                             静脉压<br />({{
1437
                               monitors[0] &&
1421
                               monitors[0] &&
1459
                             <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span> 
1443
                             <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span> 
1460
                           </td>
1444
                           </td>
1461
                           <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1445
                           <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1446
+                          <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(L/h)</td>
1462
                           <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1447
                           <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1463
                           <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1448
                           <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1464
-                          <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0" width="50">
1465
-                            置换量<br />(ml)
1449
+                          <td v-if="org_id==10375 || org_id==0" width="50">
1450
+                            超滤率<br />(L/h)
1466
                           </td>
1451
                           </td>
1467
                           <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1452
                           <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1468
                           <td width="50" v-if="org_id == 9538">KT/V</td>
1453
                           <td width="50" v-if="org_id == 9538">KT/V</td>
1480
                           <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1465
                           <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1481
                           <td>{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1466
                           <td>{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1482
                           <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1467
                           <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1468
+                          <td v-if="org_id == 0 ||org_id ==10478">
1469
+                            {{
1470
+                              monitor.arterial_pressure
1471
+                                ? monitor.arterial_pressure
1472
+                                : ""
1473
+                            }}
1474
+                          </td>
1483
                           <td>
1475
                           <td>
1484
                             {{
1476
                             {{
1485
                               monitor.venous_pressure
1477
                               monitor.venous_pressure
1548
                             <span v-if="org_id==10469"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1540
                             <span v-if="org_id==10469"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1549
                             <span v-if="org_id==0||org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
1541
                             <span v-if="org_id==0||org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
1550
                           </td>
1542
                           </td>
1551
-  
1552
-                        
1553
-  
1543
+                          <td v-if="org_id == 10375 || org_id == 0"><br />
1544
+                            {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1545
+                          </td>
1554
                           <td>
1546
                           <td>
1555
                             <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1547
                             <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1556
                             <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1548
                             <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1565
                           </td> -->
1557
                           </td> -->
1566
                           <td
1558
                           <td
1567
                             v-if="
1559
                             v-if="
1568
-                              (prescription.mode_id == 2 ||
1569
-                              prescription.mode_id == 5 ||
1570
-                              prescription.mode_id == 12)
1571
-                              && org_id!=0 && org_id!=10478
1560
+                               org_id==0 || org_id==10375
1572
                             "
1561
                             "
1573
                             style="width: 50px"
1562
                             style="width: 50px"
1574
                           >
1563
                           >
1575
                             <span>
1564
                             <span>
1576
                               {{
1565
                               {{
1577
-                                monitor.displacement_quantity
1578
-                                  ? monitor.displacement_quantity
1566
+                                 monitor.ultrafiltration_rate 
1567
+                                  ? monitor.ultrafiltration_rate
1579
                                   : ""
1568
                                   : ""
1580
                               }}
1569
                               }}
1581
                             </span>
1570
                             </span>
1635
                           <td></td>
1624
                           <td></td>
1636
                           <td></td>
1625
                           <td></td>
1637
                           <td></td>
1626
                           <td></td>
1627
+                          <td v-if="org_id == 0 || org_id ==10478"></td>
1638
                           <td></td>
1628
                           <td></td>
1639
                           <td></td>
1629
                           <td></td>
1640
                           <td></td>
1630
                           <td></td>
1641
                           <td></td>
1631
                           <td></td>
1642
                           <td></td>
1632
                           <td></td>
1643
                           <td></td>
1633
                           <td></td>
1634
+                          <td v-if="org_id == 10375 || org_id == 0"><br /></td>
1644
                           <td v-if="org_id == 9671 || org_id == 9919"></td>
1635
                           <td v-if="org_id == 9671 || org_id == 9919"></td>
1645
                           <td
1636
                           <td
1646
                             v-if="
1637
                             v-if="
1647
-                              (prescription.mode_id == 2 ||
1648
-                              prescription.mode_id == 5 ||
1649
-                              prescription.mode_id == 12) && org_id!=10478
1638
+                               org_id==10375 || org_id==0
1650
                             "
1639
                             "
1651
                             width="50"
1640
                             width="50"
1652
                           ></td>
1641
                           ></td>
1711
                           </td>
1700
                           </td>
1712
                           <td style="font-size: 16px" width="10%">医生签名</td>
1701
                           <td style="font-size: 16px" width="10%">医生签名</td>
1713
                           <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
1702
                           <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
1714
-                          <td style="font-size: 16px" width="10%">执行人签名</td>
1715
                           <td style="font-size: 16px" width="10%">时间</td>
1703
                           <td style="font-size: 16px" width="10%">时间</td>
1716
                           <td
1704
                           <td
1717
                             style="font-size: 16px"
1705
                             style="font-size: 16px"
1718
                             width="10%"
1706
                             width="10%"
1719
-                            v-if="org_id == 10223 || org_id == 9538"
1707
+                            v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375"
1720
                           >
1708
                           >
1721
                             核对护士
1709
                             核对护士
1722
                           </td>
1710
                           </td>
1711
+                          <td style="font-size: 16px" width="10%">执行人签名</td>
1723
                         </tr>
1712
                         </tr>
1724
                         <!-- <template v-for="group in doctor_advices" > -->
1713
                         <!-- <template v-for="group in doctor_advices" > -->
1725
   
1714
   
1789
                         <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
1778
                         <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
1790
                         <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
1779
                         <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
1791
                       </td> -->
1780
                       </td> -->
1792
-                          <td height="32px">
1793
-                            <span
1794
-                              v-if="setAdminUserES(advice.execution_staff) == ''"
1795
-                              >{{ getAdminUser(advice.execution_staff) }}</span
1796
-                            >
1797
-                            <img
1798
-                              style="height: 30px"
1799
-                              :src="setAdminUserES(advice.execution_staff)"
1800
-                              alt=""
1801
-                              srcset=""
1802
-                              v-else
1803
-                            />
1804
-                          </td>
1781
+                          
1805
                           <td height="32px">
1782
                           <td height="32px">
1806
                             <span v-if="advice.execution_time">{{
1783
                             <span v-if="advice.execution_time">{{
1807
                               getTime(advice.execution_time, "{h}:{i}")
1784
                               getTime(advice.execution_time, "{h}:{i}")
1808
                             }}</span>
1785
                             }}</span>
1809
                           </td>
1786
                           </td>
1810
-                          <td height="32px" v-if="org_id == 10223 || org_id == 9538">
1787
+                          <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375">
1811
                             <span v-if="setAdminUserES(advice.checker) == ''">{{
1788
                             <span v-if="setAdminUserES(advice.checker) == ''">{{
1812
                               getAdminUser(advice.checker)
1789
                               getAdminUser(advice.checker)
1813
                             }}</span>
1790
                             }}</span>
1819
                               v-else
1796
                               v-else
1820
                             />
1797
                             />
1821
                           </td>
1798
                           </td>
1799
+                          <td height="32px">
1800
+                            <span
1801
+                              v-if="setAdminUserES(advice.execution_staff) == ''"
1802
+                              >{{ getAdminUser(advice.execution_staff) }}</span
1803
+                            >
1804
+                            <img
1805
+                              style="height: 30px"
1806
+                              :src="setAdminUserES(advice.execution_staff)"
1807
+                              alt=""
1808
+                              srcset=""
1809
+                              v-else
1810
+                            />
1811
+                          </td>
1822
                         </tr>
1812
                         </tr>
1823
                         <!-- </template> -->
1813
                         <!-- </template> -->
1824
                       </tbody>
1814
                       </tbody>
1921
                   {{ patientInfo.dialysis_no }}
1911
                   {{ patientInfo.dialysis_no }}
1922
                 </div>
1912
                 </div>
1923
               </div>
1913
               </div>
1924
-              <div class="inline_block" style="margin-left: 5px"
1925
-              v-if="org_id!=9675 && org_id!=10447">
1926
-              住院号/门诊号:
1927
-              <div
1928
-                class="under_line"
1929
-                style="width: 70px; text-align: left"
1930
-                v-if="receiverTreatmentAccess.admission_number"
1931
-              >
1932
-                {{ receiverTreatmentAccess.admission_number }}
1933
-              </div>
1934
-              <div
1935
-                class="under_line"
1936
-                style="width: 70px; text-align: left"
1937
-                v-else
1938
-              >
1939
-                {{ "/" }}
1940
-              </div>
1941
-            </div>
1942
             </div>
1914
             </div>
1943
             <div class="row" style="margin-bottom: 10px">
1915
             <div class="row" style="margin-bottom: 10px">
1944
               <div class="inline_block">
1916
               <div class="inline_block">
2003
               </div>
1975
               </div>
2004
             </div>
1976
             </div>
2005
           </template>
1977
           </template>
1978
+
2006
           <div class="row" style="margin-top: -11px; position: relative">
1979
           <div class="row" style="margin-top: -11px; position: relative">
2007
             <table class="proj_table">
1980
             <table class="proj_table">
2008
               <tbody>
1981
               <tbody>
2033
                     </td>
2006
                     </td>
2034
                     <td style="font-size: 16px" width="10%">医生签名</td>
2007
                     <td style="font-size: 16px" width="10%">医生签名</td>
2035
                     <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
2008
                     <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
2036
-                    <td style="font-size: 16px" width="10%">执行人签名</td>
2009
+                    
2037
                     <td style="font-size: 16px" width="10%">时间</td>
2010
                     <td style="font-size: 16px" width="10%">时间</td>
2038
                     <td
2011
                     <td
2039
                       style="font-size: 16px"
2012
                       style="font-size: 16px"
2040
                       width="10%"
2013
                       width="10%"
2041
-                      v-if="org_id == 10223"
2014
+                      v-if="org_id == 10223 || org_id == 10375"
2042
                     >
2015
                     >
2043
                       核对护士
2016
                       核对护士
2044
                     </td>
2017
                     </td>
2018
+                    <td style="font-size: 16px" width="10%">执行人签名</td>
2045
                   </tr>
2019
                   </tr>
2046
                   <!-- <template v-for="group in doctor_advices" > -->
2020
                   <!-- <template v-for="group in doctor_advices" > -->
2047
                   <tr
2021
                   <tr
2112
                     <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
2086
                     <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
2113
                     <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
2087
                     <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
2114
                   </td> -->
2088
                   </td> -->
2089
+                    
2115
                     <td height="32px">
2090
                     <td height="32px">
2116
-                      <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
2117
-                        getAdminUser(advice.execution_staff)
2091
+                      <span v-if="advice.execution_time">{{
2092
+                        getTime(advice.execution_time, "{h}:{i}")
2093
+                      }}</span>
2094
+                    </td>
2095
+                    <td height="32px" v-if="org_id == 10223">
2096
+                      <span v-if="setAdminUserES(advice.checker) == ''">{{
2097
+                        getAdminUser(advice.checker)
2118
                       }}</span>
2098
                       }}</span>
2119
                       <img
2099
                       <img
2120
                         style="height: 30px"
2100
                         style="height: 30px"
2121
-                        :src="setAdminUserES(advice.execution_staff)"
2101
+                        :src="setAdminUserES(advice.checker)"
2122
                         alt=""
2102
                         alt=""
2123
                         srcset=""
2103
                         srcset=""
2124
                         v-else
2104
                         v-else
2125
                       />
2105
                       />
2126
                     </td>
2106
                     </td>
2127
                     <td height="32px">
2107
                     <td height="32px">
2128
-                      <span v-if="advice.execution_time">{{
2129
-                        getTime(advice.execution_time, "{h}:{i}")
2130
-                      }}</span>
2131
-                    </td>
2132
-                    <td height="32px" v-if="org_id == 10223">
2133
-                      <span v-if="setAdminUserES(advice.checker) == ''">{{
2134
-                        getAdminUser(advice.checker)
2108
+                      <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
2109
+                        getAdminUser(advice.execution_staff)
2135
                       }}</span>
2110
                       }}</span>
2136
                       <img
2111
                       <img
2137
                         style="height: 30px"
2112
                         style="height: 30px"
2138
-                        :src="setAdminUserES(advice.checker)"
2113
+                        :src="setAdminUserES(advice.execution_staff)"
2139
                         alt=""
2114
                         alt=""
2140
                         srcset=""
2115
                         srcset=""
2141
                         v-else
2116
                         v-else
2398
                         kg
2373
                         kg
2399
                       </div>
2374
                       </div>
2400
   
2375
   
2401
-                      <div
2402
-                        class="inline_block"
2403
-                        style="flex: 1"
2404
-                        v-if="org_id != 10223"
2405
-                      >
2406
-                        透析中入量(L):
2407
-                        <div
2408
-                          class="under_line"
2409
-                          style="width: 70px; text-align: center"
2410
-                        >
2411
-                          {{
2412
-                            afterdialysis.dialysis_intakes
2413
-                              ? afterdialysis.dialysis_intakes
2414
-                              : "/"
2415
-                          }}
2416
-                        </div>
2417
-                        {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2418
-                      </div>
2419
-  
2420
                       <div class="inline_block" style="flex: 1">
2376
                       <div class="inline_block" style="flex: 1">
2421
                         实际超滤量:
2377
                         实际超滤量:
2422
                         <div
2378
                         <div
2597
                         </div>
2553
                         </div>
2598
                       </div>
2554
                       </div>
2599
                     </div>
2555
                     </div>
2556
+                    <div
2557
+                      class="row"
2558
+                      style="padding: 2px 0; line-height: 23px; display: flex"
2559
+                    >
2560
+                      <div
2561
+                        class="inline_block"
2562
+                        style="flex: 1; display: inline-block"
2563
+                      >
2564
+                        宣教知识:
2565
+                        <div
2566
+                          class="under_line"
2567
+                          style="
2568
+                            width: 860px;
2569
+                            line-height: 25px;
2570
+                            text-align: left;
2571
+                            margin-left: 2px;
2572
+                            display: inline-block;
2573
+                            white-space: normal;
2574
+                          "
2575
+                        >
2576
+                          {{
2577
+                            summary.mission
2578
+                              ? summary.mission
2579
+                              : "/"
2580
+                          }}
2581
+                        </div>
2582
+                      </div>
2583
+                    </div>
2600
                     <div
2584
                     <div
2601
                       class="row"
2585
                       class="row"
2602
                       style="padding: 2px 0; line-height: 23px; display: flex"
2586
                       style="padding: 2px 0; line-height: 23px; display: flex"
3009
                         >
2993
                         >
3010
                           <span
2994
                           <span
3011
                             style="height: 30px; display: inline-block"
2995
                             style="height: 30px; display: inline-block"
3012
-                            v-if="setAdminUserES(prescription.creater) == ''"
2996
+                            v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
3013
                           >
2997
                           >
3014
-                            {{ getAdminUser(prescription.creater) }}
2998
+                            {{ getAdminUser(doctor_advices[0].advice_doctor) }}
3015
                           </span>
2999
                           </span>
3016
                           <img
3000
                           <img
3017
                             style="height: 40px"
3001
                             style="height: 40px"
3018
-                            :src="setAdminUserES(prescription.creater)"
3002
+                            :src="setAdminUserES(doctor_advices[0].advice_doctor)"
3019
                             alt=""
3003
                             alt=""
3020
                             srcset=""
3004
                             srcset=""
3021
                             v-else
3005
                             v-else
3274
           this.$message.error("钠未填");
3258
           this.$message.error("钠未填");
3275
         } else if (this.prescription.kalium == 0) {
3259
         } else if (this.prescription.kalium == 0) {
3276
           this.$message.error("钾未填");
3260
           this.$message.error("钾未填");
3277
-        } else if (this.prescription.bicarbonate == 0) {
3278
-          this.$message.error("碳酸氢根未填");
3279
-        } else if (this.prescription.dialysate_flow == 0) {
3261
+        } 
3262
+        // else if (this.prescription.bicarbonate == 0) {
3263
+        //   this.$message.error("碳酸氢根未填");
3264
+        // } 
3265
+        else if (this.prescription.dialysate_flow == 0) {
3280
           this.$message.error("透析液流量未填");
3266
           this.$message.error("透析液流量未填");
3281
         } else if (this.prescription.anticoagulant == 0) {
3267
         } else if (this.prescription.anticoagulant == 0) {
3282
           this.$message.error("抗凝剂未填");
3268
           this.$message.error("抗凝剂未填");
3802
             this.doctor_advices[index]["isShow"] = 2;
3788
             this.doctor_advices[index]["isShow"] = 2;
3803
           }
3789
           }
3804
       
3790
       
3805
-          
3791
+          // if (this.doctor_advices.length > 0) {
3792
+          //   var group = this.newAdviceGroupObject()
3793
+          //   var initGroupBlock = function(group, advice) {
3794
+          //     group.group_no = advice.groupno
3795
+          //   }
3796
+          //   for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
3797
+          //     var new_advice_index = 0
3798
+  
3799
+          //     if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
3800
+          //       new_advice_index = index + this.doctor_advices[index].children.length + 1
3801
+  
3802
+          //       var doctor_advice = {
3803
+          //         delivery_way: this.doctor_advices[index].delivery_way,
3804
+          //         execution_frequency: this.doctor_advices[index].execution_frequency,
3805
+          //         groupno: this.doctor_advices[index].groupno,
3806
+          //         id: this.doctor_advices[index].id,
3807
+          //         parent_id: this.doctor_advices[index].parent_id,
3808
+          //         children: this.doctor_advices[index].children,
3809
+          //         remark: this.doctor_advices[index].remark,
3810
+          //         execution_staff: this.doctor_advices[index].execution_staff,
3811
+          //         checker: this.doctor_advices[index].checker,
3812
+          //         execution_time: this.doctor_advices[index].execution_time,
3813
+          //         advice_doctor: this.doctor_advices[index].advice_doctor
3814
+  
3815
+          //       }
3816
+          //       doctor_advice['isShow'] = 1
3817
+          //       this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
3818
+          //       // this.doctor_advices.push(doctor_advice)
3819
+          //     }
3820
+          //   }
3821
+  
3822
+          //   for (let index = 0; index < this.doctor_advices.length; index++) {
3823
+          //     const advice = this.doctor_advices[index]
3824
+          //     if (advice.groupno == 0) {
3825
+          //       // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
3826
+          //       if (advice.parent_id > 0) {
3827
+          //         if (this.advice_groups.length > 0) {
3828
+          //           var parent_group = this.advice_groups[
3829
+          //             this.advice_groups.length - 1
3830
+          //           ]
3831
+          //           if (parent_group.advices.length > 0) {
3832
+          //             if (parent_group.advices[0].id == advice.parent_id) {
3833
+          //               parent_group.advices.push(advice)
3834
+          //             }
3835
+          //           }
3836
+          //         }
3837
+          //         continue
3838
+          //       } else {
3839
+          //         if (group.group_no > 0) {
3840
+          //           this.advice_groups.push(group)
3841
+          //           group = this.newAdviceGroupObject()
3842
+          //         }
3843
+  
3844
+          //         initGroupBlock(group, advice)
3845
+          //         group.advices.push(advice)
3846
+          //         this.advice_groups.push(group)
3847
+          //         group = this.newAdviceGroupObject()
3848
+          //         continue
3849
+          //       }
3850
+          //     }
3851
+  
3852
+          //     if (group.group_no > 0 && group.group_no != advice.groupno) {
3853
+          //       this.advice_groups.push(group)
3854
+          //       group = this.newAdviceGroupObject()
3855
+          //     }
3856
+          //     if (group.group_no == 0) {
3857
+          //       initGroupBlock(group, advice)
3858
+          //     }
3859
+          //     if (group.group_no == advice.groupno) {
3860
+          //       group.advices.push(advice)
3861
+          //     }
3862
+          //   }
3863
+  
3864
+          //   if (group.group_no > 0) {
3865
+          //     // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
3866
+          //    this.advice_groups.push(group)
3867
+          //   }
3868
+          // }
3806
           if (this.doctor_advices.length <= 6) {
3869
           if (this.doctor_advices.length <= 6) {
3807
             var nl = 6;
3870
             var nl = 6;
3808
             this.print_length = 6;
3871
             this.print_length = 6;
3857
         }
3920
         }
3858
         return "";
3921
         return "";
3859
       },
3922
       },
3860
-     
3923
+      // getAge: function (val) {
3924
+      //   if (
3925
+      //     this.org_template_info.template_id == 2 ||
3926
+      //     this.org_template_info.template_id == 0
3927
+      //   ) {
3928
+      //     if (val.age == 0) {
3929
+      //       return jsGetAge(val.birth, "-");
3930
+      //     } else {
3931
+      //       return val.age;
3932
+      //     }
3933
+      //   } else {
3934
+      //     return this.getoldAge();
3935
+      //   }
3936
+      // },
3861
       getAge: function(val) {
3937
       getAge: function(val) {
3862
        
3938
        
3863
         if (val.id_card_no) {
3939
         if (val.id_card_no) {

+ 36 - 4
src/xt_pages/user/evaluationtool/Fallassessment.vue 查看文件

5
       <div>
5
       <div>
6
         <div class="patient-app-container advice-container app-container">
6
         <div class="patient-app-container advice-container app-container">
7
           <div class='content_top' style="width: 95%;margin-bottom: 20px;">
7
           <div class='content_top' style="width: 95%;margin-bottom: 20px;">
8
-            <div style="font-size: 20px;">跌倒评估评分</div>
8
+            <div style="font-size: 20px">跌倒评估评分</div>
9
             <div>
9
             <div>
10
               <el-button>历史评分</el-button>
10
               <el-button>历史评分</el-button>
11
-              <el-button>告知书</el-button>
11
+              <el-button @click="dialogVisible = true">告知书</el-button>
12
             </div>
12
             </div>
13
           </div>
13
           </div>
14
          
14
          
382
           <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
382
           <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
383
         </span>
383
         </span>
384
       </el-dialog>
384
       </el-dialog>
385
+      <!-- 告知书 -->
386
+      <el-dialog
387
+          title="内容详情"
388
+          :visible.sync="dialogVisible"
389
+          width="50%"
390
+          :before-close="handleClose"
391
+          class="status_change">
392
+          <div>
393
+              <Falloutbedprint></Falloutbedprint>
394
+          </div>
395
+          
396
+      </el-dialog>
385
     </div>
397
     </div>
386
   </template>
398
   </template>
387
 
399
 
388
   <script>
400
   <script>
389
     import PatientSidebar from '../components/PatientSidebar'
401
     import PatientSidebar from '../components/PatientSidebar'
390
-    
402
+    import Falloutbedprint from './Falloutbedprint.vue'
391
     export default {
403
     export default {
392
     //   name: 'CourseOfDisease',
404
     //   name: 'CourseOfDisease',
393
       components: {
405
       components: {
394
         PatientSidebar,
406
         PatientSidebar,
395
-        
407
+        Falloutbedprint
396
       },
408
       },
397
       data() {
409
       data() {
398
         return {
410
         return {
414
           touxidiedao:['发生跌倒','发生坠床'],
426
           touxidiedao:['发生跌倒','发生坠床'],
415
 
427
 
416
           centerDialogVisible:false,
428
           centerDialogVisible:false,
429
+          dialogVisible:false,
417
           textarea2:'',
430
           textarea2:'',
418
         }
431
         }
419
         
432
         
506
     }
519
     }
507
 
520
 
508
   </style>
521
   </style>
522
+  <style lang="scss">
523
+  .status_change{
524
+      
525
+      .el-dialog__header{
526
+          background-color:#eff2f5;
527
+          .el-dialog__title,.el-dialog__headerbtn i{
528
+          color: #666666;
529
+          }
530
+      }
531
+  }
532
+  .el-dialog {
533
+      left: 50% !important;
534
+      position: fixed !important;
535
+      top: 40% !important;
536
+      transform: translate(-50%, -50%) !important;
537
+      margin-top: 0 !important;
538
+
539
+  }
540
+</style>
509
   
541
   

+ 92 - 0
src/xt_pages/user/evaluationtool/Falloutbedprint.vue 查看文件

1
+<template>
2
+    <div >
3
+        <div style="overflow: hidden;"> 
4
+            <el-button type="primary" style="float: right;padding: 10px;" icon="el-icon-printer" @click="printThisPage">
5
+                打印
6
+            </el-button>
7
+        </div>
8
+        <div id="print_content">
9
+            <div class="print_page_main_content">
10
+            
11
+            <div class="content">
12
+                <h2 style="text-align: center;">预防跌倒/坠床告知书</h2>
13
+                <p>
14
+                    尊敬的患者/患者亲属/法定监护人/授权委托人:
15
+                </p>
16
+                <p style="text-indent: 2rem;">
17
+                    这是一份有关预防患者跌倒/坠床的告知书。目的是告诉您预防患者跌倒/坠床的相关事宜,以避免您/家属受到不必要的伤害。
18
+                    为了防止跌倒事件发生,根据您/家属的身体情况,我们共同努力,希望得到您/家属的配合,特给予告知。
19
+                </p>
20
+                <p>请注意以下事项:</p>
21
+                <p>一、跌倒可致后果:颅内出血、颅骨骨折、四肢骨折、皮肤裂伤、软组织挫伤、失血性休克、心脏骤停等甚至死亡。</p>
22
+                <p>二、防跌倒措施:</p>
23
+                <p>1、卧床休息、使用便器床上排便,双侧床栏拉起。</p>
24
+                <p>2、床椅固定位置,日常必需用品置伸手可及处,如痰杯、水杯、餐巾纸。</p>
25
+                <p>3、病情允许下床者,穿防滑鞋,鞋子合脚,衣裤合身,有人扶持。</p>
26
+                <p>4、避免病房和卫生间地面积水,保持干燥,如有积水请及时通知卫生人员清理。拖地后请待干再走,若有需要小心慢走。</p>
27
+                <p>5、床轮固定,摇柄用完立即复位:过道保持畅通。</p>
28
+                <p>6、改变体位应遵守“三部曲”:即平躺30秒,坐起30秒,站立30秒,再行走,避免突然改变体位,尤其是夜间。</p>
29
+                <p>7、应用麻醉止痛剂、镇静安眠剂、抗焦虑、抑郁药、抗过敏药、散瞳剂、降压利尿剂等后一小时内应取卧位或坐位,避免室外活动。</p>
30
+                <p>8、睡前先洗漱再服睡前药,夜间正确使用床头灯及地灯。</p>
31
+                <p>9、病情允许入厕、洗澡者须有家属扶持关注,请勿锁门。</p>
32
+                <p>10、如行走时出现头晕、双眼发黑、下肢无力、步态不稳和不能移动时,立即原地坐(蹲)下或靠墙,并呼叫。</p><br>
33
+                <p style="padding-left: 46px;position:relative;margin-bottom:40px;">
34
+                    <!-- margin-bottom:30px; height:60px;-->
35
+                    <span style="width:15px;height:15px;position:absolute;top:4px;left:24px;border:1px solid #333;border-radius: 2px;"></span>
36
+                    <span>我已认真阅读并理解上述告知内容,愿意配合医护人员做好相关预防工作,若因未遵守以上防跌倒措施而引起的一切后果自行承担。</span>
37
+                </p>
38
+                <p style="padding: 20px;display:flex;justify-content: space-between;align-items: center;">
39
+                    <span>护士签名:______________</span>
40
+                    <span>日期:______________</span>
41
+                </p>
42
+                <p style="padding: 20px;display:flex;justify-content: space-between;align-items: center;">
43
+                    <span>患者/患者亲属/法定监护人/授权委托人签名:______________</span>
44
+                    <span>日期:______________</span>
45
+                </p>
46
+            </div>
47
+            </div>
48
+        </div>
49
+        
50
+    </div>
51
+</template>
52
+
53
+<script>
54
+import print from "print-js";
55
+export default{
56
+    methods:{
57
+        printThisPage(){
58
+            const style = '@media print {.content p{font-size: 16px;font-family: 新宋体; padding-left: 20px; margin-bottom: 5px;}}'
59
+            printJS({
60
+                printable: 'print_content',
61
+                type: 'html',
62
+                documentTitle: '  ',
63
+                style: style,
64
+                scanStyles: false
65
+            })
66
+        }
67
+    }
68
+}
69
+</script>
70
+<style lang="scss" scoped>
71
+// .print_page_main_content {
72
+//     background-color: white;
73
+//     width: 960px;
74
+//     padding: 0 0 0 0;
75
+//     page-break-after: always;
76
+//   }
77
+*{
78
+    margin: 0;
79
+    padding: 0;
80
+    border: 0;
81
+}
82
+    .content{
83
+        p{
84
+          font-size: 16px;
85
+          font-family: '新宋体';
86
+          line-height: 22px;
87
+          padding-left: 20px;
88
+          margin-bottom: 5px;
89
+          text-align: justify;
90
+        }
91
+    }
92
+</style>

+ 26 - 2
src/xt_pages/user/evaluationtool/RassAssessment.vue 查看文件

204
                     </div>
204
                     </div>
205
                 </div>
205
                 </div>
206
                 <hr style="height:1px;border:none;border-top:1px dashed #DCDFE6;margin-bottom: 10px;"/>
206
                 <hr style="height:1px;border:none;border-top:1px dashed #DCDFE6;margin-bottom: 10px;"/>
207
-                <div style="border-left: 2px solid #0077ff9f; font-size: 18px;padding-left: 5px;margin-bottom: 10px;">
207
+                <div style=" font-size: 18px;margin-bottom: 10px;">
208
                   <span>疼痛评估</span> 
208
                   <span>疼痛评估</span> 
209
                 </div>
209
                 </div>
210
                 <div>
210
                 <div>
267
                                   </div>
267
                                   </div>
268
                                 </div>
268
                                 </div>
269
                                 <div style="vertical-align: middle;" v-else-if="radio=='表情法'">
269
                                 <div style="vertical-align: middle;" v-else-if="radio=='表情法'">
270
-                                    
270
+                                  <div style="display: flex;flex-wrap: wrap;padding:20px;">
271
+                                    <!-- <div style="flex:1;text-align: center;">
272
+                                      <div>
273
+                                        <img src="@/assets/evaluate/a.png" alt="">
274
+                                      </div>
275
+                                      <span>
276
+                                          <input type="radio" value="0" class="wxpg-check" id="ttpggj-type-b0" name="ttpggj-bqf">
277
+                                          <label >无疼痛</label>
278
+                                        </span>
279
+                                    </div> -->
280
+                                    <div style="flex:1;text-align: center;" v-for="(item,index) in biaoqing" :key="index">
281
+                                      <div >
282
+                                        <img :src="item.imgs" alt="">
283
+                                      </div>
284
+                                      <span>
285
+                                          <input type="radio" value="0"  name="ttpggj-bqf">
286
+                                          <label >{{item.text}}</label>
287
+                                        </span>
288
+                                    </div>
289
+                                  </div>
290
+
271
                                 </div>
291
                                 </div>
272
                                 <div style="" v-else-if="radio=='视觉模拟法'">
292
                                 <div style="" v-else-if="radio=='视觉模拟法'">
273
                                   <div style="display: flex; height: 160px;align-items: center;">
293
                                   <div style="display: flex; height: 160px;align-items: center;">
553
             options:[],
573
             options:[],
554
             RassGJ:['NRS','表情法','视觉模拟法','语言描述法','行为学评估量表','其他'],
574
             RassGJ:['NRS','表情法','视觉模拟法','语言描述法','行为学评估量表','其他'],
555
             yuyan:['0无痛','1微痛','2一般','4中度疼痛','6中重度疼痛','8重度疼痛','10无法忍受'],
575
             yuyan:['0无痛','1微痛','2一般','4中度疼痛','6中重度疼痛','8重度疼痛','10无法忍受'],
576
+            biaoqing:[{imgs:require('@/assets/evaluate/a.png'),text:'无疼痛'},{imgs:require('@/assets/evaluate/b.png'),text:'有一点疼痛'},
577
+                      {imgs:require('@/assets/evaluate/c.png'),text:'轻微疼痛'},{imgs:require('@/assets/evaluate/d.png'),text:'疼痛明显'},
578
+                      {imgs:require('@/assets/evaluate/e.png'),text:'疼痛较严重'},{imgs:require('@/assets/evaluate/f.png'),text:'剧烈疼痛'},
579
+                    ],
556
             xingzhi:['宫缩痛','持续固定痛','跳痛','刺痛','刀割痛','锐痛',
580
             xingzhi:['宫缩痛','持续固定痛','跳痛','刺痛','刀割痛','锐痛',
557
                      '痉挛痛','绞痛','热灼痛','撕裂痛','钻顶样痛','触痛',
581
                      '痉挛痛','绞痛','热灼痛','撕裂痛','钻顶样痛','触痛',
558
                      '酸痛','闷痛','胀痛','牵拉样痛','游走痛','难以描述'
582
                      '酸痛','闷痛','胀痛','牵拉样痛','游走痛','难以描述'

+ 44 - 3
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue 查看文件

8
                     <div style="font-size: 20px;">小儿高危跌倒坠床评估表</div>
8
                     <div style="font-size: 20px;">小儿高危跌倒坠床评估表</div>
9
                     <div>
9
                     <div>
10
                         <el-button>历史评分</el-button>
10
                         <el-button>历史评分</el-button>
11
-                        <el-button>告知书</el-button>
11
+                        <el-button @click="dialogVisible=true">告知书</el-button>
12
                     </div>
12
                     </div>
13
                 </div>
13
                 </div>
14
 
14
 
105
                             <tr class="bg_color">
105
                             <tr class="bg_color">
106
                                 <td class="start">环境因素</td>
106
                                 <td class="start">环境因素</td>
107
                                 <td><div class="jiange">
107
                                 <td><div class="jiange">
108
-                                    <label><input name="ball" type="checkbox" value="football" />&nbsp;
108
+                                    <label>
109
+                                        <input name="ball" type="checkbox" value="football" />&nbsp;
110
+                                      <span>
109
                                         住院期间有跌倒坠床史:患儿移动或活动时需要使用辅助工具(拐杖、助行器、转运床、轮椅等);婴幼儿放置在无护栏的成人床
111
                                         住院期间有跌倒坠床史:患儿移动或活动时需要使用辅助工具(拐杖、助行器、转运床、轮椅等);婴幼儿放置在无护栏的成人床
112
+                                      </span>
110
                                     </label>
113
                                     </label>
111
                                 </div></td>
114
                                 </div></td>
112
                                 <td><div class="jiange">
115
                                 <td><div class="jiange">
197
 
200
 
198
             </div>
201
             </div>
199
         </div>
202
         </div>
203
+        <div>
204
+            <el-dialog
205
+                title="内容详情"
206
+                :visible.sync="dialogVisible"
207
+                width="50%"
208
+                :before-close="handleClose"
209
+                class="status_change">
210
+                <div>
211
+                    <Falloutbedprint></Falloutbedprint>
212
+                </div>
213
+                
214
+            </el-dialog>
215
+            
216
+        </div>
200
     </div>
217
     </div>
201
 </template>
218
 </template>
202
 <script>
219
 <script>
203
 
220
 
204
 import PatientSidebar from '../components/PatientSidebar.vue'
221
 import PatientSidebar from '../components/PatientSidebar.vue'
222
+import Falloutbedprint from './Falloutbedprint.vue'
205
 export default {
223
 export default {
206
     components:{
224
     components:{
207
-      PatientSidebar
225
+      PatientSidebar,
226
+      Falloutbedprint
208
     },
227
     },
209
     data(){
228
     data(){
210
         return{
229
         return{
216
             age:['>1岁~≤3岁','>3岁~≤7岁','>7岁~≤13岁','>13岁'],
235
             age:['>1岁~≤3岁','>3岁~≤7岁','>7岁~≤13岁','>13岁'],
217
             checked:'',
236
             checked:'',
218
             checkList:[],
237
             checkList:[],
238
+            dialogVisible:false,
219
         }
239
         }
220
     },
240
     },
221
     methods:{
241
     methods:{
248
         }
268
         }
249
         tbody td{
269
         tbody td{
250
            height: 40px;
270
            height: 40px;
271
+           padding: 5px;
272
+           vertical-align: top;
251
         }
273
         }
252
         .start{
274
         .start{
253
             text-align: center;
275
             text-align: center;
272
             -webkit-appearance: checkbox;
294
             -webkit-appearance: checkbox;
273
         }
295
         }
274
     }
296
     }
297
+    
298
+</style>
299
+<style lang="scss">
300
+    .status_change{
301
+        
302
+        .el-dialog__header{
303
+            background-color:#eff2f5;
304
+            .el-dialog__title,.el-dialog__headerbtn i{
305
+            color: #666666;
306
+            }
307
+        }
308
+    }
309
+    .el-dialog {
310
+        left: 50% !important;
311
+        position: fixed !important;
312
+        top: 40% !important;
313
+        transform: translate(-50%, -50%) !important;
314
+        margin-top: 0 !important;
275
 
315
 
316
+    }
276
 </style>
317
 </style>