Browse Source

11月18 打印单

yq1 3 days ago
parent
commit
89cdd41180
26 changed files with 571 additions and 331 deletions
  1. 76 0
      src/components/Uedtior/index.vue
  2. 11 1
      src/main.js
  3. 1 2
      src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue
  4. 12 0
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  5. 44 43
      src/xt_pages/dialysis/batch_print/batch_print_order_sixtyTwo.vue
  6. 4 5
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue
  7. 13 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  8. 0 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue
  9. 1 42
      src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue
  10. 1 13
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  11. 1 1
      src/xt_pages/outpatientDoctorStation/template/printOne.vue
  12. 165 79
      src/xt_pages/user/Informed/Informedconsent.vue
  13. 13 5
      src/xt_pages/user/Informed/components/Bring_informed.vue
  14. 13 12
      src/xt_pages/user/Informed/components/Falloutbedprint.vue
  15. 15 6
      src/xt_pages/user/Informed/components/Filter_informed.vue
  16. 17 14
      src/xt_pages/user/Informed/components/Highrisk_informed.vue
  17. 18 10
      src/xt_pages/user/Informed/components/Medicalhistory.vue
  18. 72 65
      src/xt_pages/user/Informed/components/anticoagulation_informed.vue
  19. 14 5
      src/xt_pages/user/Informed/components/arteriovenous_informed.vue
  20. 13 4
      src/xt_pages/user/Informed/components/catheterization_informed.vue
  21. 4 1
      src/xt_pages/user/Informed/components/critical_informed.vue
  22. 10 2
      src/xt_pages/user/Informed/components/criticalpatient_informed2.vue
  23. 12 3
      src/xt_pages/user/Informed/components/heal_informed.vue
  24. 11 2
      src/xt_pages/user/Informed/components/hemoperfusion_informed.vue
  25. 12 4
      src/xt_pages/user/Informed/components/profunda_informed.vue
  26. 18 9
      src/xt_pages/user/Informed/components/therapy_informed.vue

+ 76 - 0
src/components/Uedtior/index.vue View File

1
+<template>
2
+  <div>
3
+      <vue-ueditor-wrap v-model="contents"  :config="myConfig" ></vue-ueditor-wrap>
4
+  </div>
5
+</template>
6
+
7
+<script>
8
+import VueUeditorWrap from 'vue-ueditor-wrap';
9
+export default {
10
+  name: 'ueditor',
11
+  components:{
12
+    VueUeditorWrap
13
+  },
14
+  props: {
15
+    content: '',
16
+    // new_content:'',
17
+  },
18
+  data () {
19
+    return {
20
+      contents: this.content,
21
+      myConfig: {
22
+        autoHeightEnabled: false, // 编辑器不自动被内容撑高
23
+        initialFrameHeight: 540, // 初始容器高度
24
+        initialFrameWidth: '100%', // 初始容器宽度
25
+        UEDITOR_HOME_URL: '/static/ueditor/',
26
+        // 上传文件接口(这个地址是我为了方便各位体验文件上传功能搭建的临时接口,请勿在生产环境使用!!!)
27
+        serverUrl: ``,
28
+        toolbars: [
29
+              [
30
+                'undo', //撤销
31
+                'redo',
32
+                'removeformat',//橡皮擦
33
+                'forecolor', 
34
+                'bold', //加粗
35
+                'fontfamily', //字体
36
+                'fontsize', //字号
37
+                'underline', //下划线
38
+                'justifyleft', //居左对齐
39
+                'justifycenter', //居中对齐
40
+                'justifyright', //居右对齐
41
+                'justifyjustify', //两端对齐
42
+                'indent', //首行缩进
43
+                'formatmatch', //格式刷
44
+                'pasteplain',//纯文本粘贴
45
+                'inserttable', 
46
+                'deletetable', 
47
+                'insertparagraphbeforetable',
48
+                'insertrow',
49
+                'deleterow',
50
+                'insertcol', 
51
+                'deletecol', 
52
+                'mergecells', 
53
+                'mergeright', 
54
+                'mergedown', 
55
+                'splittocells', 
56
+                'splittorows', 
57
+                'splittocols',
58
+               
59
+              ]
60
+            ]
61
+
62
+      }
63
+    }
64
+  },
65
+  created(){
66
+    console.log('111111',this.new_content,this.contents);
67
+    
68
+    
69
+  }
70
+}
71
+</script>
72
+
73
+<style scoped>
74
+
75
+</style>
76
+

+ 11 - 1
src/main.js View File

23
 import './errorLog' // error log
23
 import './errorLog' // error log
24
 // import './permission' // permission control
24
 // import './permission' // permission control
25
 import './xt_permission'
25
 import './xt_permission'
26
+// import '@/static/ueditor/ueditor.config.js'
27
+// import '@/static/ueditor/ueditor.all.js'
28
+// import '@/static/ueditor/lang/zh-cn/zh-cn.js'
29
+import '../static/ueditor/ueditor.config.js'
30
+import '../static/ueditor/ueditor.all.min.js'
31
+import '../static/ueditor/lang/zh-cn/zh-cn.js'
32
+import '../static/ueditor/ueditor.parse.min.js'
26
 // import './mock' // simulation data
33
 // import './mock' // simulation data
27
 import VueClipboard from 'vue-clipboard2'
34
 import VueClipboard from 'vue-clipboard2'
28
 
35
 
46
 Vue.component("Computed",Computed)
53
 Vue.component("Computed",Computed)
47
 
54
 
48
 // 表格宽度自适应
55
 // 表格宽度自适应
49
-import fitcolumn from 'v-fit-columns' 
56
+import fitcolumn from 'v-fit-columns'
50
 Vue.use(fitcolumn)
57
 Vue.use(fitcolumn)
51
 
58
 
59
+import VueUeditorWrap from 'vue-ueditor-wrap'
60
+Vue.component('vue-ueditor-wrap', VueUeditorWrap)
61
+
52
 Vue.use(Element, {
62
 Vue.use(Element, {
53
   size: 'medium', // set element-ui default size
63
   size: 'medium', // set element-ui default size
54
   i18n: (key, value) => i18n.t(key, value)
64
   i18n: (key, value) => i18n.t(key, value)

+ 1 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue View File

118
               <div
118
               <div
119
                 class="under_line"
119
                 class="under_line"
120
                 style="
120
                 style="
121
-                  width: 500px;
121
+                  width: 90%;
122
                   text-align: left;
122
                   text-align: left;
123
                   word-break: break-all;
123
                   word-break: break-all;
124
                   word-wrap: break-word;
124
                   word-wrap: break-word;
699
                     </div>
699
                     </div>
700
 
700
 
701
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
701
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
702
-                      
703
                       <!-- <div class="inline_block" style="flex: 1">
702
                       <!-- <div class="inline_block" style="flex: 1">
704
                         膜面积:
703
                         膜面积:
705
                         <div class="under_line" style="width: 50px; text-align: center">
704
                         <div class="under_line" style="width: 50px; text-align: center">

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

3854
                 </tr>
3854
                 </tr>
3855
               </tbody>
3855
               </tbody>
3856
             </table>
3856
             </table>
3857
+            <div style="position: relative; left: 70%;top: 20px;">
3858
+              患者签名:
3859
+              <div class="under_line" style="width: 120px;">
3860
+                <img
3861
+                  v-if="record.dialysis_order.url!=''"
3862
+                  style="height: 50px"
3863
+                  :src="record.dialysis_order == null? 0: record.dialysis_order.url"
3864
+                  alt=""
3865
+                  srcset=""
3866
+                />``
3867
+              </div>
3868
+            </div>
3857
           </div>
3869
           </div>
3858
         </div>
3870
         </div>
3859
       </div>
3871
       </div>

+ 44 - 43
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyTwo.vue View File

213
                          showValue="无肝素"
213
                          showValue="无肝素"
214
                          ></label-box>
214
                          ></label-box>
215
                      </span>
215
                      </span>
216
-                   </td>
217
-                   <td style="text-align: left" colspan="3">
218
-              <span style="display: inline-block; margin-left: 15px">
219
-                {{ getkangning(record.prescription.anticoagulant) }}:
220
-                {{
221
-                  record.prescription.anticoagulant_shouji
222
-                    ? record.prescription.anticoagulant_shouji
223
-                    : "/"
224
-                }}
225
-              </span>
226
-              <span v-if="record.prescription.anticoagulant != 0">
227
-                {{ getshoujiunit(record.prescription.anticoagulant) }}
228
-              </span>
229
-            </td>
230
-            <td style="text-align: left" colspan="1">
231
-              <span style="display: inline-block; margin-left: 15px">
232
-                维持:
233
-                {{
234
-                  record.prescription.anticoagulant_weichi
235
-                    ? record.prescription.anticoagulant_weichi
236
-                    : "/"
237
-                }}
238
-              </span>
239
-              <span v-if="record.prescription.anticoagulant != 0">
240
-                {{ getweichiunit(record.prescription.anticoagulant) }}
241
-              </span>
242
-            </td>
243
-            <td style="text-align: left" colspan="2">
244
-              <span style="display: inline-block; ">
245
-                总量:
246
-                {{
247
-                  record.prescription.anticoagulant_zongliang
248
-                    ? record.prescription.anticoagulant_zongliang
249
-                    : "/"
250
-                }}
251
-              </span>
252
-              <span v-if="record.prescription.anticoagulant != 0">
253
-                {{ getzongliangunit(record.prescription.anticoagulant) }}
254
-              </span>
255
-            </td>
216
+                  </td>
217
+                  <td style="text-align: left" colspan="3">
218
+                    <span style="display: inline-block; margin-left: 15px">
219
+                      {{ getkangning(record.prescription.anticoagulant) }}:
220
+                      {{
221
+                        record.prescription.anticoagulant_shouji
222
+                          ? record.prescription.anticoagulant_shouji
223
+                          : "/"
224
+                      }}
225
+                    </span>
226
+                    <span v-if="record.prescription.anticoagulant != 0">
227
+                      {{ getshoujiunit(record.prescription.anticoagulant) }}
228
+                    </span>
229
+                  </td>
230
+                  <td style="text-align: left" colspan="1">
231
+                    <span style="display: inline-block; margin-left: 15px">
232
+                      维持:
233
+                      {{
234
+                        record.prescription.anticoagulant_weichi
235
+                          ? record.prescription.anticoagulant_weichi
236
+                          : "/"
237
+                      }}
238
+                    </span>
239
+                    <span v-if="record.prescription.anticoagulant != 0">
240
+                      {{ getweichiunit(record.prescription.anticoagulant) }}
241
+                    </span>
242
+                  </td>
243
+                  <td style="text-align: left" colspan="2">
244
+                    <span style="display: inline-block; ">
245
+                      总量:
246
+                      {{
247
+                        record.prescription.anticoagulant_zongliang
248
+                          ? record.prescription.anticoagulant_zongliang
249
+                          : "/"
250
+                      }}
251
+                    </span>
252
+                    <span v-if="record.prescription.anticoagulant != 0">
253
+                      {{ getzongliangunit(record.prescription.anticoagulant) }}
254
+                    </span>
255
+                  </td>
256
            
256
            
257
-            </tr>
257
+                </tr>
258
+                <tr>
258
                  <td style="text-align:left;" colspan="1">
259
                  <td style="text-align:left;" colspan="1">
259
                     <span style="display:inline-block;margin-left:15px;"
260
                     <span style="display:inline-block;margin-left:15px;"
260
                       >透前体重:{{record.assessment_before_dislysis.weight_before?record.assessment_before_dislysis.weight_before:"/"}}&nbsp;kg</span>
261
                       >透前体重:{{record.assessment_before_dislysis.weight_before?record.assessment_before_dislysis.weight_before:"/"}}&nbsp;kg</span>
300
                       </span>
301
                       </span>
301
                   </td>
302
                   </td>
302
                   <td></td>
303
                   <td></td>
303
-             <tr>
304
+             
304
 
305
 
305
-             </tr>
306
+                </tr>
306
                 <tr>
307
                 <tr>
307
                   <td style="text-align:left;" colspan="1">
308
                   <td style="text-align:left;" colspan="1">
308
                     <span style="display:inline-block;margin-left:15px;"
309
                     <span style="display:inline-block;margin-left:15px;"

+ 4 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue View File

104
             </div>
104
             </div>
105
           </div>
105
           </div>
106
         </div>
106
         </div>
107
-        <div class="row">
108
-          <div class="inline_block" style="">
107
+        <div class="row" style="display: flex;">
108
+          <div class="inline_block" style="flex: 1;">
109
             日期:
109
             日期:
110
             <div class="under_line"
110
             <div class="under_line"
111
               style="width: 120px;text-align: left;
111
               style="width: 120px;text-align: left;
114
             {{ xtdate }}
114
             {{ xtdate }}
115
             </div>
115
             </div>
116
           </div>
116
           </div>
117
-          <div class="inline_block" style="margin-left: 10px">
117
+          <div class="inline_block" style="flex: 4;">
118
             诊断:
118
             诊断:
119
             <div
119
             <div
120
               class="under_line"
120
               class="under_line"
121
               style="
121
               style="
122
-                width: 500px;
122
+                width: 92%;
123
                 text-align: left;
123
                 text-align: left;
124
                 word-wrap: break-word;
124
                 word-wrap: break-word;
125
                 white-space: inherit;
125
                 white-space: inherit;
609
                             : "/"
609
                             : "/"
610
                         }}
610
                         }}
