ソースを参照

12月9 病程

yq1 4 ヶ月 前
コミット
074e68000b
共有1 個のファイルを変更した190 個の追加287 個の削除を含む
  1. 190 287
      src/xt_pages/user/text_content.vue

+ 190 - 287
src/xt_pages/user/text_content.vue ファイルの表示

@@ -1,143 +1,7 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <table border="1" class="table" style="border-collapse: collapse;width: 100%;">
4
-      <tr>
5
-        <th colspan="7" style="padding: 5px;">透析阶段小结(2024-12-01~2024-12-31)</th>
6
-      </tr>
7
-      <tr>
8
-        <td width="150" style="padding: 5px;">基本信息</td>
9
-        <td style="padding: 5px;" colspan="6">
10
-          <span>姓名:朱康林</span>  <span>性别:男</span>  <span>年龄:58</span>  <span>透析号:21000005</span>
11
-        </td>
12
-      </tr>
13
-      <tr>
14
-        <td style="align-items: center;padding: 5px;">透析处方</td>
15
-        <td colspan="6" style='padding:5px'>
16
-          <p style='font-weight: bold;'>总次数:1次;</p>
17
-          <p style='margin-bottom: 10px;' >其中HD1次,平均4.00小时/次,使用空心纤维血液透析器B-18BHF(B-18BHF);</p>
18
-          <p style='font-weight: bold;'>总次数:1次;</p>
19
-          <p style='margin-bottom: 10px;'>钾:2.0mmol/L;钙:1.5mmol/L;碳酸氢根:32mmol/L;处方钠:138~138mmol/L</p>
20
-          <p style='font-weight: bold;'>抗凝方式:</p>
21
-          <p >低分子肝素,剂量:3500.00~3500.00IU;</p>
22
-        </td>
23
-      </tr>
24
-      <tr>
25
-        <td style="align-items: center;padding: 5px;">透析情况</td>
26
-        <td colspan="6" style='padding:5px'>
27
-          <p>透析间期平均体重增加:2.90kg;</p>
28
-          <p>凝血:透析器-0度(1次);</p>
29
-          <p>平均血流量:250.00mL/min;最大血流量:250mL/min;</p>
30
-          <p>平均超滤量:2900.00ml/次;平均超滤率:9.84mL/kg/h;</p>
31
-          <p>
32
-            <span style='font-weight: bold;'>透前血压:</span>&nbsp;<span class="">收缩压:174~174mmHg;舒张压:69~69mmHg;</span>
33
-          </p>
34
-          <p>
35
-            <span style='font-weight: bold;'>透后血压:</span>&nbsp;<span class="">收缩压:155~155mmHg;舒张压:87~87mmHg;</span>
36
-          </p>
37
-          <p>
38
-            <span style='font-weight: bold;'>透中最低血压:</span>&nbsp;<span class="">收缩压:148~148mmHg;舒张压:56~56mmHg;</span>
39
-          </p>
40
-          <p>
41
-            <span style='font-weight: bold;'>透中最高血压:</span>&nbsp;<span class="">收缩压:175~175mmHg;舒张压:87~87mmHg;</span>
42
-          </p>
43
-        </td>
44
-      </tr>
45
-      <tr>
46
-        <td style="align-items: center;padding: 5px;">干体重</td>
47
-        <td colspan="6" style='padding: 5px;'>
48
-          <p>
49
-            <span style='font-weight: bold;'>当前干体重:</span>&nbsp;<span class="">73.7kg;</span>
50
-          </p>
51
-          <p>
52
-            <span style='font-weight: bold;'>调整记录:</span>&nbsp;<span class="">无</span>
53
-          </p>
54
-        </td>
55
-      </tr>
56
-      <tr>
57
-        <td style="align-items: center;padding: 5px;">血管通路</td>
58
-        <td colspan="6" style='padding: 5px;'>
59
-          <p>
60
-            <span style='font-weight: bold;'>使用的血管通路:</span>&nbsp;<span class="">${ this.ceshi } &nbsp;&nbsp;建立时间:${ this.ceshi }</span>
61
-          </p>   
62
-        </td>
63
-      </tr>
64
-      <tr>
65
-        <td style="align-items: center;padding: 5px;">合并症/并发症</td>
66
-        <td colspan="6" style='padding: 5px;'>
67
-          <p>
68
-            <span style='font-weight: bold;'>合并症:</span>&nbsp;<span class="">无</span>
69
-          </p>
70
-          <p>
71
-            <span style='font-weight: bold;'>透析并发症:</span>&nbsp;<span class="">无</span>
72
-          </p>
73
-        </td>
74
-      </tr>
75
-      <tr>
76
-        <td style="align-items: center;padding: 5px;">检验结果</td>
77
-        <td colspan="6" style='padding: 5px;'>
78
-          <span class="">无</span>
79
-        </td>
80
-      </tr>
81
-      <tr>
82
-        <td style="align-items: center;padding: 5px;">检查结果</td>
83
-        <td colspan="6" style='padding: 5px;'>
84
-          <span class="">无</span>
85
-        </td>
86
-      </tr>
87
-      <tr>
88
-        <td style="align-items: center;padding: 5px;">医嘱用药</td>
89
-        <td colspan="6" style="padding: 0;">
90
-          <p style="display: flex;text-align: center;border-bottom: 1px solid black;">
91
-            <span style="width: 30%;display: inline-block;padding: 5px;border-right: 1px solid black;">药物名称</span>
92
-            <span style="width:20% ;display: inline-block;border-right: 1px solid black;">医嘱类型</span>
93
-            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">开始时间</span>
94
-            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">单次用量</span>
95
-            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">执行频率</span>
96
-            <span style="width: 10%;display: inline-block;">状态</span>
97
-          </p>
98
-          <p v-for="(item,index) in num" :key="index" style="display: flex;text-align: center;border-bottom: 1px solid black;">
99
-            <span style="width: 30%;display: inline-block;text-align: left;border-right: 1px solid black;">{{ item }}</span>
100
-            <span style="width:20% ;display: inline-block;border-right: 1px solid black;padding: 5px;">{{ item }}</span>
101
-            <span style="width: 20%;display: inline-block; border-right: 1px solid black;">{{ item }}</span>
102
-            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">{{ item }}</span>
103
-            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">执行频率</span>
104
-            <span style="width: 10%;display: inline-block;">状态</span>
105
-          </p>
106
-    
107
-        </td> 
108
-      </tr>
109
-      <tr>
110
-        <td style="align-items: center;padding: 5px;">透析总评价和建议</td>
111
-        <td colspan="6" style='padding: 5px;'>
112
-          <p class="">1、血压控制不良,随时监测血压,并加用口服降压药,将血压控制在正常范围;</p>
113
-          <p class="">2、透析间期体重增加稳定,继续保持;</p>
114
-          <p class="">3、血液透析时血流量达标,注意保护内瘘避免狭窄;</p>
115
-        </td>
116
-      </tr>
117
-      <tr>
118
-        <td style="align-items: center;padding: 5px;">医师签名</td>
119
-        <td></td>
120
-      </tr>
121
-    </table> -->
3
+ 
122 4
     <div v-html="content" id="editer"></div>
