Bladeren bron

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

28169 1 dag geleden
bovenliggende
commit
7f0538073e

Diff onderdrukt omdat het te groot bestand
+ 457 - 661
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue


+ 4 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue Bestand weergeven

@@ -96,14 +96,14 @@
96 96
               <div class="inline_block">
97 97
                 入科方式:
98 98
                 <div v-for="(item, i) in way_arr" class="under_line" v-if="record.receive_assessment.way == item.id"
99
-                  style="width: 180px; text-align: left">
99
+                  style="width: 100px; text-align: left">
100 100
                   {{ item.name }}
101 101
                 </div>
102 102
               </div>
103 103
               <div class="inline_block" style="margin-left: 10px" v-if="org_id != 10460 && org_id != 10624">
104 104
                 诊断:
105 105
                 <div class="under_line" style="
106
-                    width: 640px;
106
+                    width: 440px;
107 107
                     text-align: left;
108 108
                     word-break: break-all;
109 109
                     word-wrap: break-word;
@@ -249,7 +249,7 @@
249 249
                         <div class="inline_block" style="flex: 1;">
250 250
                           内瘘:
251 251
                           <div class="under_line" style="
252
-                              width: 150px;
252
+                              width: 80%;
253 253
                               text-align: center;
254 254
                               white-space: normal;
255 255
                             ">
@@ -263,7 +263,7 @@
263 263
 
264 264
                         <div class="inline_block" style="flex: 1">
265 265
                           导管:
266
-                          <div class="under_line" style="width: 150px; text-align: center">
266
+                          <div class="under_line" style="width: 80%; text-align: center">
267 267
                             {{ record.assessment_before_dislysis.catheter ?
268 268
                               record.assessment_before_dislysis.catheter : "/"
269 269
                             }}
@@ -274,7 +274,6 @@
274 274
                       <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
275 275
                         <div class="inline_block" style="flex: 1">
276 276
                           <span>透析方式:</span>
277
-
278 277
                           <div class="under_line" style="
279 278
                               width: 100px;
280 279
                               text-align: center;

+ 9 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue Bestand weergeven

@@ -720,8 +720,8 @@
720 720
                            <span v-if="it && it.advice_desc">({{ it.advice_desc}}{{ it.drug_spec_unit }})</span>
721 721
                            <span v-if="it.prescribing_number">{{ it.prescribing_number}}{{ it.prescribing_number_unit }}</span>
722 722
                            <span v-if="it.single_dose != 0">{{ it.single_dose}}{{ it.single_dose_unit }}</span>
723
-                           <span v-if="it && it.delivery_way">{{ it.delivery_way }}</span>
724
-                           <span v-if="it && it.execution_frequency">{{ it.execution_frequency }}</span>
723
+                           <span v-if="it && it.delivery_way">{{ it.delivery_way!='无'? it.delivery_way :'' }}</span>
724
+                           <span v-if="it && it.execution_frequency">{{ it.execution_frequency !='无'? it.execution_frequency :'' }}</span>
725 725
                            <span v-if="it&& it.remark">{{ it.remark }}</span>&nbsp;&nbsp;&nbsp;
726 726
 
727 727
                          </span>
@@ -765,7 +765,13 @@
765 765
                           }}</span>
766 766
                         </td>
767 767
                       </tr>
768
-
768
+                      <tr>
769
+                        <td height="32px"></td>
770
+                        <td colspan="2"></td>
771
+                        <td></td>
772
+                        <td></td>
773
+                        <td></td>
774
+                      </tr>
769 775
                      <!-- <tr
770 776
                         v-for="(advice, advice_index) in projectsOne"
771 777
                         :key="advice_index"

+ 78 - 52
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue Bestand weergeven

@@ -118,7 +118,7 @@
118 118
             <div class="inline_block" style="flex: 1;">
119 119
               入科方式:
120 120
               <div v-for="(item, index) in way_arr" class="under_line" v-if="receiverTreatmentAccess.way == item.id"
121
-                style="width: 60%; text-align: left">
121
+                style="width: 50%; text-align: left">
122 122
                 {{ item.name }}
123 123
               </div>
124 124
 
@@ -272,7 +272,7 @@
272 272
                       <div class="inline_block" style="flex: 1;">
273 273
                         内瘘:
274 274
                         <div class="under_line" style="
275
-                            width: 150px;
275
+                            width: 80%;
276 276
                             text-align: center;
277 277
                             white-space: normal;
278 278
                           ">
@@ -285,7 +285,7 @@
285 285
                       </div>
286 286
                       <div class="inline_block" style="flex: 1">
287 287
                         导管:
288
-                        <div class="under_line" style="width: 150px; text-align: center">
288
+                        <div class="under_line" style="width: 80%; text-align: center">
289 289
                           {{ predialysis.catheter ? predialysis.catheter : "/" }}
290 290
                         </div>
291 291
                       </div>
@@ -759,7 +759,7 @@
759 759
                               }}
760 760
                             </span>
761 761
                           </td>
