Selaa lähdekoodia

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

28169 7 kuukautta sitten
vanhempi
commit
7f03db63f7

+ 1 - 1
src/xt_pages/Dialysisanalysis/new_otherIndicators/index.vue Näytä tiedosto

@@ -49,7 +49,7 @@ export default {
49 49
       this.indicators = []
50 50
       getStatisticsList(params).then(response => {
51 51
         if (response.data.state == 1) {
52
-          this.indicators  =  this.indicators.concat(response.data.data.configurationlist)
52
+          // this.indicators  =  this.indicators.concat(response.data.data.configurationlist)
53 53
           console.log('444444444',this.indicators);
54 54
           for(let i = 0; i < this.indicators.length; i++){
55 55
             this.indicators[i]["check_type"] = 1

+ 17 - 13
src/xt_pages/Dialysisanalysis/weightblood/components/after_Blood.vue Näytä tiedosto

@@ -49,19 +49,19 @@
49 49
           <div class="echart" id="mychart"  style="width:100%;height:60vh"></div>
50 50
         </div>
51 51
 
52
-          <div style="position: fixed;right: 5%;top: 50vh;">
53
-            <el-popover
54
-              placement="left"
55
-              title="提示"
56
-              width="500"
57
-              trigger="click"
58
-              content="1. 统计时间段内所有患者每次透析时的年龄和透前血压,根据不同年龄的标准值计算达标率。
59
-                        2. 患者<60 岁的透前血压以收缩压<140 或舒张压<90 为达标值;患者≥60岁的透前血压以收缩压<160 或舒张压<90 为达标值。
60
-                        3. 控制率=(≥60 岁患者的达标例次+<60 岁患者的达标例次)/时间段内总例次 x100%。">
61
-              <img src="@/assets/img/xiang.png" alt="" style="height: 20px;width: 20px;" slot="reference">
62
-              <!-- <el-button slot="reference">click 激活</el-button> -->
63
-            </el-popover>
64
-          </div>
52
+        <div style="position: fixed;right: 5%;top: 50vh;">
53
+          <el-popover
54
+            placement="left"
55
+            title="提示"
56
+            width="500"
57
+            trigger="click"
58
+            content="1. 统计时间段内所有患者每次透析时的年龄和透前血压,根据不同年龄的标准值计算达标率。
59
+                      2. 患者<60 岁的透前血压以收缩压<140 或舒张压<90 为达标值;患者≥60岁的透前血压以收缩压<160 或舒张压<90 为达标值。
60
+                      3. 控制率=(≥60 岁患者的达标例次+<60 岁患者的达标例次)/时间段内总例次 x100%。">
61
+            <img src="@/assets/img/xiang.png" alt="" style="height: 20px;width: 20px;" slot="reference">
62
+            <!-- <el-button slot="reference">click 激活</el-button> -->
63
+          </el-popover>
64
+        </div>
65 65
       </div>
66 66
     </div>
67 67
 
@@ -130,6 +130,7 @@
130 130
               style="width: 100%;"
131 131
               :header-cell-style = "{'text-align':'center'}"
132 132
               :cell-style="{'text-align':'center'}"
133
+              v-loading="loading"
133 134
               height="380">
134 135
               <el-table-column
135 136
                 prop="index"
@@ -217,6 +218,7 @@ import html2canvas from "html2canvas"
217 218
         date_mode_options:[{value:1,label:'按周'},{value:2,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
218 219
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],
219 220
         status_id:"",
221
+        loading:false,
220 222
       }
221 223
     },
222 224
     methods:{
@@ -398,6 +400,7 @@ import html2canvas from "html2canvas"
398 400
           page:this.currentPage,
399 401
           limit:this.limit,
400 402
         }
403
+        this.loading =true
401 404
         Getbpdetail(params).then(response =>{
402 405
           if(response.data.state ==1){
403 406
             const list = response.data.data.list
@@ -419,6 +422,7 @@ import html2canvas from "html2canvas"
419 422
               this.total = response.data.data.total
420 423
             }
421 424
           }
425
+          this.loading =false
422 426
           console.log('55555透后',response);
423 427
         })
424 428
       },

+ 4 - 1
src/xt_pages/Dialysisanalysis/weightblood/components/before_Blood.vue Näytä tiedosto

@@ -130,6 +130,7 @@
130 130
               style="width: 100%;"
131 131
               :header-cell-style = "{'text-align':'center'}"
132 132
               :cell-style="{'text-align':'center'}"
133
+              v-loading="loading"
133 134
               height="380">
134 135
               <el-table-column
135 136
                 prop="index"
@@ -224,7 +225,7 @@ import html2canvas from "html2canvas"
224 225
         date_mode_options:[{value:1,label:'按周'},{value:2,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
225 226
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],
226 227
         status_id:"",
227
-
228
+        loading:false,
228 229
       }
229 230
     },
230 231
     methods:{
@@ -404,6 +405,7 @@ import html2canvas from "html2canvas"
404 405
           page:this.currentPage,
405 406
           limit:this.limit,
406 407
         }
408
+        this.loading =true
407 409
         Getbpdetail(params).then(response =>{
408 410
           console.log('Getbpdetail血压',response.data);
409 411
           if(response.data.state){
@@ -428,6 +430,7 @@ import html2canvas from "html2canvas"
428 430
             }
429 431
           }
430 432
           console.log('55555',response);
433
+          this.loading =false
431 434
         })
432 435
       },
433 436
       // 选择日期

+ 7 - 3
src/xt_pages/Dialysisanalysis/weightblood/components/blood_table.vue Näytä tiedosto

@@ -54,8 +54,8 @@
54 54
             </div>
55 55
             <div>
56 56
               统计类型:
57
-              <el-select v-model="blood_value" placeholder="请选择" style="width: 100px;">
58
-                <el-option :key="0" label="不限" :value="0"></el-option>
57
+              <el-select v-model="blood_value" placeholder="请选择" style="width: 150px;">
58
+                <!-- <el-option :key="0" label="不限" :value="0"></el-option> -->
59 59
                 <el-option
60 60
                   v-for="item in blood_options"
61 61
                   :key="item.value"
@@ -77,6 +77,7 @@
77 77
         <el-table :data="tableData" border style="width: 100%"
78 78
         :header-cell-style="{textAlign: 'center'}"
79 79
         :cell-style="{ textAlign: 'center' }"
80
+        v-loading="loading"
80 81
         height="380">
81 82
           <el-table-column
82 83
             prop="index"
@@ -186,7 +187,7 @@ import html2canvas from "html2canvas"
186 187
         total:0,
187 188
         tableData:[],
188 189
         status_value:1,
189
-        blood_value:0,
190
+        blood_value:1,
190 191
         status_options:[{value:1,label:'达标'},{value:2,label:'不达标'}],
191 192
         date_options:[{value:1,label:'最近七天'},{value:2,label:'本周'},{value:3,label:'上周'},{value:4,label:'本月'},
192 193
                       {value:5,label:'上月'},{value:6,label:'本年'},{value:7,label:'上一年'}
@@ -197,6 +198,7 @@ import html2canvas from "html2canvas"
197 198
 
198 199
 
199 200
         input:'',
201
+        loading:true
200 202
       }
201 203
     },
202 204
     methods:{
@@ -309,6 +311,7 @@ import html2canvas from "html2canvas"
309 311
           page:this.currentPage,
310 312
           limit:this.limit,
311 313
         }
314
+        this.loading =true
312 315
         Getbpdetail(params).then(response =>{
313 316
           if(response.data.state == 1){
314 317
             const list = response.data.data.list
@@ -336,6 +339,7 @@ import html2canvas from "html2canvas"
336 339
               this.total = response.data.data.total
337 340
             }
338 341
           }
342
+          this.loading =false
339 343
           console.log('77777血压表格',response);
340 344
         })
341 345
       },

+ 5 - 2
src/xt_pages/Dialysisanalysis/weightblood/components/dialyze_after.vue Näytä tiedosto

@@ -152,6 +152,7 @@
152 152
           <el-table :data="tableData" border style="width: 100%"
153 153
           :header-cell-style="{textAlign: 'center'}"
154 154
           :cell-style="{ textAlign: 'center' }"
155
+          v-loading="loading"
155 156
           height="380">
156 157
             <el-table-column
157 158
               prop="index"
@@ -255,7 +256,6 @@ import html2canvas from "html2canvas"
255 256
         dry_value:0,
256 257
         after_value:0,
257 258
         after_options:[],
258
-        Patient_name:'',
259 259
         date_options:[{value:1,label:'最近七天'},{value:2,label:'本周'},{value:3,label:'上周'},{value:4,label:'本月'},
260 260
                       {value:5,label:'上月'},{value:6,label:'本年'},{value:7,label:'上一年'}
261 261
         ],
@@ -266,6 +266,7 @@ import html2canvas from "html2canvas"
266 266
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],
267 267
 
268 268
         Patient_name:'',
269
+        loading:false,
269 270
       }
270 271
     },
271 272
     methods:{
@@ -505,6 +506,7 @@ import html2canvas from "html2canvas"
505 506
           page:this.currentPage,
506 507
           limit:this.limit,
507 508
         }