611
                         </span>
611
                         </span>
612
-
613
                       </div>
612
                       </div>
614
                     </div>
613
                     </div>
615
                     <div
614
                     <div

+ 13 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

21
             {{ orgname }}
21
             {{ orgname }}
22
           </div>
22
           </div>
23
           <div
23
           <div
24
-            v-if="org_id!=0 && org_id!=10449 && org_id!=3877 && org_id!=9671"
24
+            v-if=" org_id!=10449 && org_id!=3877 && org_id!=9671"
25
             class="order-title"
25
             class="order-title"
26
             style="
26
             style="
27
               letter-spacing: 0;
27
               letter-spacing: 0;
3808
 
3808
 
3809
             </tbody>
3809
             </tbody>
3810
           </table>
3810
           </table>
3811
-
3811
+          <div style="position: relative; left: 70%;top: 20px;">
3812
+            患者签名:
3813
+            <div class="under_line" style="width: 120px;">
3814
+              <img
3815
+                v-if="dialysisOrder.url!=''"
3816
+                style="height: 50px"
3817
+                :src="dialysisOrder == null? 0: dialysisOrder.url"
3818
+                alt=""
3819
+                srcset=""
3820
+              />
3821
+            </div>
3822
+          </div>
3812
         </div>
3823
         </div>
3813
       </div>
3824
       </div>
3814
     </div>
3825
     </div>

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

823
               </span>
823
               </span>
824
             </td>
824
             </td>
825
           </tr>
825
           </tr>
826
-
827
           <!-- <tr>
826
           <!-- <tr>
828
             <td style="text-align: left" colspan="8">
827
             <td style="text-align: left" colspan="8">
829
               <span style="display: inline-block; margin-left: 15px">
828
               <span style="display: inline-block; margin-left: 15px">

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

2772
           cancelButtonText: '取消',
2772
           cancelButtonText: '取消',
2773
           type: 'warning',
2773
           type: 'warning',
2774
           dangerouslyUseHTMLString: true,
2774
           dangerouslyUseHTMLString: true,
2775
-        })
2776
-        // .then(() => {
2777
-        //   this.$message({
2778
-        //     type: 'success',
2779
-        //     message: '删除成功!'
2780
-        //   });
2781
-        // }).catch(() => {
2782
-        //   this.$message({
2783
-        //     type: 'info',
2784
-        //     message: '已取消删除'
2785
-        //   });
2786
-        // });
2787
-        // this.$message({
2788
-        //   dangerouslyUseHTMLString: true,
2789
-        //   message:message,
2790
-        //   duration:0,
2791
-        //   showClose:true,
2792
-        //   type:'error'
2793
-        // })
2794
-        // return message
2775
+        })       
2795
       }else{
2776
       }else{
2796
         this.$message.success('核对完成')
2777
         this.$message.success('核对完成')
2797
       }
2778
       }
2798
-
2799
-      // if(val.length >0){
2800
-      //   let message = `记录单未填数据:<br/>&nbsp;&nbsp;${val.join("<br/>&nbsp;&nbsp;")}`;
2801
-      //   this.$confirm(message, '提示', {
2802
-      //     dangerouslyUseHTMLString: true,
2803
-      //     confirmButtonText: '确定',
2804
-      //     cancelButtonText: '取消',
2805
-      //     closeOnClickModal:true,
2806
-      //     type: 'warning',
2807
-      //     center: true
2808
-      //   }).then(() => {
2809
-      //     this.$message({
2810
-      //       type: 'success',
2811
-      //       message: '删除成功!'
2812
-      //     });
2813
-      //   }).catch(() => {
2814
-      //     this.$message({
2815
-      //       type: 'info',
2816
-      //       message: '已取消删除'
2817
-      //     });
2818
-      //   });
2819
-      // }
2820
     }
2779
     }
2821
 
2780
 
2822
   },
2781
   },

+ 1 - 13
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

2502
         }
2502
         }
2503
       }
2503
       }
2504
 
2504
 
2505
-
2506
-
2507
-
2508
-
2509
-
2510
-
2511
     },
2505
     },
2512
     setMonthData(info, admin_info, doctors, department, hisPatientInfo, month_data, last_info) {
2506
     setMonthData(info, admin_info, doctors, department, hisPatientInfo, month_data, last_info) {
2513
       // this.start_time = moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD')
2507
       // this.start_time = moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD')
3024
                         }
3018
                         }
3025
                       }
3019
                       }
3026
                     }
3020
                     }
3027
-
3028
-
3029
-
3030
-
3031
                   }
3021
                   }
3032
                 }
3022
                 }
3033
 
3023
 
3200
               }
3190
               }
3201
 
3191
 
3202
 
3192
 
3203
-              if (this.org_id == 10721 || this.org_id == 0) {
3193
+              if (this.org_id == 10721) {
3204
                 for (let i = 0; i < data.prescriptions.length; i++) {
3194
                 for (let i = 0; i < data.prescriptions.length; i++) {
3205
                   data.prescriptions[i]["diagnoses"] = data.prescriptions[i].diagnose.join(",")
3195
                   data.prescriptions[i]["diagnoses"] = data.prescriptions[i].diagnose.join(",")
3206
                 }
3196
                 }
3207
               }
3197
               }