762
-                          <td v-if="org_id != 9919 && org_id != 9671 && org_id != 9836 && org_id != 10644">
762
+                          <td>
763 763
                             {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
764 764
                           </td>
765 765
                           <td>{{monitor.conductivity ? monitor.conductivity : "" }}</td>
@@ -1893,57 +1893,71 @@ export default {
1893 1893
       }if (this.prescription.creater == 0) {
1894 1894
         const obj50='医生签名'
1895 1895
         checkDate.push(obj50)
1896
-      } else if (this.tableAdvice.length > 0) {
1897
-        let num = 0;
1898
-        this.tableAdvice.map((item) => {
1899
-          if (item.id > 0 && (item.created_time || item.start_time)) {
1900
-            this.users.map((it) => {
1901
-              if (it.id == item.advice_doctor) {
1902
-                if (it.user_type == 3) {
1903
-                  num++;
1904
-                  this.$message.closeAll();
1905
-                  this.$message.error("存在不是医生保存的医嘱");
1906
-                } else if (
1907
-                  it.id == item.execution_staff &&
1908
-                  item.execution_staff > 0
1909
-                ) {
1910
-                  if (it.user_type == 2) {
1911
-                    num++;
1912
-                    this.$message.closeAll();
1913
-                    this.$message.error("存在不是护士执行的医嘱");
1914
-                  }
1915
-                } else if (it.id == item.checker && item.checker > 0) {
1916
-                  if (it.user_type == 2) {
1917
-                    num++;
1918
-                    this.$message.closeAll();
1919
-                    this.$message.error("存在不是护士核对的医嘱");
1920
-                  }
1921
-                }
1922
-              } else if (
1923
-                it.id == item.execution_staff &&
1924
-                item.execution_staff > 0
1925
-              ) {
1926
-                if (it.user_type == 2) {
1927
-                  num++;
1928
-                  this.$message.closeAll();
1929
-                  this.$message.error("存在不是护士执行的医嘱");
1930
-                }
1931
-              } else if (it.id == item.checker && item.checker > 0) {
1932
-                if (it.user_type == 2) {
1933
-                  num++;
1934
-                  this.$message.closeAll();
1935
-                  this.$message.error("存在不是护士核对的医嘱");
1936
-                }
1937
-              }
1938
-            });
1896
+      }if (this.doctor_advices.length > 0) {
1897
+
1898
+        this.doctor_advices.map((item) => {
1899
+          if(item.id > 0 && (item.created_time || item.start_time)){
1900
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
1901
+              const obj51 = '执行人员,医生签名'
1902
+              checkDate.push(obj51)
1903
+            }
1939 1904
           }
1940 1905
         });
1941
-        if (num == 0) {
1942
-          this.$message.success("核对完成");
1906
+      }if(this.monitors.length >0){
1907
+        for(let i in this.monitors){
1908
+          if(this.monitors[i].systolic_blood_pressure ==0 ||
1909
+                this.monitors.diastolic_blood_pressure==0){
1910
+            const obj52 = '监测第'+((i*1)+1)+'行血压'
1911
+            checkDate.push(obj52)
1912
+          } if(this.monitors[i].pulse_frequency ==0){
1913
+            const obj53 = '监测第'+((i*1)+1)+'行脉搏'
1914
+            checkDate.push(obj53)
1915
+          } if(this.monitors[i].breathing_rate ==0){
1916
+            const obj54 = '监测第'+((i*1)+1)+'行呼吸'
1917
+            checkDate.push(obj54)
1918
+          } 
1919
+          if(this.monitors[i].blood_flow_volume ==0){
1920
+            const obj55 = '监测第'+((i*1)+1)+'行血流量'
1921
+            checkDate.push(obj55)
1922
+          } if(this.monitors[i].venous_pressure ==0 ){
1923
+            const obj56 = '监测第'+((i*1)+1)+'行静脉压'
1924
+            checkDate.push(obj56)
1925
+          } if(this.monitors[i].transmembrane_pressure ==0){
1926
+            const obj57= '监测第'+((i*1)+1)+'行跨膜压'
1927
+            checkDate.push(obj57)
1928
+          } if(this.monitors[i].dialysate_temperature == 0){
1929
+            const obj58 = '监测第'+((i*1)+1)+'行透析液温度温度'
1930
+            checkDate.push(obj58)
1931
+          }if(this.monitors[i].conductivity ==0){
1932
+            const obj59 = '监测第'+((i*1)+1)+'行电导度'
1933
+            checkDate.push(obj59)
1934
+          }
1935
+
1936
+          // if(this.monitors[i].ultrafiltration_rate ==0){
1937
+          //   const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1938
+          //   monearr.push(obj57)
1939
+          // } 
1940
+          if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
1941
+            const obj60 = '监测第'+((i*1)+1)+'行超滤量'
1942
+            checkDate.push(obj60)
1943
+          } 
1944
+          // if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
1945
+          // ){
1946
+          //   const obj58 = '监测第'+((i*1)+1)+'行置换率'
1947
+          //   monearr.push(obj58)
1948
+          // }
1949
+          // if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1950
+          //   const obj54 = '监测第'+((i*1)+1)+'行置换量'
1951
+          //   monearr.push(obj54)
1952
+          // }
1953
+          // if(this.monitors[i].sodium_concentration ==0 ){
1954
+          //   // this.monitors[i].temperature == 0
1955
+          //   const obj59 = '监测第'+((i*1)+1)+'行钠浓度'
1956
+          //   monearr.push(obj59)
1957
+          // }
1943 1958
         }
1944
-      } else {
1945
-        this.$message.success("核对完成");
1946 1959
       }
1960
+      this.getcheckData(checkDate)
1947 1961
     },
1948 1962
     getDisplaceLiquiPart: function (val) {
1949 1963
       let displace_liqui_part_name = "/";
@@ -2731,7 +2745,19 @@ export default {
2731 2745
         return "0.0";
2732 2746
       }
2733 2747
     },
2734
-
2748
+    getcheckData(val){
2749
+      if(val.length >0){
2750
+        let message = `记录单未填数据:<br/>&nbsp;&nbsp;${val.join("<br/>&nbsp;&nbsp;")}`;
2751
+        this.$confirm(message, '提示', {
2752
+          confirmButtonText: '确定',
2753
+          cancelButtonText: '取消',
2754
+          type: 'warning',
2755
+          dangerouslyUseHTMLString: true,
2756
+        })
2757
+      }else{
2758
+        this.$message.success('核对完成')
2759
+      }
2760
+    }
2735 2761
   },
2736 2762
   watch: {
2737 2763
     "patientInfo.gender": function () {

Diff onderdrukt omdat het te groot bestand
+ 602 - 560
src/xt_pages/user/Informed/Informedconsent.vue


+ 206 - 0
src/xt_pages/user/Informed/components/informef_Twentyfive.vue Bestand weergeven

@@ -0,0 +1,206 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">血液净化中心首次透析病人护理宣教单</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">血液净化中心首次透析病人护理宣教单</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p><span>护士自我介绍,介绍科室主任、护长及医生,介绍科室环境(包括卫生间、饮水机、储存柜)告知下一次透析时间。</span></p>
54
+<p style="text-indent: 2rem;"><span>为了保持血液净化中心工作顺利、有序进行,避免患者遭受感染的危险,保障患者医疗安全请病人、家属及陪护遵守以下制度: </span></p>
55
+<p><span>1、按照血液透析的日期安排准时到达血液净化中心。第一批:上午7:30-8:00到达本中心,第二批:12:30-13:00到达,第三批17:00-17:30否则会影响您的透析时间</span><br/>
56
+<span>2、进入医院请佩戴口罩(包括整个透析过程都要佩戴口罩),可在透析中心门口取手消毒液洗手人与人之间保持一米的距离。</span><br/>
57
+<span>3、进入透析室前请配合工作人员进行体温测量和流行病史的调查,如有发热、咳嗽请主动告知。上机前请配合护士再次测量体温和填写流调表,并签名(对无法名的病人可以打指模)</span><br/>
58
+<span>4、咳嗽或打喷嚏时用纸巾盖住口鼻或用衣袖遮盖口鼻。</span><br/>
59
+<span>5、进入透析治疗区前测量体重(减去衣服的重量,尤其冬天),将体重告知文员或护士,然后进行透析治疗。透析治疗结束后也要称体重(强调要跟透析前穿的衣服一样多)。</span><br/>
60
+<span>6、病人亲属、陪护进入血液净化中心接、送病人前,要先如实填写流调表,安置好病人后马上离开。</span><br/>
61
+<span>7、在血液透析治疗过程中,亲属或陪护请勿擅自进入血液净化中心探视,可在家属休息区等候病人血液透析治疗结束,若病情需要留陪护时,经本中心医护人员许可后才能进入,并服从医务人员安排。</span><br/>
62
+<span>8、如您需要改变血液透析治疗日期,请提前一天与科室主管护士取得联系并得到同意。</span><br/>
63
+<span>9、血液透析治疗的费用外地户口单次交,肇庆本地按月结账。为了更好的安排您的血液透析治疗,请您按时付清血液透析费用。</span><br/>
64
+<span>10、请您不要携带贵重物品来血液透析室,如果带来应自己妥善保管。</span><br/>
65
+<span>11、保持血液透析室安静、整洁,室内严禁吸烟、严禁大声喧哗,为病人营造安全、舒适的透析环境</span><br/>
66
+<span>12、血液透析过程中如有不适及时向医务人员报告。</span></p>
67
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
68
+<p style="text-align: right;margin-right: 30px;"><span>病人签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
69
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
70
+<p style="text-align: right;margin-right: 30px;"><span>护士签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
71
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
72
+export default{
73
+  props: {
74
+    patient_id: {
75
+        type: Number,
76
+      },
77
+      therapyinformePrint:{
78
+        type:Object,
79
+      }
80
+   },
81
+  components:{
82
+    Editor
83
+  },
84
+  data(){
85
+    return{
86
+      patient:{},
87
+      org_id:0,
88
+      dialogVisible:false,
89
+      content:content,
90
+      orgname:'',
91
+    }
92
+  },
93
+  methods:{
94
+     getlist(){
95
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
96
+          if(response.data.state == 1){
97
+            var patient =  response.data.data.patients
98
+            console.log("patinet",patient)
99
+            this.patient =patient
100
+          }
101
+        })
102
+      },
103
+      printThisPage(){
104
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
105
+          printJS({
106
+              printable: 'print_content',
107
+              type: 'html',
108
+              documentTitle: '  ',
109
+              style: style,
110
+              scanStyles: false
111
+          })
112
+      },
113
+      getAge: function(val) {
114
+          if (val.id_card_no == undefined) {
115
+            return false
116
+          }
117
+          var thisLen = val.id_card_no.length
118
+          var birth = ''
119
+          if (thisLen == 15) {
120
+            birth = '19' + val.id_card_no.substr(6, 6)
121
+          } else {
122
+            birth = val.id_card_no.substr(6, 8)
123
+          }
124
+          var birthtwo =
125
+            birth.substr(0, 4) +
126
+            '-' +
127
+            birth.substr(4, 2) +
128
+            '-' +
129
+            birth.substr(6, 2)
130
+
131
+          var age = jsGetAge(birthtwo, '-')
132
+          return age
133
+      },
134
+      bianji(){
135
+        this.dialogVisible=true
136
+      },
137
+      show(val){
138
+
139
+       if(val!=null){
140
+        console.log("valw233223",val)
141
+         if(val.content!=""){
142
+           this.content = ""
143
+           this.content = val.content
144
+         }
145
+
146
+       }
147
+     },
148
+      saveTherapyInformed(){
149
+         var params = {
150
+          content:this.$refs.editor.content
151
+         }
152
+        saveTherapyInformed(params).then(response=>{
153
+
154
+          if(response.data.state ==1){
155
+            var list = response.data.data.list
156
+            this.$message.success("保存成功!")
157
+            this.dialogVisible = false
158
+            this.$emit("getTherapyInformed","");
159
+          }
160
+        })
161
+      }
162
+
163
+  },
164
+  created(){
165
+    this.orgname = this.$store.getters.xt_user.org.org_name;
166
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
167
+       this.content = ""
168
+       this.content = this.therapyinformePrint.content
169
+    }
170
+    this.getlist()
171
+    this.org_id = this.$store.getters.xt_user.org.id
172
+  }
173
+}
174
+</script>
175
+<style lang="scss" scoped>
176
+
177
+*{
178
+  // margin: 0;
179
+  // padding: 0;
180
+  border: 0;
181
+}
182
+  .content{
183
+      p{
184
+        font-size: 16px;
185
+        font-family: '新宋体';
186
+        line-height: 22px;
187
+        // padding-left: 20px;
188
+        // margin-bottom: 5px;
189
+        text-align: justify;
190
+      }
191
+  }
192
+  .print_page_main_content {
193
+    background-color: white;
194
+    width: 100%;
195
+    padding: 0 0 0 0;
196
+    page-break-after: always;
197
+  }
198
+  .table tr{
199
+    page-break-inside:avoid
200
+  }
201
+  .table tr td{
202
+    border: 1px solid black;
203
+    // text-align: center;
204
+    // align-items: center;
205
+  }
206
+</style>