123
-    <!-- <table border="1" style="border-collapse:collapse ;width: 100%;text-align: center;">
124
-                    <tr>
125
-                      <th style='padding: 5px;'>药物名称</th>
126
-                      <th style='padding: 5px;'>医嘱类型</th>
127
-                      <th style='padding: 5px;'>开始时间</th>
128
-                      <th style='padding: 5px;'>单次用量</th>
129
-                      <th style='padding: 5px;'>执行频率</th>
130
-                      <th style='padding: 5px;'>状态</th>
131
-                    </tr>
132
-                    <tr>
133
-                      <td style='padding: 5px;'>血液透析</td>
134
-                      <td style='padding: 5px;'>长期医嘱</td>
135
-                      <td style='padding: 5px;'>2021-11-06</td>
136
-                      <td style='padding: 5px;'>项</td>
137
-                      <td style='padding: 5px;'>一周三次</td>
138
-                      <td style='padding: 5px;'></td>
139
-                    </tr>
140
-                  </table> -->
141 5
   </div>
142 6
 </template>
143 7
 
@@ -185,9 +49,15 @@ export default{
185 49
       content:'',
186 50
       ceshi:111111,
187 51
       num:6,
52
+      show:true,
188 53
       tab:[{id:1,name:'人促红注射液',type:'长期医嘱',start:'2024-12-04',dosage:"3000iu",pinlv:'一周三次',status:''},
189 54
             {id:2,name:'人促红注射液2',type:'长期医嘱',start:'2024-12-05',dosage:"3000iu",pinlv:'一周三次',status:''}, 
190
-        ],
55
+      ],
56
+      Inspect:[{id:1,name:'血常规',date:'2024-12-09',left:[{c_id:1,c_name:'血红蛋白',c_value:110},{c_id:2,c_name:'血红蛋白2',c_value:110}],
57
+            right:[{c_id:1,c_name:'白细胞1',c_value:110},{c_id:2,c_name:'白细胞3',c_value:110}]},
58
+            {id:2,name:'血常规',date:'2024-12-09',left:[{c_id:1,c_name:'血红蛋白',c_value:110},{c_id:2,c_name:'血红蛋白2',c_value:110}],
59
+            right:[{c_id:1,c_name:'白细胞1',c_value:110},{c_id:2,c_name:'白细胞3',c_value:110}]}
60
+      ],
191 61
        name:"",