3208
-              console.log(data.prescriptions)
3209
-
3210
               createHisPrescription(data, params).then(response => {
3198
               createHisPrescription(data, params).then(response => {
3211
                 if (response.data.state == 1) {
3199
                 if (response.data.state == 1) {
3212
                   this.$emit('change', this.patientInfo.id)
3200
                   this.$emit('change', this.patientInfo.id)

+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

56
             </div>
56
             </div>
57
           </div>
57
           </div>
58
         </div>
58
         </div>
59
-        <div class="prescriptionBox" style="min-height: 350px;">
59
+        <div class="prescriptionBox" :style="{'min-height':org_id != 10724? '350px':'450px'}">
60
           <div class="Rp">Rp:</div>
60
           <div class="Rp">Rp:</div>
61
           <div class="drugsBox" 
61
           <div class="drugsBox" 
62
             v-for="(it, index1) in item.advices"
62
             v-for="(it, index1) in item.advices"

+ 165 - 79
src/xt_pages/user/Informed/Informedconsent.vue View File

82
                   </el-table>
82
                   </el-table>
83
                 </div>
83
                 </div>
84
               </div>
84
               </div>
85
-              <div style="width: 67%; margin-left: 10px;">
85
+              <div style="width: 69%; margin-left: 10px;">
86
                 <div v-if="face_show">
86
                 <div v-if="face_show">
87
                   <Fallout_Bed_Print :patient_id ="this.patientID" :listPrint="listPrint" ref="childOne" @getFallOutBedPrintList="getFallOutBedPrintList"></Fallout_Bed_Print>
87
                   <Fallout_Bed_Print :patient_id ="this.patientID" :listPrint="listPrint" ref="childOne" @getFallOutBedPrintList="getFallOutBedPrintList"></Fallout_Bed_Print>
88
                 </div>
88
                 </div>
114
                 <div v-if="catheterization_show">
114
                 <div v-if="catheterization_show">
115
                   <catheterization_informed :patient_id ="this.patientID" @getCatheterization="getCatheterization" ref="childTwely" :cathetherizationPrint="cathetherizationPrint"></catheterization_informed>
115
                   <catheterization_informed :patient_id ="this.patientID" @getCatheterization="getCatheterization" ref="childTwely" :cathetherizationPrint="cathetherizationPrint"></catheterization_informed>
116
                 </div>
116
                 </div>
117
-                <div v-if="dialyzer_show">
117
+                <!-- <div v-if="dialyzer_show">
118
                   <dialyzer_informed :patient_id ="this.patientID" :dialyzerInformedPrint="dialyzerInformedPrint" ref="childTen" @getDialyzerInformed="getDialyzerInformed"></dialyzer_informed>
118
                   <dialyzer_informed :patient_id ="this.patientID" :dialyzerInformedPrint="dialyzerInformedPrint" ref="childTen" @getDialyzerInformed="getDialyzerInformed"></dialyzer_informed>
119
-                </div>
119
+                </div> -->
120
                 <div v-if="therapy_show">
120
                 <div v-if="therapy_show">
121
                   <therapy_informed :patient_id ="this.patientID"ref="childEleven" :therapyinformePrint="therapyinformePrint" @getTherapyInformed="getTherapyInformed"></therapy_informed>
121
                   <therapy_informed :patient_id ="this.patientID"ref="childEleven" :therapyinformePrint="therapyinformePrint" @getTherapyInformed="getTherapyInformed"></therapy_informed>
122
                 </div>
122
                 </div>
126
                 <div v-if="show14">
126
                 <div v-if="show14">
127
                   <heal_informed :patient_id ="this.patientID" ref="childSeventy" ::patientTreamentPlan="patientTreamentPlan" @getTreamentPlan="getTreamentPlan"></heal_informed>
127
                   <heal_informed :patient_id ="this.patientID" ref="childSeventy" ::patientTreamentPlan="patientTreamentPlan" @getTreamentPlan="getTreamentPlan"></heal_informed>
128
                 </div>
128
                 </div>
129
-                <div v-if="show15">
130
-                  <criticalpatient_informed :patient_id ="this.patientID" ref="childFivety" :patientCritaicalInformedPrint="patientCritaicalInformedPrint" @getPatientCriticalList="getPatientCriticalList"></criticalpatient_informed>
131
-                </div>
132
                 <div v-if="show16">
129
                 <div v-if="show16">
133
                   <criticalpatient_informed2 :patient_id ="this.patientID" ref="childSixty" :patientCritaicalInformedOnePrint="patientCritaicalInformedOnePrint" @getPatientCriticalOneList="getPatientCriticalOneList"></criticalpatient_informed2>
130
                   <criticalpatient_informed2 :patient_id ="this.patientID" ref="childSixty" :patientCritaicalInformedOnePrint="patientCritaicalInformedOnePrint" @getPatientCriticalOneList="getPatientCriticalOneList"></criticalpatient_informed2>
134
                 </div>
131
                 </div>
135
                 <div v-if="show17">
132
                 <div v-if="show17">
136
-                  <Disease_diagnosis :patient_id ="this.patientID" ref="childsevety" >
137
-
138
-                  </Disease_diagnosis>
133
+                  <Disease_diagnosis :patient_id ="this.patientID" ref="childsevety"></Disease_diagnosis>
134
+                </div>
135
+                <div v-if="show18">
136
+                  <nonheparin_informed :patient_id ="this.patientID" ref="childeighteen"></nonheparin_informed>
137
+                </div>
138
+                <div v-if="show19">
139
+                  <CRRT_informed :patient_id ="this.patientID" ref="childnineteen"></CRRT_informed>
139
                 </div>
140
                 </div>
141
+                <div v-if="show20">
142
+                  <Terminate_informed :patient_id ="this.patientID" ref="childtwoty"></Terminate_informed>
143
+                </div>
144
+
140
               </div>
145
               </div>
141
             </div>
146
             </div>
142
           </el-tab-pane>
147
           </el-tab-pane>
166
 import criticalpatient_informed from './components/criticalpatient_informed'
171
 import criticalpatient_informed from './components/criticalpatient_informed'
167
 import criticalpatient_informed2 from './components/criticalpatient_informed2'
172
 import criticalpatient_informed2 from './components/criticalpatient_informed2'
168
 import Disease_diagnosis from './components/Disease_diagnosis'
173
 import Disease_diagnosis from './components/Disease_diagnosis'
174
+import nonheparin_informed from './components/nonheparin_informed'
175
+import CRRT_informed from './components/CRRT_informed'
176
+import Terminate_informed from './components/Terminate_informed'
169
 import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,
177
 import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,
170
   getArterOvernous,getHighRiskInformed,getPatientMeDicalList,getAnticoagulationInformed,getCriticalInformed,
178
   getArterOvernous,getHighRiskInformed,getPatientMeDicalList,getAnticoagulationInformed,getCriticalInformed,
171
   getHemoperfusionInformed,getInformedConsent,getCatheterization,getDialyzerInformed, getTherapyInformed,
179
   getHemoperfusionInformed,getInformedConsent,getCatheterization,getDialyzerInformed, getTherapyInformed,
172
   getPatientCriticalList,getPatientCriticalOneList,getTreamentPlan } from '@/api/patient'
180
   getPatientCriticalList,getPatientCriticalOneList,getTreamentPlan } from '@/api/patient'
173
 export default {
181
 export default {
174
-
175
   components: {
182
   components: {
176
     PatientSidebar,
183
     PatientSidebar,
177
     Fallout_Bed_Print,
184
     Fallout_Bed_Print,
190
     heal_informed,
197
     heal_informed,
191
     criticalpatient_informed,
198
     criticalpatient_informed,
192
     criticalpatient_informed2,
199
     criticalpatient_informed2,
193
-    Disease_diagnosis
200
+    Disease_diagnosis,
201
+    nonheparin_informed,
202
+    CRRT_informed,
203
+    Terminate_informed
194
   },
204
   },
195
   data() {
205
   data() {
196
     return {
206
     return {
201
                 {date:'血液灌流治疗知情同意书',value:'8'},{date:'自带药物代为注射告知知情同意书',value:'9'},{date:'深静脉透析导管置入术知情同意书',value:'10'},
211
                 {date:'血液灌流治疗知情同意书',value:'8'},{date:'自带药物代为注射告知知情同意书',value:'9'},{date:'深静脉透析导管置入术知情同意书',value:'10'},
202
                 {date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
212
                 {date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
203
                 {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'16'},
213
                 {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'16'},
204
-                // {date:'疾病诊断证明书',value:'17'},
205
-              ],
214
+                {date:'疾病诊断证明书',value:'17'},{date:'无肝素血液透析风险知情同意书',value:'18'},
215
+                {date:'连续肾脏替代治疗(CRRT)治疗知情同意书',value:'19'},{date:'患方要求终止治疗及风险、责任承担承诺书',value:'20'},
216
+      ],
206
 
217
 
207
       face_show:true,
218
       face_show:true,
208
       filter_show:false,
219
       filter_show:false,
218
       therapy_show:false,
229
       therapy_show:false,
219
       history_show:false,
230
       history_show:false,
220
       show14:false,
231
       show14:false,
221
-      show15:false,
232
+      show18:false,
222
       show16:false,
233
       show16:false,
223
       show17:false,
234
       show17:false,
235
+      show19:false,
236
+      show20:false,
224
       patientID:0,
237
       patientID:0,
225
       patient:{},
238
       patient:{},
226
       tableData:[],
239
       tableData:[],
430
           this.hemoperfusion_show=false,
443
           this.hemoperfusion_show=false,
431
           this.Bring_show=false,
444
           this.Bring_show=false,
432
           this.catheterization_show=false,
445
           this.catheterization_show=false,
433
-          // this.dialyzer_show=false,
434
           this.therapy_show=false,
446
           this.therapy_show=false,
435
           this.history_show=false,
447
           this.history_show=false,
436
           this.show14=false,
448
           this.show14=false,
437
-          this.show15=false,
449
+
438
           this.show16=false,
450
           this.show16=false,
439
           this.show17=false,
451
           this.show17=false,
452
+          this.show18=false,
453
+          this.show19 = false,
454
+          this.show20 = false
440
           this.getFallOutBedPrintList()
455
           this.getFallOutBedPrintList()
441
         }
456
         }
442
         if(row.value==2){
457
         if(row.value==2){
450
           this.hemoperfusion_show=false,
465
           this.hemoperfusion_show=false,
451
           this.Bring_show=false,
466
           this.Bring_show=false,
452
           this.catheterization_show=false,
467
           this.catheterization_show=false,
453
-          // this.dialyzer_show=false,
454
           this.therapy_show=false,
468
           this.therapy_show=false,
455
           this.history_show=false,
469
           this.history_show=false,
456
           this.show14=false,
470
           this.show14=false,
457
-          this.show15=false,
458
           this.show16=false,
471
           this.show16=false,
459
           this.show17=false,
472
           this.show17=false,
473
+          this.show18=false,
474
+          this.show19 = false,
475
+          this.show20 = false
460
           this.getFilterInformed()
476
           this.getFilterInformed()
461
         }
477
         }
462
         if(row.value==3){
478
         if(row.value==3){
470
           this.hemoperfusion_show=false,
486
           this.hemoperfusion_show=false,
471
           this.Bring_show=false,
487
           this.Bring_show=false,
472
           this.catheterization_show=false,
488
           this.catheterization_show=false,
473
-          // this.dialyzer_show=false,
474
           this.therapy_show=false,
489
           this.therapy_show=false,
475
           this.history_show=false,
490
           this.history_show=false,
476
           this.show14=false,
491
           this.show14=false,
477
-          this.show15=false,
478
           this.show16=false,
492
           this.show16=false,
479
           this.show17=false,
493
           this.show17=false,
494
+          this.show18=false,
495
+          this.show19 = false,
496
+          this.show20 = false
480
           this.getProfundaInformed()
497
           this.getProfundaInformed()
481
         }
498
         }
482
         if(row.value==4){
499
         if(row.value==4){
490
           this.hemoperfusion_show=false,
507
           this.hemoperfusion_show=false,
491
           this.Bring_show=false,
508
           this.Bring_show=false,
492
           this.catheterization_show=false,
509
           this.catheterization_show=false,
493
-          // this.dialyzer_show=false,
494
           this.therapy_show=false,
510
           this.therapy_show=false,
495
           this.history_show=false,
511
           this.history_show=false,
496
           this.show14=false,
512
           this.show14=false,
497
-          this.show15=false,
498
           this.show16=false,
513
           this.show16=false,
499
           this.show17=false,
514
           this.show17=false,
515
+          this.show18=false,
516
+          this.show19 = false,
517
+          this.show20 = false
500
           this.getArterOvernous()
518
           this.getArterOvernous()
501
         }
519
         }
502
         if(row.value==5){
520
         if(row.value==5){
510
           this.hemoperfusion_show=false,
528
           this.hemoperfusion_show=false,
511
           this.Bring_show=false,
529
           this.Bring_show=false,
512
           this.catheterization_show=false,
530
           this.catheterization_show=false,
513
-          // this.dialyzer_show=false,
514
           this.therapy_show=false,
531
           this.therapy_show=false,
515
           this.history_show=false,
532
           this.history_show=false,
516
           this.show14=false,
533
           this.show14=false,
517
-          this.show15=false,
518
           this.show16=false,
534
           this.show16=false,
519
           this.show17=false,
535
           this.show17=false,
536
+          this.show18=false,
537
+          this.show19 = false,
538
+          this.show20 = false
520
           this.getHighRiskInformed()
539
           this.getHighRiskInformed()
521
         }
540
         }
522
         if(row.value==6){
541
         if(row.value==6){
530
           this.hemoperfusion_show=false,
549
           this.hemoperfusion_show=false,
531
           this.Bring_show=false,
550
           this.Bring_show=false,
532
           this.catheterization_show=false,
551
           this.catheterization_show=false,
533
-          // this.dialyzer_show=false,
534
           this.therapy_show=false,
552
           this.therapy_show=false,
535
           this.history_show=false,
553
           this.history_show=false,
536
           this.show14=false,
554
           this.show14=false,
537
-          this.show15=false,
538
           this.show16=false,
555
           this.show16=false,
539
           this.show17=false,
556
           this.show17=false,
557
+          this.show18=false,
558
+          this.show19 = false,
559
+          this.show20 = false
540
           this.getAnticoagulationInformed()
560
           this.getAnticoagulationInformed()
541
         }
561
         }
542
         if(row.value==7){
562
         if(row.value==7){
550
           this.hemoperfusion_show=false,
570
           this.hemoperfusion_show=false,
551
           this.Bring_show=false,
571
           this.Bring_show=false,
552
           this.catheterization_show=false,
572
           this.catheterization_show=false,
553
-          // this.dialyzer_show=false,
554
           this.therapy_show=false,
573
           this.therapy_show=false,
555
           this.history_show=false,
574
           this.history_show=false,
556
           this.show14=false,
575
           this.show14=false,
557
-          this.show15=false,
558
           this.show16=false,
576
           this.show16=false,
559
           this.show17=false,
577
           this.show17=false,
578
+          this.show18=false,
579
+          this.show19 = false,
580
+          this.show20 = false
560
           this.getCriticalInformed()
581
           this.getCriticalInformed()
561
         }
582
         }
562
         if(row.value==8){
583
         if(row.value==8){
570
           this.hemoperfusion_show=true,
591
           this.hemoperfusion_show=true,
571
           this.Bring_show=false,
592
           this.Bring_show=false,
572
           this.catheterization_show=false,
593
           this.catheterization_show=false,
573
-          // this.dialyzer_show=false,
574
           this.therapy_show=false,
594
           this.therapy_show=false,
575
           this.history_show=false,
595
           this.history_show=false,
576
           this.show14=false,
596
           this.show14=false,
577
-          this.show15=false,
578
           this.show16=false,
597
           this.show16=false,
579
           this.show17=false,
598
           this.show17=false,
599
+          this.show18=false,
600
+          this.show19 = false,
601
+          this.show20 = false
580
           this.getHemoperfusionInformed()
602
           this.getHemoperfusionInformed()
581
         }
603
         }
582
         if(row.value==9){
604
         if(row.value==9){
590
           this.hemoperfusion_show=false,
612
           this.hemoperfusion_show=false,
591
           this.Bring_show=true,
613
           this.Bring_show=true,
592
           this.catheterization_show=false,
614
           this.catheterization_show=false,
593
-          // this.dialyzer_show=false,
594
           this.therapy_show=false,
615
           this.therapy_show=false,
595
           this.history_show=false,
616
           this.history_show=false,
596
           this.show14=false,
617
           this.show14=false,
597
-          this.show15=false,
598
           this.show16=false,
618
           this.show16=false,
599
           this.show17=false,
619
           this.show17=false,
620
+          this.show18=false,
621
+          this.show19 = false,
622
+          this.show20 = false
600
           this.getInformedConsent()
623
           this.getInformedConsent()
601
         }
624
         }
602
         if(row.value==10){
625
         if(row.value==10){
610
           this.hemoperfusion_show=false,
633
           this.hemoperfusion_show=false,
611
           this.Bring_show=false,
634
           this.Bring_show=false,
612
           this.catheterization_show=true,
635
           this.catheterization_show=true,
613
-          // this.dialyzer_show=false,
614
           this.therapy_show=false,
636
           this.therapy_show=false,
615
           this.history_show=false,
637
           this.history_show=false,
616
           this.show14=false,
638
           this.show14=false,
617
-          this.show15=false,
618
           this.show16=false,
639
           this.show16=false,
619
-          this.show17=false
640
+          this.show17=false,
641
+          this.show18=false,
642
+          this.show19 = false,
643
+          this.show20 = false
644
+        }
645
+        // if(row.value==11){
646
+        //   this.face_show=false
647
+        //   this.filter_show=false,
648
+        //   this.profunda_show=false,
649
+        //   this.arteriovenous_show=false,
650
+        //   this.Highrisk_show=false,
651
+        //   this.anticoagulation_show=false,
652
+        //   this.critical_show=false,
653
+        //   this.hemoperfusion_show=false,
654
+        //   this.Bring_show=false,
655
+        //   this.catheterization_show=false,
656
+        //   // this.dialyzer_show=true,
657
+        //   this.therapy_show=false,
658
+        //   this.history_show=false,
659
+        //   this.show14=false,
660
+        //   this.show15=false,
661
+        //   this.show16=false,
662
+        //   this.show17=false
663
+        //   this.getDialyzerInformed()
664
+        // }
665
+        if(row.value==12){
666
+          this.filter_show=false
667
+          this.face_show=false
668
+          this.profunda_show=false,
669
+          this.arteriovenous_show=false,
670
+          this.Highrisk_show=false,
671
+          this.anticoagulation_show=false,
672
+          this.critical_show=false,
673
+          this.hemoperfusion_show=false,
674
+          this.Bring_show=false,
675
+          this.catheterization_show=false,
676
+          this.therapy_show=true,
677
+          this.history_show=false,
678
+          this.show14=false,
679
+          this.show16=false,
680
+          this.show17=false,
681
+          this.show18=false,
682
+          this.show19 = false,
683
+          this.show20 = false
684
+          this.getTherapyInformed()
620
         }
685
         }
621
-        if(row.value==11){
686
+        if(row.value==13){
687
+          this.filter_show=false
622
           this.face_show=false
688
           this.face_show=false
623
-          this.filter_show=false,
624
           this.profunda_show=false,
689
           this.profunda_show=false,
625
           this.arteriovenous_show=false,
690
           this.arteriovenous_show=false,
626
           this.Highrisk_show=false,
691
           this.Highrisk_show=false,
629
           this.hemoperfusion_show=false,
694
           this.hemoperfusion_show=false,
630
           this.Bring_show=false,
695
           this.Bring_show=false,
631
           this.catheterization_show=false,
696
           this.catheterization_show=false,
632
-          // this.dialyzer_show=true,
633
           this.therapy_show=false,
697
           this.therapy_show=false,
634
-          this.history_show=false,
698
+          this.history_show=true,
635
           this.show14=false,
699
           this.show14=false,
636
-          this.show15=false,
637
           this.show16=false,
700
           this.show16=false,
638
-          this.show17=false
639
-          this.getDialyzerInformed()
701
+          this.show17=false,
702
+          this.show18=false,
703
+          this.show19 = false,
704
+          this.show20 = false
705
+          this.getPatientMeDicalList()
640
         }
706
         }
641
-        if(row.value==12){
707
+        if(row.value==14){
642
           this.filter_show=false
708
           this.filter_show=false
643
           this.face_show=false
709
           this.face_show=false
644
           this.profunda_show=false,
710
           this.profunda_show=false,
649
           this.hemoperfusion_show=false,
715
           this.hemoperfusion_show=false,
650
           this.Bring_show=false,
716
           this.Bring_show=false,
651
           this.catheterization_show=false,
717
           this.catheterization_show=false,
652
-          // this.dialyzer_show=false,
653
-          this.therapy_show=true,
718
+          this.therapy_show=false,
654
           this.history_show=false,
719
           this.history_show=false,
655
-          this.show14=false,
656
-          this.show15=false,
720
+          this.show14=true,
657
           this.show16=false,
721
           this.show16=false,
658
-          this.show17=false
659
-          this.getTherapyInformed()
722
+          this.show17=false,
723
+          this.show18=false,
724
+          this.show19 = false,
725
+          this.show20 = false
726
+          this.getTreamentPlan()
660
         }
727
         }
661
-        if(row.value==13){
728
+        // if(row.value==15){
729
+
730
+        //   this.filter_show=false
731
+        //   this.face_show=false
732
+        //   this.profunda_show=false,
733
+        //   this.arteriovenous_show=false,
734
+        //   this.Highrisk_show=false,
735
+        //   this.anticoagulation_show=false,
736
+        //   this.critical_show=false,
737
+        //   this.hemoperfusion_show=false,
738
+        //   this.Bring_show=false,
739
+        //   this.catheterization_show=false,
740
+        //   this.therapy_show=false,
741
+        //   this.history_show=false,
742
+        //   this.show14=false,
743
+        //   this.show16=false,
744
+        //   this.show17=false
745
+        //   this.getPatientCriticalList()
746
+        // }
747
+        if(row.value==16){
662
           this.filter_show=false
748
           this.filter_show=false
663
           this.face_show=false
749
           this.face_show=false
664
           this.profunda_show=false,
750
           this.profunda_show=false,
669
           this.hemoperfusion_show=false,
755
           this.hemoperfusion_show=false,
670
           this.Bring_show=false,
756
           this.Bring_show=false,
671
           this.catheterization_show=false,
757
           this.catheterization_show=false,
672
-          // this.dialyzer_show=false,
673
           this.therapy_show=false,
758
           this.therapy_show=false,
674
-          this.history_show=true,
759
+          this.history_show=false,
675
           this.show14=false,
760
           this.show14=false,
676
-          this.show15=false,
677
-          this.show16=false,
678
-          this.show17=false
679
-          this.getPatientMeDicalList()
761
+          this.show16=true,
762
+          this.show17=false,
763
+          this.show18=false,
764
+          this.show19 = false,
765
+          this.show20 = false
766
+          this.getPatientCriticalOneList()
680
         }
767
         }
681
-        if(row.value==14){
768
+        if(row.value==17){
682
           this.filter_show=false
769
           this.filter_show=false
683
           this.face_show=false
770
           this.face_show=false
684
           this.profunda_show=false,
771
           this.profunda_show=false,
689
           this.hemoperfusion_show=false,
776
           this.hemoperfusion_show=false,
690
           this.Bring_show=false,
777
           this.Bring_show=false,
691
           this.catheterization_show=false,
778
           this.catheterization_show=false,
692
-          // this.dialyzer_show=false,
693
           this.therapy_show=false,
779
           this.therapy_show=false,
694
           this.history_show=false,
780
           this.history_show=false,
695
-          this.show14=true,
696
-          this.show15=false,
781
+          this.show14=false,
697
           this.show16=false,
782
           this.show16=false,
698
-          this.show17=false
699
-          this.getTreamentPlan()
783
+          this.show17=true,
784
+          this.show18=false,
785
+          this.show19 = false,
786
+          this.show20 = false
700
         }
787
         }
701
-        if(row.value==15){
702
-
788
+        if(row.value==18){
703
           this.filter_show=false
789
           this.filter_show=false
704
           this.face_show=false
790
           this.face_show=false
705
           this.profunda_show=false,
791
           this.profunda_show=false,
710
           this.hemoperfusion_show=false,
796
           this.hemoperfusion_show=false,
711
           this.Bring_show=false,
797
           this.Bring_show=false,
712
           this.catheterization_show=false,
798
           this.catheterization_show=false,
713
-          // this.dialyzer_show=false,
714
           this.therapy_show=false,
799
           this.therapy_show=false,
715
           this.history_show=false,
800
           this.history_show=false,
716
           this.show14=false,
801
           this.show14=false,
717
-          this.show15=true,
718
           this.show16=false,
802
           this.show16=false,
719
-          this.show17=false
720
-          this.getPatientCriticalList()
803
+          this.show17=false,
804
+          this.show18=true,
805
+          this.show19 = false,
806
+          this.show20 = false
721
         }
807
         }
722
-        if(row.value==16){
808
+        if(row.value==19){
723
           this.filter_show=false
809
           this.filter_show=false
724
           this.face_show=false
810
           this.face_show=false
725
           this.profunda_show=false,
811
           this.profunda_show=false,
730
           this.hemoperfusion_show=false,
816
           this.hemoperfusion_show=false,
731
           this.Bring_show=false,
817
           this.Bring_show=false,
732
           this.catheterization_show=false,
818
           this.catheterization_show=false,
733
-          // this.dialyzer_show=false,
734
           this.therapy_show=false,
819
           this.therapy_show=false,
735
           this.history_show=false,
820
           this.history_show=false,
736
           this.show14=false,
821
           this.show14=false,
737
-          this.show15=false,
738
-          this.show16=true,
739
-          this.show17=false
740
-          this.getPatientCriticalOneList()
822
+          this.show16=false,
823
+          this.show17=false,
824
+          this.show18=false,
825
+          this.show19 = true,
826
+          this.show20 = false
741
         }
827
         }
742
-        if(row.value==17){
828
+        if(row.value==20){
743
           this.filter_show=false
829
           this.filter_show=false
744
           this.face_show=false
830
           this.face_show=false
745
           this.profunda_show=false,
831
           this.profunda_show=false,
750
           this.hemoperfusion_show=false,
836
           this.hemoperfusion_show=false,
751
           this.Bring_show=false,
837
           this.Bring_show=false,
752
           this.catheterization_show=false,
838
           this.catheterization_show=false,
753
-          // this.dialyzer_show=false,
754
           this.therapy_show=false,
839
           this.therapy_show=false,
755
           this.history_show=false,
840
           this.history_show=false,
756
           this.show14=false,
841
           this.show14=false,
757
-          this.show15=false,
758
           this.show16=false,
842
           this.show16=false,
759
-          this.show17=true
760
-          // this.getPatientCriticalOneList()
843
+          this.show17=false,
844
+          this.show18=false,
845
+          this.show19 = false,
846
+          this.show20 = true
761
         }
847
         }
762
     },
848
     },
763
 
849
 

+ 13 - 5
src/xt_pages/user/Informed/components/Bring_informed.vue View File

8
           </el-button>
8
           </el-button>
9
         <!--<el-button type="danger" style=""  @click="">
9
         <!--<el-button type="danger" style=""  @click="">
10
               删除
10
               删除
11
-        </el-button> -->
11
+        </el-button> <br/>-->
12
         <el-button type="success" style=""  @click="printThisPage">
12
         <el-button type="success" style=""  @click="printThisPage">
13
             打印
13
             打印
14
         </el-button>
14
         </el-button>
16
       <div id="print_content">
16
       <div id="print_content">
17
           <div class="print_page_main_content">
17
           <div class="print_page_main_content">
18
           <div class="content">
18
           <div class="content">
19
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
               <h2 style="text-align: center;">自带药物代为注射告知知情同意书</h2>
20
               <h2 style="text-align: center;">自带药物代为注射告知知情同意书</h2>
20
 
21
 
21
               <div style="text-align: right;">
22
               <div style="text-align: right;">
182
       patient:{},
183
       patient:{},
183
       dialogVisible:false,
184
       dialogVisible:false,
184
       content:content,
185
       content:content,
185
-      
186
+      orgname:'',
186
     }
187
     }
187
    },
188
    },
188
   methods:{
189
   methods:{
231
       this.dialogVisible=true
232
       this.dialogVisible=true
232
     },
233
     },
233
     show(val){
234
     show(val){
234
-       
235
+
235
        if(val!=null){
236
        if(val!=null){
236
         console.log("valw233223",val)
237
         console.log("valw233223",val)
237
          if(val.content!=""){
238
          if(val.content!=""){
238
            this.content = ""
239
            this.content = ""
239
            this.content = val.content
240
            this.content = val.content
240
          }
241
          }
241
-         
242
+
242
        }
243
        }
243
      },
244
      },
244
     saveBringInformed(){
245
     saveBringInformed(){
246
           content:this.$refs.editor.content
247
           content:this.$refs.editor.content
247
         }
248
         }
248
       saveBringInformed(params).then(response=>{
249
       saveBringInformed(params).then(response=>{
249
-        
250
+
250
          if(response.data.state ==1){
251
          if(response.data.state ==1){
251
             var list = response.data.data.list
252
             var list = response.data.data.list
252
             this.dialogVisible = false
253
             this.dialogVisible = false
259
   },
260
   },
260
   created(){
261
   created(){
261
     console.log("自导哦呜呜呜呜呜呜呜呜呜",this.informedConsentPrint)
262
     console.log("自导哦呜呜呜呜呜呜呜呜呜",this.informedConsentPrint)
263
+    this.orgname = this.$store.getters.xt_user.org.org_name;
262
     if(this.informedConsentPrint!=null && this.informedConsentPrint.id >0){
264
     if(this.informedConsentPrint!=null && this.informedConsentPrint.id >0){
263
        this.content = ""
265
        this.content = ""
264
        this.content = this.informedConsentPrint.content
266
        this.content = this.informedConsentPrint.content
284
         text-align: justify;
286
         text-align: justify;
285
       }
287
       }
286
   }
288
   }
289
+  .print_page_main_content {
290
+    background-color: white;
291
+    width: 100%;
292
+    padding: 0 0 0 0;
293
+    page-break-after: always;
294
+  }
287
 </style>
295
 </style>

+ 13 - 12
src/xt_pages/user/Informed/components/Falloutbedprint.vue View File

15
         <div id="print_content">
15
         <div id="print_content">
16
           <div class="print_page_main_content">
16
           <div class="print_page_main_content">
17
             <div class="content">
17
             <div class="content">
18
-                
18
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
                 <h2 style="text-align: center;">人脸识别知情同意书</h2>
19
                 <h2 style="text-align: center;">人脸识别知情同意书</h2>
20
                 <!-- <div style="display: inline-block;border: 1px solid black;width: 20px;height: 20px;"></div> -->
20
                 <!-- <div style="display: inline-block;border: 1px solid black;width: 20px;height: 20px;"></div> -->
21
                 <div style="text-align: right;">
21
                 <div style="text-align: right;">
166
       patient:{},
166
       patient:{},
167
       content:content,
167
       content:content,
168
       dialogVisible:false,
168
       dialogVisible:false,
169
+      orgname:''
169
     }
170
     }
170
    },
171
    },
171
 
172
 
172
    created(){
173
    created(){
173
-     console.log("list_printwoowowowo",this.listPrint)
174
+      this.orgname = this.$store.getters.xt_user.org.org_name;
174
      if(this.listPrint!=null&& this.listPrint.id >0){
175
      if(this.listPrint!=null&& this.listPrint.id >0){
175
        this.content =""
176
        this.content =""
176
        this.content = this.listPrint.content
177
        this.content = this.listPrint.content
222
         this.dialogVisible =true
223
         this.dialogVisible =true
223
       },
224
       },
224
       show(val){
225
       show(val){
225
-       
226
+
226
        if(val!=null){
227
        if(val!=null){
227
         console.log("valw233223",val)
228
         console.log("valw233223",val)
228
          if(val.content!=""){
229
          if(val.content!=""){
229
            this.content = ""
230
            this.content = ""
230
            this.content = val.content
231
            this.content = val.content
231
          }
232
          }
232
-         
233
+
233
        }
234
        }
234
      },
235
      },
235
       saveFallOutBedPrint(){
236
       saveFallOutBedPrint(){
245
               this.$emit("getFallOutBedPrintList","");
246
               this.$emit("getFallOutBedPrintList","");
246
               this.dialogVisible = false
247
               this.dialogVisible = false
247
 
248
 
248
-             
249
-            
249
+
250
+
250
 
251
 
251
            }
252
            }
252
         })
253
         })