+ 213 - 0
src/xt_pages/user/Informed/components/informef_Twentyfour.vue Bestand weergeven

@@ -0,0 +1,213 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">静脉留置导管护理宣教</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">静脉留置导管护理宣教</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p><span>静脉留置导管是指从颈或股静脉穿刺置入的静脉导管。包括长期留置导管和临时留置导管。</span><br/><span>留置导管的优点:</span><br/>
54
+<span>1、深静脉留置导管使透析治疗更方便、快捷、安全。</span><br/>
55
+<span>2、长期留置导管根据患者具体情况一般可留置3-5年,临时留置导管可留置 1-2个月(超过时间须签知情同意书)</span><br/>
56
+<span>3、留置后立刻可以投入使用。</span><br/></p>
57
+<p><span>静脉留置导管护理的注意事项:</span><br/>
58
+<span>1、颈部留置管的患者避免干重体力活,但可从事一般性的日常工作和家务劳动,避免颈部过度活动,抹身时动作幅度不要太大,动作不要过大。避免使用留置管侧手臂提重物(>2.5kg)。避免淋浴、洗面、洗头时弄湿敷料。要穿宽松对襟衣服,脱衣时注意导管不要拉出。避免套头式衣服。导管应正确固定,胶布出现卷边、松脱时应重新粘贴固定,禁止绕颈固定。颈静脉留置管留置时间超过一月者,须签知情同意书</span><br/>
59
+<span>2、股静脉留置管的患者应避免过多起床活动,坐位时不能前倾,大腿弯曲不要超过 90度(大、小便时尤其注意)。保持大便通畅,避免大、小便污染敷料,如弄湿或污染敷料时要及时更换。应避免盆浴、泡浴、游泳等。股静脉留置管留置时间超过一周者,须签知情同意书。</span><br/>
60
+<span>3、留置导管不可用于输液、抽血、输血、输注药物等用途,以免影响导管的使用寿命。导管管夹、肝素帽需维持关闭状态,勿自行开、关调整,松脱时可能造成感染、流血、进空气等情况。注意测量体温,体温高于37.5℃要及时就诊。置管口皮肤有痒禁忌手抓,以防感染。</span><br/>
61
+<span>4、随时注意观察皮肤外导管长度,如发现导管部分脱出,应固定导管,不能自行塞入留置导管。</span><br/>
62
+<span>5、患者平时应注意观察敷料外面有无液体渗出,穿刺点有无红、肿、热、痛。</span><br/>
63
+<span>6、留置导管患者应注意个人卫生,勤换内衣裤,穿脱衣、裤时动作轻柔,避免将导管拉出。</span><br/>
64
+<span>7、留置导管患者睡觉时取平卧位或对侧卧位,尽量不要弯腰,防止血液倒流堵导管。</span><br/>
65
+<span>8、留置导管患者在透析治疗时由护士对留置导管进行换药,包括检查穿刺点局部皮肤情况、缝针线有无脱落、更换敷贴及肝素帽。透析间隔时间较长的患者一般隔3天更换一次。</span><br/>
66
+<span>9、保持百多邦等药膏的干净,使用专门的盒子放置,填写开启日期</span></p>
67
+<p><span>出现以下情况,请立即回医院处理:</span><br/>
68
+<span>1、穿刺口持续渗血或突然出现穿刺部位附近肿胀、呼吸困难,应用无菌纱块或干净布料压迫出血点,同时立即到医院就诊。</span><br/>
69
+<span>2、穿刺口有渗液、脓性分泌物,局部出现红、肿、热、痛。</span><br/>
70
+<span>3、敷料受污染、潮湿、松脱。</span><br/>
71
+<span>4、发现导管外移、脱出,或不慎将导管拔出,应立即用纱布或干净布料按压止血并联系血透医生回医院处理。如果隧道口处有血液渗出或周围胀痛应立即就医。</span><br/>
72
+<span>5、如导管断裂或破损,在导管断裂、破损处上方或靠近穿刺点处将导管折起或夹闭,用胶布固定,以阻止血液流出,并联系血透医生。</span><br/>
73
+<span>6、导管末端肝素帽松脱时可能造成感染,需即刻至医院求治。</span></p>
74
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
75
+<p style="text-align: right;margin-right: 30px;"><span>病人签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
76
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
77
+<p style="text-align: right;margin-right: 30px;"><span>护士签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
78
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
79
+export default{
80
+  props: {
81
+    patient_id: {
82
+        type: Number,
83
+      },
84
+      therapyinformePrint:{
85
+        type:Object,
86
+      }
87
+   },
88
+  components:{
89
+    Editor
90
+  },
91
+  data(){
92
+    return{
93
+      patient:{},
94
+      org_id:0,
95
+      dialogVisible:false,
96
+      content:content,
97
+      orgname:'',
98
+    }
99
+  },
100
+  methods:{
101
+     getlist(){
102
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
103
+          if(response.data.state == 1){
104
+            var patient =  response.data.data.patients
105
+            console.log("patinet",patient)
106
+            this.patient =patient
107
+          }
108
+        })
109
+      },
110
+      printThisPage(){
111
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
112
+          printJS({
113
+              printable: 'print_content',
114
+              type: 'html',
115
+              documentTitle: '  ',
116
+              style: style,
117
+              scanStyles: false
118
+          })
119
+      },
120
+      getAge: function(val) {
121
+          if (val.id_card_no == undefined) {
122
+            return false
123
+          }
124
+          var thisLen = val.id_card_no.length
125
+          var birth = ''
126
+          if (thisLen == 15) {
127
+            birth = '19' + val.id_card_no.substr(6, 6)
128
+          } else {
129
+            birth = val.id_card_no.substr(6, 8)
130
+          }
131
+          var birthtwo =
132
+            birth.substr(0, 4) +
133
+            '-' +
134
+            birth.substr(4, 2) +
135
+            '-' +
136
+            birth.substr(6, 2)
137
+
138
+          var age = jsGetAge(birthtwo, '-')
139
+          return age
140
+      },
141
+      bianji(){
142
+        this.dialogVisible=true
143
+      },
144
+      show(val){
145
+
146
+       if(val!=null){
147
+        console.log("valw233223",val)
148
+         if(val.content!=""){
149
+           this.content = ""
150
+           this.content = val.content
151
+         }
152
+
153
+       }
154
+     },
155
+      saveTherapyInformed(){
156
+         var params = {
157
+          content:this.$refs.editor.content
158
+         }
159
+        saveTherapyInformed(params).then(response=>{
160
+
161
+          if(response.data.state ==1){
162
+            var list = response.data.data.list
163
+            this.$message.success("保存成功!")
164
+            this.dialogVisible = false
165
+            this.$emit("getTherapyInformed","");
166
+          }
167
+        })
168
+      }
169
+
170
+  },
171
+  created(){
172
+    this.orgname = this.$store.getters.xt_user.org.org_name;
173
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
174
+       this.content = ""
175
+       this.content = this.therapyinformePrint.content
176
+    }
177
+    this.getlist()
178
+    this.org_id = this.$store.getters.xt_user.org.id
179
+  }
180
+}
181
+</script>
182
+<style lang="scss" scoped>
183
+
184
+*{
185
+  // margin: 0;
186
+  // padding: 0;
187
+  border: 0;
188
+}
189
+  .content{
190
+      p{
191
+        font-size: 16px;
192
+        font-family: '新宋体';
193
+        line-height: 22px;
194
+        // padding-left: 20px;
195
+        // margin-bottom: 5px;
196
+        text-align: justify;
197
+      }
198
+  }
199
+  .print_page_main_content {
200
+    background-color: white;
201
+    width: 100%;
202
+    padding: 0 0 0 0;
203
+    page-break-after: always;
204
+  }
205
+  .table tr{
206
+    page-break-inside:avoid
207
+  }
208
+  .table tr td{
209
+    border: 1px solid black;
210
+    // text-align: center;
211
+    // align-items: center;
212
+  }
213
+</style>

