Procházet zdrojové kódy

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

陈少旭 před 6 měsíci
rodič
revize
5b527059bd
43 změnil soubory, kde provedl 7606 přidání a 1066 odebrání
  1. 12 1
      src/router/modules/dialysis.js
  2. 15 0
      src/store/modules/globalConfig.js
  3. 1 1
      src/xt_pages/Dialysisanalysis/new_otherIndicators/index.vue
  4. 17 13
      src/xt_pages/Dialysisanalysis/weightblood/components/after_Blood.vue
  5. 4 1
      src/xt_pages/Dialysisanalysis/weightblood/components/before_Blood.vue
  6. 7 3
      src/xt_pages/Dialysisanalysis/weightblood/components/blood_table.vue
  7. 5 2
      src/xt_pages/Dialysisanalysis/weightblood/components/dialyze_after.vue
  8. 4 0
      src/xt_pages/Dialysisanalysis/weightblood/components/dry_denominator.vue
  9. 7 0
      src/xt_pages/Dialysisanalysis/weightblood/components/dry_weight.vue
  10. 5 2
      src/xt_pages/Dialysisanalysis/weightblood/components/list_denominator.vue
  11. 6 2
      src/xt_pages/Dialysisanalysis/weightblood/components/weight_table.vue
  12. 1 1
      src/xt_pages/Dialysisanalysis/weightblood/index.vue
  13. 8 5
      src/xt_pages/Pharmacy/DrugDispensing.vue
  14. 11 5
      src/xt_pages/Pharmacy/PatientDispensing.vue
  15. 148 185
      src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue
  16. 2470 0
      src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue
  17. 44 29
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  18. 11 11
      src/xt_pages/dialysis/bloodPresssWatch.vue
  19. 26 5
      src/xt_pages/dialysis/details/consumable/dialysisGather.vue
  20. 18 3
      src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue
  21. 1 6
      src/xt_pages/dialysis/details/consumable/dialysisParameter.vue
  22. 8 14
      src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue
  23. 34 37
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  24. 22 17
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  25. 78 78
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  26. 513 535
      src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue
  27. 3688 0
      src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue
  28. 119 19
      src/xt_pages/outpatientCharges/summary.vue
  29. 10 1
      src/xt_pages/stock/detail/stockInDetail.vue
  30. 2 2
      src/xt_pages/stock/drugs/components/drugInOrder.vue
  31. 5 1
      src/xt_pages/stock/drugs/components/drugOutDetail.vue
  32. 2 0
      src/xt_pages/stock/drugs/drugOutOrderPrint.vue
  33. 12 1
      src/xt_pages/stock/drugs/drugStockInOrderAdd.vue
  34. 10 0
      src/xt_pages/stock/drugs/drugStockInOrderEdit.vue
  35. 7 0
      src/xt_pages/stock/stockInOrder.vue
  36. 67 5
      src/xt_pages/stock/stockInOrderAdd.vue
  37. 81 1
      src/xt_pages/stock/stockInOrderEdit.vue
  38. 28 3
      src/xt_pages/stock/stockOutOrderAdd.vue
  39. 46 55
      src/xt_pages/user/components/PatientDetail.vue
  40. 37 8
      src/xt_pages/user/coursePrint.vue
  41. 7 4
      src/xt_pages/user/lapsoSummary.vue
  42. 7 7
      src/xt_pages/user/patients.vue
  43. 2 3
      src/xt_pages/workforce/appointment.vue

+ 12 - 1
src/router/modules/dialysis.js Zobrazit soubor

@@ -1118,7 +1118,18 @@ export default {
1118 1118
         noCache: true
1119 1119
       }
1120 1120
     },
1121
-    
1121
+    {//80
1122
+      path: '/dialysis/print/batch/eightyone',
1123
+      component: () =>
1124
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_eightyone'),
1125
+      hidden: true,
1126
+      is_menu: false,
1127
+      name: 'batch_print_order_eightyone',
1128
+      meta: {
1129
+        title: '批量打印',
1130
+        noCache: true
1131
+      }
1132
+    },
1122 1133
     {
1123 1134
       path: '/dialysis/flow',
1124 1135
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

+ 15 - 0
src/store/modules/globalConfig.js Zobrazit soubor

@@ -1136,6 +1136,21 @@ const global_config = {
1136 1136
         gaimingcheng_unit: '',
1137 1137
         gaijiliang_unit: ''
1138 1138
       },
1139
+      19: {
1140
+        id: 19,
1141
+        name: '低分子量肝素钠',
1142
+        type: 1,
1143
+        shouji: 1,
1144
+        weichi: 1,
1145
+        zongliang: 1,
1146
+        gaimingcheng: -1,
1147
+        gaijiliang: -1,
1148
+        shouji_unit: 'iu',
1149
+        weichi_unit: 'iu/h',
1150
+        zongliang_unit: 'iu',
1151
+        gaimingcheng_unit: '',
1152
+        gaijiliang_unit: ''
1153
+      },
1139 1154
     },
1140 1155
     anticoagulants_set: {
1141 1156
       type: 2

+ 1 - 1
src/xt_pages/Dialysisanalysis/new_otherIndicators/index.vue Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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
       },

+ 4 - 0
src/xt_pages/Dialysisanalysis/weightblood/components/dry_denominator.vue Zobrazit soubor

@@ -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:{
@@ -508,6 +510,7 @@ import html2canvas from "html2canvas"
508 510
           limit:this.limit,
509 511
           item_type:type,
510 512
         }
513
+        this.loading = true
511 514
         Getweightdetail(params).then(response =>{
512 515
           if(response.data.state == 1){
513 516
             const list = response.data.data.list
@@ -532,6 +535,7 @@ import html2canvas from "html2canvas"
532 535
               this.tableData = table
533 536
               this.total = response.data.data.total
534 537
             }
538
+            this.loading = false
535 539
           }
536 540
           console.log('77777',response);
537 541
         })

+ 7 - 0
src/xt_pages/Dialysisanalysis/weightblood/components/dry_weight.vue Zobrazit soubor

@@ -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
         Getdryweightdetail(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 Zobrazit soubor

@@ -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:{
@@ -511,6 +512,7 @@ import html2canvas from "html2canvas"
511 512
           limit:this.limit,
512 513
           item_type:type
513 514
         }
515
+        this.loading = true
514 516
         Getweightdetail(params).then(response =>{
515 517
           console.log('77777',response);
516 518
           if(response.data.state == 1){
@@ -528,7 +530,7 @@ import html2canvas from "html2canvas"
528 530
                   dry_weight:item.dry_weight,
529 531
                   last_weight_after:item.last_weight_after,
530 532
                   weight_before:item.weight_before,
531
-                  weight_add:item.weight_add,
533
+                  weight_add:(item.weight_add*1).toFixed(2),
532 534
                   weight_after:item.weight_after
533 535
                 }
534 536
                 table.push(obj)
@@ -536,6 +538,7 @@ import html2canvas from "html2canvas"
536 538
               this.tableData = table
537 539
               this.total = response.data.data.total
538 540
             }
541
+            this.loading = false
539 542
           }
540 543
 
541 544
         })

+ 6 - 2
src/xt_pages/Dialysisanalysis/weightblood/components/weight_table.vue Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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

+ 8 - 5
src/xt_pages/Pharmacy/DrugDispensing.vue Zobrazit soubor

@@ -435,7 +435,7 @@
435 435
          width="40%">
436 436
        <span>
437 437
         <el-input
438
-          @input="changeText"
438
+          @keyup.native="changeText"
439 439
           type="textarea"
440 440
           placeholder="请输入内容"
441 441
           v-model="textarea"
@@ -575,10 +575,13 @@ export default {
575 575
          }
576 576
       })
577 577
     },
578
-    changeText(){
579
-      var textarea = ""
580
-      textarea += this.textarea + ","
581
-      this.textarea = textarea
578
+    changeText(event){
579
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
580
+      if (event.key === 'Enter') {
581
+        var textarea = ""
582
+        textarea += this.textarea + ","
583
+        this.textarea = textarea
584
+      }
582 585
     },
583 586
     tt() {},
584 587
     async fun3() {

+ 11 - 5
src/xt_pages/Pharmacy/PatientDispensing.vue Zobrazit soubor

@@ -288,7 +288,7 @@
288 288
          width="40%">
289 289
        <span>
290 290
         <el-input
291
-          @input="changeText"
291
+          @keyup.native="changeText"
292 292
           type="textarea"
293 293
           placeholder="请输入内容"
294 294
           v-model="textarea"
@@ -865,10 +865,16 @@ export default {
865 865
          }
866 866
       })
867 867
     },
868
-    changeText(){
869
-      var textarea = ""
870
-      textarea += this.textarea + ","
871
-      this.textarea = textarea
868
+    changeText(event){
869
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
870
+      if (event.key === 'Enter') {
871
+        var textarea = ""
872
+        textarea += this.textarea + ","
873
+        console.log("textarea-=----------------------",textarea)
874
+        this.textarea = textarea
875
+      }
876
+   
877
+
872 878
     }
873 879
   },
874 880
 };

+ 148 - 185
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue Zobrazit soubor

@@ -19,71 +19,70 @@
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
             >
31
-              {{ orgname }} 血液净化治疗记录单
29
+              {{ orgname }}<br/>血液净化治疗记录单
32 30
             </div>
33 31
           </div>
34
-          <div class="row">
35
-            <div class="inline_block">
36
-              姓名:
32
+          
33
+          <div class="row" style="display: flex">
34
+            <div class="inline_block" style="flex: 1;">
35
+              姓名:
37 36
               <div class="under_line" style="width: 50px; text-align: center">
38 37
                 {{ record.patient.name }}
39 38
               </div>
40 39
             </div>
41
-            <div class="inline_block" style="margin-left: 10px">
42
-              性别
40
+            <div class="inline_block" style="flex: 1;">
41
+              性别:
43 42
               <div class="under_line" style="width: 30px; text-align: center">
44 43
                 {{ record.patient.gender == 1 ? "男" : "女" }}
45 44
               </div>
46 45
             </div>
47
-            <div class="inline_block" style="margin-left: 10px">
48
-              年龄
46
+            <div class="inline_block" style="flex: 1;">
47
+              年龄:
49 48
               <div class="under_line" style="width: 30px; text-align: center">
50 49
                 <!-- {{ record.patient.age }} -->
51 50
                 {{ getAge(record.patient) }}
52 51
               </div>
53 52
54 53
             </div>
55
-            <div class="inline_block" v-if="record.receive_assessment.condition!=1">
56
-                门诊
54
+            <div class="inline_block" v-if="record.receive_assessment.condition!=1" style="flex: 1;">
55
+                门诊:
57 56
                 <div class="under_line" style="width: 30px; text-align: center">
58 57
                   <check-box :checked="record.patient.source == 1"></check-box>
59 58
                 </div>
60 59
               </div>
61
-            <div class="inline_block" v-if="record.receive_assessment.condition==1">
62
-              住院
60
+            <div class="inline_block" v-if="record.receive_assessment.condition==1" style="flex: 1;">
61
+              住院:
63 62
               <div class="under_line" style="width: 30px; text-align: center">
64 63
                 <check-box :checked="record.patient.source == 1"></check-box>
65 64
               </div>
66 65
             </div>
67
-            <div class="inline_block">
68
-              病区
66
+            <div class="inline_block" style="flex: 1;">
67
+              病区:
69 68
               <div class="under_line" style="width: 50px; text-align: center">
70 69
                 {{ record.device_zone.name}}
71 70
               </div>
72 71
             </div>
73
-            <div class="inline_block">
74
-              床号
72
+            <div class="inline_block" style="flex: 1;">
73
+              床号:
75 74
               <div class="under_line" style="width: 50px; text-align: center">
76 75
                 {{ record.device_number.number }}
77 76
               </div>
78 77
             </div>
79
-            <div class="inline_block">
80
-              透析号
78
+            <div class="inline_block" style="flex: 1;">
79
+              透析号:
81 80
               <div class="under_line" style="width: 70px; text-align: center">
82 81
                 {{ record.patient.dialysis_no }}
83 82
               </div>
84 83
             </div>
85
-            <div class="inline_block" style="margin-left: 5px">
86
-              住院号
84
+            <div class="inline_block" style="flex: 1;">
85
+              住院号:
87 86
               <div
88 87
                 class="under_line"
89 88
                 style="width: 70px; text-align: left"
@@ -102,7 +101,7 @@
102 101
           </div>
103 102
           <div class="row">
104 103
             <div style="">
105
-              诊断
104
+              诊断:
106 105
               <div style="border-bottom: 1px solid black;width: 95%;text-align: left;word-break: break-all;
107 106
                   word-wrap: break-word;display: inline-block;white-space: unset;"
108 107
               >
@@ -133,13 +132,13 @@
133 132
                   <td colspan="2">
134 133
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
135 134
                       <div class="inline_block" style="flex: 1">
136
-                        本次透析日期
135
+                        本次透析日期:
137 136
                         <div class="under_line" style="width: 100px; text-align: center">