255
 }
256
 }
256
 </script>
257
 </script>
257
 <style lang="scss" scoped>
258
 <style lang="scss" scoped>
258
-// .print_page_main_content {
259
-//     background-color: white;
260
-//     width: 960px;
261
-//     padding: 0 0 0 0;
262
-//     page-break-after: always;
263
-//   }
259
+.print_page_main_content {
260
+    background-color: white;
261
+    width: 100%;
262
+    padding: 0 0 0 0;
263
+    page-break-after: always;
264
+  }
264
 *{
265
 *{
265
     // margin: 0;
266
     // margin: 0;
266
     // padding: 0;
267
     // padding: 0;

+ 15 - 6
src/xt_pages/user/Informed/components/Filter_informed.vue View File

15
       <div id="print_content">
15
       <div id="print_content">
16
           <div class="print_page_main_content">
16
           <div class="print_page_main_content">
17
           <div class="content">
17
           <div class="content">
18
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
18
               <h2 style="text-align: center;">血液透析(滤过,灌流)治疗知情同意书</h2>
19
               <h2 style="text-align: center;">血液透析(滤过,灌流)治疗知情同意书</h2>
19
 
20
 
20
               <div style="text-align: right;">
21
               <div style="text-align: right;">
37
                 诊断:{{ patient.diagnose }}
38
                 诊断:{{ patient.diagnose }}
38
               </div>
39
               </div>
39
               <div v-html="content"></div>
40
               <div v-html="content"></div>
40
- 
41
+
41
           </div>
42
           </div>
42
         </div>
43
         </div>
43
       </div>
44
       </div>
221
       patient:{},
222
       patient:{},
222
       content:content,
223
       content:content,
223
       dialogVisible:false,
224
       dialogVisible:false,
225
+       orgname:''
224
     }
226
     }