509
+        this.loading = true
508 510
         Getweightdetail(params).then(response =>{
509 511
           if(response.data.state == 1){
510 512
             const list = response.data.data.list
@@ -521,7 +523,7 @@ import html2canvas from "html2canvas"
521 523
                   dry_weight:item.dry_weight,
522 524
                   last_weight_after:item.last_weight_after,
523 525
                   weight_before:item.weight_before,
524
-                  weight_add:item.weight_add,
526
+                  weight_add:(item.weight_add*1).toFixed(2),
525 527
                   weight_after:item.weight_after
526 528
                 }
527 529
                 table.push(obj)
@@ -530,6 +532,7 @@ import html2canvas from "html2canvas"
530 532
               this.total = response.data.data.total
531 533
             }
532 534
           }
535
+          this.loading = false
533 536
           console.log('77777',response);
534 537
         })
535 538
       },

+ 5 - 1
src/xt_pages/Dialysisanalysis/weightblood/components/dry_denominator.vue Näytä tiedosto

@@ -153,6 +153,7 @@
153 153
           <el-table :data="tableData" border style="width: 100%"
154 154
           :header-cell-style="{textAlign: 'center'}"
155 155
           :cell-style="{ textAlign: 'center' }"
156
+          v-loading="loading"
156 157
           height="380">
157 158
             <el-table-column
158 159
               prop="index"
@@ -268,6 +269,7 @@ import html2canvas from "html2canvas"
268 269
 
269 270
 
270 271
         input:'',
272
+        loading:false
271 273
       }
272 274
     },
273 275
     methods:{
@@ -507,6 +509,7 @@ import html2canvas from "html2canvas"
507 509
           page:this.currentPage,
508 510
           limit:this.limit,
509 511
         }
512
+        this.loading = true
510 513
         Getweightdetail(params).then(response =>{
511 514
           if(response.data.state == 1){
512 515
             const list = response.data.data.list
@@ -523,7 +526,7 @@ import html2canvas from "html2canvas"
523 526
                   dry_weight:item.dry_weight,
524 527
                   last_weight_after:item.last_weight_after,
525 528
                   weight_before:item.weight_before,
526
-                  weight_add:item.weight_add,
529
+                  weight_add:(item.weight_add*1).toFixed(2),
527 530
                   weight_after:item.weight_after
528 531
                 }
529 532
                 table.push(obj)
@@ -531,6 +534,7 @@ import html2canvas from "html2canvas"
531 534
               this.tableData = table
532 535
               this.total = response.data.data.total
533 536
             }
537
+            this.loading = false
534 538
           }
535 539
           console.log('77777',response);
536 540
         })

+ 7 - 0
src/xt_pages/Dialysisanalysis/weightblood/components/dry_weight.vue Näytä tiedosto

@@ -129,6 +129,7 @@
129 129
               style="width: 100%;"
130 130
               :header-cell-style = "{'text-align':'center'}"
131 131
               :cell-style="{'text-align':'center'}"
132
+              v-loading="loading"
132 133
               height="380">
133 134
               <el-table-column
134 135
                 prop="index"
@@ -221,6 +222,7 @@ import html2canvas from "html2canvas"
221 222
         date_mode_options:[{value:1,label:'按周'},{value:2,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
222 223
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],
223 224
         status_id:"",
225
+        loading:false,
224 226
       }
225 227
     },
226 228
     methods:{
@@ -338,12 +340,15 @@ import html2canvas from "html2canvas"
338 340
       },
339 341
       // 查询
340 342
       sete_click(){
343
+        
341 344
         this.getecharts()
342 345
       },
343 346
       // 详情查询
344 347
       detil_click(){
348
+        
345 349
         this.currentPage =1
346 350
         this.getdetail(this.status_value)
351
+        
347 352
       },
348 353
        // 下载
349 354
       Download_click(){
@@ -405,6 +410,7 @@ import html2canvas from "html2canvas"
405 410
           page:this.currentPage,
406 411
           limit:this.limit,
407 412
         }
413
+        this.loading = true
408 414
         Getweightdetail(params).then(response =>{
409 415
           if(response.data.state ==1){
410 416
             const list = response.data.data.list
@@ -424,6 +430,7 @@ import html2canvas from "html2canvas"
424 430
               this.tableData = table
425 431
               this.total = response.data.data.total
426 432
             }
433
+            this.loading = false
427 434
           }
428 435
           console.log('555553333干体重',response);
429 436
         })

+ 5 - 2
src/xt_pages/Dialysisanalysis/weightblood/components/list_denominator.vue Näytä tiedosto

@@ -152,6 +152,7 @@
152 152
           <el-table :data="tableData" border style="width: 100%"
153 153
           :header-cell-style="{textAlign: 'center'}"
154 154
           :cell-style="{ textAlign: 'center' }"
155
+          v-loading="loading"
155 156
           height="380">
156 157
             <el-table-column
157 158
               prop="index"
@@ -265,8 +266,8 @@ import html2canvas from "html2canvas"
265 266
         date_mode_options:[{value:1,label:'按周'},{value:2,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
266 267
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],
267 268
 
268
-
269 269
         input:'',
270
+        loading:false,
270 271
       }
271 272
     },
272 273
     methods:{
@@ -510,6 +511,7 @@ import html2canvas from "html2canvas"
510 511
           page:this.currentPage,
511 512
           limit:this.limit,
512 513
         }
514
+        this.loading = true
513 515
         Getweightdetail(params).then(response =>{
514 516
           console.log('77777',response);
515 517
           if(response.data.state == 1){
@@ -527,7 +529,7 @@ import html2canvas from "html2canvas"
527 529
                   dry_weight:item.dry_weight,
528 530
                   last_weight_after:item.last_weight_after,
529 531
                   weight_before:item.weight_before,
530
-                  weight_add:item.weight_add,
532
+                  weight_add:(item.weight_add*1).toFixed(2),
531 533
                   weight_after:item.weight_after
532 534
                 }
533 535
                 table.push(obj)
@@ -535,6 +537,7 @@ import html2canvas from "html2canvas"
535 537
               this.tableData = table
536 538
               this.total = response.data.data.total
537 539
             }
540
+            this.loading = false
538 541
           }
539 542
 
540 543
         })

+ 6 - 2
src/xt_pages/Dialysisanalysis/weightblood/components/weight_table.vue Näytä tiedosto

@@ -92,6 +92,7 @@
92 92
         <el-table :data="tableData" border style="width: 100%"
93 93
           :header-cell-style="{textAlign: 'center'}"
94 94
           :cell-style="{ textAlign: 'center' }"
95
+          v-loading="loading"
95 96
           height="380">
96 97
             <el-table-column
97 98
               prop="index"
@@ -208,8 +209,9 @@ import html2canvas from "html2canvas"
208 209
         weight_value:0,
209 210
         dry_value:0,
210 211
         after_value:0,
212
+        loading:false
211 213
         // after_options:[],
212
-        Patient_name:'',
214
+
213 215
       }
214 216
     },
215 217
     methods:{
@@ -359,6 +361,7 @@ import html2canvas from "html2canvas"
359 361
           page:this.currentPage,
360 362
           limit:this.limit,
361 363
         }
364
+        this.loading = true
362 365
         Getweightdetail(params).then(response =>{
363 366
           if(response.data.state == 1){
364 367
             console.log('体重详情分析',response.data.data);
@@ -376,7 +379,7 @@ import html2canvas from "html2canvas"
376 379
                   dry_weight:item.dry_weight,
377 380
                   last_weight_after:item.last_weight_after,
378 381
                   weight_before:item.weight_before,
379
-                  weight_add:item.weight_add,
382
+                  weight_add:(item.weight_add*1).toFixed(2),
380 383
                   weight_after:item.weight_after
381 384
                 }
382 385
                 table.push(obj)
@@ -385,6 +388,7 @@ import html2canvas from "html2canvas"
385 388
               this.total = response.data.data.total
386 389
             }
387 390
           }
391
+          this.loading = false
388 392
           console.log('77777',response);
389 393
         })
390 394
       },

+ 1 - 1
src/xt_pages/Dialysisanalysis/weightblood/index.vue Näytä tiedosto