138 137
                           {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
139 138
                         </div>
140 139
                       </div>
141 140
                       <div class="inline_block" style="flex: 1">
142
-                        透析次数
141
+                        透析次数:
143 142
                         <div class="under_line" style="width: 70px; text-align: center">
144 143
                           {{
145 144
                               record.Count +
@@ -148,10 +147,10 @@
148 147
                                   record.patient.user_sys_before_count
149 148
                                 : "/"
150 149
                             }}
151
-                        </div>
150
+                        </div>
152 151
                       </div>
153 152
                       <div class="inline_block" style="flex: 1">
154
-                        透析机型号
153
+                        透析机型号:
155 154
                         <div class="under_line" style="width: 60%; text-align: center">
156 155
                           <span v-if="record.bed_id !=0 && record.bed_id !=''">
157 156
                             {{ getnumberlist(record.bed_id) }} 
@@ -159,7 +158,7 @@
159 158
                         </div>
160 159
                       </div>
161 160
                       <div class="inline_block" style="flex: 1">
162
-                        透析机号
161
+                        透析机号:
163 162
                         <div class="under_line" style="width: 70px; text-align: center">
164 163
                           {{
165 164
                             record.dialysis_order &&
@@ -168,12 +167,12 @@
168 167
                               ? record.dialysis_order.device_number.number
169 168
                               : record.device_number.number
170 169
                           }}
171
-                        </div>
170
+                        </div>
172 171
                       </div>
173 172
                     </div>
174 173
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex">
175 174
                       <div class="inline_block" style="flex: 1;">
176
-                        T:
175
+                        温度:
177 176
                         <div class="under_line" style="width: 50px; text-align: center">
178 177
                           {{
179 178
                             record.assessment_before_dislysis.temperature
@@ -184,7 +183,7 @@
184 183
                         °C
185 184
                       </div>
186 185
                       <div class="inline_block" style="flex: 1;">
187
-                        P:
186
+                        脉搏:
188 187
                         <div class="under_line" style="width: 50px; text-align: center">
189 188
                           {{
190 189
                             record.assessment_before_dislysis.pulse_frequency
@@ -195,18 +194,7 @@
195 194
                         次/分
196 195
                       </div>
197 196
                       <div class="inline_block" style="flex: 1;">
198
-                        R:
199
-                        <div class="under_line" style="width: 50px; text-align: center">
200
-                          {{
201
-                            record.assessment_before_dislysis.breathing_rate
202
-                              ? record.assessment_before_dislysis.breathing_rate
203
-                              : "/"
204
-                          }}
205
-                        </div>
206
-                        次/分
207
-                      </div>
208
-                      <div class="inline_block" style="flex: 1;">
209
-                        BP:
197
+                        血压:
210 198
                         <div class="under_line" style="width: 50px; text-align: center">
211 199
                           {{
212 200
                             record.assessment_before_dislysis.systolic_blood_pressure
@@ -224,10 +212,21 @@
224 212
                         </div>
225 213
                         mmHg
226 214
                       </div>
215
+                      <div class="inline_block" style="flex: 1;">
216
+                        呼吸:
217
+                        <div class="under_line" style="width: 50px; text-align: center">
218
+                          {{
219
+                            record.assessment_before_dislysis.breathing_rate
220
+                              ? record.assessment_before_dislysis.breathing_rate
221
+                              : "/"
222
+                          }}
223
+                        </div>
224
+                        次/分
225
+                      </div>
227 226
                     </div>
228 227
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
229 228
                       <div class="inline_block" style="flex: 1;">
230
-                        透析时间:
229
+                        透析时间:
231 230
                         <div class="under_line"
232 231
                           style=" width: 50%; text-align: center; white-space: normal; "
233 232
                         >
@@ -237,7 +236,7 @@
237 236
                       </div>
238 237
 
239 238
                       <div class="inline_block" style="flex: 1">
240
-                        透析方式
239
+                        透析方式:
241 240
                         <div class="under_line"
242 241
                           style="width: 50%;text-align: center;white-space: normal;"
243 242
                         >
@@ -246,7 +245,7 @@
246 245
                       </div>
247 246
 
248 247
                       <div class="inline_block" style="flex: 1;">
249
-                        血管通路
248
+                        血管通路:
250 249
                         <div class="under_line" style="width: 68%;white-space: normal;">
251 250
                           <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
252 251
                           {{
@@ -264,7 +263,7 @@
264 263
                       </div>
265 264
                       
266 265
                       <div class="inline_block" style="flex: 1">
267
-                        导管
266
+                        导管:
268 267
                         <div class="under_line"
269 268
                           style="width: 80%; text-align: center;white-space: normal;"
270 269
                         >
@@ -274,7 +273,7 @@
274 273
                     </div>
275 274
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
276 275
                       <div class="inline_block" style="flex: 1">
277
-                        透析(滤)器
276
+                        透析(滤)器:
278 277
                         <div class="under_line"
279 278
                           style="width: 40%; text-align: center"
280 279
                         >
@@ -293,7 +292,7 @@
293 292
                         </div>
294 293
                       </div>
295 294
                       <div class="inline_block" style="flex: 1">
296
-                        灌流器
295
+                        灌流器:
297 296
                         <div class="under_line" style="width: 80px; text-align: center">
298 297
                           {{
299 298
                            record.prescription.dialysis_irrigation
@@ -304,20 +303,17 @@
304 303
                       </div>
305 304
 
306 305
                       <div class="inline_block" style="flex: 1">
307
-                        置换方式
306
+                        置换方式:
308 307
                         <div class="under_line"
309
-                          style="width: 100px; text-align: center"
308
+                          style="width: 50px; text-align: center"
310 309
                         >
311 310
                           {{
312 311
                             getDisplaceLiquiPart(record.prescription.displace_liqui_part)
313 312
                           }}
314 313
                         </div>
315
-                      </div>
316
-
317
-                      <div class="inline_block" style="flex: 1">
318
-                        置换量:
314
+                        置换量:
319 315
                         <div class="under_line"
320
-                          style="width: 70px; text-align: center"
316
+                          style="width: 30px; text-align: center"
321 317
                         >
322 318
                           <span>{{
323 319
                             record.prescription.replacement_total
@@ -330,7 +326,7 @@
330 326
                       </div>
331 327
 
332 328
                       <div class="inline_block" style="flex: 1">
333
-                        血流量
329
+                        血流量:
334 330
                         <div class="under_line"
335 331
                           style="width: 50px; text-align: center"
336 332
                         >
@@ -345,7 +341,7 @@
345 341
                     </div>
346 342
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
347 343
                       <div class="inline_block" style="flex: 1">
348
-                        干体重
344
+                        干体重:
349 345
                         <div class="under_line" style="width: 100px; text-align: center">
350 346
                           {{
351 347
                             record.assessment_before_dislysis.dry_weight 
@@ -355,14 +351,14 @@
355 351
                         kg
356 352
                       </div>
357 353
                       <div class="inline_block" style="flex: 1">
358
-                        上次透后体重
354
+                        上次透后体重:
359 355
                         <div class="under_line" style="width: 100px; text-align: center">
360 356
                           {{record.lastafterweight.weight_after ? record.lastafterweight.weight_after:"未称重"}}
361 357
                         </div>
362 358
                         kg
363 359
                       </div>
364 360
                       <div class="inline_block" style="flex: 1">
365
-                        透前体重
361
+                        透前体重:
366 362
                         <div class="under_line" style="width: 70px; text-align: center">
367 363
                           <span>{{
368 364
                                record.assessment_before_dislysis.weight_before
@@ -379,7 +375,7 @@
379 375
                         kg
380 376
                       </div>
381 377
                       <div class="inline_block" style="flex: 1">
382
-                        计划超滤量
378
+                        计划超滤量:
383 379
                         <div class="under_line" style="width: 100px; text-align: center">
384 380
                           {{
385 381
                             record.prescription.target_ultrafiltration
@@ -387,12 +383,25 @@
387 383
                               : "/"
388 384
                           }}
389 385
                         </div>
390
-                        L
386
+                        kg
391 387
                       </div>
392 388
                     </div>
393 389
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
394
-                      <div class="inline_block" style="flex: 1.3;">
395
-                        透析液成分:钾:
390
+                      <div class="inline_block" style="flex: 1;">
391
+                        透析液流量:
392
+                        <div class="under_line"
393
+                          style="width: 50px; text-align: center"
394
+                        >
395
+                          {{
396
+                            record.prescription.dialysate_flow
397
+                              ? record.prescription.dialysate_flow
398
+                              : "/"
399
+                          }}
400
+                        </div>
401
+                        ml/min
402
+                      </div>
403
+                      <div class="inline_block" style="flex: 1;">
404
+                        透析液成分:钾:
396 405
                         <div class="under_line"
397 406
                           style="width: 50px; text-align: center"
398 407
                         >
@@ -402,27 +411,24 @@
402 411
                         mmol/L
403 412
                       </div>
404 413
                       <div class="inline_block" style="flex: 1;">
405
-                        钠:
406
-                        <div
407
-                          class="under_line"
408
-                          style="width: 50px; text-align: center"
414
+                        钠:
415
+                        <div class="under_line"
416
+                          style="width: 35px; text-align: center"
409 417
                         >
410 418
                         <span>{{ record.prescription.sodium ? record.prescription.sodium : "/" }}</span>
411 419
                         </div>
412 420
                         mmol/L
413
-                      </div>
414
-                      <div class="inline_block" style="flex: 1;">
415
-                        钙:
416
-                        <div
417
-                          class="under_line"
418
-                          style="width: 50px; text-align: center"
421
+                        钙:
422
+                        <div class="under_line"
423
+                          style="width: 35px; text-align: center"
419 424
                         >
420 425
                         <span> {{ record.prescription.calcium ? record.prescription.calcium : "/" }}</span>                     
421 426
                         </div>
422 427
                         mmol/L
423 428
                       </div>
424
-                      <div class="inline_block" style="flex: 1.2;">
425
-                        碳酸氢根:
429
+                      
430
+                      <div class="inline_block" style="flex: 1;">
431
+                        碳酸氢根:
426 432
                         <div class="under_line"
427 433
                           style="width: 50px; text-align: center"
428 434
                         >
@@ -434,23 +440,11 @@
434 440
                         </div>
435 441
                         mmol/L
436 442
                       </div>
437
-                      <div class="inline_block" style="flex: 1;">
438
-                        流量:
439
-                        <div class="under_line"
440
-                          style="width: 50px; text-align: center"
441
-                        >
442
-                          {{
443
-                            record.prescription.dialysate_flow
444
-                              ? record.prescription.dialysate_flow
445
-                              : "/"
446
-                          }}
447
-                        </div>
448
-                        ml/min
449
-                      </div>
443
+                      
450 444
                     </div>
451 445
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
452 446
                       <div class="inline_block" style="flex: 1;">
453
-                        抗凝剂
447
+                        抗凝剂:
454 448
                         <div class="under_line"
455 449
                           style="width: 150px; text-align: center"
456 450
                         >
@@ -463,7 +457,7 @@
463 457
                       <div class="inline_block" style="flex: 1;"
464 458
                         v-if="record.prescription.anticoagulant != 5"
465 459
                       >
466
-                        首剂
460
+                        首剂:
467 461
                         <div class="under_line"
468 462
                           style="width: 50px; text-align: center"
469 463
                         >
@@ -479,7 +473,7 @@
479 473
                         
480 474
                       </div>
481 475
                       <div class="inline_block" style="flex: 1;">
482
-                        追加
476
+                        追加:
483 477
                         <div class="under_line"
484 478
                           style="width: 50px; text-align: center"
485 479
                         >
@@ -497,7 +491,7 @@
497 491
                       <div class="inline_block" style="flex: 1;"
498 492
                         v-if="record.prescription.anticoagulant == 5"
499 493
                       >
500
-                        钙名称
494
+                        钙名称:
501 495
                         <div
502 496
                           class="under_line"
503 497
                           style="width: 150px; text-align: center"
@@ -512,7 +506,7 @@
512 506
                       <div class="inline_block" style="flex: 1;"
513 507
                         v-if="record.prescription.anticoagulant == 5"
514 508
                       >
515
-                        钙剂量
509
+                        钙剂量:
516 510
                         <div
517 511
                           class="under_line"
518 512
                           style="width: 50px; text-align: center"
@@ -528,7 +522,7 @@
528 522
                       <div class="inline_block" style="flex: 1;"
529 523
                         v-if="record.prescription.anticoagulant != 5"
530 524
                       >
531
-                        总量
525
+                        总量:
532 526
                         <div class="under_line"
533 527
                           style="width: 50px; text-align: center"
534 528
                         >
@@ -545,14 +539,24 @@
545 539
                       </div>
546 540
                     </div>
547 541
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
548
-                      <div style="flex:2">流行性病史:</div>
542
+                      <div style="flex:2">
543
+                        流行性病史:
544
+                        <div class="under_line"
545
+                          style="width: 40%; text-align: center"
546
+                        >
547
+                          <span style="display: inline-block;height: 30px;"></span>
548
+                        </div>
549
+                      </div>
549 550
                       <div style="flex:1">医生签名:
550
-                        <span v-if=" setAdminUserES( record.prescription, 'creater') == ''">
551
-                          {{ getAdminUser( record.prescription, "creater")}}
552
-                        </span>
553
-                        <img class="es-img" :src=" setAdminUserES( record.prescription, 'creater')"
554
-                           alt="" srcset="" v-else style="height: 30px"
555
-                        />
551
+                        <div class="under_line" style="width: 40%; text-align: center">
552
+                          <span v-if=" setAdminUserES( record.prescription, 'creater') == ''">
553
+                            {{ getAdminUser( record.prescription, "creater")}}
554
+                          </span>
555
+                          <img class="es-img" :src=" setAdminUserES( record.prescription, 'creater')"
556
+                            alt="" srcset="" v-else style="height: 30px"
557
+                          />
558
+                        </div>
559
+                        
556 560
                       </div>
557 561
                     </div>
558 562
                   </td>
@@ -838,40 +842,6 @@
838 842
                               }}</span>
839 843
                             </td>
840 844
                           </tr>
841
-
842
-                          <tr v-for="(advice, advice_index) in record.his_project" :key="advice_index">
843
-                            <td height="32px;padding:1px 1px">
844
-                                <span v-if="advice.start_time">
845
-                                    {{ getTime(advice.start_time, "{h}:{i}") }}
846
-                                </span>
847
-                            </td>
848
-                            <td height="32px" colspan="2" class="advice-name" style="padding-left:7px;">
849
-                                <span style="padding-left:5px;display:inline-block;">
850
-                                  <span v-if="advice.type ==2">{{ advice && advice.project ? advice.project.project_name : '' }} {{ advice.count }} {{ advice.unit }}</span>
851
-                                  <span v-if="advice.type ==3">{{ advice && advice.good_info ? advice.good_info.good_name : '' }}  {{ advice && advice.good_info ? advice.good_info.specification_name : '' }} {{ advice.count }} {{ advice.unit }}</span>
852
-                                </span>
853
-                            </td>
854
-
855
-                            <td height="32px">
856
-                                <span v-if="setAdminUserES(advice, 'doctor') == ''">
857
-                                    {{getAdminUser(advice, 'doctor')}}
858
-                                </span>
859
-                                <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
860
-                                    <img style="height:30px;" :src="setAdminUserES(advice, 'doctor')" alt srcset />
861
-                                </span>
862
-                            </td>
863
-                            <td height="32px">
864
-                                <span v-if="setAdminUserES(advice, 'execution_staff') == ''">
865
-                                    {{getAdminUser(advice, 'execution_staff')}}
866
-                                </span>
867
-                                <span v-else>
868
-                                    <img style="height:30px;" :src="setAdminUserES(advice, 'execution_staff')" alt srcset />
869
-                                </span>
870
-                            </td>
871
-                            <td height="32px">
872
-                                <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
873
-                            </td>
874
-                          </tr>
875 845
                         </template>
876 846
                       </tbody>
877 847
                     </table>
@@ -896,7 +866,7 @@
896 866
             </div>
897 867
             <div class="row">
898 868
               <div class="inline_block">
899
-                姓名
869
+                姓名:
900 870
                 <div class="under_line" style="width: 50px; text-align: center">
901 871
                   {{ record.patient.name }}
902 872
                 </div>
@@ -1004,7 +974,7 @@
1004 974
                   <td>
1005 975
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1006 976
                       <div class="inline_block" style="flex: 1">
1007
-                        T
977
+                        温度
1008 978
                         <div
1009 979
                           class="under_line"
1010 980
                           style="width: 50px; text-align: center"
@@ -1018,7 +988,7 @@
1018 988
                         °C
1019 989
                       </div>
1020 990
                       <div class="inline_block" style="flex: 1">
1021
-                        P:
991
+                        脉搏:
1022 992
                         <div class="under_line"
1023 993
                           style="width: 50px; text-align: center"
1024 994
                         >
@@ -1031,23 +1001,9 @@
1031 1001
                         次/分
1032 1002
                       </div>
1033 1003
                       <div class="inline_block" style="flex: 1">
1034
-                        R:
1004
+                        血压:
1035 1005
                         <div class="under_line"
1036 1006
                           style="width: 50px; text-align: center"
1037
-                        >
1038
-                          {{
1039
-                            record.assessment_after_dislysis.breathing_rate
1040
-                              ? record.assessment_after_dislysis.breathing_rate
1041
-                              : "/"
1042
-                          }}
1043
-                        </div>
1044
-                        次/分
1045
-                      </div>
1046
-                      <div class="inline_block" style="flex: 1.5">
1047
-                        BP:
1048
-                        <div
1049
-                          class="under_line"
1050
-                          style="width: 50px; text-align: center"
1051 1007
                         >
1052 1008
                           {{
1053 1009
                             record.assessment_after_dislysis.systolic_blood_pressure
@@ -1056,8 +1012,7 @@
1056 1012
                           }}
1057 1013
                         </div>
1058 1014
                         /
1059
-                        <div
1060
-                          class="under_line"
1015
+                        <div class="under_line"
1061 1016
                           style="width: 50px; text-align: center"
1062 1017
                         >
1063 1018
                           {{
@@ -1068,11 +1023,23 @@
1068 1023
                         </div>
1069 1024
                         mmHg
1070 1025
                       </div>
1071
-                      
1026
+                      <div class="inline_block" style="flex: 1">
1027
+                        呼吸:
1028
+                        <div class="under_line"
1029
+                          style="width: 50px; text-align: center"
1030
+                        >
1031
+                          {{
1032
+                            record.assessment_after_dislysis.breathing_rate
1033
+                              ? record.assessment_after_dislysis.breathing_rate
1034
+                              : "/"
1035
+                          }}
1036
+                        </div>
1037
+                        次/分
1038
+                      </div>
1072 1039
                     </div>
1073 1040
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1074 1041
                       <div class="inline_block" style="flex: 2">
1075
-                        透析器凝血:
1042
+                        透析器凝血:
1076 1043
                         <div class="under_line"
1077 1044
                           style=" width: 60%; text-align: center; white-space: normal;"
1078 1045
                         >
@@ -1080,7 +1047,7 @@
1080 1047
                         </div>
1081 1048
                       </div>
1082 1049
                       <div class="inline_block" style="flex: 2">
1083
-                        内瘘
1050
+                        内瘘:
1084 1051
                         <div class="under_line"
1085 1052
                           style=" width: 75%; text-align: center; white-space: normal;"
1086 1053
                         >
@@ -1092,7 +1059,7 @@
1092 1059
                         </div>
1093 1060
                       </div>
1094 1061
                       <div class="inline_block" style="flex: 2">
1095
-                        导管
1062
+                        导管:
1096 1063
                         <div class="under_line"
1097 1064
                           style="min-width: 75%; text-align: center"
1098 1065
                         >
@@ -1102,7 +1069,7 @@
1102 1069
                         </div>
1103 1070
                       </div>
1104 1071
                       <div class="inline_block" style="flex: 2">
1105
-                        实际治疗时间
1072
+                        实际治疗时间:
1106 1073
                         <div class="under_line"
1107 1074
                           style="width: 30px; text-align: center"
1108 1075
                         >
@@ -1127,7 +1094,7 @@
1127 1094
                     </div>
1128 1095
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1129 1096
                       <div class="inline_block" style="flex: 1">
1130
-                        透后体重
1097
+                        透后体重:
1131 1098
                         <div class="under_line" style="width: 70px; text-align: center">
1132 1099
                           <span>
1133 1100
                             {{
@@ -1146,7 +1113,7 @@
1146 1113
                       </div>
1147 1114
 
1148 1115
                       <div class="inline_block" style="flex: 1">
1149
-                        体重减少
1116
+                        体重减少:
1150 1117
                         <div class="under_line"
1151 1118
                           style="width: 70px; text-align: center"
1152 1119
                         >
@@ -1162,9 +1129,7 @@
1162 1129
                       </div>
1163 1130
 
1164 1131
                       <div class="inline_block" style="flex: 1">
1165
-                        <span>
1166
-                            透析中入量(L):
1167
-                        </span>
1132
+                        <span>透析中入量(L):</span>
1168 1133
                         <div class="under_line"
1169 1134
                           style="width: 70px; text-align: center"
1170 1135
                         >
@@ -1175,12 +1140,11 @@
1175 1140
                               : "/"
1176 1141
                           }}
1177 1142
                         </div>
1178
-
1179 1143
                         {{ getUnit(record) }}
1180 1144
                       </div>
1181 1145
 
1182 1146
                       <div class="inline_block" style="flex: 1">
1183
-                        实际超滤量
1147
+                        实际超滤量:
1184 1148
                         <div class="under_line"
1185 1149
                           style="width: 70px; text-align: center"
1186 1150
                         >
@@ -1190,13 +1154,13 @@
1190 1154
                               : "/"
1191 1155
                           }}
1192 1156
                         </div>
1193
-                        ml
1157
+                        kg
1194 1158
                       </div>
1195 1159
                     </div>
1196 1160
 
1197 1161
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1198 1162
                       <div class="inline_block" style="flex: 1; display: inline-block">
1199
-                        治疗小结
1163
+                        治疗小结:
1200 1164
                         <div class="under_line"
1201 1165
                           style=" width: 840px;
1202 1166
                             line-height: 25px;
@@ -1217,7 +1181,7 @@
1217 1181
 
1218 1182
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1219 1183
                       <div class="inline_block" style="flex: 1; display: inline-block">
1220
-                        宣教知识
1184
+                        宣教知识:
1221 1185
                         <div class="under_line"
1222 1186
                           style=" width: 840px;
1223 1187
                             line-height: 25px;
@@ -1240,11 +1204,10 @@
1240 1204
                 </tr>
1241 1205
                 <tr>
1242 1206
                   <td>
1243
-                    <div class="row"
1244
-                      style="padding: 2px 0; line-height: 23px; display: flex"
1245
-                    >
1207
+                    <div class="row" style="padding: 2px 0; line-height: 23px; display: flex"
1208
+>
1246 1209
                       <div class="inline_block" style="flex: 1">
1247
-                        上机护士
1210
+                        上机护士:
1248 1211
                         <div class="under_line"
1249 1212
                           style="width: 80px; text-align: center"
1250 1213
                         >
@@ -1273,7 +1236,7 @@
1273 1236
                       </div>
1274 1237
                      
1275 1238
                       <div class="inline_block" style="flex: 1">
1276
-                        核对护士
1239
+                        核对护士:
1277 1240
                         <div
1278 1241
                           class="under_line"
1279 1242
                           style="width: 80px; text-align: left"
@@ -1401,7 +1364,7 @@
1401 1364
                       </div>
1402 1365
  
1403 1366
                       <div class="inline_block" style="flex: 1">
1404
-                        下机护士
1367
+                        下机护士:
1405 1368
                         <div
1406 1369
                           class="under_line"
1407 1370
                           style="width: 80px; text-align: center"
@@ -1443,7 +1406,7 @@
1443 1406
 
1444 1407
                       <div class="inline_block" style="flex: 1">
1445 1408
                         上机时间
1446
-                        <div class="under_line" style="width: 80px; text-align: center">
1409
+                        <div class="under_line" style="width: 65%; text-align: center">
1447 1410
                           <span style="height: 30px;display: inline-block;"></span>
1448 1411
                           
1449 1412
                           <span v-if="record.dialysis_order !=null">
@@ -1453,8 +1416,8 @@
1453 1416
                         </div>
1454 1417
                       </div>
1455 1418
                       <div class="inline_block" style="flex: 1">
1456
-                        下机时间
1457
-                        <div class="under_line" style="width: 80px; text-align: center">
1419
+                        下机时间:
1420
+                        <div class="under_line" style="width: 65%; text-align: center">
1458 1421
                           <span style="height: 30px; display: inline-block">
1459 1422
                           </span>
1460 1423
                           <span v-if="record.dialysis_order!=null">
@@ -2038,7 +2001,7 @@ export default {
2038 2001
     },
2039 2002
     printAction: function () {
2040 2003
       const style =
2041
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2004
+        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 20px; height: 20px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 16px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2042 2005
 
2043 2006
       printJS({
2044 2007
         printable: "print_content",
@@ -2187,7 +2150,7 @@ export default {
2187 2150
       }
2188 2151
       return "";
2189 2152
     },
2190
-    // 函数说明因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
2153
+    // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
2191 2154
     // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
2192 2155
     isCheckBoxChecked: function (record, key, target_value) {
2193 2156
       if (record == null || record == undefined) {

Diff nebyl zobrazen, protože je příliš veliký
+ 2470 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue


+ 44 - 29
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Zobrazit soubor

@@ -934,7 +934,7 @@
934 934
                               : "/"
935 935
                            }}
936 936
                           </span>
937
-                        
937
+
938 938
 
939 939
                           <span v-if="org_id!=10206&&org_id!=10510">
940 940
                             {{
@@ -1415,6 +1415,8 @@
1415 1415
                         <span v-if="record.prescription.anticoagulant == 17"
1416 1416
                           >U</span
1417 1417
                         >
1418
+                        <span v-if="record.prescription.anticoagulant == 19"
1419
+                        >iu</span>
1418 1420
                       </div>
1419 1421
                       <div class="inline_block" style="margin-left: 20px">
1420 1422
                         维持:
@@ -1488,6 +1490,8 @@
1488 1490
                         <span v-if="record.prescription.anticoagulant == 17"
1489 1491
                           >U/h</span
1490 1492
                         >
1493
+                        <span v-if="record.prescription.anticoagulant == 19"
1494
+                        >iu/h</span>
1491 1495
                       </div>
1492 1496
                       <div class="inline_block" style="margin-left: 20px">
1493 1497
                         总量:
@@ -1540,6 +1544,9 @@
1540 1544
                         >
1541 1545
                         <span v-if="record.prescription.anticoagulant == 17"
1542 1546
                           >U</span>
1547
+
1548
+                        <span v-if="record.prescription.anticoagulant == 19"
1549
+                          >iu</span>
1543 1550
                       </div>
1544 1551
                       <div class="inline_block" style="margin-left: 20px">
1545 1552
                         透析机号:
@@ -1558,7 +1565,7 @@
1558 1565
                         </div>
1559 1566
                       </div>
1560 1567
 
1561
-                    
1568
+
1562 1569
                       <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1563 1570
                        <div class="inline_block">
1564 1571
                         上机时间:
@@ -1705,7 +1712,9 @@
1705 1712
                               org_id != 9675 &&
1706 1713
                               org_id!=10490  &&
1707 1714
                               org_id!=10600 &&
1708
-                              org_id!=10644
1715
+                              org_id!=10644 &&
1716
+                              org_id!=0&&
1717
+                              org_id!=10567
1709 1718
                             "
1710 1719
                           >
1711 1720
                             电导度<br />(ms/cm)
@@ -1721,7 +1730,7 @@
1721 1730
                           <td
1722 1731
                             width="50"
1723 1732
                             v-if="
1724
-                              org_id ==  10469
1733
+                              org_id ==  10469 || org_id == 0 || org_id ==10567
1725 1734
                             "
1726 1735
                           >
1727 1736
                             钠浓度<br />(mmol/L)
@@ -1740,7 +1749,7 @@
1740 1749
                             <span v-if="org_id!=10471"> (ml)</span>
1741 1750
                             <span v-if="org_id==10471">L</span>
1742 1751
                           </td>
1743
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1752
+                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0 || org_id == 10567">超滤率<br />(ml/h)</td>
1744 1753
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1745 1754
                           <td
1746 1755
                             v-if="
@@ -1750,8 +1759,8 @@
1750 1759
                             "
1751 1760
                             width="50"
1752 1761
                           >
1753
-                          <span v-if="org_id!=0&&org_id!=10683">置换量</span> 
1754
-                          <span v-if="org_id ==0||org_id==10683">置换液速度</span> 
1762
+                          <span v-if="org_id!=0&&org_id!=10683">置换量</span>
1763
+                          <span v-if="org_id ==0||org_id==10683">置换液速度</span>
1755 1764
                             <br />
1756 1765
                             <span v-if="org_id!=10598 && org_id!=10567">
1757 1766
                               <span v-if="org_id!=0&&org_id!=10683">(ml)</span>
@@ -1771,7 +1780,8 @@
1771 1780
                               org_id ==10629 ||
1772 1781
                               org_id == 10510 ||
1773 1782
                               org_id == 0 ||
1774
-                              org_id == 10598
1783
+                              org_id == 10598 ||
1784
+                              org_id == 10567
1775 1785
 
1776 1786
                             "
1777 1787
                           >
@@ -1826,7 +1836,7 @@
1826 1836
                                 : ""
1827 1837
                             }}
1828 1838
                           </td>
1829
-                          
1839
+
1830 1840
                           <td>
1831 1841
                             {{
1832 1842
                               monitor_record.pulse_frequency
@@ -1849,7 +1859,7 @@
1849 1859
                                 : ""
1850 1860
                             }}
1851 1861
                           </td>
1852
-                         
1862
+
1853 1863
                           <td v-if="org_id == 10478 || org_id ==10510">
1854 1864
                             {{
1855 1865
                               monitor_record.arterial_pressure
@@ -1875,7 +1885,7 @@
1875 1885
                             </span>
1876 1886
 
1877 1887
                           </td>
1878
-                        
1888
+
1879 1889
                           <td>
1880 1890
                             {{
1881 1891
                               monitor_record.transmembrane_pressure
@@ -1906,8 +1916,11 @@
1906 1916
                               org_id != 9675 &&
1907 1917
                               org_id!=10490 &&
1908 1918
                               org_id!=10600 &&
1909
-                              org_id!=10644 
1910
-                             
1919
+                              org_id!=10644 &&
1920
+                              org_id!=0 &&
1921
+                              org_id!=10567
1922
+
1923
+
1911 1924
                             "
1912 1925
                           >
1913 1926
                             {{
@@ -1931,7 +1944,7 @@
1931 1944
 
1932 1945
                           <td
1933 1946
                             v-if="
1934
-                              org_id == 10469
1947
+                              org_id == 10469 || org_id ==0 || org_id == 10567
1935 1948
                             "
1936 1949
                           >
1937 1950
                             {{
@@ -1964,7 +1977,7 @@
1964 1977
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1965 1978
                           </td>
1966 1979
                           <td width="50" v-if="org_id == 10489 || org_id ==0"><br />
1967
-                                   
1980
+
1968 1981
                                    {{
1969 1982
                                      monitor_record.ultrafiltration_rate
1970 1983
                                        ? monitor_record.ultrafiltration_rate
@@ -1986,11 +1999,11 @@
1986 1999
                                 : ""
1987 2000
                             }}
1988 2001
                             </span>
1989
-                            
2002
+
1990 2003
                           </td>
1991 2004
 
1992
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0"><br />
1993
-                                   
2005
+                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0 || org_id == 10567"><br />
2006
+
1994 2007
                                     {{
1995 2008
                                       monitor_record.ultrafiltration_rate
1996 2009
                                         ? monitor_record.ultrafiltration_rate
@@ -2012,13 +2025,13 @@
2012 2025
                                 ? monitor_record.replacement_total
2013 2026
                                 : ""
2014 2027
                             }}
2015
-                            </span> 
2028
+                            </span>
2016 2029
                             <span v-if="org_id==0||org_id==10683">{{
2017 2030
                               monitor_record.replacement_speed
2018 2031
                                 ? monitor_record.replacement_speed
2019 2032
                                 : ""
2020 2033
                             }}
2021
-                            </span> 
2034
+                            </span>
2022 2035
                           </td>
2023 2036
                           <td v-if="org_id == 3877  || org_id == 10449">
2024 2037
                             {{
@@ -2038,7 +2051,8 @@
2038 2051
                               org_id ==10629 ||
2039 2052
                               org_id ==10510 ||
2040 2053
                               org_id== 0 ||
2041
-                              org_id ==10598
2054
+                              org_id ==10598 ||
2055
+                              org_id == 10567
2042 2056
                             "
2043 2057
                           >
2044 2058
                             {{ monitor_record.ktv }}
@@ -2130,6 +2144,7 @@
2130 2144
                         <td></td>
2131 2145
                         <td></td>
2132 2146
                         <td></td>
2147
+                        <td v-if="org_id == 0"></td>
2133 2148
                         <td  v-if="org_id == 0 || org_id == 10375"> </td>
2134 2149
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
2135 2150
                         <td
@@ -3089,7 +3104,7 @@
3089 3104
                           //    : "/"
3090 3105
                           //     }}
3091 3106
                             </span> -->
3092
-                        
3107
+
3093 3108
 
3094 3109
                         </div>
3095 3110
                         kg
@@ -3412,7 +3427,7 @@
3412 3427
 
3413 3428
 
3414 3429
                     </div>
3415
-                    
3430
+
3416 3431
                   <div
3417 3432
                     class="row"
3418 3433
                     style="padding: 2px 0; line-height: 23px; display: flex"
@@ -3438,7 +3453,7 @@
3438 3453
                     </div>
3439 3454
                   </div>
3440 3455
 
3441
-                   
3456
+
3442 3457
                   </td>
3443 3458
                 </tr>
3444 3459
                 <tr>
@@ -3782,7 +3797,7 @@
3782 3797
                           class="under_line"
3783 3798
                           style="width: 80px; text-align: center"
3784 3799
                         >
3785
-                          
3800
+
3786 3801
                         </div>
3787 3802
                       </div>
3788 3803
                       <div class="inline_block" style="flex: 1">
@@ -3910,7 +3925,7 @@ export default {
3910 3925
     };
3911 3926
   },
3912 3927
   created() {
3913
-   
3928
+
3914 3929
     var bloodAccessParOpera = getDataConfig(
3915 3930
       "hemodialysis",
3916 3931
       "vascular_access_desc"
@@ -3945,7 +3960,7 @@ export default {
3945 3960
     // }
3946 3961
     console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
3947 3962
 
3948
-   
3963
+
3949 3964
 
3950 3965
     this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
3951 3966
 
@@ -4210,7 +4225,7 @@ export default {
4210 4225
 
4211 4226
 
4212 4227
           if(this.records!=null && this.records.length>0){
4213
-           
4228
+
4214 4229
             for(let i=0;i<this.records.length;i++){
4215 4230
               this.records[i].new_his_advices = []
4216 4231
                 for(let j=0;j<this.records[i].his_advices.length;j++){
@@ -4551,7 +4566,7 @@ export default {
4551 4566
            name = this.bloodAccessParOpera[i].name
4552 4567
         }
4553 4568
       }
4554
-      
4569
+
4555 4570
       return name
4556 4571
       // if (id in this.bloodAccessParOpera) {
4557 4572
 

+ 11 - 11
src/xt_pages/dialysis/bloodPresssWatch.vue Zobrazit soubor

@@ -520,25 +520,24 @@
520 520
           >批量打印</el-button>
521 521
       </template>
522 522
       <!-- this.org_id == 10206 || this.org_id ==0 || this.org_id==9671 -->
523
-      <!-- <template v-if="this.template_id == 80">
523
+      <template v-if="template_id == 80">
524 524
         <el-button
525 525
           size="small"
526 526
           icon="el-icon-printer"
527 527
           :disabled="selecting_schs.length == 0"
528 528
           @click="batchPrintAction"
529 529
           type="primary"
530
-          >批量打印80</el-button>
531
-      </template> -->
532
-      <template v-if="(this.org_id == 10206 || this.org_id ==0)&& this.template_id == 80">
530
+          >批量打印</el-button>
531
+      </template>
532
+      <template v-if="this.template_id == 81">
533 533
         <el-button
534 534
           size="small"
535 535
           icon="el-icon-printer"
536 536
           :disabled="selecting_schs.length == 0"
537 537
           @click="batchPrintAction"
538 538
           type="primary"
539
-          >批量打印</el-button>
539
+          >批量打印81</el-button>
540 540
       </template>
541
-
542 541
     </div>
543 542
     <div class="app-container">
544 543
       <!-- <div class="filter-container">
@@ -1922,15 +1921,15 @@ export default {
1922 1921
           this.$message.error(response.data.msg);
1923 1922
           return false;
1924 1923
         } else {
1925
-          if(this.org_id == 10206 || this.org_id ==0){
1924
+          if(this.org_id ==10206){
1926 1925
             this.template_id = 80
1926
+            // this.template_id = 81
1927 1927
             console.log("templage-i233232323232322323233232323223",this.template_id)
1928 1928
           }else{
1929 1929
             var template = response.data.data.template;
1930 1930
             this.template_id = template.template_id;
1931
-            
1932 1931
           }
1933
-          
1932
+
1934 1933
         }
1935 1934
       });
1936 1935
     },
@@ -2768,9 +2767,10 @@ export default {
2768 2767
         this.$router.push({ path: "/dialysis/print/batch/seventyeight" });
2769 2768
       }else if (this.template_id == 79) {
2770 2769
         this.$router.push({ path: "/dialysis/print/batch/seventynine" });
2771
-      }else if ((this.org_id == 10206 || this.org_id ==0)&& this.template_id == 80) {
2772
-        //  this.template_id == 80
2770
+      }else if (this.template_id == 80) {
2773 2771
         this.$router.push({ path: "/dialysis/print/batch/eighty" });
2772
+      }else if (this.template_id == 81) {
2773
+        this.$router.push({ path: "/dialysis/print/batch/eightyone" });
2774 2774
       }
2775 2775
     },
2776 2776
     batchPrintActionOne: function() {

+ 26 - 5
src/xt_pages/dialysis/details/consumable/dialysisGather.vue Zobrazit soubor

@@ -266,14 +266,14 @@
266 266
           <el-table-column align="center" label="葡萄糖酸钙" v-if="gatherSetting.putaosuangai == 1">
267 267
              <template slot-scope="scope">
268 268
               <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_three }}</span>
269
-              <span v-if="scope.row.schedule_date <= timenow">{{ getLongAdviceThree(scope.row.long_doctor_advice,scope.row.schedule_date) }}</span>
269
+              <span v-if="scope.row.schedule_date > timenow">{{ getLongAdviceThree(scope.row.long_doctor_advice,scope.row.schedule_date) }}</span>
270 270
              </template>
271 271
           </el-table-column>
272 272
 
273 273
           <el-table-column align="center" label="肝素钠" v-if="org_id == 0 || org_id == 10683">
274 274
              <template slot-scope="scope">
275 275
               <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_four }}</span>
276
-              <span v-if="scope.row.schedule_date <= timenow">{{ getLongAdviceFour(scope.row.long_doctor_advice,scope.row.schedule_date)  }}</span>
276
+              <span v-if="scope.row.schedule_date > timenow">{{ getLongAdviceFour(scope.row.long_doctor_advice,scope.row.schedule_date)  }}</span>
277 277
              </template>
278 278
           </el-table-column>
279 279
           
@@ -736,6 +736,7 @@
736 736
                   list[i].advice_spc_two =""
737 737
                   list[i].advice_spc_three = ""
738 738
                   list[i].advice_spc_four = ""
739
+                  list[i].advice_spc_five = 0
739 740
                   for(let j=0;j<list[i].advice.length;j++){
740 741
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
741 742
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
@@ -754,9 +755,19 @@
754 755
                        }
755 756
 
756 757
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
757
-                          list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
758
+                          // list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
759
+                         
760
+                          if(parseInt(list[i].advice[j].prescribing_number) >0){
761
+                            list[i].advice_spc_five += parseInt(list[i].advice[j].prescribing_number) 
762
+                            
763
+                            list[i].advice_spc_four =  list[i].advice_spc_five + "支"
764
+                          }else{
765
+                            list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
766
+                          }
758 767
                        }
759 768
 
769
+
770
+
760 771
                    }
761 772
                 }
762 773
                 console.log("listwowowowowowo日本",this.list)
@@ -2266,6 +2277,7 @@
2266 2277
         var newArrList = []
2267 2278
         var newArr = []
2268 2279
         var advice_name = ""
2280
+        var count = 0
2269 2281
          if(val!=null && val.length>0){
2270 2282
             for(let i=0;i<val.length;i++){
2271 2283
               if(val[i].advice_name.indexOf("左卡")!=-1){
@@ -2286,6 +2298,7 @@
2286 2298
          if(newArr!=null && newArr.length>0){
2287 2299
            for(let i=0;i<newArr.length;i++){
2288 2300
              advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2301
+             
2289 2302
            }
2290 2303
          }
2291 2304
          return advice_name
@@ -2351,6 +2364,7 @@
2351 2364
         var newArrList = []
2352 2365
         var newArr = []
2353 2366
         var advice_name = ""
2367
+        var count =0
2354 2368
          if(val!=null && val.length>0){
2355 2369
             for(let i=0;i<val.length;i++){
2356 2370
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
@@ -2370,10 +2384,17 @@
2370 2384
        
2371 2385
          if(newArr!=null && newArr.length>0){
2372 2386
            for(let i=0;i<newArr.length;i++){
2373
-             advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2387
+            //  
2388
+             count += newArr[i].prescribing_number
2374 2389
            }
2375 2390
          }
2376
-         return advice_name
2391
+         if(count >0){
2392
+          return count +"支"
2393
+         }else{
2394
+          advice_name  += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2395
+          return  advice_name
2396
+         }
2397
+        
2377 2398
        },
2378 2399
        getweekday(date){
2379 2400
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");

+ 18 - 3
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue Zobrazit soubor

@@ -308,6 +308,7 @@
308 308
                   list[i].advice_spc_two =""
309 309
                   list[i].advice_spc_three = ""
310 310
                    list[i].advice_spc_four = ""
311
+                   list[i].advice_spc_five = 0
311 312
                    for(let j=0;j<list[i].advice.length;j++){
312 313
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
313 314
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
@@ -326,7 +327,14 @@
326 327
                        }
327 328
 
328 329
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
329
-                          list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
330
+                          // list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
331
+                          if(parseInt(list[i].advice[j].prescribing_number) >0){
332
+                            list[i].advice_spc_five += parseInt(list[i].advice[j].prescribing_number) 
333
+                            
334
+                            list[i].advice_spc_four =  list[i].advice_spc_five + "支"
335
+                          }else{
336
+                            list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
337
+                          }
330 338
                        }
331 339
 
332 340
                    }
@@ -566,6 +574,7 @@
566 574
         var newArrList = []
567 575
         var newArr = []
568 576
         var advice_name = ""
577
+        var count = 0
569 578
          if(val!=null && val.length>0){
570 579
             for(let i=0;i<val.length;i++){
571 580
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
@@ -585,10 +594,16 @@
585 594
        
586 595
          if(newArr!=null && newArr.length>0){
587 596
            for(let i=0;i<newArr.length;i++){
588
-              advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
597
+            count += newArr[i].prescribing_number
598
+              // advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
589 599
            }
590 600
          }
591
-         return advice_name
601
+         if(count >0){
602
+          return count +"支"
603
+         }else{
604
+          return ""
605
+         }
606
+        
592 607
        },
593 608
        getweekday(date){
594 609
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");

+ 1 - 6
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue Zobrazit soubor

@@ -314,12 +314,7 @@
314 314
               {{ scope.row.advice_spc_five }}
315 315
            </template>
316 316
         </el-table-column>
317
-       <el-table-column align="center" label="封管液" v-if="dialysisSett.sealing_fluid_dispose == 1">
318
-           <template slot-scope="scope">
319
-             <span>{{scope.row.xt_assesment_after_dislysis.sealing_fluid_dispose}} </span> 
320
-           </template>
321
-        </el-table-column>
322
-
317
+      
323 318
         <el-table-column align="center" label="葡萄糖"  v-if="dialysisSett.glucose==1">
324 319
            <template slot-scope="scope">
325 320
              <span>{{scope.row.dialysis_solution.amylaceum?scope.row.dialysis_solution.amylaceum:""}} </span> 

+ 8 - 14
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue Zobrazit soubor

@@ -52,11 +52,10 @@
52 52
                 <td width="100" v-if="dialysisSett.sealing_fluid_dispose == 1">封管液</td>
53 53
                 <td width="100"  v-if="dialysisSett.glucose==1">葡萄糖</td>
54 54
                 <td width="100"  v-if="dialysisSett.blood_flow_volume==1">血流量</td>
55
-                <td  v-if="dialysisSett.sealing_fluid_dispose==1">封管液</td>
56 55
                 <td v-if="dialysisSett.cuhong_set==1">促红</td>
57 56
                 <td v-if="dialysisSett.zuoka_set == 1">左卡</td>
58 57
                 <td v-if="dialysisSett.difenzi_set == 1">低分子</td>
59
-                <td v-if="dialysisSett.advice_spc_three == 1">肝素钠</td>
58
+                <td v-if="dialysisSett.gansuna_set == 1">肝素钠</td>
60 59
                 <td v-if="dialysisSett.zhetangtie == 1">蔗糖铁</td>
61 60
                 <td v-if="dialysisSett.niaojimei_set == 1">尿激酶</td>
62 61
               </tr>
@@ -185,28 +184,23 @@
185 184
                    <span>{{item.dialysis_solution.blood_flow_volume?item.dialysis_solution.blood_flow_volume:""}}</span> 
186 185
                 </td>
187 186
                 
188
-                <td v-if="dialysisSett.sealing_fluid_dispose ==1">
189
-                  <span v-if="getBloodAccessOption(item.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
190
-                  <span v-else></span>
191
-                </td>
192
-                
193
-                
194
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
187
+             
188
+                <td v-if="dialysisSett.cuhong_set==1">
195 189
                   {{ item.advice_spc }}
196 190
                 </td>
197
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
191
+                <td  v-if="dialysisSett.zuoka_set == 1">
198 192
                   {{ item.advice_spc_one }}
199 193
                 </td>
200
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
194
+                <td v-if="dialysisSett.difenzi_set == 1">
201 195
                   {{ item.advice_spc_two }}
202 196
                 </td>
203
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
197
+                <td v-if="dialysisSett.gansuna_set == 1">
204 198
                   {{ item.advice_spc_three }}
205 199
                 </td>
206
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
200
+                <td v-if="dialysisSett.zhetangtie == 1">
207 201
                   {{ item.advice_spc_four }}
208 202
                 </td>
209
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
203
+                <td v-if="dialysisSett.niaojimei_set == 1">
210 204
                   {{ item.advice_spc_five }}
211 205
                 </td>
212 206
                </tr>

+ 34 - 37
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

@@ -10,7 +10,7 @@
10 10
                 class="newDialog"
11 11
         >
12 12
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
13
-           
13
+
14 14
             <span style="position: absolute;left: 20%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
15 15
               透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16 16
             </span>
@@ -19,8 +19,8 @@
19 19
               透前体重:{{predialysis&&(predialysis.weight_before-predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
20 20
             </span>
21 21
 
22
-          
23
-           
22
+
23
+
24 24
             <span style="position: absolute;left: 30%;top: 3%">
25 25
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
26 26
             </span>
@@ -29,8 +29,8 @@
29 29
             </span> -->
30 30
             <span style="position: absolute;left:38%;top: 3%">
31 31
               上次透后体重:
32
-               <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span> 
33
-               <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span> 
32
+               <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span>
33
+               <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span>
34 34
             </span>
35 35
 
36 36
             <span style="position: absolute;left:51%;top: 3%">
@@ -51,8 +51,8 @@
51 51
               <span v-if="predialysis!=null && last_record!=null">
52 52
                 {{predialysis&&last_record&&((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2)?((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2):"" }} kg
53 53
               </span>
54
-            
55
-            
54
+
55
+
56 56
             </span>
57 57
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
58 58
             <el-form
@@ -560,7 +560,7 @@
560 560
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
561 561
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
562 562
                             </el-form-item>
563
-                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" 
563
+                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
564 564
                             v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13"
565 565
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
566 566
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
@@ -966,10 +966,10 @@
966 966
                     <el-col :span="8"
967 967
                             v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
968 968
                             v-show="totalShow">
969
-                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26">
969
+                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26 && this.$store.getters.xt_user.template_info.org_id !=10206">
970 970
                             <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>
971 971
                         </el-form-item>
972
-                        <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id ==26">
972
+                        <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id ==26 || this.$store.getters.xt_user.template_info.org_id == 10206">
973 973
                             <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>
974 974
                         </el-form-item>
975 975
                     </el-col>
@@ -1389,7 +1389,7 @@
1389 1389
                 <span>上次透后称重(kg)</span>
1390 1390
                 <span>{{ getLastAfterWeight(last_record) }}</span>
1391 1391
             </div>
1392
-          
1392
+
1393 1393
           <div  class="newLine"><span>近五次数据展示:</span></div>
1394 1394
            <div>
1395 1395
             <el-table
@@ -2282,7 +2282,7 @@ mu
2282 2282
            }else{
2283 2283
                this.dialysisPrescription.dialysis_remark=""
2284 2284
            }
2285
-          
2285
+
2286 2286
           } else {
2287 2287
             this.zhiShow = false
2288 2288
             this.huShow = false
@@ -2634,18 +2634,18 @@ mu
2634 2634
         }
2635 2635
       },
2636 2636
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2637
-      
2637
+
2638 2638
         if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635){
2639 2639
           if(this.predialysis!=undefined){
2640 2640
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2641 2641
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2642 2642
             }
2643
-          
2643
+
2644 2644
             if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
2645 2645
               if((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)>0){
2646 2646
                 this.dialysisPrescription.prescription_water = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2647 2647
               }
2648
-            
2648
+
2649 2649
             }
2650 2650
          }
2651 2651
         }
@@ -3200,13 +3200,10 @@ mu
3200 3200
         if(moment().weekday() == 0){
3201 3201
            total_day ="周日"
3202 3202
         }
3203
-         
3204
-        console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhh",this.targetAdvices)
3203
+
3205 3204
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
3206 3205
             for (let i = 0; i < this.targetAdvices.length; i++) {
3207
-              console.log("WOOWOWOWOWOWOW",this.targetAdvices[i].week_day.indexOf(total_day))
3208 3206
               if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
3209
-                console.log("尽力啊=--------------------")
3210 3207
                 this.targetAdvices[i].isCheck = 1
3211 3208
               }
3212 3209
               if(this.targetAdvices[i].frequency_type == 1){
@@ -3284,7 +3281,7 @@ mu
3284 3281
              return false
3285 3282
          }
3286 3283
         }
3287
-         
3284
+
3288 3285
         this.$refs[formName].validate((valid)=>{
3289 3286
           if(valid){
3290 3287
             if(!this.isLoading){
@@ -4601,8 +4598,8 @@ mu
4601 4598
       }else{
4602 4599
         this.dialysisPrescription.dialysis_remark = ""
4603 4600
       }
4604
-       
4605
-      
4601
+
4602
+
4606 4603
 
4607 4604
       const ParamsQuery = {}
4608 4605
       ParamsQuery['patient_id'] = this.$route.query.patient_id
@@ -4759,25 +4756,25 @@ mu
4759 4756
 
4760 4757
     },
4761 4758
     handlePatientInfo(id) {
4762
-      
4759
+
4763 4760
       getPatientRecordList(id).then(response=>{
4764 4761
         if(response.data.state ==1){
4765 4762
           this.isVisibility = false
4766 4763
           this.msgtip_visibility = true
4767 4764
 
4768
-          
4765
+
4769 4766
           var beforList = response.data.data.beforList
4770
-       
4767
+
4771 4768
           this.tableData = beforList
4772 4769
 
4773 4770
           var afterList =  response.data.data.afterList
4774
-       
4771
+
4775 4772
           this.afterList = afterList
4776 4773
 
4777 4774
           this.monitorList = response.data.data.monitorList
4778 4775
         }
4779 4776
       })
4780
-     
4777
+
4781 4778
     },
4782 4779
     GetLast(date){
4783 4780
       var weight_after = ""
@@ -4798,23 +4795,23 @@ mu
4798 4795
       return cruor
4799 4796
     },
4800 4797
     GetMonitorList(monitor_date){
4801
-     
4798
+
4802 4799
         var str = ""
4803 4800
         var newArr = []
4804 4801
         for(let i=0;i<this.monitorList.length;i++){
4805 4802
           for(let j=0;j<this.monitorList[i].child.length;j++){
4806 4803
             if(monitor_date == this.monitorList[i].monitoring_date){
4807
-              newArr.push(this.monitorList[i].child[j]) 
4804
+              newArr.push(this.monitorList[i].child[j])
4808 4805
             }
4809 4806
           }
4810 4807
         }
4811
-       
4808
+
4812 4809
         if(newArr!=null && newArr.length>0){
4813 4810
         for(let i=0;i<newArr.length;i++){
4814 4811
             str += newArr[i].systolic_blood_pressure +"/"+newArr[i].diastolic_blood_pressure+","
4815 4812
         }
4816 4813
         }
4817
-      
4814
+
4818 4815
         return str
4819 4816
     },
4820 4817
     handlePatientInfoOne(){
@@ -5480,18 +5477,18 @@ mu
5480 5477
       },
5481 5478
       'dialysisPrescription.prescription_water':function(){
5482 5479
         if(this.$store.getters.xt_user.template_info.org_id==10598){
5483
-           
5480
+
5484 5481
           if(this.dialysisPrescription.mode_id == 2 || this.dialysisPrescription.mode_id == 3){
5485 5482
              this.dialysisPrescription.target_ultrafiltration = parseFloat(this.dialysisPrescription.prescription_water)  + 0.3
5486 5483
           }else{
5487 5484
             if(this.dialysisPrescription.prescription_water > this.dialysisPrescription.target_ultrafiltration){
5488
-              this.dialysisPrescription.target_ultrafiltration =  this.dialysisPrescription.prescription_water 
5485
+              this.dialysisPrescription.target_ultrafiltration =  this.dialysisPrescription.prescription_water
5489 5486
             }
5490 5487
           }
5491
-          
5492
-           
5488
+
5489
+
5493 5490
         }
5494
-        
5491
+
5495 5492
       },
5496 5493
       stockType: function() {
5497 5494
         console.log('stockType', this.stockType)
@@ -5544,7 +5541,7 @@ mu
5544 5541
         }
5545 5542
         console.log(" 人员",this.adminRoles)
5546 5543
       },
5547
-     
5544
+
5548 5545
     },
5549 5546
     created() {
5550 5547
 

+ 22 - 17
src/xt_pages/dialysis/dialysisPrintOrder.vue Zobrazit soubor

@@ -988,7 +988,7 @@
988 988
         >
989 989
         </div>
990 990
       </template>
991
-      <template v-if="org_template_info.template_id == 80 && (org_id == 10206 || org_id == 0)">
991
+      <template v-if="org_template_info.template_id == 80">
992 992
         <div>
993 993
           <el-button
994 994
           :loading="loading"
@@ -1000,8 +1000,7 @@
1000 1000
         >
1001 1001
         </div>
1002 1002
       </template>
1003
-
1004
-      <!-- <template v-if="org_id == 10206 || org_id ==0 || org_id==9671 ">
1003
+      <template v-if="org_template_info.template_id == 81">
1005 1004
         <div>
1006 1005
           <el-button
1007 1006
           :loading="loading"
@@ -1012,8 +1011,8 @@
1012 1011
           >打印</el-button
1013 1012
         >
1014 1013
         </div>
1015
-      </template> -->
1016
-      
1014
+      </template>
1015
+
1017 1016
     </div>
1018 1017
     <div class="app-container" style="min-height: 0">
1019 1018
       <!--<div class="order-print-btn"-->
@@ -1137,8 +1136,7 @@
1137 1136
             </el-table>
1138 1137
           </div>
1139 1138
         </div>
1140
-        <div
1141
-          class="dialysisPage"
1139
+        <div class="dialysisPage"
1142 1140
           style="height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px"
1143 1141
         >
1144 1142
           <DialysisPrintOrderOne
@@ -1536,11 +1534,11 @@
1536 1534
           </DialysisPrintOrderSeventynine>
1537 1535
 
1538 1536
           <DialysisPrintOrdereighty v-bind:childResponse="childResponse"
1539
-            v-if="org_template_info.template_id == 80 && (org_id == 10206 || org_id == 0)">
1537
+            v-if="org_template_info.template_id == 80">
1540 1538
           </DialysisPrintOrdereighty>
1541
-          <!-- <DialysisPrintOrdereighty v-bind:childResponse="childResponse"
1542
-            v-if="org_id == 10206 || org_id == 0 || org_id==9671">
1543
-          </DialysisPrintOrdereighty> -->
1539
+          <DialysisPrintOrdereightyone v-bind:childResponse="childResponse"
1540
+            v-if="org_template_info.template_id == 81">
1541
+          </DialysisPrintOrdereightyone>
1544 1542
         </div>
1545 1543
       </el-container>
1546 1544
     </div>
@@ -1639,6 +1637,7 @@ import DialysisPrintOrderSeventyseven from './template/DialysisPrintOrderSeventy
1639 1637
 import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventyeight'
1640 1638
 import DialysisPrintOrderSeventynine from './template/DialysisPrintOrderSeventynine'
1641 1639
 import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1640
+import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
1642 1641
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1643 1642
 export default {
1644 1643
   name: "dialysisPrintOrder",
@@ -1723,6 +1722,7 @@ export default {
1723 1722
     DialysisPrintOrderSeventyeight,
1724 1723
     DialysisPrintOrderSeventynine,
1725 1724
     DialysisPrintOrdereighty,
1725
+    DialysisPrintOrdereightyone,
1726 1726
     DialysisPrintOrderZero,
1727 1727
     LabelBox,
1728 1728
     BreadCrumb,
@@ -2436,8 +2436,15 @@ export default {
2436 2436
           scanStyles: false,
2437 2437
         });
2438 2438
       }
2439
-      else if (this.org_template_info.template_id == 80 && (this.org_id == 10206 || this.org_id ==0)) {
2440
-        console.log('this.org_template_info.template_id == 80',this.org_template_info.template_id);
2439
+      else if (this.org_template_info.template_id == 80) {
2440
+        printJS({
2441
+          printable: "dialysis-print-box-1",
2442
+          type: "html",
2443
+          style: style2,
2444
+          scanStyles: false,
2445
+        });
2446
+      }
2447
+      else if (this.org_template_info.template_id == 81 ) {
2441 2448
         printJS({
2442 2449
           printable: "dialysis-print-box-1",
2443 2450
           type: "html",
@@ -2661,10 +2668,8 @@ export default {
2661 2668
           this.date = response.data.data.patientInfo.DialysisSchedule.schedule_date
2662 2669
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2663 2670
           this.patient_name = response.data.data.patientInfo.name
2664
-          
2665
-          // this.org_template_info.template_id= response.data.data.org_template_info.template_id
2666
-          // console.log('this.org_template_info是数据',response.data.data.org_template_info.template_id);
2667
-          if(this.org_id !=10206 &&this.org_id !=0){
2671
+
2672
+          if(this.org_id !=10206){
2668 2673
             this.org_template_info.template_id= response.data.data.org_template_info.template_id
2669 2674
             this.org_template_info = response.data.data.org_template_info;
2670 2675
           }else{

+ 78 - 78
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

@@ -517,7 +517,7 @@
517 517
                         style="
518 518
                           width: 100px;
519 519
                           text-align: center;
520
-                         
520
+
521 521
                         "
522 522
                         v-if="prescription.mode_id == 1"
523 523
                       >
@@ -528,7 +528,7 @@
528 528
                         style="
529 529
                           width: 100px;
530 530
                           text-align: center;
531
-                        
531
+
532 532
                         "
533 533
                         v-if="prescription.mode_id == 2"
534 534
                       >
@@ -539,7 +539,7 @@
539 539
                         style="
540 540
                           width: 100px;
541 541
                           text-align: center;
542
-                         
542
+
543 543
                         "
544 544
                         v-if="prescription.mode_id == 3"
545 545
                       >
@@ -550,7 +550,7 @@
550 550
                         style="
551 551
                           width: 100px;
552 552
                           text-align: center;
553
-                          
553
+
554 554
                         "
555 555
                         v-if="prescription.mode_id == 4"
556 556
                       >
@@ -561,7 +561,7 @@
561 561
                         style="
562 562
                           width: 100px;
563 563
                           text-align: center;
564
-                         
564
+
565 565
                         "
566 566
                         v-if="prescription.mode_id == 5"
567 567
                       >
@@ -572,7 +572,7 @@
572 572
                         style="
573 573
                           width: 100px;
574 574
                           text-align: center;
575
-                         
575
+
576 576
                         "
577 577
                         v-if="prescription.mode_id == 6"
578 578
                       >
@@ -583,7 +583,7 @@
583 583
                         style="
584 584
                           width: 100px;
585 585
                           text-align: center;
586
-                          
586
+
587 587
                         "
588 588
                         v-if="prescription.mode_id == 7"
589 589
                       >
@@ -594,7 +594,7 @@
594 594
                         style="
595 595
                           width: 100px;
596 596
                           text-align: center;
597
-                         
597
+
598 598
                         "
599 599
                         v-if="prescription.mode_id == 8"
600 600
                       >
@@ -605,7 +605,7 @@
605 605
                         style="
606 606
                           width: 100px;
607 607
                           text-align: center;
608
-                          
608
+
609 609
                         "
610 610
                         v-if="prescription.mode_id == 9"
611 611
                       >
@@ -616,7 +616,7 @@
616 616
                         style="
617 617
                           width: 100px;
618 618
                           text-align: center;
619
-                          
619
+
620 620
                         "
621 621
                         v-if="prescription.mode_id == 10"
622 622
                       >
@@ -627,7 +627,7 @@
627 627
                         style="
628 628
                           width: 100px;
629 629
                           text-align: center;
630
-                         
630
+
631 631
                         "
632 632
                         v-if="prescription.mode_id == 11"
633 633
                       >
@@ -638,7 +638,7 @@
638 638
                         style="
639 639
                           width: 100px;
640 640
                           text-align: center;
641
-                          
641
+
642 642
                         "
643 643
                         v-if="prescription.mode_id == 12"
644 644
                       >
@@ -649,7 +649,7 @@
649 649
                         style="
650 650
                           width: 100px;
651 651
                           text-align: center;
652
-                         
652
+
653 653
                         "
654 654
                         v-if="prescription.mode_id == 13"
655 655
                       >
@@ -660,7 +660,7 @@
660 660
                         style="
661 661
                           width: 100px;
662 662
                           text-align: center;
663
-                         
663
+
664 664
                         "
665 665
                         v-if="prescription.mode_id == 14"
666 666
                       >
@@ -671,7 +671,7 @@
671 671
                         style="
672 672
                           width: 100px;
673 673
                           text-align: center;
674
-                         
674
+
675 675
                         "
676 676
                         v-if="prescription.mode_id == 15"
677 677
                       >
@@ -682,7 +682,7 @@
682 682
                         style="
683 683
                           width: 100px;
684 684
                           text-align: center;
685
-                          
685
+
686 686
                         "
687 687
                         v-if="prescription.mode_id == 16"
688 688
                       >
@@ -693,7 +693,7 @@
693 693
                         style="
694 694
                           width: 100px;
695 695
                           text-align: center;
696
-                          
696
+
697 697
                         "
698 698
                         v-if="prescription.mode_id == 17"
699 699
                       >
@@ -704,7 +704,7 @@
704 704
                         style="
705 705
                           width: 100px;
706 706
                           text-align: center;
707
-                          
707
+
708 708
                         "
709 709
                         v-if="prescription.mode_id == 18"
710 710
                       >
@@ -715,7 +715,7 @@
715 715
                         style="
716 716
                           width: 100px;
717 717
                           text-align: center;
718
-                          
718
+
719 719
                         "
720 720
                         v-if="prescription.mode_id == 19"
721 721
                       >
@@ -726,7 +726,7 @@
726 726
                         style="
727 727
                           width: 150px;
728 728
                           text-align: center;
729
-                         
729
+
730 730
                         "
731 731
                         v-if="prescription.mode_id == 22"
732 732
                       >
@@ -737,7 +737,7 @@
737 737
                         style="
738 738
                           width: 150px;
739 739
                           text-align: center;
740
-                          
740
+
741 741
                         "
742 742
                         v-if="prescription.mode_id == 23"
743 743
                       >
@@ -748,7 +748,7 @@
748 748
                         style="
749 749
                           width: 150px;
750 750
                           text-align: center;
751
-                         
751
+
752 752
                         "
753 753
                         v-if="prescription.mode_id == 24"
754 754
                       >
@@ -758,7 +758,7 @@
758 758
                         class="under_line"
759 759
                         style="width: 100px;
760 760
                           text-align: center;
761
-                         
761
+
762 762
                         "
763 763
                         v-if="prescription.mode_id == 25"
764 764
                       >
@@ -769,7 +769,7 @@
769 769
                         style="
770 770
                           width: 100px;
771 771
                           text-align: center;
772
-                         
772
+
773 773
                         "
774 774
                         v-if="prescription.mode_id == 29"
775 775
                       >
@@ -780,7 +780,7 @@
780 780
                         style="
781 781
                           width: 100px;
782 782
                           text-align: center;
783
-                          
783
+
784 784
                         "
785 785
                         v-if="prescription.mode_id == 30"
786 786
                       >
@@ -791,7 +791,7 @@
791 791
                         style="
792 792
                           width: 100px;
793 793
                           text-align: center;
794
-                          
794
+
795 795
                         "
796 796
                         v-if="prescription.mode_id == 31"
797 797
                       >
@@ -802,7 +802,7 @@
802 802
                         style="
803 803
                           width: 100px;
804 804
                           text-align: center;
805
-                          
805
+
806 806
                         "
807 807
                         v-if="prescription.mode_id == 32"
808 808
                       >
@@ -813,7 +813,7 @@
813 813
                         style="
814 814
                           width: 100px;
815 815
                           text-align: center;
816
-                          
816
+
817 817
                         "
818 818
                         v-if="prescription.mode_id == 33"
819 819
                       >
@@ -824,7 +824,7 @@
824 824
                         style="
825 825
                           width: 100px;
826 826
                           text-align: center;
827
-                          
827
+
828 828
                         "
829 829
                         v-if="prescription.mode_id == 34"
830 830
                       >
@@ -835,7 +835,7 @@
835 835
                         style="
836 836
                           width: 100px;
837 837
                           text-align: center;
838
-                         
838
+
839 839
                         "
840 840
                         v-if="prescription.mode_id == 35"
841 841
                       >
@@ -846,7 +846,7 @@
846 846
                         style="
847 847
                           width: 100px;
848 848
                           text-align: center;
849
-                          
849
+
850 850
                         "
851 851
                         v-if="prescription.mode_id == 36"
852 852
                       >
@@ -857,7 +857,7 @@
857 857
                         style="
858 858
                           width: 100px;
859 859
                           text-align: center;
860
-                         
860
+
861 861
                         "
862 862
                         v-if="prescription.mode_id == 37"
863 863
                       >
@@ -868,7 +868,7 @@
868 868
                         style="
869 869
                           width: 100px;
870 870
                           text-align: center;
871
-                         
871
+
872 872
                         "
873 873
                         v-if="prescription.mode_id == 38"
874 874
                       >
@@ -879,7 +879,7 @@
879 879
                         style="
880 880
                           width: 100px;
881 881
                           text-align: center;
882
-                          
882
+
883 883
                         "
884 884
                         v-if="prescription.mode_id == 39"
885 885
                       >
@@ -891,7 +891,7 @@
891 891
                         style="
892 892
                           width: 100px;
893 893
                           text-align: center;
894
-                          
894
+
895 895
                         "
896 896
                         v-if="prescription.mode_id == 40"
897 897
                       >
@@ -903,7 +903,7 @@
903 903
                         style="
904 904
                           width: 100px;
905 905
                           text-align: center;
906
-                         
906
+
907 907
                         "
908 908
                         v-if="prescription.mode_id == 41"
909 909
                       >
@@ -915,7 +915,7 @@
915 915
                         style="
916 916
                           width: 100px;
917 917
                           text-align: center;
918
-                         
918
+
919 919
                         "
920 920
                         v-if="prescription.mode_id == 42"
921 921
                       >
@@ -927,7 +927,7 @@
927 927
                         style="
928 928
                           width: 100px;
929 929
                           text-align: center;
930
-                          
930
+
931 931
                         "
932 932
                         v-if="prescription.mode_id == 43"
933 933
                       >
@@ -1444,9 +1444,9 @@
1444 1444
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1445 1445
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1446 1446
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1447
-                      <span v-if="prescription.anticoagulant == 14">
1448
-                       <span v-if="org_id!=10644">mg</span> 
1449
-                       <span v-if="org_id==10644">iu</span> 
1447
+                      <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1448
+                       <span v-if="org_id!=10644">mg</span>
1449
+                       <span v-if="org_id==10644">iu</span>
1450 1450
                       </span>
1451 1451
                       <span v-if="prescription.anticoagulant == 17">U</span>
1452 1452
                     </span>
@@ -1463,9 +1463,9 @@
1463 1463
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1464 1464
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1465 1465
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1466
-                     <span v-if="prescription.anticoagulant == 14">
1467
-                      <span v-if="org_id!=10644">mg</span> 
1468
-                      <span v-if="org_id==10644">iu</span> 
1466
+                     <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1467
+                      <span v-if="org_id!=10644">mg</span>
1468
+                      <span v-if="org_id==10644">iu</span>
1469 1469
                      </span>
1470 1470
                      <span v-if="prescription.anticoagulant == 17">U</span>
1471 1471
 
@@ -1509,9 +1509,9 @@
1509 1509
                         <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg/h</span>
1510 1510
                         <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1511 1511
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1512
-                          <span v-if="prescription.anticoagulant == 14">
1513
-                            <span v-if="org_id!=10644">mg/h</span> 
1514
-                            <span v-if="org_id==10644">iu/h</span> 
1512
+                          <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1513
+                            <span v-if="org_id!=10644">mg/h</span>
1514
+                            <span v-if="org_id==10644">iu/h</span>
1515 1515
                           </span>
1516 1516
                           <span v-if="prescription.anticoagulant == 17">U/h</span>
1517 1517
                       </span>
@@ -1527,9 +1527,9 @@
1527 1527
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1528 1528
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1529 1529
                           <span v-if="prescription.anticoagulant == 13">iu/h</span>
1530
-                          <span v-if="prescription.anticoagulant == 14">
1531
-                            <span v-if="org_id!=10644">mg/h</span> 
1532
-                            <span v-if="org_id==10644">iu/h</span> 
1530
+                          <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1531
+                            <span v-if="org_id!=10644">mg/h</span>
1532
+                            <span v-if="org_id==10644">iu/h</span>
1533 1533
                           </span>
1534 1534
                           <span v-if="prescription.anticoagulant == 17">U/h</span>
1535 1535
                       </span>
@@ -1600,9 +1600,9 @@
1600 1600
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1601 1601
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1602 1602
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1603
-                      <span v-if="prescription.anticoagulant == 14">
1604
-                        <span v-if="org_id!=10644">mg</span> 
1605
-                        <span v-if="org_id==10644">iu</span> 
1603
+                      <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1604
+                        <span v-if="org_id!=10644">mg</span>
1605
+                        <span v-if="org_id==10644">iu</span>
1606 1606
                       </span>
1607 1607
                       <span v-if="prescription.anticoagulant == 17">U</span>
1608 1608
                      </span>
@@ -1618,9 +1618,9 @@
1618 1618
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1619 1619
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1620 1620
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1621
-                      <span v-if="prescription.anticoagulant == 14">
1622
-                        <span v-if="org_id!=10644">mg</span> 
1623
-                        <span v-if="org_id==10644">iu</span> 
1621
+                      <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1622
+                        <span v-if="org_id!=10644">mg</span>
1623
+                        <span v-if="org_id==10644">iu</span>
1624 1624
                       </span>
1625 1625
                       <span v-if="prescription.anticoagulant == 17">U</span>
1626 1626
                     </span>
@@ -1839,8 +1839,8 @@
1839 1839
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1840 1840
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671 && org_id!=10644">透析液温度(°C)</td>
1841 1841
                         <td width="50" v-if="org_id != 10121 &&  org_id!=10600 && org_id!=10644">
1842
-                          <span v-if="org_id !=10469 && org_id!=10490 "> 电导度<br />(ms/cm)</span>
1843
-                          <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
1842
+                          <span v-if="org_id !=10469 && org_id!=10490 && org_id!=10567 && org_id!=0 "> 电导度<br />(ms/cm)</span>
1843
+                          <span v-if="org_id ==10469 || org_id == 0"> 钠浓度<br />(mmol/L)</span>
1844 1844
                           <span v-if="org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1845 1845
                         </td>
1846 1846
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
@@ -1851,7 +1851,7 @@
1851 1851
                          <span v-if="org_id == 10471">L</span>
1852 1852
                          <span v-if="org_id != 10471"> (ml)</span>
1853 1853
                         </td>
1854
-                        <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
1854
+                        <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683 || org_id ==10567 || org_id == 0">超滤率<br/>(ml/h)</td>
1855 1855
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 ">累计超滤量<br />(ml)</td>
1856 1856
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0 && org_id!=10206" width="50">
1857 1857
                           <span v-if="org_id == 10683">置换液速度</span>
@@ -1864,7 +1864,7 @@
1864 1864
                           <span v-if="org_id==10598 || org_id == 10567">(L)</span>
1865 1865
                         </td>
1866 1866
                         <td width="50" v-if="org_id == 3877 || org_id == 10449">滤前压(mmHg)</td>
1867
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id == 10580 || org_id == 10598">KT/V</td>
1867
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id == 10580 || org_id == 10598 || org_id == 10567 || org_id == 0">KT/V</td>
1868 1868
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1869 1869
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1870 1870
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
@@ -1962,8 +1962,8 @@
1962 1962
 
1963 1963
 
1964 1964
                         <td v-if="org_id != 9538 &&org_id != 10121 &&org_id!=10600 && org_id!=10644">
1965
-                          <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1966
-                          <span v-if="org_id==10469"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1965
+                          <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490 && org_id!=10567"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1966
+                          <span v-if="org_id==10469 || org_id == 10567 || org_id == 0"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1967 1967
                           <span v-if="org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
1968 1968
                         </td>
1969 1969
 
@@ -1983,7 +1983,7 @@
1983 1983
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1984 1984
                            </span>
1985 1985
                         </td>
1986
-                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 "><br/>
1986
+                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 || org_id ==10567 || org_id == 0"><br/>
1987 1987
                            <span v-if="org_id!=10644 && org_id!=0">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
1988 1988
                            <span v-if="org_id==10644 ">
1989 1989
                               <span v-if="monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
@@ -2018,7 +2018,7 @@
2018 2018
                           </span>
2019 2019
                         </td>
2020 2020
                         <td width="50" v-if="org_id == 3877 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
2021
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id ==10580 || org_id ==10598">
2021
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id ==10580 || org_id ==10598 || org_id == 10567 || org_id == 0">
2022 2022
                           {{ monitor.ktv?monitor.ktv:"" }}
2023 2023
                         </td>
2024 2024
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
@@ -2059,7 +2059,7 @@
2059 2059
                         <td v-if="org_id == 0||org_id == 9829">
2060 2060
                           {{monitor.blood_oxygen_saturation? monitor.blood_oxygen_saturation: ""}}
2061 2061
                         </td>
2062
-                       
2062
+
2063 2063
                         <td style="line-height: 16px; padding: 0px">
2064 2064
                           <div
2065 2065
                             style="
@@ -2255,7 +2255,7 @@
2255 2255
                           </span>
2256 2256
 
2257 2257
                         </td>
2258
-                     
2258
+
2259 2259
                         <td height="32px">
2260 2260
                           <span v-if="advice!=null && advice.execution_staff>0">
2261 2261
                             <span
@@ -2290,7 +2290,7 @@
2290 2290
                               getTime(advice.execution_time, "{h}:{i}")
2291 2291
                              }}</span>
2292 2292
                           </span>
2293
-                         
2293
+
2294 2294
                         </td>
2295 2295
                         <td height="32px">
2296 2296
                           <span v-if="org_id!=10489">
@@ -2310,7 +2310,7 @@
2310 2310
                               />
2311 2311
                             </span>
2312 2312
                           </span>
2313
-                         
2313
+
2314 2314
                         </td>
2315 2315
                         <td height="32px" v-if="org_id == 10223 || org_id == 9538  ||
2316 2316
                             org_id ==10375 || org_id ==10571 || org_id ==10600">
@@ -2387,7 +2387,7 @@
2387 2387
                         />
2388 2388
                       </td>
2389 2389
                         <td height="32px">
2390
-                          
2390
+
2391 2391
                           <span v-if="advice.execution_time">{{
2392 2392
                             getTime(advice.execution_time, "{h}:{i}")
2393 2393
                           }}</span>
@@ -5409,11 +5409,11 @@ export default {
5409 5409
         }
5410 5410
 
5411 5411
         this.jilurow = this.monitors.length + 1;
5412
-        
5412
+
5413 5413
         if(this.advices!=null && this.advices.length>0){
5414 5414
           this.advice_jilurow = this.advices.length + 1;
5415 5415
         }
5416
-       
5416
+
5417 5417
 
5418 5418
         var childMap = {};
5419 5419
         for (const index in this.advices) {
@@ -5525,7 +5525,7 @@ export default {
5525 5525
             }
5526 5526
          }
5527 5527
 
5528
-      
5528
+
5529 5529
 
5530 5530
          let projects = [];
5531 5531
         response.data.data.projects.map((item) => {
@@ -5551,7 +5551,7 @@ export default {
5551 5551
                 this.projects[i].project_team_id = 0
5552 5552
 
5553 5553
                 if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
5554
-                 
5554
+
5555 5555
                   this.projects[i].project_team = this.projects[i].team.project_team
5556 5556
                   this.projects[i].project_team_id = this.projects[i].team.id
5557 5557
                   this.projects[i].start_time = this.projects[i].start_time
@@ -5562,7 +5562,7 @@ export default {
5562 5562
                   this.projects[i].advice_name =  this.projects[i].team.project_team
5563 5563
                   this.projects[i].advice_doctor = this.projects[i].doctor
5564 5564
 
5565
-             
5565
+
5566 5566
                   newHisArr.push(this.projects[i])
5567 5567
                   // this.doctor_advices_2.push(this.project[i])
5568 5568
                 }else{
@@ -5580,14 +5580,14 @@ export default {
5580 5580
                   // this.doctor_advices_2.push(this.projects[i])
5581 5581
                 }
5582 5582
 
5583
-                
5583
+
5584 5584
 
5585 5585
               }
5586 5586
 
5587 5587
             }
5588 5588
             }
5589 5589
 
5590
-          
5590
+
5591 5591
 
5592 5592
             for(let i=0;i<newHisArr.length;i++){
5593 5593
               newHisArr[i].advice_name_str = ""
@@ -5603,7 +5603,7 @@ export default {
5603 5603
 
5604 5604
         }
5605 5605
 
5606
-       
5606
+
5607 5607
 
5608 5608
         //针对内蒙古阿拉善
5609 5609
         if(this.org_id ==10206){
@@ -5706,7 +5706,7 @@ export default {
5706 5706
         this.totollength = this.doctor_advices.length + this.monitors.length;
5707 5707
         console.log("this.totollength",this.totollength)
5708 5708
 
5709
-        
5709
+
5710 5710
         if (this.totollength > 18) {
5711 5711
           var temp_advice_length = this.doctor_advices.length
5712 5712
           var doctor_advices_1 = [];

Diff nebyl zobrazen, protože je příliš veliký
+ 513 - 535
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue


Diff nebyl zobrazen, protože je příliš veliký
+ 3688 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue


+ 119 - 19
src/xt_pages/outpatientCharges/summary.vue Zobrazit soubor

@@ -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
     },

+ 10 - 1
src/xt_pages/stock/detail/stockInDetail.vue Zobrazit soubor

@@ -181,7 +181,7 @@
181 181
       <el-pagination
182 182
         @size-change="handleSizeChange"
183 183
         @current-change="handleCurrentChange"
184
-        :page-sizes="[10, 50, 100]"
184
+        :page-sizes="[10, 50, 100,500,1000]"
185 185
         :page-size="10"
186 186
         background
187 187
         style="margin-top:20px;float: right"
@@ -342,6 +342,7 @@ export default {
342 342
       return name;
343 343
     },
344 344
     search: function() {
345
+      this.getGoodDetailPrintList()
345 346
       const Params = {
346 347
         page: this.page,
347 348
         limit: this.limit,
@@ -490,14 +491,18 @@ export default {
490 491
     },
491 492
     handleSelectionChange: function(val) {
492 493
       this.multipleSelection = val;
494
+      this.GetCancelStock();
495
+      this.getGoodDetailPrintList()
493 496
     },
494 497
     handleSizeChange(val) {
495 498
       this.limit = val;
496 499
       this.GetCancelStock();
500
+      this.getGoodDetailPrintList()
497 501
     },
498 502
     handleCurrentChange(val) {
499 503
       this.page = val;
500 504
       this.GetCancelStock();
505
+      this.getGoodDetailPrintList()
501 506
     },
502 507
     startTimeChange(val) {
503 508
 
@@ -508,6 +513,7 @@ export default {
508 513
       } else {
509 514
 
510 515
         this.GetCancelStock();
516
+        this.getGoodDetailPrintList()
511 517
 
512 518
       }
513 519
     },
@@ -519,10 +525,12 @@ export default {
519 525
       } else {
520 526
 
521 527
         this.GetCancelStock();
528
+        this.getGoodDetailPrintList()
522 529
       }
523 530
     },
524 531
     getAllQuery(){
525 532
       this.GetCancelStock();
533
+      this.getGoodDetailPrintList()
526 534
     },
527 535
     getTimestamp(time) {
528 536
       // 把时间日期转成时间戳
@@ -907,6 +915,7 @@ export default {
907 915
       getGoodDetailPrintList(params).then(response=>{
908 916
         if(response.data.state == 1){
909 917
           var list = response.data.data.list
918
+          this.tableInfo = []
910 919
           this.tableInfo = list
911 920
         }
912 921
       })

+ 2 - 2
src/xt_pages/stock/drugs/components/drugInOrder.vue Zobrazit soubor

@@ -174,7 +174,7 @@
174 174
       <el-pagination
175 175
         @size-change="handleSizeChange"
176 176
         @current-change="handleCurrentChange"
177
-        :page-sizes="[10, 50, 100]"
177
+        :page-sizes="[10, 50, 100,500,1000]"
178 178
         :page-size="10"
179 179
         background
180 180
         style="margin-top:20px;float: right"
@@ -473,7 +473,7 @@ export default {
473 473
      getDrugWarehouseInfoPrint(params).then(response=>{
474 474
           if(response.data.state == 1){
475 475
             var list = response.data.data.list
476
-          
476
+            this.tabelePrintList = []
477 477
             this.tabelePrintList = list
478 478
             this.manufacturerList = response.data.data.manufacturerList
479 479
             this.dealerList = response.data.data.dealerList

+ 5 - 1
src/xt_pages/stock/drugs/components/drugOutDetail.vue Zobrazit soubor

@@ -318,10 +318,12 @@ export default {
318 318
     changeType: function(val) {
319 319
       this.order_type = val;
320 320
       this.getlist()
321
+      this.getDrugOutOrderPrint()
321 322
     },
322 323
     changeManufacturer: function(val) {
323 324
       this.manufacturer_id = val;
324 325
       this.getlist()
326
+      this.getDrugOutOrderPrint()
325 327
     },
326 328
     getTypeName: function(row) {
327 329
       let name = "";
@@ -443,7 +445,7 @@ export default {
443 445
     PrintAction: function() {
444 446
       //  window.sessionStorage.setItem('start_out_time',this.start_time)
445 447
       //  window.sessionStorage.setItem('end_out_time',this.end_time)
446
-       this.$router.push("/stock/drugoutorderprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+2+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page)
448
+       this.$router.push("/stock/drugoutorderprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+2+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page+"&storehouse_id="+this.storehouse_id)
447 449
     },
448 450
     getlist(){
449 451
       var params = {
@@ -970,6 +972,7 @@ export default {
970 972
          start_time:this.start_time,
971 973
          end_time:this.end_time,
972 974
          order_type:2,
975
+         storehouse_id:this.storehouse_id,
973 976
       }
974 977
      getDrugOutOrderPrint(params).then(response=>{
975 978
         if(response.data.state == 1){
@@ -1166,6 +1169,7 @@ export default {
1166 1169
      changeHouseList(){
1167 1170
        this.houseList = []
1168 1171
        this.getlist()
1172
+       this.getDrugOutOrderPrint()
1169 1173
      }
1170 1174
   }
1171 1175
 };

+ 2 - 0
src/xt_pages/stock/drugs/drugOutOrderPrint.vue Zobrazit soubor

@@ -139,6 +139,7 @@
139 139
         keyword:this.$route.query.keyword,
140 140
         limit:this.$route.query.limit,
141 141
         page:this.$route.query.page,
142
+        storehouse_id:this.$route.query.storehouse_id,
142 143
         cancelStockDate:[],
143 144
         drugList:[],
144 145
         org_id:0,
@@ -230,6 +231,7 @@
230 231
           start_time:this.start_time,
231 232
           end_time:this.end_time,
232 233
           order_type:parseInt(this.order_type),
234
+          storehouse_id:parseInt(this.storehouse_id),
233 235
         }
234 236
       
235 237
         getDrugOutOrderPrint(params).then(response=>{

+ 12 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Zobrazit soubor

@@ -419,6 +419,7 @@
419 419
       width="40%">
420 420
       <span>
421 421
         <el-input
422
+         @keyup.native="changeText"
422 423
           type="textarea"
423 424
           placeholder="请输入内容"
424 425
           v-model="textarea"
@@ -1183,8 +1184,18 @@ export default {
1183 1184
          return ""
1184 1185
         }
1185 1186
       }
1186
-    }
1187
+    },
1188
+    changeText(event){
1189
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1190
+      if (event.key === 'Enter') {
1191
+        var textarea = ""
1192
+        textarea += this.textarea + ","
1193
+        this.textarea = textarea
1194
+
1195
+      }
1196
+   },
1187 1197
   },
1198
+ 
1188 1199
   created() {
1189 1200
     if (this.$route.path == "/Pharmacy/in/add") {
1190 1201
       this.crumbs = [

+ 10 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue Zobrazit soubor

@@ -405,6 +405,7 @@
405 405
       width="40%">
406 406
       <span>
407 407
         <el-input
408
+         @keyup.native="changeText"
408 409
           type="textarea"
409 410
           placeholder="请输入内容"
410 411
           v-model="textarea"
@@ -532,6 +533,15 @@ export default {
532 533
     };
533 534
   },
534 535
   methods: {
536
+    changeText(event){
537
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
538
+      if (event.key === 'Enter') {
539
+        var textarea = ""
540
+        textarea += this.textarea + ","
541
+        this.textarea = textarea
542
+
543
+      }
544
+   },
535 545
     changeDrugCode(row,index){
536 546
       this.textarea=""
537 547
       this.textarea = row.drug_code

+ 7 - 0
src/xt_pages/stock/stockInOrder.vue Zobrazit soubor

@@ -362,6 +362,13 @@
362 362
             </span>
363 363
           </template>
364 364
         </el-table-column>
365
+        <el-table-column label="耗材追溯码" align="center">
366
+          <template slot-scope="scope">
367
+            <span v-if="scope.row.is_total == 0">
368
+               {{ scope.row.good_code}}
369
+            </span>
370
+          </template>
371
+        </el-table-column>
365 372
         <el-table-column label="备注" align="center">
366 373
           <template slot-scope="scope">
367 374
             <span v-if="scope.row.is_total == 0">

+ 67 - 5
src/xt_pages/stock/stockInOrderAdd.vue Zobrazit soubor

@@ -239,6 +239,16 @@
239 239
             </template>
240 240
           </el-table-column>
241 241
 
242
+          <el-table-column label="耗材追溯码" align="center" width="150">
243
+           
244
+              <template slot-scope="scope">
245
+               <div  @click="changeGoodCode(scope.row,scope.$index)">
246
+                <el-input v-model="scope.row.good_code"  placeholder="请输入耗材追溯码"></el-input>
247
+              </div>
248
+            </template>
249
+          
250
+          </el-table-column>
251
+
242 252
           <el-table-column label="备注" align="center" width="150">
243 253
             <template slot-scope="scope">
244 254
               <el-input placeholder="请输入备注" v-model="scope.row.remark"></el-input>
@@ -274,8 +284,28 @@
274 284
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
275 285
       </el-form>
276 286
 
277
-
287
+ 
278 288
     </div>
289
+
290
+    <el-dialog
291
+      title="耗材追溯码"
292
+      :visible.sync="dialogVisible"
293
+      width="40%">
294
+      <span>
295
+        <el-input
296
+         @keyup.native="changeText"
297
+          type="textarea"
298
+          placeholder="请输入内容"
299
+          v-model="textarea"
300
+          :rows="10"
301
+        >
302
+        </el-input>
303
+      </span>
304
+      <span slot="footer" class="dialog-footer">
305
+        <el-button @click="dialogVisible = false">取 消</el-button>
306
+        <el-button type="primary" @click="saveTextArea()">确 定</el-button>
307
+      </span>
308
+    </el-dialog>
279 309
   </div>
280 310
 
281 311
 </template>
@@ -380,8 +410,8 @@
380 410
             price: '',
381 411
             remark: '',
382 412
             dealer: '',
383
-            manufacturer: ''
384
-
413
+            manufacturer: '',
414
+            good_code:""
385 415
           },
386 416
           isCreated: 1
387 417
 
@@ -422,7 +452,12 @@
422 452
         showCheck:false,
423 453
         showReturnCheck:false,
424 454
         warehousing_info_id:0,
425
-        org_id:0
455
+        org_id:0,
456
+        dialogVisible:false,
457
+        currentRow:{},
458
+        currentIndex:0,
459
+        textarea:""
460
+
426 461
       }
427 462
     },
428 463
     methods: {
@@ -579,6 +614,7 @@
579 614
         tempObj["packing_price"] = ""
580 615
         tempObj["id"] = 0
581 616
         tempObj['register_number'] = ''
617
+        tempObj['good_code'] = ""
582 618
         this.recordInfo.recordData.push(tempObj)
583 619
       }, handleDelete: function(index, row) {
584 620
         if (this.recordInfo.recordData.length <= 1) {
@@ -795,6 +831,7 @@
795 831
                   list[i].product_date = this.getTimeOne(list[i].product_date)
796 832
                   list[i].good_name = list[i].GoodInfo.good_name
797 833
                   list[i].name = list[i].GoodInfo.specification_name +"/"+ list[i].GoodInfo.packing_unit
834
+                  list[i].good_code = list[i].good_code
798 835
                 }
799 836
                 this.recordInfo.recordData = []
800 837
                 this.recordInfo.recordData = list
@@ -969,7 +1006,31 @@
969 1006
           return ""
970 1007
          }
971 1008
        }
972
-     }
1009
+     },
1010
+     changeGoodCode(row,index){
1011
+        this.textarea=""
1012
+        this.textarea = row.drug_code
1013
+        this.currentRow = row
1014
+        this.currentIndex =index
1015
+        this.dialogVisible = true
1016
+     },
1017
+     changeText(event){
1018
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1019
+      if (event.key === 'Enter') {
1020
+        var textarea = ""
1021
+        textarea += this.textarea + ","
1022
+        this.textarea = textarea
1023
+
1024
+      }
1025
+     },
1026
+     saveTextArea(){
1027
+        for(let i=0;i<this.recordInfo.recordData.length;i++){
1028
+          if(this.currentIndex == i){
1029
+            this.recordInfo.recordData[i].good_code = this.textarea 
1030
+          }
1031
+        }
1032
+        this.dialogVisible = false
1033
+      },
973 1034
     }
974 1035
     ,
975 1036
     created() {
@@ -1003,6 +1064,7 @@
1003 1064
       tempObj['packing_price']= ''
1004 1065
       tempObj['id']= 0
1005 1066
       tempObj['register_number'] = ''
1067
+      tempObj['good_code'] = ''
1006 1068
       this.recordInfo.recordData.push(tempObj)
1007 1069
       this.GetConfigInfo()
1008 1070
       this.propForm.goodUnit = this.$store.getters.good_unit

+ 81 - 1
src/xt_pages/stock/stockInOrderEdit.vue Zobrazit soubor

@@ -301,6 +301,18 @@
301 301
                </el-select>
302 302
             </template>
303 303
           </el-table-column>
304
+
305
+          <el-table-column label="耗材追溯码" align="center" width="150">
306
+           
307
+           <template slot-scope="scope">
308
+              <div  @click="changeGoodCode(scope.row,scope.$index)">
309
+                <el-input v-model="scope.row.good_code"  placeholder="请输入耗材追溯码"></el-input>
310
+              </div>
311
+           </template>
312
+       
313
+         </el-table-column>
314
+
315
+
304 316
           <el-table-column label="备注" width="150" align="center">
305 317
             <template slot-scope="scope">
306 318
               <el-input v-model="scope.row.remark"  :disabled ="disabled"></el-input>
@@ -349,6 +361,26 @@
349 361
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
350 362
       </el-form>
351 363
     </div>
364
+
365
+    <el-dialog
366
+      title="耗材追溯码"
367
+      :visible.sync="dialogVisible"
368
+      width="40%">
369
+      <span>
370
+        <el-input
371
+         @keyup.native="changeText"
372
+          type="textarea"
373
+          placeholder="请输入内容"
374
+          v-model="textarea"
375
+          :rows="10"
376
+        >
377
+        </el-input>
378
+      </span>
379
+      <span slot="footer" class="dialog-footer">
380
+        <el-button @click="dialogVisible = false">取 消</el-button>
381
+        <el-button type="primary" @click="saveTextArea()">确 定</el-button>
382
+      </span>
383
+    </el-dialog>
352 384
   </div>
353 385
 </template>
354 386
 
@@ -451,6 +483,11 @@ export default {
451 483
       list:[],
452 484
       is_check:0,
453 485
       order_id:0,
486
+      org_id:0,
487
+      dialogVisible:false,
488
+      currentRow:{},
489
+      currentIndex:0,
490
+      textarea:""
454 491
     };
455 492
   },
456 493
   methods: {
@@ -482,6 +519,7 @@ export default {
482 519
             tempForm["remark"] = "";
483 520
             tempForm["dealer"] = "";
484 521
             tempForm["manufacturer"] = "";
522
+            tempForm["good_code"] = ""
485 523
             this.recordInfo.recordData.splice(
486 524
               this.currentIndex + 1,
487 525
               0,
@@ -570,6 +608,7 @@ export default {
570 608
       tempObj["manufacturer"] = "";
571 609
       tempObj["license_number"] = ""
572 610
       tempObj["packing_price"] = ""
611
+      tempObj["good_code"] = ""
573 612
       this.recordInfo.recordData.push(tempObj);
574 613
     },
575 614
     handleDelete: function(index, row) {
@@ -775,6 +814,7 @@ export default {
775 814
                 list[i].product_date = this.getTimeOne(list[i].product_date)
776 815
                 list[i].good_name = list[i].GoodInfo.good_name
777 816
                 list[i].name = list[i].GoodInfo.specification_name
817
+                list[i].good_code = list[i].good_code
778 818
                }
779 819
               this.recordInfo.recordData = []
780 820
               this.recordInfo.recordData = list
@@ -848,6 +888,7 @@ export default {
848 888
             tempObj["manufacturer"] = "";
849 889
             tempObj["license_number"] = ""
850 890
             tempObj["register_number"] = ""
891
+            tempObj["good_code"] = ""
851 892
             this.recordInfo.recordData.push(tempObj);
852 893
           }
853 894
         }
@@ -906,6 +947,11 @@ export default {
906 947
             }else{
907 948
                this.recordInfo.recordData[i].price = val.buy_price
908 949
             }
950
+
951
+            if(this.org_id == 0 || this.org_id == 10633){
952
+               this.recordInfo.recordData[i].price = val.first_xt_warehouse_info.packing_price
953
+            }
954
+
909 955
             if(val.packing_price == 0){
910 956
               this.recordInfo.recordData[i].packing_price = "0"
911 957
             }else{
@@ -920,6 +966,15 @@ export default {
920 966
             }else{
921 967
               this.recordInfo.recordData[i].dealer = val.dealer
922 968
             }
969
+
970
+
971
+
972
+            // for(let i=0;i<this.recordInfo.recordData.length;i++){
973
+            //   this.recordInfo.recordData[i].warehouse_info_str = ""
974
+            //   for(let j=0;j<this.recordInfo.recordData[i].xt_warehouse_info.length;j++){
975
+            //     this.recordInfo.recordData[i].warehouse_info_str += "批次:"+this.recordInfo.recordData[i].xt_warehouse_info[j].number+" " + "剩余:"+this.recordInfo.recordData[i].xt_warehouse_info[j].stock_count+this.recordInfo.recordData[i].packing_unit +"\n"
976
+            //   }
977
+            // }
923 978
           
924 979
           }
925 980
         }
@@ -995,10 +1050,35 @@ export default {
995 1050
          return ""
996 1051
         }
997 1052
       }
998
-    }
1053
+    },
1054
+    changeGoodCode(row,index){
1055
+        this.textarea=""
1056
+        this.textarea = row.drug_code
1057
+        this.currentRow = row
1058
+        this.currentIndex =index
1059
+        this.dialogVisible = true
1060
+     },
1061
+     changeText(event){
1062
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1063
+      if (event.key === 'Enter') {
1064
+        var textarea = ""
1065
+        textarea += this.textarea + ","
1066
+        this.textarea = textarea
1067
+
1068
+      }
1069
+     },
1070
+     saveTextArea(){
1071
+        for(let i=0;i<this.recordInfo.recordData.length;i++){
1072
+          if(this.currentIndex == i){
1073
+            this.recordInfo.recordData[i].good_code = this.textarea 
1074
+          }
1075
+        }
1076
+        this.dialogVisible = false
1077
+      },
999 1078
      
1000 1079
   },
1001 1080
   created() {
1081
+    this.org_id = this.$store.getters.xt_user.org.id
1002 1082
     this.GetConfigInfo();
1003 1083
     this.propForm.goodUnit = this.$store.getters.good_unit;
1004 1084
     const order_id = this.$route.query.id;

+ 28 - 3
src/xt_pages/stock/stockOutOrderAdd.vue Zobrazit soubor

@@ -148,10 +148,20 @@
148 148
                   type="number"
149 149
                   v-model="scope.row.stock_count"
150 150
                 ></el-input>
151
+                
151 152
               </el-form-item>
152 153
             </template>
153 154
           </el-table-column>
154 155
 
156
+          <!-- <el-table-column width="150" align="center">
157
+            <template slot="header" slot-scope="scope">
158
+              <span>剩余批次详情</span>
159
+            </template>
160
+            <template slot-scope="scope">
161
+              {{ scope.row.warehouse_info_str }} 
162
+            </template>
163
+          </el-table-column> -->
164
+
155 165
 
156 166
          <el-table-column  width="150" align="center">
157 167
             <template slot="header" slot-scope="scope">
@@ -450,7 +460,8 @@ export default {
450 460
       loading:false,
451 461
       patients:[],
452 462
       classType:[{id:1,name:"上午"},{id:2,name:"下午"},{id:3,name:"晚上"}],
453
-
463
+      tableWarehouseInfoList:[],
464
+      org_id:0,
454 465
     };
455 466
   },
456 467
   methods: {
@@ -830,6 +841,7 @@ export default {
830 841
                     warehouseOutInfoList[i].expiry_date = this.getTimeOne(warehouseOutInfoList[i].expiry_date)
831 842
                     warehouseOutInfoList[i].product_date = this.getTimeOne(warehouseOutInfoList[i].product_date)
832 843
                     warehouseOutInfoList[i].patient_id = warehouseOutInfoList[i].patient_id
844
+                    
833 845
 
834 846
                  }
835 847
                  this.recordInfo.recordData = warehouseOutInfoList
@@ -921,7 +933,8 @@ export default {
921 933
             this.recordInfo.recordData[i].license_number = val.number
922 934
             this.recordInfo.recordData[i].register_number = val.register_number
923 935
             this.recordInfo.recordData[i].patient_id = 0
924
-             
936
+            this.recordInfo.recordData[i].xt_warehouse_info = val.xt_warehouse_info
937
+            this.recordInfo.recordData[i].packing_unit = val.packing_unit
925 938
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.expiry_date >0){
926 939
               this.recordInfo.recordData[i].expiry_date = this.getTimeOne(val.first_xt_warehouse_info.expiry_date)
927 940
             }else{
@@ -941,6 +954,10 @@ export default {
941 954
               this.recordInfo.recordData[i].price = val.packing_price
942 955
             }
943 956
 
957
+            if(this.org_id == 0 || this.org_id == 10633){
958
+               this.recordInfo.recordData[i].price = val.first_xt_warehouse_info.packing_price
959
+            }
960
+
944 961
             this.recordInfo.recordData[i].specification_name = val.specification_name
945 962
             this.recordInfo.recordData[i].good_id = val.id
946 963
             if(val.dealer == 0){
@@ -949,6 +966,13 @@ export default {
949 966
              this.recordInfo.recordData[i].dealer = val.dealer
950 967
             }
951 968
 
969
+            for(let i=0;i<this.recordInfo.recordData.length;i++){
970
+              this.recordInfo.recordData[i].warehouse_info_str = ""
971
+              for(let j=0;j<this.recordInfo.recordData[i].xt_warehouse_info.length;j++){
972
+                this.recordInfo.recordData[i].warehouse_info_str += "批次:"+this.recordInfo.recordData[i].xt_warehouse_info[j].number+" " + "剩余:"+this.recordInfo.recordData[i].xt_warehouse_info[j].stock_count+this.recordInfo.recordData[i].packing_unit +"\n"
973
+              }
974
+            }
975
+
952 976
             console.log("日期我我我哦我",  this.recordInfo.recordData)
953 977
          }
954 978
 
@@ -967,6 +991,7 @@ export default {
967 991
           var list = response.data.data.list
968 992
           this.numberList = list
969 993
           // var lastWarehouseInfoTwo = response.data.data.lastWarehouseInfoTwo
994
+          // this.tableWarehouseInfoList = lastWarehouseInfoTwo
970 995
         }
971 996
      })
972 997
     },
@@ -1062,7 +1087,7 @@ export default {
1062 1087
 
1063 1088
   },
1064 1089
   created() {
1065
-
1090
+    this.org_id = this.$store.getters.xt_user.org.id
1066 1091
     var nowDate = new Date();
1067 1092
     var nowYear = nowDate.getFullYear();
1068 1093
     var nowMonth = nowDate.getMonth() + 1;

+ 46 - 55
src/xt_pages/user/components/PatientDetail.vue Zobrazit soubor

@@ -286,7 +286,7 @@
286 286
                 <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
287 287
               </el-form-item>
288 288
             </el-col>
289
-            
289
+
290 290
              <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
291 291
                 <el-form-item
292 292
                   label="打印日期:"
@@ -639,7 +639,7 @@
639 639
                 ></el-input>
640 640
               </el-form-item>
641 641
             </el-col>
642
-           
642
+
643 643
 
644 644
             <div v-show="!generic_info_fold">
645 645
               <el-col :span="8">
@@ -1209,12 +1209,12 @@
1209 1209
                   <td colspan="8">
1210 1210
                     <div
1211 1211
                       class="td_proj_content td_align_left"
1212
-                     
1212
+
1213 1213
                     >  {{ patientPrint.remark }}</div>
1214 1214
                   </td>
1215 1215
                 </tr>
1216 1216
 
1217
-              
1217
+
1218 1218
 
1219 1219
                 <tr>
1220 1220
                   <td>
@@ -1235,7 +1235,7 @@
1235 1235
                   <td colspan="7">
1236 1236
                     <div
1237 1237
                       class="td_proj_content td_align_left"
1238
-                     
1238
+
1239 1239
                     >
1240 1240
                      {{ patientPrint.treatment_plan }}
1241 1241
                    </div>
@@ -1251,8 +1251,8 @@
1251 1251
                 {{getTime(patientPrint.created_time)}}</span>
1252 1252
                 <span v-else>{{ printDate }}</span> -->
1253 1253
 
1254
-                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1255
-                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
1254
+                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span>
1255
+                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span>
1256 1256
 
1257 1257
               </div>
1258 1258
               <div class="proj">
@@ -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 }} 血液净化患者首次门诊病历</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>
@@ -1277,51 +1277,45 @@
1277 1277
                   <td style="width:8%;padding: 3px 0px;font-size: 17px;font-weight: 500;">
1278 1278
                     姓名
1279 1279
                   </td>
1280
-                  <td style="padding: 3px 0px;font-size: 17px;">
1280
+                  <td style="padding: 3px 0px;font-size: 17px;width:15%;">
1281 1281
                     {{ patientPrint.name }}
1282 1282
                   </td>
1283
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1283
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;width:5%;">
1284 1284
                     性别
1285 1285
                   </td>
1286
-                  <td style="padding: 3px 0px;font-size: 17px;">
1286
+                  <td style="padding: 3px 0px;font-size: 17px;width:5%;">
1287 1287
                     {{ patientPrint.gender }}
1288 1288
                   </td>
1289
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1289
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;width:8%;">
1290 1290
                     年龄
1291 1291
                   </td>
1292
-                  <td style="padding: 3px 0px;font-size: 17px;">
1292
+                  <td style="padding: 3px 0px;font-size: 17px;width:10%;">
1293 1293
                     {{ patientPrint.age }}岁
1294 1294
                   </td>
1295
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1295
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;width:10%;">
1296 1296
                     报销方式
1297 1297
                   </td>
1298
-                  <td style="padding: 3px 0px;font-size: 17px;">
1299
-                    {{patientPrint.reimbursement_way_id}}
1298
+                  <td style="padding: 3px 0px;font-size: 17px;width: 15%;">
1299
+                    {{patientPrint.reimbursement_way_id }}
1300 1300
                   </td>
1301
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1301
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;width:10%;">
1302 1302
                     透析号
1303 1303
                   </td>
1304
-                  <td style="padding: 3px 0px;font-size: 17px;">
1304
+                  <td style="padding: 3px 0px;font-size: 17px;width:15%;">
1305 1305
                     {{patientPrint.dialysis_no}}
1306 1306
                   </td>
1307
-                  <!-- <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1308
-                    籍贯
1309
-                  </td>
1310
-                  <td style="padding: 3px 0px;font-size: 17px;">
1311
-                    {{ patientPrint.native_place }}
1312
-                  </td> -->
1313 1307
                 </tr>
1314 1308
                 <tr>
1315 1309
                   <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1316 1310
                     电话
1317 1311
                   </td>
1318
-                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1312
+                  <td style="padding: 3px 0px;font-size: 17px;">
1319 1313
                     {{ patientPrint.phone }}
1320 1314
                   </td>
1321 1315
                   <td  style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1322 1316
                     民族
1323 1317
                   </td>
1324
-                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1318
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1325 1319
                     {{ patientPrint.nation }}
1326 1320
                   </td>
1327 1321
                   <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
@@ -1331,17 +1325,17 @@
1331 1325
                     {{ patientPrint.id_card_no }}
1332 1326
                   </td>
1333 1327
                 </tr>
1334
-                <tr>
1328
+                 <tr>
1335 1329
                   <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1336 1330
                     联系人
1337 1331
                   </td>
1338
-                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1332
+                  <td style="padding: 3px 0px;font-size: 17px;">
1339 1333
                     {{ patientPrint.contact_name }}
1340 1334
                   </td>
1341 1335
                   <td  style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1342 1336
                     电话
1343 1337
                   </td>
1344
-                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1338
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1345 1339
                     {{ patientPrint.home_telephone }}
1346 1340
                   </td>
1347 1341
                   <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
@@ -1355,17 +1349,17 @@
1355 1349
                   <td colspan="2" style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1356 1350
                     首次透析时间
1357 1351
                   </td>
1358
-                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1352
+                  <td colspan="4" style="padding: 3px 0px;font-size: 17px;">
1359 1353
                     {{ patientPrint.first_dialysis_date }}
1360 1354
                   </td>
1361
-                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1355
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1362 1356
                     血管通路
1363 1357
                   </td>
1364 1358
                   <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1365
-                    
1359
+                     {{ patientVascularAccessOne.blood_access_part_id }} {{ patientVascularAccessOne.blood_access_part_opera_id }}
1366 1360
                   </td>
1367 1361
                 </tr>
1368
-                
1362
+
1369 1363
                 <tr>
1370 1364
                   <td style="padding: 3px 0px;font-size: 17px; font-weight: 500;">
1371 1365
                     主诉
@@ -1410,7 +1404,7 @@
1410 1404
                   </td>
1411 1405
                   <td colspan="3">
1412 1406
                     <div class="td_proj_content td_align_left">
1413
-                     
1407
+
1414 1408
                     </div>
1415 1409
                   </td>
1416 1410
                 </tr>
@@ -1421,16 +1415,16 @@
1421 1415
                 <tr>
1422 1416
                   <td colspan="10">
1423 1417
                     <div class="td_proj_title">
1424
-                      T
1418
+                      T:
1425 1419
                       {{
1426 1420
                         patientPrint.temperature
1427
-                      }}℃&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P
1421
+                      }}℃&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P:
1428 1422
                       {{
1429 1423
                         patientPrint.pulse
1430
-                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R
1424
+                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R:
1431 1425
                       {{
1432 1426
                         patientPrint.respiratory
1433
-                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BP
1427
+                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BP:
1434 1428
                       {{ patientPrint.sbp }}/{{ patientPrint.dbp }} mmHg
1435 1429
                     </div>
1436 1430
                   </td>
@@ -1444,13 +1438,13 @@
1444 1438
                   </td>
1445 1439
                 </tr>
1446 1440
                 <tr>
1447
-                  <td>
1441
+                  <td style="width: 10%;">
1448 1442
                     <div class="td_proj_title">辅助检查</div>
1449 1443
                   </td>
1450 1444
                   <td colspan="9">
1451 1445
                     <div
1452 1446
                       class="td_proj_content td_align_left"
1453
-                      
1447
+
1454 1448
                     ></div>
1455 1449
                   </td>
1456 1450
                 </tr>
@@ -1475,22 +1469,11 @@
1475 1469
                       v-html="patientPrint.treatment_plan"
1476 1470
                     ></div>
1477 1471
                   </td>
1478
-                </tr> 
1472
+                </tr>
1479 1473
               </tbody>
1480 1474
             </table>
1481 1475
             <div class="print_footnote_panel">
1482
-              <div class="proj">
1483
-                <span class="proj_title">日期:</span>
1484
-
1485
-                <!-- <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0 || org_id ==10617">
1486
-                {{getTime(patientPrint.created_time)}}</span>
1487
-                <span v-else>{{ printDate }}</span> -->
1488
-
1489
-                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1490
-                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
1491
-
1492
-              </div>
1493
-              <div class="proj">
1476
+              <div class="proj" style="text-align: center;">
1494 1477
                  <span class="proj_title">医生签名:
1495 1478
                     <span v-if="patientPrint!=undefined&&getDcotorName(patientPrint.doctor) == ''">{{getDcotorNameOne(patientPrint.doctor)}}</span>
1496 1479
                     <span v-else>
@@ -1498,6 +1481,11 @@
1498 1481
                     </span>
1499 1482
                  </span>
1500 1483
               </div>
1484
+              <div class="proj" style="text-align: right;">
1485
+                <span class="proj_title">日期:</span>
1486
+                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span>
1487
+                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span>
1488
+              </div>
1501 1489
             </div>
1502 1490
           </div>
1503 1491
         </div>
@@ -1741,6 +1729,7 @@ export default {
1741 1729
       ],
1742 1730
       operators:[],
1743 1731
       liuAddresslist:[],
1732
+      patientVascularAccessOne:{},
1744 1733
     };
1745 1734
   },
1746 1735
   computed: {
@@ -1835,6 +1824,7 @@ export default {
1835 1824
           if (response.data.state === 1) {
1836 1825
             this.$emit("tran-patient-info", response.data.data.patient);
1837 1826
             var patietInfo = response.data.data.patient;
1827
+            this.patientVascularAccessOne = response.data.data.patientVascularAccessOne
1838 1828
             console.log("触发了吗无222222", patietInfo);
1839 1829
             this.form.avatar = patietInfo.avatar;
1840 1830
             this.form.name = patietInfo.name;
@@ -2121,8 +2111,8 @@ export default {
2121 2111
               /\n/g,
2122 2112
               "<br/>"
2123 2113
             );
2124
-            
2125
-            
2114
+
2115
+
2126 2116
 
2127 2117
             this.patientPrint.sch_remark = patietInfo.sch_remark.replace(
2128 2118
               /\n/g,
@@ -2682,6 +2672,7 @@ export default {
2682 2672
 .print_footnote_panel .proj {
2683 2673
   display: inline-block;
2684 2674
   width: 49%;
2675
+  text-align: center;
2685 2676
 }
2686 2677
 .print_footnote_panel .proj .proj_title {
2687 2678
   font-weight: 500;

+ 37 - 8
src/xt_pages/user/coursePrint.vue Zobrazit soubor

@@ -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++) {

+ 7 - 4
src/xt_pages/user/lapsoSummary.vue Zobrazit soubor

@@ -20,6 +20,7 @@
20 20
              <span v-if="scope.row.lapse_type == 2">转出</span>
21 21
              <span v-if="scope.row.lapse_type == 3">死亡</span>
22 22
              <span v-if="scope.row.lapse_type == 4">院内转诊</span>
23
+             <span v-if="scope.row.lapse_type == 11">请假</span>
23 24
           </template>
24 25
         </el-table-column>
25 26
        <el-table-column prop="blood_access_part_id" label="转归分类" align="center">
@@ -121,10 +122,11 @@
121 122
                             <el-radio  label="2">转出</el-radio>
122 123
                             <el-radio  label="3">死亡</el-radio>
123 124
                             <el-radio  label="4">院内转诊</el-radio>
125
+                            <el-radio  label="11">请假</el-radio>
124 126
                       </el-radio-group>
125 127
                     </el-form-item>
126 128
                 </el-col>
127
-                <el-col :span="24" v-if="lapseto == 2 || lapseto == 3 || lapseto == 4">
129
+                <el-col :span="24" v-if="lapseto == 2 || lapseto == 3 || lapseto == 4 || lapseto ==11">
128 130
                     <el-form-item label="转归类型:"> 
129 131
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
130 132
                             <el-radio  label="1">转入</el-radio>
@@ -313,10 +315,11 @@
313 315
                           <el-radio  label="2">转出</el-radio>
314 316
                           <el-radio  label="3">死亡</el-radio>
315 317
                           <el-radio  label="4">院内转诊</el-radio>
318
+                          <el-radio  label="11">请假</el-radio>
316 319
                     </el-radio-group>
317 320
                   </el-form-item>
318 321
               </el-col>
319
-              <el-col :span="24" v-if="lapseto == 2">
322
+              <el-col :span="24" v-if="lapseto == 2  || lapseto == 3 || lapseto == 4 || lapseto ==11">
320 323
                   <el-form-item label="转归类型:"> 
321 324
                       <el-radio-group style="padding: 10px;" v-model="lapse_type">
322 325
                           <el-radio  label="1">转入</el-radio>
@@ -716,7 +719,7 @@
716 719
 
717 720
       },
718 721
       savePatientLapse(){
719
-          if(this.lapse_type!=1 && this.lapse_reason == ""){
722
+          if(this.lapse_type!=1 && this.lapse_type!=11 && this.lapse_reason == ""){
720 723
              this.$message.error("转出或者死亡原因不能为空!")
721 724
              return false
722 725
           }
@@ -793,7 +796,7 @@
793 796
 
794 797
       },
795 798
       updatePatientLapse(){
796
-        if (this.lapse_type !=1 &&this.lapse_reason == ""){
799
+        if (this.lapse_type !=1 && this.lapse_type !=11 &&this.lapse_reason == ""){
797 800
              this.$message.error("转出或者死亡原因不能为空!")
798 801
              return false
799 802
         }

+ 7 - 7
src/xt_pages/user/patients.vue Zobrazit soubor

@@ -842,13 +842,13 @@
842 842
           { value: 1, label: '转出', source: 0, lapseto: 2 },
843 843
           { value: 2, label: '留治', source: 0, lapseto: 1 },
844 844
           { value: 3, label: '死亡', source:0,  lapseto: 3 },
845
-          { value: 4, label: "转院", source: 0, lapseto: 4 },
846
-          { value: 5, label: "肾移植", source: 0, lapseto: 5 },
847
-          { value: 6, label: "转腹透", source: 0, lapseto: 6 },
848
-          { value: 7, label: "出院", source: 0, lapseto: 7 },
849
-          { value: 8, label: "好转", source: 0, lapseto: 8 },
850
-          { value: 9, label: "放弃治疗", source: 0, lapseto: 9 },
851
-          { value: 10, label: "其他状态", source: 0, lapseto: 10 },
845
+          // { value: 4, label: "转院", source: 0, lapseto: 4 },
846
+          // { value: 5, label: "肾移植", source: 0, lapseto: 5 },
847
+          // { value: 6, label: "转腹透", source: 0, lapseto: 6 },
848
+          // { value: 7, label: "出院", source: 0, lapseto: 7 },
849
+          // { value: 8, label: "好转", source: 0, lapseto: 8 },
850
+          // { value: 9, label: "放弃治疗", source: 0, lapseto: 9 },
851
+          // { value: 10, label: "其他状态", source: 0, lapseto: 10 },
852 852
           { value: 11, label: "请假", source: 0, lapseto: 11 },
853 853
         ],
854 854
         scheduling: [

+ 2 - 3
src/xt_pages/workforce/appointment.vue Zobrazit soubor

@@ -91,7 +91,7 @@
91 91
       </div>
92 92
     </div>
93 93
     <div>
94
-      
94
+
95 95
       <div class="app-container" style="padding: 0 20px 20px 20px;">
96 96
         <div>
97 97
           <div style="position: relative;height: 57px">
@@ -1216,7 +1216,7 @@ export default {
1216 1216
 
1217 1217
           })
1218 1218
           console.log("tablesit",this.tableList)
1219
-      
1219
+
1220 1220
           const filename = '排班模版'
1221 1221
 
1222 1222
           if (this.$store.getters.xt_user.org.id == 10234) {
@@ -5075,7 +5075,6 @@ export default {
5075 5075
           mode_name = this.mode[i].name
5076 5076
         }
5077 5077
       }
5078
-      console.log("mode_name--",mode_name)
5079 5078
       return mode_name
5080 5079
     }
5081 5080
   },