225
    },
227
    },
226
 
228
 
227
    created(){
229
    created(){
230
+    this.orgname = this.$store.getters.xt_user.org.org_name;
228
     if(this.filterList!=null && this.filterList.id >0){
231
     if(this.filterList!=null && this.filterList.id >0){
229
-      
232
+
230
        this.content = ""
233
        this.content = ""
231
        this.content = this.filterList.content
234
        this.content = this.filterList.content
232
      }
235
      }
233
      this.getlist()
236
      this.getlist()
234
-     
237
+
235
    },
238
    },
236
     methods:{
239
     methods:{
237
       getlist(){
240
       getlist(){
238
-     
241
+
239
         getPatientDetailInformedconsent(this.patient_id).then(response=>{
242
         getPatientDetailInformedconsent(this.patient_id).then(response=>{
240
           if(response.data.state == 1){
243
           if(response.data.state == 1){
241
             var patient =  response.data.data.patients
244
             var patient =  response.data.data.patients
279
         this.dialogVisible=true
282
         this.dialogVisible=true
280
       },
283
       },
281
       show(val){
284
       show(val){
282
-       
285
+
283
        if(val!=null){
286
        if(val!=null){
284
         console.log("valw233223",val)
287
         console.log("valw233223",val)
285
          if(val.content!=""){
288
          if(val.content!=""){
286
            this.content = ""
289
            this.content = ""
287
            this.content = val.content
290
            this.content = val.content
288
          }
291
          }
289
-         
292
+
290
        }
293
        }
291
      },
294
      },
292
       saveFilterInformed(){
295
       saveFilterInformed(){
323
         text-align: justify;
326
         text-align: justify;
324
       }
327
       }
325
   }
328
   }
329
+  .print_page_main_content {
330
+    background-color: white;
331
+    width: 100%;
332
+    padding: 0 0 0 0;
333
+    page-break-after: always;
334
+  }
326
 </style>
335
 </style>
327
 
336
 

+ 17 - 14
src/xt_pages/user/Informed/components/Highrisk_informed.vue View File

16
         <div id="print_content">
16
         <div id="print_content">
17
             <div class="print_page_main_content">
17
             <div class="print_page_main_content">
18
             <div class="content">
18
             <div class="content">
19
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
                 <h2 style="text-align: center;">高危出血患者血液净化抗凝方式选择知情同意书</h2>
20
                 <h2 style="text-align: center;">高危出血患者血液净化抗凝方式选择知情同意书</h2>
20
 
21
 
21
                 <div style="text-align: right;">
22
                 <div style="text-align: right;">
41
                   {{ patient.diagnose }}
42
                   {{ patient.diagnose }}
42
                 </div>
43
                 </div>
43
                 <div v-html="content"></div>
44
                 <div v-html="content"></div>
44
- 
45
+
45
             </div>
46
             </div>
46
             </div>
47
             </div>
47
         </div>
48
         </div>
145
 <p style="padding:0 20px;display:flex;justify-content: space-between;align-items: center;">
146
 <p style="padding:0 20px;display:flex;justify-content: space-between;align-items: center;">
146
     <span>签名日期:_______年____月____日</span>
147
     <span>签名日期:_______年____月____日</span>
147
     <span>签名日期:_______年____月____日</span>
148
     <span>签名日期:_______年____月____日</span>
148
-</p>`
149
+</p> `
149
 export default{
150
 export default{
150
   props: {
151
   props: {
151
     patient_id: {
152
     patient_id: {
162
     return{
163
     return{
163
       patient:{},
164
       patient:{},
164
       dialogVisible:false,
165
       dialogVisible:false,
165
-      content:content
166
+      content:content,
167
+      orgname:''
166
     }
168
     }
167
    },
169
    },
168
     methods:{
170
     methods:{
211
         this.dialogVisible=true
213
         this.dialogVisible=true
212
       },
214
       },
213
       show(val){
215
       show(val){
214
-       
216
+
215
        if(val!=null){
217
        if(val!=null){
216
         console.log("valw233223",val)
218
         console.log("valw233223",val)
217
          if(val.content!=""){
219
          if(val.content!=""){
218
            this.content = ""
220
            this.content = ""
219
            this.content = val.content
221
            this.content = val.content
220
          }
222
          }
221
-         
223
+
222
        }
224
        }
223
      },
225
      },
224
       saveHighriskInformed(){
226
       saveHighriskInformed(){
228
         saveHighriskInformed(params).then(response=>{
230
         saveHighriskInformed(params).then(response=>{
229
            if(response.data.state ==1){
231
            if(response.data.state ==1){
230
              var list = response.data.data.list
232
              var list = response.data.data.list
231
-             this.dialogVisible = false 
233
+             this.dialogVisible = false
232
              this.$message.success("保存成功!")
234
              this.$message.success("保存成功!")
233
              this.$emit("getHighRiskInformed","");
235
              this.$emit("getHighRiskInformed","");
234
            }
236
            }
235
-           
237
+
236
         })
238
         })
237
       }
239
       }
238
     },
240
     },
239
     created(){
241
     created(){
242
+      this.orgname = this.$store.getters.xt_user.org.org_name;
240
       console.log("highRiskPrint",this.highRiskPrint)
243
       console.log("highRiskPrint",this.highRiskPrint)
241
       if(this.highRiskPrint!=null && this.highRiskPrint.id >0){
244
       if(this.highRiskPrint!=null && this.highRiskPrint.id >0){
242
         this.content = ""
245
         this.content = ""
247
 }
250
 }
248
 </script>
251
 </script>
249
 <style lang="scss" scoped>
252
 <style lang="scss" scoped>
250
-// .print_page_main_content {
251
-//     background-color: white;
252
-//     width: 960px;
253
-//     padding: 0 0 0 0;
254
-//     page-break-after: always;
255
-//   }
253
+ .print_page_main_content {
254
+    background-color: white;
255
+    width: 100%;
256
+    padding: 0 0 0 0;
257
+    page-break-after: always;
258
+   }
256
 *{
259
 *{
257
     // margin: 0;
260
     // margin: 0;
258
     // padding: 0;
261
     // padding: 0;
259
-    border: 0;
262
+    // border: 0;
260
 }
263
 }
261
     .content{
264
     .content{
262
         p{
265
         p{

+ 18 - 10
src/xt_pages/user/Informed/components/Medicalhistory.vue View File

14
     <div id="print_content">
14
     <div id="print_content">
15
       <div class="print_page_main_content">
15
       <div class="print_page_main_content">
16
         <div class="content">
16
         <div class="content">
17
+          <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
17
           <h2 style="text-align: center;margin-bottom: 20px;">门诊血液透析治疗病历首页</h2>
18
           <h2 style="text-align: center;margin-bottom: 20px;">门诊血液透析治疗病历首页</h2>
18
           <div style="display: flex;padding: 0 5px 10px 5px">
19
           <div style="display: flex;padding: 0 5px 10px 5px">
19
             <div style="flex: 1;">门诊号<span class="unile">{{ patient.admission_number }}</span></div>
20
             <div style="flex: 1;">门诊号<span class="unile">{{ patient.admission_number }}</span></div>
149
             <div style="flex: 1;">门诊号
150
             <div style="flex: 1;">门诊号
150
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;">{{ patient.admission_number }}</span>
151
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;">{{ patient.admission_number }}</span>
151
             </div>
152
             </div>
152
-            <div style="flex: 1;">透析号 
153
+            <div style="flex: 1;">透析号
153
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;">{{ patient.admission_number }}</span>
154
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;">{{ patient.admission_number }}</span>
154
             </div>
155
             </div>
155
             <div style="flex: 1;">姓名:
156
             <div style="flex: 1;">姓名:
180
           <div style='padding: 10px 5px'>
181
           <div style='padding: 10px 5px'>
181
             <div>
182
             <div>
182
               现住址(详填)<span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
183
               现住址(详填)<span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
183
-            
184
+
184
             </div>
185
             </div>
185
-            
186
+
186
           </div>
187
           </div>
187
           <div style='padding: 10px 5px'>
188
           <div style='padding: 10px 5px'>
188
             <div>
189
             <div>
189
               家庭住址<span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
190
               家庭住址<span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
190
-            
191
+
191
             </div>
192
             </div>
192
-           
193
+
193
           </div>
194
           </div>
194
           <div style="display: flex;padding: 10px 5px">
195
           <div style="display: flex;padding: 10px 5px">
195
             <div style="flex: 1;">
196
             <div style="flex: 1;">
196
               本人电话
197
               本人电话
197
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
198
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
198
             </div>
199
             </div>
199
-          
200
+
200
             <div style="flex: 1.5;">
201
             <div style="flex: 1.5;">
201
               亲属联系方式
202
               亲属联系方式
202
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
203
               <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"> </span>
209
           <div style="padding: 10px 5px">诊断:
210
           <div style="padding: 10px 5px">诊断:
210
             <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;">{{ patient.diagnose }}</span>
211
             <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;">{{ patient.diagnose }}</span>
211
           </div>
212
           </div>
212
-          <!-- <div style="padding: 10px 5px">合并症或并发症 
213
+          <!-- <div style="padding: 10px 5px">合并症或并发症
213
             <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"></span>
214
             <span style="display: inline-block;border-bottom: 1px solid black;width: 60%;"></span>
214
           </div> -->
215
           </div> -->
215
           <keep-alive>
216
           <keep-alive>
315
       patient:{},
316
       patient:{},
316
       dialogVisible:false,
317
       dialogVisible:false,
317
       content:content,
318
       content:content,
319
+      orgname:'',
318
 
320
 
319
       number:'',
321
       number:'',
320
       sex:'',
322
       sex:'',
326
     }
328
     }
327
   },
329
   },
328
   created(){
330
   created(){
331
+    this.orgname = this.$store.getters.xt_user.org.org_name;
329
     if(this.medicalList!=null && this.medicalList.id >0){
332
     if(this.medicalList!=null && this.medicalList.id >0){
330
         this.content = ""
333
         this.content = ""
331
         this.content = this.medicalList.content
334
         this.content = this.medicalList.content
342
            this.content = ""
345
            this.content = ""
343
            this.content = val.content
346
            this.content = val.content
344
          }
347
          }
345
-         
348
+
346
        }
349
        }
347
     },
350
     },
348
     getlist(){
351
     getlist(){
417
            this.$message.success("保存成功!")
420
            this.$message.success("保存成功!")
418
            this.dialogVisible =false
421
            this.dialogVisible =false
419
            this.$emit("getPatientMeDicalList","");
422
            this.$emit("getPatientMeDicalList","");
420
-          
423
+
421
         }
424
         }
422
       })
425
       })
423
     }
426
     }
473
     /* padding: 0; */
476
     /* padding: 0; */
474
     -webkit-appearance: checkbox;
477
     -webkit-appearance: checkbox;
475
 }
478
 }