@@ -49,7 +49,7 @@ export default {
49 49
       this.indicators = []
50 50
       getStatisticsList(params).then(response => {
51 51
         if (response.data.state == 1) {
52
-          this.indicators  =  this.indicators.concat(response.data.data.configurationlist)
52
+          // this.indicators  =  this.indicators.concat(response.data.data.configurationlist)
53 53
           console.log('444444444',this.indicators);
54 54
           for(let i = 0; i < this.indicators.length; i++){
55 55
             this.indicators[i]["check_type"] = 1

+ 27 - 30
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue Näytä tiedosto

@@ -19,12 +19,10 @@
19 19
           class="print_page_main_content"
20 20
         >
21 21
           <div style="display: inline-block; width: 100%; text-align: center">
22
-            <div
23
-              class="order-yy-name"
24
-              style="
25
-                letter-spacing: 0;
22
+            <div class="order-yy-name"
23
+              style="letter-spacing: 0;
26 24
                 font-weight: 600;
27
-                font-size: 22px;
25
+                font-size: 25px;
28 26
                 display: inline-block;
29 27
               "
30 28
             >
@@ -32,59 +30,59 @@
32 30
             </div>
33 31
           </div>
34 32
           
35
-          <div class="row">
36
-            <div class="inline_block">
37
-              姓名
33
+          <div class="row" style="display: flex">
34
+            <div class="inline_block" style="flex: 1;">
35
+              姓名:
38 36
               <div class="under_line" style="width: 50px; text-align: center">
39 37
                 {{ record.patient.name }}
40 38
               </div>
41 39
             </div>
42
-            <div class="inline_block" style="margin-left: 10px">
43
-              性别
40
+            <div class="inline_block" style="flex: 1;">
41
+              性别:
44 42
               <div class="under_line" style="width: 30px; text-align: center">
45 43
                 {{ record.patient.gender == 1 ? "男" : "女" }}
46 44
               </div>
47 45
             </div>
48
-            <div class="inline_block" style="margin-left: 10px">
49
-              年龄
46
+            <div class="inline_block" style="flex: 1;">
47
+              年龄:
50 48
               <div class="under_line" style="width: 30px; text-align: center">
51 49
                 <!-- {{ record.patient.age }} -->
52 50
                 {{ getAge(record.patient) }}
53 51
               </div>
54 52
55 53
             </div>
56
-            <div class="inline_block" v-if="record.receive_assessment.condition!=1">
57
-                门诊
54
+            <div class="inline_block" v-if="record.receive_assessment.condition!=1" style="flex: 1;">
55
+                门诊:
58 56
                 <div class="under_line" style="width: 30px; text-align: center">
59 57
                   <check-box :checked="record.patient.source == 1"></check-box>
60 58
                 </div>
61 59
               </div>
62
-            <div class="inline_block" v-if="record.receive_assessment.condition==1">
63
-              住院
60
+            <div class="inline_block" v-if="record.receive_assessment.condition==1" style="flex: 1;">
61
+              住院:
64 62
               <div class="under_line" style="width: 30px; text-align: center">
65 63
                 <check-box :checked="record.patient.source == 1"></check-box>
66 64
               </div>
67 65
             </div>
68
-            <div class="inline_block">
69
-              病区
66
+            <div class="inline_block" style="flex: 1;">
67
+              病区:
70 68
               <div class="under_line" style="width: 50px; text-align: center">
71 69
                 {{ record.device_zone.name}}
72 70
               </div>
73 71
             </div>
74
-            <div class="inline_block">
75
-              床号
72
+            <div class="inline_block" style="flex: 1;">
73
+              床号:
76 74
               <div class="under_line" style="width: 50px; text-align: center">
77 75
                 {{ record.device_number.number }}
78 76
               </div>
79 77
             </div>
80
-            <div class="inline_block">
81
-              透析号
78
+            <div class="inline_block" style="flex: 1;">
79
+              透析号:
82 80
               <div class="under_line" style="width: 70px; text-align: center">
83 81
                 {{ record.patient.dialysis_no }}
84 82
               </div>
85 83
             </div>
86
-            <div class="inline_block" style="margin-left: 5px">
87
-              住院号
84
+            <div class="inline_block" style="flex: 1;">
85
+              住院号:
88 86
               <div
89 87
                 class="under_line"
90 88
                 style="width: 70px; text-align: left"
@@ -103,7 +101,7 @@
103 101
           </div>
104 102
           <div class="row">
105 103
             <div style="">
106
-              诊断
104
+              诊断:
107 105
               <div style="border-bottom: 1px solid black;width: 95%;text-align: left;word-break: break-all;
108 106
                   word-wrap: break-word;display: inline-block;white-space: unset;"
109 107
               >
@@ -1206,9 +1204,8 @@
1206 1204
                 </tr>
1207 1205
                 <tr>
1208 1206
                   <td>
1209
-                    <div class="row"
1210
-                      style="padding: 2px 0; line-height: 23px; display: flex"
1211
-                    >
1207
+                    <div class="row" style="padding: 2px 0; line-height: 23px; display: flex"
1208
+>
1212 1209
                       <div class="inline_block" style="flex: 1">
1213 1210
                         上机护士:
1214 1211
                         <div class="under_line"
@@ -1409,7 +1406,7 @@
1409 1406
 
1410 1407
                       <div class="inline_block" style="flex: 1">
1411 1408
                         上机时间
1412
-                        <div class="under_line" style="width: 80px; text-align: center">
1409
+                        <div class="under_line" style="width: 65%; text-align: center">
1413 1410
                           <span style="height: 30px;display: inline-block;"></span>
1414 1411
                           
1415 1412
                           <span v-if="record.dialysis_order !=null">
@@ -1420,7 +1417,7 @@
1420 1417
                       </div>
1421 1418
                       <div class="inline_block" style="flex: 1">
1422 1419
                         下机时间:
1423
-                        <div class="under_line" style="width: 80px; text-align: center">
1420
+                        <div class="under_line" style="width: 65%; text-align: center">
1424 1421
                           <span style="height: 30px; display: inline-block">
1425 1422
                           </span>
1426 1423
                           <span v-if="record.dialysis_order!=null">

+ 381 - 374
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue Näytä tiedosto

@@ -10,50 +10,50 @@
10 10
       >
11 11
         <div style="display: inline-block; width: 100%; text-align: center">
12 12
           <div class="order-yy-name"
13
-            style=" letter-spacing: 0;font-weight: 600;font-size: 22px;display: inline-block; "
13
+            style=" letter-spacing: 0;font-weight: 600;font-size: 25px;display: inline-block; "
14 14
           >
15 15
             {{ orgname }}
16 16
           </div>
17 17
           <div class="order-title"
18
-            style=" letter-spacing: 0; font-weight: 600; font-size: 22px;"
18
+            style=" letter-spacing: 0; font-weight: 600; font-size: 25px;"
19 19
           >
20 20
             血液净化治疗记录单
21 21
           </div>
22 22
         </div>
23
-        <div class="row">
24
-          <div class="inline_block">
25
-            姓名
23
+        <div class="row" style="display: flex">
24
+          <div class="inline_block" style="flex: 1;">
25
+            姓名:
26 26
             <div class="under_line" style="width: 50px; text-align: center">
27 27
               {{ patientInfo.name }}
28 28
             </div>
29 29
           </div>
30
-          <div class="inline_block" style="margin-left: 10px">
31
-            性别
30
+          <div class="inline_block" style="flex: 1;">
31
+            性别:
32 32
             <div class="under_line" style="width: 30px; text-align: center">
33 33
               {{ patientInfo_gender_1 ? "男" : "女" }}
34 34
             </div>
35 35
           </div>
36
-          <div class="inline_block" style="margin-left: 10px">
37
-            年龄
36
+          <div class="inline_block" style="flex: 1;">
37
+            年龄:
38 38
             <div class="under_line" style="width: 30px; text-align: center">
39 39
               {{ getAge(patientInfo) }}
40 40
             </div>
41 41
42 42
           </div>
43
-          <div class="inline_block" v-if="receiverTreatmentAccess.condition!=1">
44
-            门诊
43
+          <div class="inline_block" v-if="receiverTreatmentAccess.condition!=1" style="flex: 1;">
44
+            门诊:
45 45
             <div class="under_line" style="width: 30px; text-align: center">
46 46
               <check-box :checked="patientInfo_source_1"></check-box>
47 47
             </div>
48 48
           </div>
49
-          <div class="inline_block" v-if="receiverTreatmentAccess.condition==1">
50
-            住院
49
+          <div class="inline_block" v-if="receiverTreatmentAccess.condition==1" style="flex: 1;">
50
+            住院:
51 51
             <div class="under_line" style="width: 30px; text-align: center">
52 52
               <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
53 53
             </div>
54 54
           </div>
55
-          <div class="inline_block">
56
-            病区
55
+          <div class="inline_block" style="flex: 1;">
56
+            病区:
57 57
             <div class="under_line" style="width: 50px; text-align: center">
58 58
               <span v-if="receiverTreatmentAccess.condition != 1">{{
59 59
                 patientInfo.DialysisSchedule.device_zone.name
@@ -62,8 +62,8 @@
62 62
               }}</span>
63 63
             </div>
64 64
           </div>
65
-          <div class="inline_block">
66
-            床号
65
+          <div class="inline_block" style="flex: 1;">
66
+            床号:
67 67
             <div class="under_line" style="width: 50px; text-align: center">
68 68
               <span>{{
69 69
                 dialysisOrder &&
@@ -74,14 +74,14 @@
74 74
               }}</span>
75 75
             </div>
76 76
           </div>
77
-          <div class="inline_block">
78
-            透析号
77
+          <div class="inline_block" style="flex: 1;">
78
+            透析号:
79 79
             <div class="under_line" style="width: 70px; text-align: center">
80 80
               {{ patientInfo.dialysis_no }}
81 81
             </div>
82 82
           </div>
83
-          <div class="inline_block" style="margin-left: 5px;">
84
-            住院号
83
+          <div class="inline_block" style="flex: 1;">
84
+            住院号:
85 85
             <div class="under_line" style="width: 70px;text-align: left">
86 86
               {{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number :'/' }}
87 87
             </div>
@@ -89,7 +89,7 @@
89 89
         </div>
90 90
         <div class="row">
91 91
           <div style="">
92
-            诊断
92
+            诊断:
93 93
             <div style="border-bottom: 1px solid black; width: 95%; text-align: left;word-wrap: break-word;
94 94
                 white-space: inherit;display: inline-block;"
95 95
             >
@@ -976,9 +976,7 @@
976 976
                     </div>
977 977
                   </div>
978 978
 
979
-                  <div class="row"
980
-                    style="padding: 2px 0; line-height: 23px; display: flex"
981
-                  >
979
+                  <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
982 980
                     <div class="inline_block" style="flex: 1">
983 981
                       透后体重:
984 982
                       <div class="under_line"
@@ -1000,8 +998,7 @@
1000 998
 
1001 999
                     <div class="inline_block" style="flex: 1">
1002 1000
                       体重减少:
1003
-                      <div
1004
-                        class="under_line"
1001
+                      <div class="under_line"
1005 1002
                         style="width: 70px; text-align: center"
1006 1003
                       >
1007 1004
                         <!-- <span v-if="org_id!=10598 && org_id!=10551">{{
@@ -1102,46 +1099,46 @@
1102 1099
                   <div class="row"
1103 1100
                     style="padding: 2px 0; line-height: 23px; display: flex"
1104 1101
                   >
1105
-                    <div>
1106
-                      <div class="inline_block" style="flex: 1">
1107
-                        上机护士:
1108
-                        <div  class="under_line"
1109
-                          style="width: 90px; text-align: center"
1102
+                  
1103
+                    <div class="inline_block" style="flex: 1">
1104
+                      上机护士:
1105
+                      <div  class="under_line"
1106
+                        style="width: 90px; text-align: center"
1107
+                      >
1108
+                        <span
1109
+                          style="height: 30px; display: inline-block"
1110
+                          v-if="
1111
+                            setAdminUserES(
1112
+                              dialysisOrder == null
1113
+                                ? 0
1114
+                                : dialysisOrder.start_nurse
1115
+                            ) == ''
1116
+                          "
1110 1117
                         >
1111
-                          <span
1112
-                            style="height: 30px; display: inline-block"
1113
-                            v-if="
1114
-                              setAdminUserES(
1115
-                                dialysisOrder == null
1116
-                                  ? 0
1117
-                                  : dialysisOrder.start_nurse
1118
-                              ) == ''
1119
-                            "
1120
-                          >
1121
-                            {{
1122
-                              getAdminUser(
1123
-                                dialysisOrder == null
1124
-                                  ? 0
1125
-                                  : dialysisOrder.start_nurse
1126
-                              )
1127
-                            }}</span
1128
-                          >
1129
-                          <img
1130
-                            style="height: 30px"
1131
-                            :src="
1132
-                              setAdminUserES(
1133
-                                dialysisOrder == null
1134
-                                  ? 0
1135
-                                  : dialysisOrder.start_nurse
1136
-                              )
1137
-                            "
1138
-                            alt=""
1139
-                            srcset=""
1140
-                            v-else
1141
-                          />
1142
-                        </div>
1118
+                          {{
1119
+                            getAdminUser(
1120
+                              dialysisOrder == null
1121
+                                ? 0
1122
+                                : dialysisOrder.start_nurse
1123
+                            )
1124
+                          }}</span
1125
+                        >
1126
+                        <img
1127
+                          style="height: 30px"
1128
+                          :src="
1129
+                            setAdminUserES(
1130
+                              dialysisOrder == null
1131
+                                ? 0
1132
+                                : dialysisOrder.start_nurse
1133
+                            )
1134
+                          "
1135
+                          alt=""
1136
+                          srcset=""
1137
+                          v-else
1138
+                        />
1143 1139
                       </div>
1144 1140
                     </div>
1141
+                    
1145 1142
 
1146 1143
                     <div class="inline_block" style="flex: 1">
1147 1144
                       <span>核对护士:</span>
@@ -1296,7 +1293,7 @@
1296 1293
                     <div class="inline_block" style="flex: 1">
1297 1294
                        上机时间
1298 1295
                       <div class="under_line"
1299
-                        style="width: 80px; text-align: center"
1296
+                        style="width: 65%; text-align: center"
1300 1297
                       >
1301 1298
                         <span style="height: 30px;display: inline-block;">
1302 1299
                           
@@ -1311,7 +1308,7 @@
1311 1308
                     <div class="inline_block" style="flex: 1">
1312 1309
                       下机时间:
1313 1310
                       <div class="under_line"
1314
-                        style="width: 80px; text-align: center"
1311
+                        style="width: 65%; text-align: center"
1315 1312
                       >
1316 1313
                         <span style="height: 30px; display: inline-block">
1317 1314
                         </span>
@@ -2271,358 +2268,358 @@ export default {
2271 2268
     };
2272 2269
   },
2273 2270
   methods: {
2274
-      toUpload() {
2275
-
2276
-        let dom = document.getElementById("dialysis-print-box-1")
2277
-        //调用方法下载
2278
-        html2canvas(dom, {
2279
-          useCORS: true, //允许跨域
2280
-          allowTaint: false,
2281
-          logging: false,
2282
-          letterRendering: true,
2283
-          ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
2284
-          scale: 4, //按比例增加分辨率
2285
-          background: '#fff',//pdf背景色为白色,默认是黑色的
2286
-        }).then((canvas) => {
2287
-          //返回图片dataURL,参数:图片格式和清晰度(0-1)
2288
-          var pageData = canvas.toDataURL('image/jpeg', 1.0);
2289
-
2290
-          //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
2291
-          var pdf = new jsPDF('', 'pt', 'a4');
2292
-
2293
-          //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
2294
-          //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
2295
-          pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
2296
-
2297
-          console.log("pdf222222222222222222",pdf)
2298
-
2299
-          var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
2300
-          // console.log("base63",newBase64Data)
2301
-          const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
2302
-          console.log("blobwoowowowwo",blob)
2303
-          this.openPdf(blob);
2304
-
2305
-          // var data = {
2306
-          //   name:newBase64Data,
2307
-          // }
2308
-          // UploadPrintOrder(data).then(response=>{
2309
-          //   if(response.data.state == 1){
2310
-          //     var sign =  response.data.data.sign
2311
-          //     console.log("SIGNWWOOWWO")
2312
-          //     var pdfBase64 = response.data.data.pdfBase64
2313
-          //     console.log("pdfBase64",pdfBase64)
2314
-          //     this.$message.success("保存成功!")
2315
-          //     const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
2316
-          //     this.openPdf(blob);
2317
-          //   }
2318
-          // })
2319
-
2320
-          // this.viewPdf(newBase64Data)
2321
-          //保存到pdf,名字是stone
2322
-          // pdf.save('stone.pdf');
2323
-
2324
-        });
2325
-      },
2326
-
2327
-     viewPdf(content) {
2328
-       console.log("content",content);
2329
-       const blob = this.base64ToBlob(content);
2330
-       if (window.navigator && window.navigator.msSaveOrOpenBlob) {
2331
-         window.navigator.msSaveOrOpenBlob(blob);
2332
-       } else {
2333
-         const fileURL = URL.createObjectURL(blob);
2334
-         console.log("fileUlrwowowoow",fileURL)
2335
-         window.open(fileURL);//打开ppf文件
2336
-       }
2337
-     },
2338
-     compare (property) {
2339
-       return function (a, b) {
2340
-           var value1 = a[property]
2341
-           var value2 = b[property]
2342
-           return value1 - value2
2343
-       }
2344
-     },
2345
-
2346
-     openPdf(blob) {
2347
-       const objectUrl = URL.createObjectURL(blob);
2348
-       const a = document.createElement('a');
2349
-       a.href = objectUrl;
2350
-       a.target = '_blank';
2351
-       a.click();
2352
-       URL.revokeObjectURL(objectUrl);
2353
-     },
2354
-      base64ToBlob(base64Data, contentType) {
2355
-       contentType = contentType || '';
2356
-       const sliceSize = 1024;
2357
-       const byteCharacters = window.atob(base64Data);
2358
-       const bytesLength = byteCharacters.length;
2359
-       const slicesCount = Math.ceil(bytesLength / sliceSize);
2360
-       const byteArrays = new Array(slicesCount);
2361
-
2362
-       for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
2363
-         const begin = sliceIndex * sliceSize;
2364
-         const end = Math.min(begin + sliceSize, bytesLength);
2365
-
2366
-         const bytes = new Array(end - begin);
2367
-         for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
2368
-           bytes[i] = byteCharacters[offset].charCodeAt(0);
2369
-         }
2370
-         byteArrays[sliceIndex] = new Uint8Array(bytes);
2371
-       }
2372
-
2373
-       return new Blob(byteArrays, {
2374
-         type: contentType
2375
-       });
2376
-     },
2377
-
2378
-     UploadPdf(res) {
2379
-       let pdfBase64Str = res;
2380
-       let title = "上传给后端的个人报告";
2381
-       var myfile = this.dataURLtoFile(pdfBase64Str, title + ".pdf")
2382
-       console.log("myfile",myfile)
2383
-     },
2384
-    // 获取当前年份,用于年龄计算
2385
-    getoldAge() {
2386
-      let date = new Date();
2387
-      let year = date.getFullYear();
2388
-      let year_d =
2389
-        this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
2390
-      let year_m = this.xtdate.split("-")[1];
2391
-      let birth_m = this.patientInfo.birth.split("-")[1];
2392
-      let year_date = this.xtdate.split("-")[2];
2393
-      let birth_date = this.patientInfo.birth.split("-")[2];
2394
-      // console.log(year,'今年年月')
2395
-      // console.log(this.xtdate.split('-'),'病人就诊年月')
2396
-      console.log(this.patientInfo.birth, "病人生日");
2397
-      // console.log(year_d,'year_d')
2398
-      if (year_m < birth_m) {
2399
-        return year_d - 1;
2400
-      } else if (year_m == birth_m) {
2401
-        if (year_date < birth_date) {
2402
-          return year_d - 1;
2403
-        } else {
2404
-          return year_d;
2405
-        }
2406
-      } else {
2407
-        return year_d;
2408
-      }
2409
-    },
2410
-
2411 2271
     checkData() {
2412
-      if (this.receiverTreatmentAccess.way == 0) {
2413
-        this.$message.error("入科方式未填");
2414
-      } else if (this.predialysis.symptom_before_dialysis == "") {
2415
-        this.$message.error("透前症状未填");
2416
-      } else if (this.predialysis.temperature == "") {
2417
-        this.$message.error("透前体温未填");
2418
-      } else if (this.predialysis.pulse_frequency == "") {
2419
-        this.$message.error("透前脉搏未填");
2420
-      } else if (this.predialysis.breathing_rate == "") {
2421
-        this.$message.error("透前呼吸频率未填");
2422
-      } else if (
2272
+      var checkDate =[]
2273
+      if(this.dialysisOrder && this.dialysisOrder.bed_id == 0 &&
2274
+        this.patientInfo.DialysisSchedule.bed_id == 0
2275
+      ){
2276
+        const obj = "透析机型号"
2277
+        checkDate.push(obj)
2278
+      }
2279
+      if (this.predialysis.temperature == '') {
2280
+        const obj1 = "透前体温"
2281
+        checkDate.push(obj1)
2282
+      } if (this.predialysis.pulse_frequency == "") {
2283
+        const obj2 = "透前脉搏"
2284
+        checkDate.push(obj2)
2285
+      } if (this.predialysis.breathing_rate == "") {
2286
+         const obj3 = "透前呼吸"
2287
+         checkDate.push(obj3)
2288
+      } if (
2423 2289
         this.predialysis.systolic_blood_pressure == 0 ||
2424 2290
         this.predialysis.diastolic_blood_pressure == 0
2425 2291
       ) {
2426
-        this.$message.error("透前血压未填完整");
2427
-      } else if (this.predialysis.puncture_way == "") {
2428
-        this.$message.error("穿刺方式未填");
2429
-      } else if (this.predialysis.puncture_needle == "") {
2430
-        this.$message.error("穿刺针未填");
2431
-      } else if (
2432
-        this.predialysis.blood_access_part_id == "" &&
2433
-        this.predialysis.blood_access_part_opera_name == ""
2292
+        const obj4 = "透前血压"
2293
+        checkDate.push(obj4)
2294
+      } if (this.prescription.dialysis_duration_hour == 0 && 
2295
+            this.prescription.dialysis_duration_minute ==0
2434 2296
       ) {
2435
-        this.$message.error("血管通路未填");
2436
-      } else if (this.predialysis.internal_fistula == "") {
2437
-        this.$message.error("透前内瘘未填");
2438
-      } else if (this.predialysis.catheter == "") {
2439
-        this.$message.error("透前导管未填");
2440
-      } else if (this.prescription.mode_id == "") {
2441
-        this.$message.error("透析方式未填");
2442
-      } else if (
2443
-        this.prescription.displace_liqui_part == 0 &&
2444
-        this.prescription.mode_id == 2
2297
+        const obj5 = "透析时间"
2298
+        checkDate.push(obj5)
2299
+      } if (this.prescription.mode == "") {
2300
+        const obj6 = "透析方式"
2301
+        checkDate.push(obj6)
2302
+      } if (this.predialysis.blood_access_part_opera_name =='' ) {
2303
+        const obj7 = "血管通路"
2304
+        checkDate.push(obj7)
2305
+      } if (this.predialysis.catheter == '' ) {
2306
+        const obj8 = "导管"
2307
+        checkDate.push(obj8)
2308
+      } if (this.prescription.dialyzer_perfusion_apparatus == '' && 
2309
+            this.prescription.dialysis_dialyszers ==''
2445 2310
       ) {
2446
-        this.$message.error("置换方式未填");
2447
-      } else if (
2448
-        this.prescription.displace_liqui_value == 0 &&
2449
-        this.prescription.mode_id == 2
2311
+        const obj9 = "透析(滤)器"
2312
+        checkDate.push(obj9)
2313
+      } if (this.prescription.dialysis_irrigation == '') {
2314
+        const obj10 = "灌流器"
2315
+        checkDate.push(obj10)
2316
+      } if (this.prescription.displace_liqui_part == ""&&
2317
+            (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)
2450 2318
       ) {
2451
-        this.$message.error("置换量未填");
2452
-      } else if (this.prescription.blood_flow_volume == 0) {
2453
-        this.$message.error("血流量未填");
2454
-      } else if (
2455
-        this.prescription.dialysis_duration_hour == 0 &&
2456
-        this.prescription.dialysis_duration_minute == 0
2457
-      ) {
2458
-        this.$message.error("透析时间未填");
2459
-      } else if (
2460
-        this.prescription.dialyzer_perfusion_apparatus == "" &&
2461
-        this.prescription.dialysis_dialyszers == ""
2319
+        const obj11 = "置换方式"
2320
+        checkDate.push(obj11)
2321
+      } if (this.prescription.replacement_total == "" &&
2322
+            (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)
2462 2323
       ) {
2463
-        this.$message.error("透析器未填");
2464
-      } else if (this.prescription.dialysis_irrigation == "") {
2465
-        this.$message.error("灌流器未填");
2466
-      } else if (
2467
-        this.prescription.plasma_separator == "" &&
2468
-        this.org_id == 9538
2324
+        const obj12 = "置换量"
2325
+        checkDate.push(obj12)
2326
+      } if ( this.prescription.blood_flow_volume == '') {
2327
+        const obj13 = "血流量"
2328
+        checkDate.push(obj13)
2329
+      } if (this.predialysis.dry_weight == "") {
2330
+        const obj14 = "干体重"
2331
+        checkDate.push(obj14)
2332
+      } if (this.lastafterdialysis.weight_after == "") {
2333
+        const obj15 = "上次透后体重"
2334
+        checkDate.push(obj15)
2335
+      } if (this.predialysis.weight_before == "" ) {
2336
+        const obj16 = "透前体重"
2337
+        checkDate.push(obj16)
2338
+      } if (this.prescription.target_ultrafiltration == 0) {
2339
+        const obj17 = "计划超滤量"
2340
+        checkDate.push(obj17)
2341
+      } if (this.prescription.dialysate_flow == 0 ) {
2342
+        const obj18 = "透析液流量"
2343
+        checkDate.push(obj18)
2344
+      } if (this.prescription.kalium == 0) {
2345
+        const obj19 = "钾"
2346
+        checkDate.push(obj19)
2347
+      } if (this.prescription.calcium == 0) {
2348
+        const obj20 = "钙"
2349
+        checkDate.push(obj20)
2350
+      } if (this.prescription.sodium == 0) {
2351
+        const obj21 = "钠"
2352
+        checkDate.push(obj21)
2353
+      }if (this.prescription.bicarbonate == 0) {
2354
+        const obj22 = "碳酸氢根"
2355
+        checkDate.push(obj22)
2356
+      } if (this.prescription.anticoagulant_name == 0) {
2357
+        const obj23 = "抗凝剂"
2358
+        checkDate.push(obj23)
2359
+      } if (this.prescription.anticoagulant_shouji == 0 &&
2360
+        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
2469 2361
       ) {
2470
-        this.$message.error("血浆分离器未填");
2471
-      } else if (
2472
-        this.prescription.bilirubin_adsorption_column == "" &&
2473
-        this.org_id == 9538
2362
+        const obj24 = "首剂"
2363
+        checkDate.push(obj24)
2364
+      }if (this.prescription.anticoagulant_zongliang == 0 &&
2365
+        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && prescription.anticoagulant != 5
2474 2366
       ) {
2475
-        this.$message.error("胆红素吸附柱未填");
2476
-      } else if (this.predialysis.weight_before == 0) {
2477
-        this.$message.error("透前体重未填");
2478
-      } else if (this.predialysis.dry_weight == 0) {
2479
-        this.$message.error("干体重未填");
2480
-      } else if (this.prescription.target_ultrafiltration == 0) {
2481
-        this.$message.error("计划超滤量未填");
2482
-      } else if (this.prescription.calcium == 0) {
2483
-        this.$message.error("钙未填");
2484
-      } else if (this.prescription.sodium == 0) {
2485
-        this.$message.error("钠未填");
2486
-      } else if (this.prescription.kalium == 0) {
2487
-        this.$message.error("钾未填");
2488
-      } else if (this.prescription.bicarbonate == 0) {
2489
-        this.$message.error("碳酸氢根未填");
2490
-      } else if (this.prescription.dialysate_flow == 0) {
2491
-        this.$message.error("透析液流量未填");
2492
-      } else if (this.prescription.anticoagulant == 0) {
2493
-        this.$message.error("抗凝剂未填");
2494
-      } else if (
2367
+        const obj25 = "总量"
2368
+        checkDate.push(obj25)
2369
+      } if (
2495 2370
         this.prescription.anticoagulant_gaimingcheng == "" &&
2496 2371
         this.prescription.anticoagulant == 5
2497 2372
       ) {
2498
-        this.$message.error("钙名称未填");
2499
-      } else if (
2373
+        const obj26 = "钙名称"
2374
+        checkDate.push(obj26)
2375
+      } if (
2500 2376
         this.prescription.anticoagulant_gaijiliang == "" &&
2501 2377
         this.prescription.anticoagulant == 5
2502 2378
       ) {
2503
-        this.$message.error("钙剂量未填");
2504
-      } else if (this.afterdialysis.temperature == 0) {
2505
-        this.$message.error("透后体温未填");
2506
-      } else if (this.afterdialysis.pulse_frequency == 0) {
2507
-        this.$message.error("透后脉搏未填");
2508
-      } else if (this.afterdialysis.breathing_rate == 0) {
2509
-        this.$message.error("透后呼吸频率未填");
2510
-      } else if (
2511
-        this.afterdialysis.systolic_blood_pressure == 0 ||
2512
-        this.afterdialysis.diastolic_blood_pressure == 0
2379
+        const obj27 = "钙剂量"
2380
+        checkDate.push(obj27)
2381
+      } if (this.afterdialysis.temperature == ''){
2382
+        const obj28 = "透后温度"
2383
+        checkDate.push(obj28)
2384
+      } if (this.afterdialysis.pulse_frequency == 0) {
2385
+        const obj29 = "透后脉搏"
2386
+        checkDate.push(obj29)
2387
+      } if (
2388
+        this.afterdialysis.systolic_blood_pressure == '' &&
2389
+        this.afterdialysis.diastolic_blood_pressure == ''
2390
+      ){
2391
+        const obj30 = "透后血压"
2392
+        checkDate.push(obj30)
2393
+      } if (this.afterdialysis.breathing_rate == 0) {
2394
+        const obj31 = "透后呼吸"
2395
+        checkDate.push(obj31)
2396
+      } if (this.afterdialysis.cruor == '') {
2397
+        const obj32 = "透析器凝血"
2398
+        checkDate.push(obj32)
2399
+      } if (this.afterdialysis.internal_fistula == '') {
2400
+        const obj33 = "透后内瘘"
2401
+        checkDate.push(obj33)
2402
+      } if (this.afterdialysis.catheter =='') {
2403
+        const obj34 = "透后导管"
2404
+        checkDate.push(obj34)
2405
+      } if (this.afterdialysis.actual_treatment_hour == 0 &&
2406
+          this.afterdialysis.actual_treatment_minute == 0
2513 2407
       ) {
2514
-        this.$message.error("透后血压未填完整");
2515
-      } else if (
2516
-        this.afterdialysis.actual_treatment_hour == 0 &&
2517
-        this.afterdialysis.actual_treatment_minute == 0
2518
-      ) {
2519
-        this.$message.error("实际治疗时间未填");
2520
-      } else if (this.afterdialysis.cruor == "") {
2521
-        this.$message.error("透析器凝血未填");
2522
-      } else if (this.afterdialysis.internal_fistula == "") {
2523
-        this.$message.error("透后内瘘未填");
2524
-      } else if (this.afterdialysis.catheter == "") {
2525
-        this.$message.error("透后导管未填");
2526
-      } else if (this.afterdialysis.weight_after == 0) {
2527
-        this.$message.error("透后体重未填");
2528
-      } else if (this.afterdialysis.weight_loss == 0) {
2529
-        this.$message.error("透后体重减少未填");
2530
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
2531
-        this.$message.error("透析中入量未填");
2532
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
2533
-        this.$message.error("实际超滤量未填");
2534
-      } else if (this.summary.dialysis_summary == "") {
2535
-        this.$message.error("透析小结未填");
2536
-      } else if (
2537
-        this.dialysisOrder == null ||
2538
-        this.dialysisOrder.puncture_nurse == 0
2539
-      ) {
2540
-        this.$message.error("穿刺护士未填");
2541
-      } else if (
2408
+        const obj35 = "实际治疗时间"
2409
+        checkDate.push(obj35)
2410
+      } if (this.afterdialysis.weight_after == 0) {
2411
+        const obj36 = "透后体重"
2412
+        checkDate.push(obj36)
2413
+      } if (this.afterdialysis.dialysis_intakes_unit == 0) {
2414
+        const obj37 = "透析中入量"
2415
+        checkDate.push(obj37)
2416
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
2417
+        const obj38 = "实际超滤量"
2418
+        checkDate.push(obj38)
2419
+      } if (this.summary.dialysis_summary == '') {
2420
+        const obj39 = "治疗小结"
2421
+        checkDate.push(obj39)
2422
+      } if (this.summary.mission == 0) {
2423
+        const obj40 = "宣教知识"
2424
+        checkDate.push(obj40)
2425
+      } if (
2542 2426
         this.dialysisOrder == null ||
2543 2427
         this.dialysisOrder.start_nurse == 0
2544 2428
       ) {
2545
-        this.$message.error("治疗护士未填");
2546
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
2547
-        this.$message.error("核对人员未填");
2429
+        const obj41 = "上机护士"
2430
+        checkDate.push(obj41)
2431
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
2432
+        const obj42 = "核对人员"
2433
+        checkDate.push(obj42)
2548 2434
       } else if (
2549 2435
         this.dialysisOrder != null &&
2550 2436
         this.dialysisOrder.start_nurse == this.check.modifier &&
2551 2437
         this.check.creater == 0
2552 2438
       ) {
2553
-        this.$message.error("核对人员未填");
2439
+        const obj42 = "核对人员"
2440
+        checkDate.push(obj42)
2554 2441
       } else if (
2555 2442
         this.dialysisOrder != null &&
2556 2443
         this.dialysisOrder.start_nurse == this.check.creater &&
2557 2444
         this.check.modifier == 0
2558 2445
       ) {
2559
-        this.$message.error("核对人员未填");
2446
+        const obj42 = "核对人员"
2447
+        checkDate.push(obj42)
2560 2448
       } else if (
2561 2449
         this.dialysisOrder != null &&
2562 2450
         this.dialysisOrder.start_nurse != this.check.creater &&
2563 2451
         this.dialysisOrder.start_nurse != this.check.modifier &&
2564 2452
         this.check.creater == 0
2565 2453
       ) {
2566
-        this.$message.error("核对人员未填");
2567
-      } else if (
2454
+        const obj42 = "核对人员"
2455
+        checkDate.push(obj42)
2456
+      } if (
2568 2457
         this.dialysisOrder == null ||
2569 2458
         this.dialysisOrder.finish_nurse == 0
2570 2459
       ) {
2571
-        this.$message.error("下机护士未填");
2572
-      } else if (this.prescription.creater == 0) {
2573
-        this.$message.error("医生签名未填");
2574
-      } else if (this.tableAdvice.length > 0) {
2575
-        let num = 0;
2576
-        this.tableAdvice.map((item) => {
2577
-          if (item.id > 0 && (item.created_time || item.start_time)) {
2578
-            this.users.map((it) => {
2579
-              if (it.id == item.advice_doctor) {
2580
-                if (it.user_type == 3) {
2581
-                  num++;
2582
-                  this.$message.closeAll();
2583
-                  this.$message.error("存在不是医生保存的医嘱");
2584
-                } else if (
2585
-                  it.id == item.execution_staff &&
2586
-                  item.execution_staff > 0
2587
-                ) {
2588
-                  if (it.user_type == 2) {
2589
-                    num++;
2590
-                    this.$message.closeAll();
2591
-                    this.$message.error("存在不是护士执行的医嘱");
2592
-                  }
2593
-                } else if (it.id == item.checker && item.checker > 0) {
2594
-                  if (it.user_type == 2) {
2595
-                    num++;
2596
-                    this.$message.closeAll();
2597
-                    this.$message.error("存在不是护士核对的医嘱");
2598
-                  }
2599
-                }
2600
-              } else if (
2601
-                it.id == item.execution_staff &&
2602
-                item.execution_staff > 0
2603
-              ) {
2604
-                if (it.user_type == 2) {
2605
-                  num++;
2606
-                  this.$message.closeAll();
2607
-                  this.$message.error("存在不是护士执行的医嘱");
2608
-                }
2609
-              } else if (it.id == item.checker && item.checker > 0) {
2610
-                if (it.user_type == 2) {
2611
-                  num++;
2612
-                  this.$message.closeAll();
2613
-                  this.$message.error("存在不是护士核对的医嘱");
2614
-                }
2460
+        const obj43 = "下机护士"
2461
+        checkDate.push(obj43)
2462
+      } if (this.prescription.creater == 0) {
2463
+        const obj44 = "医生签名"
2464
+        checkDate.push(obj44)
2465
+      } if (this.dialysisOrder.start_time == '' && this.dialysisOrder != null) {
2466
+        const obj45 = "上机时间"
2467
+        checkDate.push(obj45)
2468
+      } if (this.dialysisOrder.end_time == "" && this.dialysisOrder != null) {
2469
+        const obj46 = "下机时间"
2470
+        checkDate.push(obj46)
2471
+      } if(this.new_doctor_advice_list.length > 0){
2472
+          this.new_doctor_advice_list.map((item) =>{
2473
+            if(item.id > 0 && (item.created_time || item.start_time)){
2474
+              if(item.execution_staff ==0 && item.advice_doctor ==0){
2475
+                const obj47 = '执行人员,医生签名'
2476
+                checkDate.push(obj47)
2615 2477
               }
2616
-            });
2617
-          }
2618
-        });
2619
-        if (num == 0) {
2620
-          this.$message.success("核对完成");
2478
+            }
2479
+          })
2480
+      }
2481
+ 
2482
+      this.getcheckData(checkDate)
2483
+    },
2484
+    
2485
+    toUpload() {
2486
+
2487
+      let dom = document.getElementById("dialysis-print-box-1")
2488
+      //调用方法下载
2489
+      html2canvas(dom, {
2490
+        useCORS: true, //允许跨域
2491
+        allowTaint: false,
2492
+        logging: false,
2493
+        letterRendering: true,
2494
+        ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
2495
+        scale: 4, //按比例增加分辨率
2496
+        background: '#fff',//pdf背景色为白色,默认是黑色的
2497
+      }).then((canvas) => {
2498
+        //返回图片dataURL,参数:图片格式和清晰度(0-1)
2499
+        var pageData = canvas.toDataURL('image/jpeg', 1.0);
2500
+
2501
+        //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
2502
+        var pdf = new jsPDF('', 'pt', 'a4');
2503
+
2504
+        //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
2505
+        //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
2506
+        pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
2507
+
2508
+        console.log("pdf222222222222222222",pdf)
2509
+
2510
+        var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
2511
+        // console.log("base63",newBase64Data)
2512
+        const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
2513
+        console.log("blobwoowowowwo",blob)
2514
+        this.openPdf(blob);
2515
+
2516
+        // var data = {
2517
+        //   name:newBase64Data,
2518
+        // }
2519
+        // UploadPrintOrder(data).then(response=>{
2520
+        //   if(response.data.state == 1){
2521
+        //     var sign =  response.data.data.sign
2522
+        //     console.log("SIGNWWOOWWO")
2523
+        //     var pdfBase64 = response.data.data.pdfBase64
2524
+        //     console.log("pdfBase64",pdfBase64)
2525
+        //     this.$message.success("保存成功!")
2526
+        //     const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
2527
+        //     this.openPdf(blob);
2528
+        //   }
2529
+        // })
2530
+
2531
+        // this.viewPdf(newBase64Data)
2532
+        //保存到pdf,名字是stone
2533
+        // pdf.save('stone.pdf');
2534
+
2535
+      });
2536
+    },
2537
+
2538
+    viewPdf(content) {
2539
+      console.log("content",content);
2540
+      const blob = this.base64ToBlob(content);
2541
+      if (window.navigator && window.navigator.msSaveOrOpenBlob) {
2542
+        window.navigator.msSaveOrOpenBlob(blob);
2543
+      } else {
2544
+        const fileURL = URL.createObjectURL(blob);
2545
+        console.log("fileUlrwowowoow",fileURL)
2546
+        window.open(fileURL);//打开ppf文件
2547
+      }
2548
+    },
2549
+    compare (property) {
2550
+      return function (a, b) {
2551
+          var value1 = a[property]
2552
+          var value2 = b[property]
2553
+          return value1 - value2
2554
+      }
2555
+    },
2556
+
2557
+    openPdf(blob) {
2558
+      const objectUrl = URL.createObjectURL(blob);
2559
+      const a = document.createElement('a');
2560
+      a.href = objectUrl;
2561
+      a.target = '_blank';
2562
+      a.click();
2563
+      URL.revokeObjectURL(objectUrl);
2564
+    },
2565
+    base64ToBlob(base64Data, contentType) {
2566
+      contentType = contentType || '';
2567
+      const sliceSize = 1024;
2568
+      const byteCharacters = window.atob(base64Data);
2569
+      const bytesLength = byteCharacters.length;
2570
+      const slicesCount = Math.ceil(bytesLength / sliceSize);
2571
+      const byteArrays = new Array(slicesCount);
2572
+
2573
+      for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
2574
+        const begin = sliceIndex * sliceSize;
2575
+        const end = Math.min(begin + sliceSize, bytesLength);
2576
+
2577
+        const bytes = new Array(end - begin);
2578
+        for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
2579
+          bytes[i] = byteCharacters[offset].charCodeAt(0);
2580
+        }
2581
+        byteArrays[sliceIndex] = new Uint8Array(bytes);
2582
+      }
2583
+
2584
+      return new Blob(byteArrays, {
2585
+        type: contentType
2586
+      });
2587
+    },
2588
+
2589
+    UploadPdf(res) {
2590
+      let pdfBase64Str = res;
2591
+      let title = "上传给后端的个人报告";
2592
+      var myfile = this.dataURLtoFile(pdfBase64Str, title + ".pdf")
2593
+      console.log("myfile",myfile)
2594
+    },
2595
+    // 获取当前年份,用于年龄计算
2596
+    getoldAge() {
2597
+      let date = new Date();
2598
+      let year = date.getFullYear();
2599
+      let year_d =
2600
+        this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
2601
+      let year_m = this.xtdate.split("-")[1];
2602
+      let birth_m = this.patientInfo.birth.split("-")[1];
2603
+      let year_date = this.xtdate.split("-")[2];
2604
+      let birth_date = this.patientInfo.birth.split("-")[2];
2605
+      // console.log(year,'今年年月')
2606
+      // console.log(this.xtdate.split('-'),'病人就诊年月')
2607
+      console.log(this.patientInfo.birth, "病人生日");
2608
+      // console.log(year_d,'year_d')
2609
+      if (year_m < birth_m) {
2610
+        return year_d - 1;
2611
+      } else if (year_m == birth_m) {
2612
+        if (year_date < birth_date) {
2613
+          return year_d - 1;
2614
+        } else {
2615
+          return year_d;
2621 2616
         }
2622 2617
       } else {
2623
-        this.$message.success("核对完成");
2618
+        return year_d;
2624 2619
       }
2625 2620
     },
2621
+
2622
+   
2626 2623
     getDisplaceLiquiPart: function (val) {
2627 2624
       let displace_liqui_part_name = "/";
2628 2625
       const displace_liqui_part = this.displaceLiquiPartOptions;
@@ -3421,6 +3418,16 @@ export default {
3421 3418
           return options[i].number_type
3422 3419
         }
3423 3420
       }
3421
+    },
3422
+    getcheckData(val){
3423
+      if(val.length >0){
3424
+        const a = val.join(',')
3425
+        console.log('a',a);
3426
+        this.$message.error(a +" 未填");
3427
+        return a
3428
+      }else{
3429
+        this.$message.success('核对完成')
3430
+      }
3424 3431
     }
3425 3432
 
3426 3433
   },

+ 119 - 19
src/xt_pages/outpatientCharges/summary.vue Näytä tiedosto

@@ -715,6 +715,7 @@ export default {
715 715
       settlementVisible: false,
716 716
       settlementObj: {},
717 717
       accounts_click_vi:false,
718
+      org_id:'',
718 719
     }
719 720
   },
720 721
 
@@ -757,6 +758,7 @@ export default {
757 758
     this.getDoctorList()
758 759
     this.getHisOrderList()
759 760
     this.getAllstaff()
761
+    this.org_id == this.$store.getters.xt_user.org.id
760 762
   },
761 763
 
762 764
   methods: {
@@ -3317,6 +3319,7 @@ export default {
3317 3319
           return false
3318 3320
         } else {
3319 3321
           let list = []
3322
+          let list2 = []
3320 3323
           for (let i = 0; i < response.data.data.order.length; i++) {
3321 3324
             let order = response.data.data.order[i]
3322 3325
             let number = ''
@@ -3504,11 +3507,41 @@ export default {
3504 3507
               收费状态: order_status,
3505 3508
               退费日期: ''
3506 3509
             }
3507
-
3510
+            let obj2 = {
3511
+              就诊号: order.mdtrt_id,
3512
+              患者姓名: name,
3513
+              患者性别: gender,
3514
+              患者年龄: age,
3515
+              开处时间: time,
3516
+              参保号: order.his_patient.id_card_no,
3517
+              应收金额: order.medfee_sumamt,
3518
+              实收金额: order.medfee_sumamt,
3519
+              医保统筹金额: order.hifp_pay,
3520
+              大额基金金额: order.hifob_pay,
3521
+              大病基金金额: order.hifmi_pay,
3522
+              补充保险基金金额: order.hifes_pay,
3523
+              医疗救助基金金额: order.maf_pay,
3524
+              公务员基金: order.cvlserv_pay,
3525
+              个人支付基金: order.psn_cash_pay,
3526
+              个人账户支付金额: order.acct_pay,
3527
+              医生姓名: doctor_name,
3528
+              收费类别: balance_accounts,
3529
+              总金额: order.medfee_sumamt,
3530
+              现金支付: '',
3531
+              账户支付: '',
3532
+              支付宝支付: '',
3533
+              微信支付: '',
3534
+              其他支付: '',
3535
+              收费时间: order.setl_time,
3536
+              收费状态: order_status
3537
+            }
3508 3538
             list.push(obj)
3539
+            list2.push(obj2)
3509 3540
           }
3510
-          import('@/vendor/Export2Excel').then((excel) => {
3511
-            const tHeader = [
3541
+          if(this.org_id != 10697 && this.org_id != 0){
3542
+            import('@/vendor/Export2Excel').then((excel) => {
3543
+              console.log('1111111南昌');
3544
+              const tHeader = [
3512 3545
               '就诊号',
3513 3546
               '患者姓名',
3514 3547
               "患者性别",
@@ -3541,17 +3574,58 @@ export default {
3541 3574
               '收费时间',
3542 3575
               '收费状态',
3543 3576
               '退费日期'
3544
-            ]
3545
-            const filterVal = [
3577
+              ]
3578
+              const filterVal = [
3579
+                '就诊号',
3580
+                '患者姓名',
3581
+                "患者性别",
3582
+                "患者年龄",
3583
+                '开处时间',
3584
+                '险种类型',
3585
+                '参保所属医保区划',
3586
+                '参保号',
3587
+                '属地名称',
3588
+                '应收金额',
3589
+                '实收金额',
3590
+                '医保统筹金额',
3591
+                '大额基金金额',
3592
+                '大病基金金额',
3593
+                '补充保险基金金额',
3594
+                '医疗救助基金金额',
3595
+                '公务员基金',
3596
+                '个人支付基金',
3597
+                '个人账户支付金额',
3598
+                '科室',
3599
+                '医生姓名',
3600
+                '收费类别',
3601
+                '收费者姓名',
3602
+                '总金额',
3603
+                '现金支付',
3604
+                '账户支付',
3605
+                '支付宝支付',
3606
+                '微信支付',
3607
+                '其他支付',
3608
+                '收费时间',
3609
+                '收费状态',
3610
+                '退费日期'
3611
+              ]
3612
+              const data = this.formatJson(filterVal, list)
3613
+              excel.export_json_to_excel({
3614
+                header: tHeader,
3615
+                data,
3616
+                filename: '消费明细'
3617
+              })
3618
+            })
3619
+          }else{
3620
+            import('@/vendor/Export2Excel').then((excel) => {
3621
+              console.log('222222南昌');
3622
+              const tHeader2 = [
3546 3623
               '就诊号',
3547 3624
               '患者姓名',
3548 3625
               "患者性别",
3549 3626
               "患者年龄",
3550 3627
               '开处时间',
3551
-              '险种类型',
3552
-              '参保所属医保区划',
3553 3628
               '参保号',
3554
-              '属地名称',
3555 3629
               '应收金额',
3556 3630
               '实收金额',
3557 3631
               '医保统筹金额',
@@ -3562,10 +3636,8 @@ export default {
3562 3636
               '公务员基金',
3563 3637
               '个人支付基金',
3564 3638
               '个人账户支付金额',
3565
-              '科室',
3566 3639
               '医生姓名',
3567 3640
               '收费类别',
3568
-              '收费者姓名',
3569 3641
               '总金额',
3570 3642
               '现金支付',
3571 3643
               '账户支付',
@@ -3573,16 +3645,44 @@ export default {
3573 3645
               '微信支付',
3574 3646
               '其他支付',
3575 3647
               '收费时间',
3576
-              '收费状态',
3577
-              '退费日期'
3578
-            ]
3579
-            const data = this.formatJson(filterVal, list)
3580
-            excel.export_json_to_excel({
3581
-              header: tHeader,
3582
-              data,
3583
-              filename: '消费明细'
3648
+              '收费状态'
3649
+              ]
3650
+              const filterVal2 = [
3651
+                '就诊号',
3652
+                '患者姓名',
3653
+                "患者性别",
3654
+                "患者年龄",
3655
+                '开处时间',
3656
+                '参保号',
3657
+                '应收金额',
3658
+                '实收金额',
3659
+                '医保统筹金额',
3660
+                '大额基金金额',
3661
+                '大病基金金额',
3662
+                '补充保险基金金额',
3663
+                '医疗救助基金金额',
3664
+                '公务员基金',
3665
+                '个人支付基金',
3666
+                '个人账户支付金额',
3667
+                '医生姓名',
3668
+                '收费类别',
3669
+                '总金额',
3670
+                '现金支付',
3671
+                '账户支付',
3672
+                '支付宝支付',
3673
+                '微信支付',
3674
+                '其他支付',
3675
+                '收费时间',
3676
+                '收费状态'
3677
+              ]
3678
+              const data = this.formatJson(filterVal2, list2)
3679
+              excel.export_json_to_excel({
3680
+                header: tHeader2,
3681
+                data,
3682
+                filename: '消费明细'
3683
+              })
3584 3684
             })
3585
-          })
3685
+          }
3586 3686
         }
3587 3687
       })
3588 3688
     },

+ 4 - 3
src/xt_pages/user/components/PatientDetail.vue Näytä tiedosto

@@ -1269,7 +1269,7 @@
1269 1269
       </div>
1270 1270
       <div id="print-info-box" v-else>
1271 1271
         <div class="print_main_content" style="margin-top: 70px;">
1272
-          <div class="order_title">{{ orgname }}<br/>血液净化患者首次门诊病历</div>
1272
+          <div class="order_title" style="font-size: 25px;font-weight: 600;">{{ orgname }}<br/>血液净化治疗患者首次门诊病历</div>
1273 1273
           <div >
1274 1274
             <table >
1275 1275
               <tbody>
@@ -1473,7 +1473,7 @@
1473 1473
               </tbody>
1474 1474
             </table>
1475 1475
             <div class="print_footnote_panel">
1476
-              <div class="proj">
1476
+              <div class="proj" style="text-align: center;">
1477 1477
                  <span class="proj_title">医生签名:
1478 1478
                     <span v-if="patientPrint!=undefined&&getDcotorName(patientPrint.doctor) == ''">{{getDcotorNameOne(patientPrint.doctor)}}</span>
1479 1479
                     <span v-else>
@@ -1481,7 +1481,7 @@
1481 1481
                     </span>
1482 1482
                  </span>
1483 1483
               </div>
1484
-              <div class="proj">
1484
+              <div class="proj" style="text-align: right;">
1485 1485
                 <span class="proj_title">日期:</span>
1486 1486
                 <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1487 1487
                 <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
@@ -2670,6 +2670,7 @@ export default {
2670 2670
 .print_footnote_panel .proj {
2671 2671
   display: inline-block;
2672 2672
   width: 49%;
2673
+  text-align: center;
2673 2674
 }
2674 2675
 .print_footnote_panel .proj .proj_title {
2675 2676
   font-weight: 500;

+ 37 - 8
src/xt_pages/user/coursePrint.vue Näytä tiedosto

@@ -8,9 +8,11 @@
8 8
     </div>
9 9
     <div class="app-container">
10 10
       <div id="print_content">
11
-        <div class="print_page_main_content">
12
-          <div class="order-yy-name" style="text-align: center;">{{orgname}}</div>
13
-          <div class="order_title" style="padding-top:12px;text-align: center;"> 病程记录</div>
11
+        <div class="print_page_main_content" v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">
12
+          <div class="order-yy-name" style="text-align: center;font-size: 25px;font-weight: 600;">{{orgname}}</div>
13
+          <div class="order_title" style="padding-top:12px;text-align: center;font-size: 25px;font-weight: 600;"> 
14
+            血液净化治疗患者病程记录
15
+          </div>
14 16
           <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;" 
15 17
             v-if="org_id !=10206 && org_id !=0">
16 18
             <div  style="flex:1;text-align: center;">
@@ -46,14 +48,43 @@
46 48
 
47 49
             </div>
48 50
           </div>
49
-          <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;" v-for="(item,index) in this.record" :key="index">
51
+          <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;" 
52
+           v-else>
53
+            <div  style="flex:1;text-align: center;">
54
+              姓名:
55
+              <div  style="text-align: left;display:inline-block;">{{patient.name }}</div>
56
+            </div>
57
+
58
+            <div style="flex:1;text-align: center;">
59
+              性别:
60
+              <div  style="text-align: left;display:inline-block;">
61
+                {{ patient.gender ==1 ? '男': '女' }}
62
+              </div>
63
+            </div>
64
+
65
+            <div style="flex:1;text-align: center;" >
66
+              年龄:
67
+              <div  style="text-align: left;display:inline-block;">
68
+                {{patient.age}}
69
+              </div>
70
+            </div>
71
+
72
+
73
+            <div style="flex:1;text-align: left;" >
74
+              日期:
75
+              <div style="text-align: left;display:inline-block;" >
76
+                <!-- {{getTime(record[0].record_time,'{y}-{m}-{d} {h}:{i}')}} -->
77
+                {{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}
78
+              </div>
79
+            </div>
80
+          </div>
81
+          <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;">
50 82
             <div class="inline_block" style="display: inline-block;" v-if="org_id !=10206 && org_id !=0">
51 83
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
52 84
             </div>
53 85
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">
54 86
               <div>{{item.title}}</div>
55 87
             </div>
56
-
57 88
             <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
58 89
               <div v-html="item.content" class="printP" >
59 90
 
@@ -70,7 +101,6 @@
70 101
               </span>
71 102
             </div>
72 103
           </div>
73
-
74 104
         
75 105
         </div>
76 106
       </div>
@@ -79,7 +109,6 @@
79 109
 
80 110
 </template>
81 111
 
82
-
83 112
 <script>
84 113
   import { jsGetAge, uParseTime } from '@/utils/tools'
85 114
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
@@ -132,7 +161,7 @@
132 161
          
133 162
           this.adminUserList = resp.data.adminUser
134 163
           this.operators = resp.data.operators
135
-           console.log("GetCoursePrintData",this.operators)
164
+           console.log("GetCoursePrintData",resp)
136 165
            if (this.operators.length > 0) {
137 166
             var operatorsLen = this.operators.length
138 167
             for (var index = 0; index < operatorsLen; index++) {