+ 210 - 0
src/xt_pages/user/Informed/components/informef_Twentysevre.vue Bestand weergeven

@@ -0,0 +1,210 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">动静脉内瘘护理宣教单</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">动静脉内瘘护理宣教单</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p style="text-indent: 2rem;"><span>动静脉内痿是指动静脉在皮下吻合建立的血管通路,包括直接动脉内瘘和移植动静脉内瘘。动静脉内痿的建立能确保病人进行长期透析治疗,是透析病人的“生命线”。</span></p>
54
+<p><span style="font-size: 16px;font-weight: bold;">动静脉内瘘的优点:</span></p>
55
+<p><span>1、易于反复建立血液透析血流通路。</span><br/>
56
+<span>2、保持长期的功能,不必经常手术。</span><br/>
57
+<span>3、并发症少,感染率低。使透析治疗更方便、安全。使用时间长,对日常活动影响小。</span><br/>
58
+<span>4、可降低医疗费用,减少患者的经济负担。</span></p>
59
+<p><span style="font-size: 16px;font-weight: bold;">动静脉内瘘护理的注意事项:</span></p>
60
+<p><span>1、动静脉内瘘的患者仍可从事一般性的日常工作和家务劳动,但内瘘侧手臂要避免提重物(>2.5kg);不能受压,不能佩戴手表及饰物;夜间睡觉不要将内瘘侧手臂垫于枕后,避免侧卧于内瘘手臂侧。</span><br/>
61
+<span>2、保持内瘘手臂的皮肤清洁,每次透析前清洗内瘘侧手臂。</span><br/>
62
+<span>3、内瘘手臂不可用于输液、抽血、输血、输注药物,不能测量血压,以免影响内瘘的使用寿命。</span><br/>
63
+<span>4、患者每天至少2次(早上睡醒、晚上睡前)自我检査动静脉内瘘是否通畅,可将造瘘口放置耳边听到血管杂音或用手扪及造瘘口震颤说明通畅。身体不适时(腹泻、发热等)、透析过程中有低血压发生时或在家自测血压低时应增加检查内瘘次数。</span><br/>
64
+<span>5、透析后 24 小时:(1)可手握橡皮圈小软球进行内瘘锻炼,每日 10-20次,每次 5-10分钟。(2)热敷(不要用热水袋直接压在内瘘上)。(3)外涂喜疗妥软膏。</span><br/>
65
+<span>6、透析结束当天穿刺部位不能接触到水,新瘘1小时后揭开纱块粒,贴上止血贴(4小时以上),如仍有出血,继续用纱块粒轻轻按压(以扪及震颤又不出血为宜)。透析后若穿刺口及周围出现出血肿胀,可压迫止血,24小时内予冰敷,24小时后热敷(不要用热水袋直接压在内瘘上),也可用马铃薯薄片敷肿胀部位。内瘘出现红、肿、热、痛或皮肤有损伤时禁止热敷。</span><br/>
66
+<span>7、最好经常佩戴护腕带,以防外伤引起大出血和避免内瘘继续扩张及意外破裂。但护腕带松紧要适宜,不能过紧导致内瘘堵塞。</span><br/>
67
+<span>8、初次行动静脉内瘘穿刺时,下机后要等待30分钟护士看过没有皮下渗血后离开。</span></p>
68
+<p><span style="font-size: 16px;font-weight: bold;">出现以下情况,请立即回医院处理:</span></p>
69
+<p><span>1、穿刺口持续渗血,反复按压无效。</span><br/>
70
+<span>2、穿刺口有渗液、脓性分泌物,局部出现红、肿、热、痛。</span><br/>
71
+<span>3、若出现造瘘口突然疼痛,有可能是内瘘出现堵塞,立即检查内瘘震颤情况,并联系血透医生。</span><br/>
72
+<span>4、如遇内瘘震颤音消失、外伤或破损立即用纱块或干净布压迫出血点止血。并联系血透医生,立即回医院处理。</span></p>
73
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
74
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;病人签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;护士签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
75
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
76
+export default{
77
+  props: {
78
+    patient_id: {
79
+        type: Number,
80
+      },
81
+      therapyinformePrint:{
82
+        type:Object,
83
+      }
84
+   },
85
+  components:{
86
+    Editor
87
+  },
88
+  data(){
89
+    return{
90
+      patient:{},
91
+      org_id:0,
92
+      dialogVisible:false,
93
+      content:content,
94
+      orgname:'',
95
+    }
96
+  },
97
+  methods:{
98
+     getlist(){
99
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
100
+          if(response.data.state == 1){
101
+            var patient =  response.data.data.patients
102
+            console.log("patinet",patient)
103
+            this.patient =patient
104
+          }
105
+        })
106
+      },
107
+      printThisPage(){
108
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
109
+          printJS({
110
+              printable: 'print_content',
111
+              type: 'html',
112
+              documentTitle: '  ',
113
+              style: style,
114
+              scanStyles: false
115
+          })
116
+      },
117
+      getAge: function(val) {
118
+          if (val.id_card_no == undefined) {
119
+            return false
120
+          }
121
+          var thisLen = val.id_card_no.length
122
+          var birth = ''
123
+          if (thisLen == 15) {
124
+            birth = '19' + val.id_card_no.substr(6, 6)
125
+          } else {
126
+            birth = val.id_card_no.substr(6, 8)
127
+          }
128
+          var birthtwo =
129
+            birth.substr(0, 4) +
130
+            '-' +
131
+            birth.substr(4, 2) +
132
+            '-' +
133
+            birth.substr(6, 2)
134
+
135
+          var age = jsGetAge(birthtwo, '-')
136
+          return age
137
+      },
138
+      bianji(){
139
+        this.dialogVisible=true
140
+      },
141
+      show(val){
142
+
143
+       if(val!=null){
144
+        console.log("valw233223",val)
145
+         if(val.content!=""){
146
+           this.content = ""
147
+           this.content = val.content
148
+         }
149
+
150
+       }
151
+     },
152
+      saveTherapyInformed(){
153
+         var params = {
154
+          content:this.$refs.editor.content
155
+         }
156
+        saveTherapyInformed(params).then(response=>{
157
+
158
+          if(response.data.state ==1){
159
+            var list = response.data.data.list
160
+            this.$message.success("保存成功!")
161
+            this.dialogVisible = false
162
+            this.$emit("getTherapyInformed","");
163
+          }
164
+        })
165
+      }
166
+
167
+  },
168
+  created(){
169
+    this.orgname = this.$store.getters.xt_user.org.org_name;
170
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
171
+       this.content = ""
172
+       this.content = this.therapyinformePrint.content
173
+    }
174
+    this.getlist()
175
+    this.org_id = this.$store.getters.xt_user.org.id
176
+  }
177
+}
178
+</script>
179
+<style lang="scss" scoped>
180
+
181
+*{
182
+  // margin: 0;
183
+  // padding: 0;
184
+  border: 0;
185
+}
186
+  .content{
187
+      p{
188
+        font-size: 16px;
189
+        font-family: '新宋体';
190
+        line-height: 22px;
191
+        // padding-left: 20px;
192
+        // margin-bottom: 5px;
193
+        text-align: justify;
194
+      }
195
+  }
196
+  .print_page_main_content {
197
+    background-color: white;
198
+    width: 100%;
199
+    padding: 0 0 0 0;
200
+    page-break-after: always;
201
+  }
202
+  .table tr{
203
+    page-break-inside:avoid
204
+  }
205
+  .table tr td{
206
+    border: 1px solid black;
207
+    // text-align: center;
208
+    // align-items: center;
209
+  }
210
+</style>