476
-
479
+.print_page_main_content {
480
+    background-color: white;
481
+    width: 100%;
482
+    padding: 0 0 0 0;
483
+    page-break-after: always;
484
+  }
477
 
485
 
478
 </style>
486
 </style>

+ 72 - 65
src/xt_pages/user/Informed/components/anticoagulation_informed.vue View File

16
       <div id="print_content">
16
       <div id="print_content">
17
         <div class="print_page_main_content">
17
         <div class="print_page_main_content">
18
           <div class="content">
18
           <div class="content">
19
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
               <h2 style="text-align: center;">抗凝溶栓治疗知情同意书</h2>
20
               <h2 style="text-align: center;">抗凝溶栓治疗知情同意书</h2>
20
 
21
 
21
               <div style="text-align: right;">
22
               <div style="text-align: right;">
250
     return{
251
     return{
251
       patient:{},
252
       patient:{},
252
       dialogVisible:false,
253
       dialogVisible:false,
253
-      content:content
254
+      content:content,
255
+      orgname:'',
254
     }
256
     }
255
    },
257
    },
256
   methods:{
258
   methods:{
257
     getlist(){
259
     getlist(){
258
-
259
-        getPatientDetailInformedconsent(this.patient_id).then(response=>{
260
-          if(response.data.state == 1){
261
-            var patient =  response.data.data.patients
262
-            console.log("patinet",patient)
263
-            this.patient =patient
264
-          }
260
+      getPatientDetailInformedconsent(this.patient_id).then(response=>{
261
+        if(response.data.state == 1){
262
+          var patient =  response.data.data.patients
263
+          console.log("patinet",patient)
264
+          this.patient =patient
265
+        }
266
+      })
267
+    },
268
+    printThisPage(){
269
+        const style = '@media print {.content p{font-size: 16px;font-family: 新宋体; padding-left: 20px; margin-bottom: 5px;}}'
270
+        printJS({
271
+            printable: 'print_content',
272
+            type: 'html',
273
+            documentTitle: '  ',
274
+            style: style,
275
+            scanStyles: false
265
         })
276
         })
266
-       },
267
-      printThisPage(){
268
-          const style = '@media print {.content p{font-size: 16px;font-family: 新宋体; padding-left: 20px; margin-bottom: 5px;}}'
269
-          printJS({
270
-              printable: 'print_content',
271
-              type: 'html',
272
-              documentTitle: '  ',
273
-              style: style,
274
-              scanStyles: false
275
-          })
276
-      },
277
-      getAge: function(val) {
278
-          if (val.id_card_no == undefined) {
279
-            return false
280
-          }
281
-          var thisLen = val.id_card_no.length
282
-          var birth = ''
283
-          if (thisLen == 15) {
284
-            birth = '19' + val.id_card_no.substr(6, 6)
285
-          } else {
286
-            birth = val.id_card_no.substr(6, 8)
287
-          }
288
-          var birthtwo =
289
-            birth.substr(0, 4) +
290
-            '-' +
291
-            birth.substr(4, 2) +
292
-            '-' +
293
-            birth.substr(6, 2)
277
+    },
278
+    getAge: function(val) {
279
+        if (val.id_card_no == undefined) {
280
+          return false
281
+        }
282
+        var thisLen = val.id_card_no.length
283
+        var birth = ''
284
+        if (thisLen == 15) {
285
+          birth = '19' + val.id_card_no.substr(6, 6)
286
+        } else {
287
+          birth = val.id_card_no.substr(6, 8)
288
+        }
289
+        var birthtwo =
290
+          birth.substr(0, 4) +
291
+          '-' +
292
+          birth.substr(4, 2) +
293
+          '-' +
294
+          birth.substr(6, 2)
295
+
296
+        var age = jsGetAge(birthtwo, '-')
297
+        return age
298
+    },
299
+    bianji(){
300
+      this.dialogVisible=true
301
+    },
302
+    show(val){
303
+      if(val!=null){
304
+      console.log("valw233223",val)
305
+        if(val.content!=""){
306
+          this.content = ""
307
+          this.content = val.content
308
+        }
294
 
309
 
295
-          var age = jsGetAge(birthtwo, '-')
296
-          return age
297
-      },
298
-      bianji(){
299
-        this.dialogVisible=true
300
-      },
301
-      show(val){
302
-       
303
-       if(val!=null){
304
-        console.log("valw233223",val)
305
-         if(val.content!=""){
306
-           this.content = ""
307
-           this.content = val.content
308
-         }
309
-         
310
-       }
311
-     },
312
-      saveAnticoagulation(){
313
-          var params = {
314
-            content:this.$refs.editor.content
315
-          }
316
-        saveAnticoagulation(params).then(response=>{
317
-            if(response.data.state ==1){
318
-              var list = response.data.data.list
319
-              this.$message.success("保存成功")
320
-              this.dialogVisible = false
321
-              this.$emit("getAnticoagulationInformed","");
322
-            }
323
-        })
324
       }
310
       }
311
+    },
312
+    saveAnticoagulation(){
313
+        var params = {
314
+          content:this.$refs.editor.content
315
+        }
316
+      saveAnticoagulation(params).then(response=>{
317
+          if(response.data.state ==1){
318
+            var list = response.data.data.list
319
+            this.$message.success("保存成功")
320
+            this.dialogVisible = false
321
+            this.$emit("getAnticoagulationInformed","");
322
+          }
323
+      })
324
+    }
325
   },
325
   },