192 62
        gander:"",
193 63
        age:0,
@@ -210,8 +80,6 @@ export default{
210 80
     // this.$nextTick(()=>{
211 81
       this.getAutoPatientContent()
212 82
     // })
213
-    
214
-    
215 83
     // const contents = `<table border="1" class="table" style="border-collapse: collapse;width: 100%;">
216 84
     //           <tr>
217 85
     //             <th colspan="2" style="padding: 5px;">透析阶段小结(${this.start_date}~${this.end_date})</th>
@@ -327,6 +195,104 @@ export default{
327 195
   },
328 196
   beforeMount(){
329 197
     console.log('vvvvvvvvvvvv',this.num);
198
+    // const contents = `<table border="1" class="table" style="border-collapse: collapse;width: 100%;">
199
+    //           <tr>
200
+    //             <th colspan="4" style="padding: 5px;">透析阶段小结(${this.start_date}~${this.end_date})</th>
201
+    //           </tr>
202
+    //           <tr>
203
+    //             <td width="130" style="padding: 5px;">基本信息</td>
204
+    //             <td colspan="3" style="padding: 5px;">
205
+    //               <span>姓名:${this.num}</span>  <span>性别:</span>  <span>年龄:</span>  <span>透析号:</span>
206
+    //             </td>
207
+    //           </tr>
208
+    //           <tr>
209
+    //             <td style="align-items: center;padding: 5px;">透析处方</td>
210
+    //             <td colspan="3" style='padding:5px'>
211
+    //               <p style='font-weight: bold;'>总次数: ;</p>
212
+    //               <p style='margin-bottom: 10px;' >其中;</p>
213
+    //               <p style='margin-bottom: 10px;'></p>
214
+    //               <p style='font-weight: bold;'>抗凝方式:</p>
215
+    //               <p >低分子肝素,剂量:3500.00~3500.00IU;</p>
216
+    //             </td>
217
+    //           </tr>
218
+    //           <tr>
219
+    //             <td style="align-items: center;padding: 5px;">透析情况</td>
220
+    //             <td colspan="3" style='padding:5px'>
221
+    //               <p>透析间期平均体重增加:2.90kg;</p>
222
+    //               <p>凝血:透析器-0度(1次);</p>
223
+    //               <p>平均血流量:250.00mL/min;最大血流量:250mL/min;</p>
224
+    //               <p>平均超滤量:2900.00ml/次;平均超滤率:9.84mL/kg/h;</p>
225
+    //               <p><span style='font-weight: bold;'>透前血压:</span>&nbsp;<span class="">收缩压:174~174mmHg;舒张压:69~69mmHg;</span></p>
226
+    //               <p><span style='font-weight: bold;'>透后血压:</span>&nbsp;<span class="">收缩压:155~155mmHg;舒张压:87~87mmHg;</span></p>
227
+    //               <p><span style='font-weight: bold;'>透中最低血压:</span>&nbsp;<span class="">收缩压:148~148mmHg;舒张压:56~56mmHg;</span></p>
228
+    //               <p><span style='font-weight: bold;'>透中最高血压:</span>&nbsp;<span class="">收缩压:175~175mmHg;舒张压:87~87mmHg;</span></p>
229
+    //             </td>
230
+    //           </tr>
231
+    //           <tr>
232
+    //             <td style="align-items: center;padding: 5px;">干体重</td>
233
+    //             <td colspan="3" style='padding: 5px;'>
234
+    //               <p>
235
+    //                 <span style='font-weight: bold;'>当前干体重:</span>&nbsp;<span class="">73.7kg;</span>
236
+    //               </p>
237
+    //               <p>
238
+    //                 <span style='font-weight: bold;'>调整记录:</span>&nbsp;<span class="">无</span>
239
+    //               </p>
240
+    //             </td>
241
+    //           </tr>
242
+    //           <tr>
243
+    //             <td style="align-items: center;padding: 5px;">血管通路</td>
244
+    //             <td colspan="3" style='padding: 5px;'>
245
+    //               <p>
246
+    //                 <span style='font-weight: bold;'>使用的血管通路:</span>&nbsp;<span class="">${ this.ceshi } &nbsp;&nbsp;建立时间:${ this.ceshi }</span>
247
+    //               </p>   
248
+    //             </td>
249
+    //           </tr>
250
+    //           <tr>
251
+    //             <td style="align-items: center;padding: 5px;">合并症/并发症</td>
252
+    //             <td colspan="3" style='padding: 5px;'>
253
+    //               <p>
254
+    //                 <span style='font-weight: bold;'>合并症:</span>&nbsp;<span class="">无</span>
255
+    //               </p>
256
+    //               <p>
257
+    //                 <span style='font-weight: bold;'>透析并发症:</span>&nbsp;<span class="">无</span>
258
+    //               </p>
259
+    //             </td>
260
+    //           </tr>
261
+    //           <tr>
262
+    //             <td style="align-items: center;padding: 5px;">检验结果</td>
263
+    //             <td colspan="3" style='padding: 5px;'>
264
+    //               <span class="">无</span>
265
+    //             </td>
266
+    //           </tr>
267
+    //           <tr>
268
+    //             <td style="align-items: center;padding: 5px;">检查结果</td>
269
+    //             <td ></td>
270
+                
271
+    //           </tr>
272
+    //           <tr>
273
+    //             <td style="align-items: center;padding: 5px;">医嘱用药</td>
274
+    //             <td colspan="3" class='' style="padding: 0;">
275
+    //               <p style="display: flex;text-align: center;border-bottom: 1px solid black;">
276
+    //                 <span style="width: 30%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">药物名称</span><span style="width:20% ;display: inline-block;padding: 5px 0;border-right: 1px solid black;">医嘱类型</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">开始时间</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">单次用量</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">执行频率</span><span style="width: 10%;padding: 5px 0;display: inline-block;">状态</span></p>
277
+    //             </td>
278
+    //           </tr>
279
+              
280
+              
281
+    //           <tr>
282
+    //             <td style="align-items: center;padding: 5px;">透析总评价和建议</td>
283
+    //             <td colspan="3" style='padding: 5px;'>
284
+    //               <p class="">1、血压控制不良,随时监测血压,并加用口服降压药,将血压控制在正常范围;</p>
285
+    //               <p class="">2、透析间期体重增加稳定,继续保持;</p>
286
+    //               <p class="">3、血液透析时血流量达标,注意保护内瘘避免狭窄;</p>
287
+    //             </td>
288
+    //           </tr>
289
+    //           <tr>
290
+    //             <td style="align-items: center;padding: 5px;">医师签名</td>
291
+    //             <td colspan="3" style='padding: 5px;'>
292
+    //               <p class=""></p>
293
+    //             </td>
294
+    //           </tr>
295
+    //         </table>`
330 296
     
331 297
      const contents = `<table border="1" class="table" style="border-collapse: collapse;width: 100%;">
332 298
               <tr>
@@ -399,8 +365,8 @@ export default{
399 365
               </tr>
400 366
               <tr>
401 367
                 <td style="align-items: center;padding: 5px;">检查结果</td>
402
-                <td style='padding: 5px;'>
403
-                  <span class="">无</span>
368
+                <td>
369
+                  
404 370
                 </td>
405 371
               </tr>
406 372
               <tr>
@@ -432,110 +398,90 @@ export default{
432 398
   },
433 399
   mounted(){
434 400
     this.$nextTick(() =>{
435
-    // const contents = `<table border="1" class="table" style="border-collapse: collapse;width: 100%;">
436
-    //           <tr>
437
-    //             <th colspan="2" style="padding: 5px;">透析阶段小结(${this.start_date}~${this.end_date})</th>
438
-    //           </tr>
439
-    //           <tr>
440
-    //             <td width="130" style="padding: 5px;">基本信息</td>
441
-    //             <td style="padding: 5px;">
442
-    //               <span>姓名:${this.patient2.name}</span>  <span>性别:</span>  <span>年龄:</span>  <span>透析号:</span>
443
-    //             </td>
444
-    //           </tr>
445
-    //           <tr>
446
-    //             <td style="align-items: center;padding: 5px;">透析处方</td>
447
-    //             <td style='padding:5px'>
448
-    //               <p style='font-weight: bold;'>总次数: ;</p>
449
-    //               <p style='margin-bottom: 10px;' >其中;</p>
450
-    //               <p style='margin-bottom: 10px;'></p>
451
-    //               <p style='font-weight: bold;'>抗凝方式:</p>
452
-    //               <p >低分子肝素,剂量:3500.00~3500.00IU;</p>
453
-    //             </td>
454
-    //           </tr>
455
-    //           <tr>
456
-    //             <td style="align-items: center;padding: 5px;">透析情况</td>
457
-    //             <td style='padding:5px'>
458
-    //               <p>透析间期平均体重增加:2.90kg;</p>
459
-    //               <p>凝血:透析器-0度(1次);</p>
460
-    //               <p>平均血流量:250.00mL/min;最大血流量:250mL/min;</p>
461
-    //               <p>平均超滤量:2900.00ml/次;平均超滤率:9.84mL/kg/h;</p>
462
-    //               <p><span style='font-weight: bold;'>透前血压:</span>&nbsp;<span class="">收缩压:174~174mmHg;舒张压:69~69mmHg;</span></p>
463
-    //               <p><span style='font-weight: bold;'>透后血压:</span>&nbsp;<span class="">收缩压:155~155mmHg;舒张压:87~87mmHg;</span></p>
464
-    //               <p><span style='font-weight: bold;'>透中最低血压:</span>&nbsp;<span class="">收缩压:148~148mmHg;舒张压:56~56mmHg;</span></p>
465
-    //               <p><span style='font-weight: bold;'>透中最高血压:</span>&nbsp;<span class="">收缩压:175~175mmHg;舒张压:87~87mmHg;</span></p>
466
-    //             </td>
467
-    //           </tr>
468
-    //           <tr>
469
-    //             <td style="align-items: center;padding: 5px;">干体重</td>
470
-    //             <td style='padding: 5px;'>
471
-    //               <p>
472
-    //                 <span style='font-weight: bold;'>当前干体重:</span>&nbsp;<span class="">73.7kg;</span>
473
-    //               </p>
474
-    //               <p>
475
-    //                 <span style='font-weight: bold;'>调整记录:</span>&nbsp;<span class="">无</span>
476
-    //               </p>
477
-    //             </td>
478
-    //           </tr>
479
-    //           <tr>
480
-    //             <td style="align-items: center;padding: 5px;">血管通路</td>
481
-    //             <td style='padding: 5px;'>
482
-    //               <p>
483
-    //                 <span style='font-weight: bold;'>使用的血管通路:</span>&nbsp;<span class="">${ this.ceshi } &nbsp;&nbsp;建立时间:${ this.ceshi }</span>
484
-    //               </p>   
485
-    //             </td>
486
-    //           </tr>
487
-    //           <tr>
488
-    //             <td style="align-items: center;padding: 5px;">合并症/并发症</td>
489
-    //             <td style='padding: 5px;'>
490
-    //               <p>
491
-    //                 <span style='font-weight: bold;'>合并症:</span>&nbsp;<span class="">无</span>
492
-    //               </p>
493
-    //               <p>
494
-    //                 <span style='font-weight: bold;'>透析并发症:</span>&nbsp;<span class="">无</span>
495
-    //               </p>
496
-    //             </td>
497
-    //           </tr>
498
-    //           <tr>
499
-    //             <td style="align-items: center;padding: 5px;">检验结果</td>
500
-    //             <td style='padding: 5px;'>
501
-    //               <span class="">无</span>
502
-    //             </td>
503
-    //           </tr>
504
-    //           <tr>
505
-    //             <td style="align-items: center;padding: 5px;">检查结果</td>
506
-    //             <td style='padding: 5px;'>
507
-    //               <span class="">无</span>
508
-    //             </td>
509
-    //           </tr>
510
-    //           <tr>
511
-    //             <td style="align-items: center;padding: 5px;">医嘱用药</td>
512
-    //             <td  class='' style="padding: 0;">
513
-    //               <p style="display: flex;text-align: center;border-bottom: 1px solid black;">
514
-    //                 <span style="width: 30%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">药物名称</span><span style="width:20% ;display: inline-block;padding: 5px 0;border-right: 1px solid black;">医嘱类型</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">开始时间</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">单次用量</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">执行频率</span><span style="width: 10%;padding: 5px 0;display: inline-block;">状态</span></p>
515
-    //             </td>
516
-    //           </tr>
517
-              
518
-              
519
-    //           <tr>
520
-    //             <td style="align-items: center;padding: 5px;">透析总评价和建议</td>
521
-    //             <td style='padding: 5px;'>
522
-    //               <p class="">1、血压控制不良,随时监测血压,并加用口服降压药,将血压控制在正常范围;</p>
523
-    //               <p class="">2、透析间期体重增加稳定,继续保持;</p>
524
-    //               <p class="">3、血液透析时血流量达标,注意保护内瘘避免狭窄;</p>
525
-    //             </td>
526
-    //           </tr>
527
-    //           <tr>
528
-    //             <td style="align-items: center;padding: 5px;">医师签名</td>
529
-    //             <td style='padding: 5px;'>
530
-    //               <p class=""></p>
531
-    //             </td>
532
-    //           </tr>
533
-    //         </table>`
534
-    //         this.text = contents
535
-    // this.content = this.text
536 401
       console.log('document.getElementById(editer)',document.getElementById('editer').getElementsByTagName('tbody')[0].children[9]);
537 402
       
538 403
       const iframeDoc = document.getElementById('editer').getElementsByTagName('tbody')[0].children[9].children[1]
404
+      const jiancDoc = document.getElementById('editer').getElementsByTagName('tbody')[0].children[8].children[1]
405
+      console.log('document.getElementById(editer)1111',jiancDoc);
406
+      if(this.Inspect.length<1){
407
+        let newList = document.createElement('p');
408
+        newList.style.cssText = 'padding: 5px;'
409
+        newList.textContent = '无';
410
+        jiancDoc.appendChild(newList)
411
+      }else{
412
+        let newList = document.createElement('p');
413
+            newList.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
414
+            let newListItem1 = document.createElement('span');
415
+            newListItem1.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
416
+            let newListItem2 = document.createElement('span');
417
+            newListItem2.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
418
+            let newListItem3 = document.createElement('span');
419
+            newListItem3.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
420
+            let newListItem4 = document.createElement('span');
421
+            newListItem4.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
422
+            let newListItem5 = document.createElement('span');
423
+            newListItem5.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
424
+            let newListItem6 = document.createElement('span');
425
+            newListItem6.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;'
426
+            newListItem1.textContent = '检验项目';
427
+            newListItem2.textContent = '检验时间';
428
+            newListItem3.textContent = '检验内容';
429
+            newListItem4.textContent = '结果';
430
+            newListItem5.textContent = '检验内容';
431
+            newListItem6.textContent = '结果';
432
+            newList.appendChild(newListItem1);
433
+            newList.appendChild(newListItem2);
434
+            newList.appendChild(newListItem3);
435
+            newList.appendChild(newListItem4);
436
+            newList.appendChild(newListItem5);
437
+            newList.appendChild(newListItem6);
438
+            jiancDoc.appendChild(newList)
439
+        for(let i in this.Inspect){
440
+          let newList1 = document.createElement('p');
441
+          const child1 = document.createElement('p')
442
+          const child2 = document.createElement('p')
443
+          const child3 = document.createElement('p')
444
+          newList1.appendChild(child1);
445
+          newList1.appendChild(child2);
446
+          newList1.appendChild(child3);
447
+          newList1.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
448
+          child1.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;'
449
+          child2.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;flex-wrap: wrap;'
450
+          child3.style.cssText= 'width: 40%;display: inline-block;display: flex;flex-wrap: wrap;'
451
+
452
+          let newListItem1 = document.createElement('span');
453
+          newListItem1.style.cssText= 'flex:1;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
454
+          let newListItem2 = document.createElement('span');
455
+          newListItem2.style.cssText= 'flex:1;display: inline-block;padding: 5px 0;'
456
+          newListItem1.textContent = this.Inspect[i].name;
457
+          newListItem2.textContent = this.Inspect[i].date;
458
+          child1.appendChild(newListItem1);
459
+          child1.appendChild(newListItem2);
460
+          for(let j in this.Inspect[i].left){
461
+            let newListItem3 = document.createElement('span');
462
+            newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
463
+            let newListItem4 = document.createElement('span');
464
+            newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;'
465
+            newListItem3.textContent = this.Inspect[i].left[j].c_name;
466
+            newListItem4.textContent = this.Inspect[i].left[j].c_value;
467
+            child2.appendChild(newListItem3);
468
+            child2.appendChild(newListItem4);
469
+          }
470
+          for(let x in this.Inspect[i].right){
471
+            let newListItem5 = document.createElement('span');
472
+            newListItem5.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
473
+            let newListItem6 = document.createElement('span');
474
+            newListItem6.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
475
+            newListItem5.textContent = this.Inspect[i].right[x].c_name;
476
+            newListItem6.textContent = this.Inspect[i].right[x].c_value;
477
+            child3.appendChild(newListItem5);
478
+            child3.appendChild(newListItem6);
479
+          }
480
+          jiancDoc.appendChild(newList1)
481
+        }
482
+      }
483
+
484
+
539 485
       var newListArr =[]
540 486
       for(let j in this.tab){
541 487
         const obj={
@@ -583,50 +529,7 @@ export default{
583 529
     console.log("gander:",this.gander)
584 530
     console.log("age:",this.age)
585 531
     console.log("dialysis_no:",this.dialysis_no)
586
-    // console.log('document.getElementById3334',document.getElementById('editer'))
587
-    // const iframeDoc = document.getElementById('editer').getElementsByTagName('tbody')[0].children[9].children[1]
588
-    // var newListArr =[]
589
-    // for(let j in this.tab){
590
-    //   const obj={
591
-    //     id:this.tab[j].id,
592
-    //     newlist:'newList'+j
593
-    //   }
594
-    //   newListArr.push(obj) 
595
-    // }
596
-    // for(let i in this.tab){
597
-    //   for(let j in newListArr){
598
-    //     if(this.tab[i].id==newListArr[j].id){
599
-    //       let newList = document.createElement('p');
600
-    //       newList.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
601
-    //       let newListItem1 = document.createElement('span');
602
-    //       newListItem1.style.cssText= 'width: 30%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
603
-    //       let newListItem2 = document.createElement('span');
604
-    //       newListItem2.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
605
-    //       let newListItem3 = document.createElement('span');
606
-    //       newListItem3.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
607
-    //       let newListItem4 = document.createElement('span');
608
-    //       newListItem4.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
609
-    //       let newListItem5 = document.createElement('span');
610
-    //       newListItem5.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
611
-    //       let newListItem6 = document.createElement('span');
612
-    //       newListItem6.style.cssText= 'width: 10%;display: inline-block;padding: 5px 0;'
613
-    //       newListItem1.textContent = this.tab[i].name;
614
-    //       newListItem2.textContent = this.tab[i].type;
615
-    //       newListItem3.textContent = this.tab[i].start;
616
-    //       newListItem4.textContent = this.tab[i].dosage;
617
-    //       newListItem5.textContent = this.tab[i].pinlv;
618
-    //       newListItem6.textContent = this.tab[i].status;
619
-    //       newList.appendChild(newListItem1);
620
-    //       newList.appendChild(newListItem2);
621
-    //       newList.appendChild(newListItem3);
622
-    //       newList.appendChild(newListItem4);
623
-    //       newList.appendChild(newListItem5);
624
-    //       newList.appendChild(newListItem6);
625
-    //       iframeDoc.appendChild(newList)
626
-    //     }
627
-    //   }
628
-    // }
629
-    // this.$emit('new_content',this.content) 
532
+   
630 533
   },
631 534
   methods: {
632 535
     getAutoPatientContent(){