+ 202 - 0
src/xt_pages/user/Informed/components/informef_Twentysix.vue Bestand weergeven

@@ -0,0 +1,202 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">血液净化中心饮食宣教单</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">血液净化中心饮食宣教单</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p><span style="font-size: 16px;font-weight: bold;">饮食建议原则:</span>按体重摄入适量蛋白、控制脂肪的过多摄入、每天足够的碳水化合物摄取、控制水钠过多摄入、控制高钾、高磷食物的摄取、适当补充维生素等。<span>静脉留置导管是指从颈或股静脉穿刺置入的静脉导管。包括长期留置导管和临时留置导管。</span></p>
54
+<p><span style="font-size: 16px;font-weight: bold;">蛋白质的摄入:</span>优质蛋白首选:鸡蛋、鱼、奶、奶制品、新鲜肉类、豆制品等。</p>
55
+<p><span style="font-size: 16px;font-weight: bold;">高钾血症表现:</span>四肢乏力、手足及口周感觉麻木等:心跳减慢、甚至心脏骤停。</p>
56
+<p><span style="font-size: 16px;font-weight: bold;">杨桃:含有某些成份,肾衰竭患者及透析肾友进食后,可致神经系统素乱甚至死亡!肾友切记不能吃!!!</span></p>
57
+<p><span style="font-size: 16px;font-weight: bold;">预防高钾血症:</span>1、蔬菜类可切成薄片,用水浸泡30分钟以上,并换水2-3次,或水煮3min(切碎后用热水滚过,弃水再用油炒)。2、加糖水煮后弃水,食果肉。3、超低温冷藏食品比新鲜食品含钾量少。4、不要用菜汤、肉汤拌饭,炒菜时不要用淀粉勾芡,不要饮用浓缩果汁、茶水。5、不要一次食用大量的水果,不要把几种高钾食物同时食用。6、减少吃含钾高的水果和食物,如:椰子汁、西梅、榴莲、芭蕉类,所有鲜果汁、芒果、大树菠萝、橘子、桔子。7、下列食品含钾质太高,亦应该避免进食;各种中国药材、咖啡、浓茶、代盐、朱古力及含有朱古力的饮品、咖喱粉。8、含钾质低的食物有:苹果、菠萝、甘蔗、鸭梨、西瓜、冬瓜、丝瓜、佛手瓜、西葫芦,如果进食过量,同样可以引起高钾血症。</p>
58
+<p><span style="font-size: 16px;font-weight: bold;">预防高磷血症</span>1、熬骨头汤或炖排骨时,应在清水中煮沸3min弃水后,再加水熬炖,可除去骨中磷。2、食物用水煮后弃去汤汁。3、按医嘱口服磷结合剂:酸钙(如:凯思立、钙尔奇)、氢氧化铝<span style="font-size: 16px;font-weight: bold;">(在吃饭时一起嘬碎食用!!。</span>4、按医嘱晚上睡前口服活性维生素D:如骨化三醇。5、定期复查生化指标和甲状旁腺素。</p>
59
+<p><span style="font-size: 16px;font-weight: bold;">高磷食物:</span>所有干果,生果干、硬壳果;芭蕉类、乌梅、朱古力。肉类、奶类、蛋类、动物内脏、豆类、全谷类、蘑菇、汽水、酵母粉、贝壳类、海鲜类。</p>
60
+<p><span style="font-size: 16px;font-weight: bold;">低磷食物:</span>冬瓜、胡萝卜、苹果、梨、粉丝、凉粉、海参。</p>
61
+<p><span style="font-size: 16px;font-weight: bold;">钠(盐)的摄入:</span>1、建议摄入量为2克/天,约相当于您的大拇指的指甲盖的大小。若每周透析3次,尿量大于1000毫升/天,盐的摄入应低于4克/天(一啤酒瓶盖量)。2、可以增加胡椒、姜、蒜丁香、辣椒、芥末、洋葱等调味。3、菜出锅时才撒一点盐花。4、不吃盐腌制的食物,如:酸菜、腌酸鸡脚、酸萝卜、酸黄瓜、酸荞头。5、话梅、加应子、陈皮、用盐炒过的硬壳果、果仁等食物含钠高,应该少吃。</p>
62
+<p><span style="font-size: 16px;font-weight: bold;">含钠高的食物:</span>咸肉、酱菜、榨菜、豆腐乳、腊肉、玉米片粥、、火腿、午餐肉、燕麦片、土豆片、椒盐卷饼、香肠、海藻、苏打饼干、酱油、番茄酱、皮蛋、板鸭、鲱鱼、香干、豆干、蜜饯、罐装的玉米、罐装的泡菜等食物。</p>
63
+<p><span style="font-size: 16px;font-weight: bold;">调理胃肠应做到如下几方面:</span>1、少量多餐,定时进食。2、食物品种合理:肉、纤维素合理搭配。3、养成每日定时排便习惯。4、便秘的处理:多吃粗纤维食物,遵医嘱用药:如大黄苏打片、甘油或石腊油10毫升、乳果糖口服液、开塞露。</p>
64
+<p><span style="font-size: 16px;font-weight: bold;">出现以下情况,请立即回医院处理:</span>1、出现高钾血症症状:四肢乏力、手足及口周感觉麻木,心跳减慢等。2、呼吸困难、不能平卧,紫绀、烦躁不安、冷汗。3、消化道出血:排黑便、血便,中枢神经系统症状:如神智恍惚,嗜睡,昏迷,抽搐,精神症状等。</p>
65
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
66
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;病人签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;护士签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
67
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
68
+export default{
69
+  props: {
70
+    patient_id: {
71
+        type: Number,
72
+      },
73
+      therapyinformePrint:{
74
+        type:Object,
75
+      }
76
+   },
77
+  components:{
78
+    Editor
79
+  },
80
+  data(){
81
+    return{
82
+      patient:{},
83
+      org_id:0,
84
+      dialogVisible:false,
85
+      content:content,
86
+      orgname:'',
87
+    }
88
+  },
89
+  methods:{
90
+     getlist(){
91
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
92
+          if(response.data.state == 1){
93
+            var patient =  response.data.data.patients
94
+            console.log("patinet",patient)
95
+            this.patient =patient
96
+          }
97
+        })
98
+      },
99
+      printThisPage(){
100
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
101
+          printJS({
102
+              printable: 'print_content',
103
+              type: 'html',
104
+              documentTitle: '  ',
105
+              style: style,
106
+              scanStyles: false
107
+          })
108
+      },
109
+      getAge: function(val) {
110
+          if (val.id_card_no == undefined) {
111
+            return false
112
+          }
113
+          var thisLen = val.id_card_no.length
114
+          var birth = ''
115
+          if (thisLen == 15) {
116
+            birth = '19' + val.id_card_no.substr(6, 6)
117
+          } else {
118
+            birth = val.id_card_no.substr(6, 8)
119
+          }
120
+          var birthtwo =
121
+            birth.substr(0, 4) +
122
+            '-' +
123
+            birth.substr(4, 2) +
124
+            '-' +
125
+            birth.substr(6, 2)
126
+
127
+          var age = jsGetAge(birthtwo, '-')
128
+          return age
129
+      },
130
+      bianji(){
131
+        this.dialogVisible=true
132
+      },
133
+      show(val){
134
+
135
+       if(val!=null){
136
+        console.log("valw233223",val)
137
+         if(val.content!=""){
138
+           this.content = ""
139
+           this.content = val.content
140
+         }
141
+
142
+       }
143
+     },
144
+      saveTherapyInformed(){
145
+         var params = {
146
+          content:this.$refs.editor.content
147
+         }
148
+        saveTherapyInformed(params).then(response=>{
149
+
150
+          if(response.data.state ==1){
151
+            var list = response.data.data.list
152
+            this.$message.success("保存成功!")
153
+            this.dialogVisible = false
154
+            this.$emit("getTherapyInformed","");
155
+          }
156
+        })
157
+      }
158
+
159
+  },
160
+  created(){
161
+    this.orgname = this.$store.getters.xt_user.org.org_name;
162
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
163
+       this.content = ""
164
+       this.content = this.therapyinformePrint.content
165
+    }
166
+    this.getlist()
167
+    this.org_id = this.$store.getters.xt_user.org.id
168
+  }
169
+}
170
+</script>
171
+<style lang="scss" scoped>
172
+
173
+*{
174
+  // margin: 0;
175
+  // padding: 0;
176
+  border: 0;
177
+}
178
+  .content{
179
+      p{
180
+        font-size: 16px;
181
+        font-family: '新宋体';
182
+        line-height: 22px;
183
+        // padding-left: 20px;
184
+        // margin-bottom: 5px;
185
+        text-align: justify;
186
+      }
187
+  }
188
+  .print_page_main_content {
189
+    background-color: white;
190
+    width: 100%;
191
+    padding: 0 0 0 0;
192
+    page-break-after: always;
193
+  }
194
+  .table tr{
195
+    page-break-inside:avoid
196
+  }
197
+  .table tr td{
198
+    border: 1px solid black;
199
+    // text-align: center;
200
+    // align-items: center;
201
+  }
202
+</style>