326
   created(){
326
   created(){
327
+    this.orgname = this.$store.getters.xt_user.org.org_name;
327
     if(this.auncoagulationPrint!=null && this.auncoagulationPrint.id >0){
328
     if(this.auncoagulationPrint!=null && this.auncoagulationPrint.id >0){
328
        this.content = ""
329
        this.content = ""
329
        this.content = this.auncoagulationPrint.content
330
        this.content = this.auncoagulationPrint.content
349
         text-align: justify;
350
         text-align: justify;
350
       }
351
       }
351
   }
352
   }
353
+  .print_page_main_content {
354
+    background-color: white;
355
+    width: 100%;
356
+    padding: 0 0 0 0;
357
+    page-break-after: always;
358
+  }
352
 </style>
359
 </style>

+ 14 - 5
src/xt_pages/user/Informed/components/arteriovenous_informed.vue View File

15
       <div id="print_content">
15
       <div id="print_content">
16
         <div class="print_page_main_content">
16
         <div class="print_page_main_content">
17
           <div class="content">
17
           <div class="content">
18
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
18
               <h2 style="text-align: center;">动静脉内瘘穿刺知情同意书</h2>
19
               <h2 style="text-align: center;">动静脉内瘘穿刺知情同意书</h2>
19
 
20
 
20
               <div style="text-align: right;">
21
               <div style="text-align: right;">
181
     return{
182
     return{
182
       patient:{},
183
       patient:{},
183
       dialogVisible:false,
184
       dialogVisible:false,
184
-      content:content
185
+      content:content,
186
+      orgname:'',
185
     }
187
     }
186
    },
188
    },
187
   created(){
189
   created(){
190
+    this.orgname = this.$store.getters.xt_user.org.org_name;
188
     if(this.arterOvenousPrint!=null && this.arterOvenousPrint.id > 0){
191
     if(this.arterOvenousPrint!=null && this.arterOvenousPrint.id > 0){
189
-        
192
+
190
       this.content = ""
193
       this.content = ""
191
       this.content = this.arterOvenousPrint.content
194
       this.content = this.arterOvenousPrint.content
192
     }
195
     }
193
-    
196
+
194
     this.getlist()
197
     this.getlist()
195
   },
198
   },
196
   methods:{
199
   methods:{
238
       this.dialogVisible=true
241
       this.dialogVisible=true
239
     },
242
     },
240
     show(val){
243
     show(val){
241
-       
244
+
242
        if(val!=null){
245
        if(val!=null){
243
         console.log("valw233223",val)
246
         console.log("valw233223",val)
244
          if(val.content!=""){
247
          if(val.content!=""){
245
            this.content = ""
248
            this.content = ""
246
            this.content = val.content
249
            this.content = val.content
247
          }
250
          }
248
-         
251
+
249
        }
252
        }
250
      },
253
      },
251
     saveArterOvenous(){
254
     saveArterOvenous(){
307
       }
310
       }
308
 
311
 
309
   }
312
   }
313
+  .print_page_main_content {
314
+    background-color: white;
315
+    width: 100%;
316
+    padding: 0 0 0 0;
317
+    page-break-after: always;
318
+  }
310
 </style>
319
 </style>

+ 13 - 4
src/xt_pages/user/Informed/components/catheterization_informed.vue View File

17
       <div id="print_content">
17
       <div id="print_content">
18
         <div class="print_page_main_content">
18
         <div class="print_page_main_content">
19
           <div class="content">
19
           <div class="content">
20
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
               <h2 style="text-align: center;">深静脉透析导管置入术知情同意书</h2>
21
               <h2 style="text-align: center;">深静脉透析导管置入术知情同意书</h2>
21
 
22
 
22
               <div style="text-align: right;">
23
               <div style="text-align: right;">
42
                 {{ patient.diagnose }}
43
                 {{ patient.diagnose }}
43
               </div>
44
               </div>
44
               <div v-html="content"></div>
45
               <div v-html="content"></div>
45
- 
46
+
46
           </div>
47
           </div>
47
         </div>
48
         </div>
48
       </div>
49
       </div>
220
     return{
221
     return{
221
       patient:{},
222
       patient:{},
222
       dialogVisible:false,
223
       dialogVisible:false,
223
-      content:content
224
+      content:content,
225
+      orgname:''
224
     }
226
     }
225
    },
227
    },
226
   methods:{
228
   methods:{
269
       this.dialogVisible =true
271
       this.dialogVisible =true
270
     },
272
     },
271
     show(val){
273
     show(val){
272
-       
274
+
273
        if(val!=null){
275
        if(val!=null){
274
         console.log("valw233223",val)
276
         console.log("valw233223",val)
275
          if(val.content!=""){
277
          if(val.content!=""){
276
            this.content = ""
278
            this.content = ""
277
            this.content = val.content
279
            this.content = val.content
278
          }
280
          }
279
-         
281
+
280
        }
282
        }
281
      },
283
      },
282
     saveCatheterization(){
284
     saveCatheterization(){
295
   },
297
   },
296
   created(){
298
   created(){
297
     console.log("hhahfhahdhfahhdf",this.cathetherizationPrint)
299
     console.log("hhahfhahdhfahhdf",this.cathetherizationPrint)
300
+    this.orgname = this.$store.getters.xt_user.org.org_name;
298
     if(this.cathetherizationPrint!=null && this.cathetherizationPrint.id >0){
301
     if(this.cathetherizationPrint!=null && this.cathetherizationPrint.id >0){
299
        this.content = ""
302
        this.content = ""
300
        this.content = this.cathetherizationPrint.content
303
        this.content = this.cathetherizationPrint.content
320
         text-align: justify;
323
         text-align: justify;
321
       }
324
       }
322
   }
325
   }
326
+  .print_page_main_content {
327
+    background-color: white;
328
+    width: 100%;
329
+    padding: 0 0 0 0;
330
+    page-break-after: always;
331
+  }
323
 </style>
332
 </style>

+ 4 - 1
src/xt_pages/user/Informed/components/critical_informed.vue View File

16
       <div id="print_content">
16
       <div id="print_content">
17
         <div class="print_page_main_content">
17
         <div class="print_page_main_content">
18
           <div class="content">
18
           <div class="content">
19
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
               <h2 style="text-align: center;">危重患者接受血液净化治疗知情同意书</h2>
20
               <h2 style="text-align: center;">危重患者接受血液净化治疗知情同意书</h2>
20
 
21
 
21
               <div style="text-align: right;">
22
               <div style="text-align: right;">
162
     return{
163
     return{
163
       patient:{},
164
       patient:{},
164
       dialogVisible:false,
165
       dialogVisible:false,
165
-      content:content
166
+      content:content,
167
+      orgname:''
166
     }
168
     }
167
    },
169
    },
168
   methods:{
170
   methods:{
237
   },
239
   },
238
   created(){
240
   created(){
239
     console.log("haaaaaaaaaaaaaaaaaaa",this.criticalInforPrint)
241
     console.log("haaaaaaaaaaaaaaaaaaa",this.criticalInforPrint)
242
+    this.orgname = this.$store.getters.xt_user.org.org_name;
240
     if(this.criticalInforPrint!=null && this.criticalInforPrint.id>0){
243
     if(this.criticalInforPrint!=null && this.criticalInforPrint.id>0){
241
         this.content = ""
244
         this.content = ""
242
         this.content = this.criticalInforPrint.content
245
         this.content = this.criticalInforPrint.content

+ 10 - 2
src/xt_pages/user/Informed/components/criticalpatient_informed2.vue View File

16
       <div id="print_content">
16
       <div id="print_content">
17
         <div class="print_page_main_content">
17
         <div class="print_page_main_content">
18
           <div class="content">
18
           <div class="content">
19
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
               <h2 style="text-align: center;">危重病人知情同意书</h2>
20
               <h2 style="text-align: center;">危重病人知情同意书</h2>
20
 
21
 
21
               <div style="text-align: right;">
22
               <div style="text-align: right;">
135
     patient:{},
136
     patient:{},
136
     content:content,
137
     content:content,
137
     dialogVisible:false,
138
     dialogVisible:false,
139
+    orgname:''
138
   }
140
   }
139
   },
141
   },