+ 3 - 3
src/xt_pages/workforce/scheduleTablePrintTwo.vue Bestand weergeven

@@ -5,12 +5,12 @@
5 5
         <el-button type="primary" @click="touping">{{ Screencasting == true ? '取消投屏' : '投屏' }}</el-button>
6 6
         <el-button type="primary" @click="printAction">打印</el-button>
7 7
       </div>
8
-      <div class="tab" style="margin-top: 10px;" v-if="org_id!=10742&&org_id !=0">
8
+      <div class="tab" style="margin-top: 10px;" v-if="org_id!=10742">
9 9
         <table id="scheduleTable" class="scheduleTable" border="1" cellspacing="0" 
10 10
           style='width: 100%;table-layout:fixed;text-align: center;word-break: break-all;word-wrap: break-word;font-weight: 500;'>
11 11
           <tr>
12
-            <td rowspan="2" >分区</td>
13
-            <td rowspan="2" >机号</td>
12
+            <td rowspan="2" width="100">分区</td>
13
+            <td rowspan="2" width="100">机号</td>
14 14
             <td colspan="3" v-if="first_day == 1">周一({{ weekTitle[0] }})</td>
15 15
             <td colspan="3" v-if="second_day == 2">周二({{ weekTitle[1] }})</td>
16 16
             <td colspan="3" v-if="three_day == 3">周三({{ weekTitle[2] }})</td>