140
   methods:{
142
   methods:{
141
     getlist(){
143
     getlist(){
142
-
143
         getPatientDetailInformedconsent(this.patient_id).then(response=>{
144
         getPatientDetailInformedconsent(this.patient_id).then(response=>{
144
           if(response.data.state == 1){
145
           if(response.data.state == 1){
145
             var patient =  response.data.data.patients
146
             var patient =  response.data.data.patients
185
            this.content = ""
186
            this.content = ""
186
            this.content = val.content
187
            this.content = val.content
187
          }
188
          }
188
-         
189
+
189
        }
190
        }
190
       },
191
       },
191
       bianji(){
192
       bianji(){
206
       }
207
       }
207
   },
208
   },
208
   created(){
209
   created(){
210
+    this.orgname = this.$store.getters.xt_user.org.org_name;
209
     if(this.patientCritaicalInformedOnePrint!=null && this.patientCritaicalInformedOnePrint.id >0){
211
     if(this.patientCritaicalInformedOnePrint!=null && this.patientCritaicalInformedOnePrint.id >0){
210
        this.content = ""
212
        this.content = ""
211
        this.content = this.patientCritaicalInformedOnePrint.content
213
        this.content = this.patientCritaicalInformedOnePrint.content
252
         text-align: justify;
254
         text-align: justify;
253
     }
255
     }
254
   }
256
   }
257
+  .print_page_main_content {
258
+    background-color: white;
259
+    width: 100%;
260
+    padding: 0 0 0 0;
261
+    page-break-after: always;
262
+  }
255
 </style>
263
 </style>

+ 12 - 3
src/xt_pages/user/Informed/components/heal_informed.vue View File

16
       <div id="print_content">
16
       <div id="print_content">
17
         <div class="print_page_main_content">
17
         <div class="print_page_main_content">
18
           <div class="content">
18
           <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
               <h2 style="text-align: center;">治疗处理方案知情同意书</h2>
20
               <h2 style="text-align: center;">治疗处理方案知情同意书</h2>
20
 
21
 
21
               <div style="text-align: right;">
22
               <div style="text-align: right;">
131
     patient:{},
132
     patient:{},
132
     dialogVisible:false,
133
     dialogVisible:false,
133
     content:content,
134
     content:content,
135
+    orgname:''
134
   }
136
   }
135
   },
137
   },
136
   methods:{
138
   methods:{
178
       bianji(){
180
       bianji(){
179
         this.dialogVisible=true
181
         this.dialogVisible=true
180
       },
182
       },
181
-      show(val){    
183
+      show(val){
182
        if(val!=null){
184
        if(val!=null){
183
         console.log("valw233223",val)
185
         console.log("valw233223",val)
184
          if(val.content!=""){
186
          if(val.content!=""){
185
            this.content = ""
187
            this.content = ""
186
            this.content = val.content
188
            this.content = val.content
187
          }
189
          }
188
-         
190
+
189
        }
191
        }
190
      },
192
      },
191
       saveTreamtPlan(){
193
       saveTreamtPlan(){
204
   },
206
   },
205
   created(){
207
   created(){
206
     console.log("hahhahahahahahwo",this.patientTreamentPlan)
208
     console.log("hahhahahahahahwo",this.patientTreamentPlan)
209
+    this.orgname = this.$store.getters.xt_user.org.org_name;
207
     if(this.patientTreamentPlan!=null && this.patientTreamentPlan.id >0){
210
     if(this.patientTreamentPlan!=null && this.patientTreamentPlan.id >0){
208
-      
211
+
209
       this.content = ""
212
       this.content = ""
210
       this.content = this.patientTreamentPlan.content
213
       this.content = this.patientTreamentPlan.content
211
     }
214
     }
245
           padding-left: 20px;
248
           padding-left: 20px;
246
       }
249
       }
247
   }
250
   }
251
+  .print_page_main_content {
252
+    background-color: white;
253
+    width: 100%;
254
+    padding: 0 0 0 0;
255
+    page-break-after: always;
256
+  }
248
 </style>
257
 </style>

+ 11 - 2
src/xt_pages/user/Informed/components/hemoperfusion_informed.vue View File

16
       <div id="print_content">
16
       <div id="print_content">
17
           <div class="print_page_main_content">
17
           <div class="print_page_main_content">
18
           <div class="content">
18
           <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
               <h2 style="text-align: center;">血液灌流治疗知情同意书</h2>
20
               <h2 style="text-align: center;">血液灌流治疗知情同意书</h2>
20
 
21
 
21
               <div style="text-align: right;">
22
               <div style="text-align: right;">
196
       patient:{},
197
       patient:{},
197
       dialogVisible:false,
198
       dialogVisible:false,
198
       content:content,
199
       content:content,
200
+      orgname:''
199
     }
201
     }
200
    },
202
    },
201
   methods:{
203
   methods:{
244
       this.dialogVisible=true
246
       this.dialogVisible=true
245
     },
247
     },
246
     show(val){
248
     show(val){
247
-       
249
+
248
        if(val!=null){
250
        if(val!=null){
249
         console.log("valw233223",val)
251
         console.log("valw233223",val)
250
          if(val.content!=""){
252
          if(val.content!=""){
251
            this.content = ""
253
            this.content = ""
252
            this.content = val.content
254
            this.content = val.content
253
          }
255
          }
254
-         
256
+
255
        }
257
        }
256
      },
258
      },
257
     savehemoperfusionInformed(){
259
     savehemoperfusionInformed(){
270
   },
272
   },
271
   created(){
273
   created(){
272
     console.log("血液管咯阿道夫阿道夫阿道夫",this.hemoperfusionPrint)
274
     console.log("血液管咯阿道夫阿道夫阿道夫",this.hemoperfusionPrint)
275
+    this.orgname = this.$store.getters.xt_user.org.org_name;
273
     if(this.hemoperfusionPrint!=null && this.hemoperfusionPrint.id >0){
276
     if(this.hemoperfusionPrint!=null && this.hemoperfusionPrint.id >0){
274
         this.content = ""
277
         this.content = ""
275
         this.content = this.hemoperfusionPrint.content
278
         this.content = this.hemoperfusionPrint.content
295
         text-align: justify;
298
         text-align: justify;
296
       }
299
       }
297
   }
300
   }
301
+  .print_page_main_content {
302
+    background-color: white;
303
+    width: 100%;
304
+    padding: 0 0 0 0;
305
+    page-break-after: always;
306
+  }
298
 </style>
307
 </style>

+ 12 - 4
src/xt_pages/user/Informed/components/profunda_informed.vue View File

15
       <div id="print_content">
15
       <div id="print_content">
16
           <div class="print_page_main_content">
16
           <div class="print_page_main_content">
17
           <div class="content">
17
           <div class="content">
18
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
18
               <h2 style="text-align: center;">深静脉透析导管拔管术知情同意书</h2>
19
               <h2 style="text-align: center;">深静脉透析导管拔管术知情同意书</h2>
19
 
20
 
20
               <div style="text-align: right;">
21
               <div style="text-align: right;">
156
       patient:{},
157
       patient:{},
157
       dialogVisible:false,
158
       dialogVisible:false,
158
       content:content,
159
       content:content,
159
-     
160
+      orgname:'',
160
     }
161
     }
161
    },
162
    },
162
 
163
 
163
    created(){
164
    created(){
165
+    this.orgname = this.$store.getters.xt_user.org.org_name;
164
     console.log("HSHHSHSHHSH",this.profundaPrint)
166
     console.log("HSHHSHSHHSH",this.profundaPrint)
165
      if(this.profundaPrint!=null&&this.profundaPrint.id >0){
167
      if(this.profundaPrint!=null&&this.profundaPrint.id >0){
166
         console.log("HSHHSHSHHSH")
168
         console.log("HSHHSHSHHSH")
171
    },
173
    },
172
     methods:{
174
     methods:{
173
       getlist(){
175
       getlist(){
174
-       
176
+
175
         getPatientDetailInformedconsent(this.patient_id).then(response=>{
177
         getPatientDetailInformedconsent(this.patient_id).then(response=>{
176
           if(response.data.state == 1){
178
           if(response.data.state == 1){
177
             var patient =  response.data.data.patients
179
             var patient =  response.data.data.patients
215
         this.dialogVisible=true
217
         this.dialogVisible=true
216
       },
218
       },
217
       show(val){
219
       show(val){
218
-       
220
+
219
        if(val!=null){
221
        if(val!=null){
220
         console.log("valw233223",val)
222
         console.log("valw233223",val)
221
          if(val.content!=""){
223
          if(val.content!=""){
222
            this.content = ""
224
            this.content = ""
223
            this.content = val.content
225
            this.content = val.content
224
          }
226
          }
225
-         
227
+
226
        }
228
        }
227
      },
229
      },
228
       saveProfundaInformed(){
230
       saveProfundaInformed(){
258
         text-align: justify;
260
         text-align: justify;
259
       }
261
       }
260
   }
262
   }
263
+  .print_page_main_content {
264
+    background-color: white;
265
+    width: 100%;
266
+    padding: 0 0 0 0;
267
+    page-break-after: always;
268
+  }
261
 </style>
269
 </style>

+ 18 - 9
src/xt_pages/user/Informed/components/therapy_informed.vue View File

16
       <div id="print_content">
16
       <div id="print_content">
17
           <div class="print_page_main_content">
17
           <div class="print_page_main_content">
18
           <div class="content">
18
           <div class="content">
19
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
19
               <h2 style="text-align: center;">血液透析(滤过)治疗知情同意书</h2>
20
               <h2 style="text-align: center;">血液透析(滤过)治疗知情同意书</h2>
20
               <!-- <div v-if="org_id!=10571"> -->
21
               <!-- <div v-if="org_id!=10571"> -->
21
               <div style="text-align: right;" v-if="org_id!=10571">
22
               <div style="text-align: right;" v-if="org_id!=10571">
203
     Editor
204
     Editor
204
   },
205
   },
205
   data(){
206
   data(){
206
-  return{
207
-    patient:{},
208
-    org_id:0,
209
-    dialogVisible:false,
210
-    content:content,
211
-  }
207
+    return{
208
+      patient:{},
209
+      org_id:0,
210
+      dialogVisible:false,
211
+      content:content,
212
+      orgname:'',
213
+    }
212
   },
214
   },
213
   methods:{
215
   methods:{
214
      getlist(){
216
      getlist(){
255
         this.dialogVisible=true
257
         this.dialogVisible=true
256
       },
258
       },
257
       show(val){
259
       show(val){
258
-       
260
+
259
        if(val!=null){
261
        if(val!=null){
260
         console.log("valw233223",val)
262
         console.log("valw233223",val)
261
          if(val.content!=""){
263
          if(val.content!=""){
262
            this.content = ""
264
            this.content = ""
263
            this.content = val.content
265
            this.content = val.content
264
          }
266
          }
265
-         
267
+
266
        }
268
        }
267
      },
269
      },
268
       saveTherapyInformed(){
270
       saveTherapyInformed(){
270
           content:this.$refs.editor.content
272
           content:this.$refs.editor.content
271
          }
273
          }
272
         saveTherapyInformed(params).then(response=>{
274
         saveTherapyInformed(params).then(response=>{
273
-          
275
+
274
           if(response.data.state ==1){
276
           if(response.data.state ==1){
275
             var list = response.data.data.list
277
             var list = response.data.data.list
276
             this.$message.success("保存成功!")
278
             this.$message.success("保存成功!")
282
 
284
 
283
   },
285
   },
284
   created(){
286
   created(){
287
+    this.orgname = this.$store.getters.xt_user.org.org_name;
285
     if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
288
     if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
286
        this.content = ""
289
        this.content = ""
287
        this.content = this.therapyinformePrint.content
290
        this.content = this.therapyinformePrint.content
308
         text-align: justify;
311
         text-align: justify;
309
       }
312
       }
310
   }
313
   }
314
+  .print_page_main_content {
315
+    background-color: white;
316
+    width: 100%;
317
+    padding: 0 0 0 0;
318
+    page-break-after: always;
319
+  }
311
 </style>
320
 </style>