Bladeren bron

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

陈少旭 6 maanden geleden
bovenliggende
commit
5b527059bd
43 gewijzigde bestanden met toevoegingen van 7606 en 1066 verwijderingen
  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 Bestand weergeven

1118
         noCache: true
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
       path: '/dialysis/flow',
1134
       path: '/dialysis/flow',
1124
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),
1135
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

+ 15 - 0
src/store/modules/globalConfig.js Bestand weergeven

1136
         gaimingcheng_unit: '',
1136
         gaimingcheng_unit: '',
1137
         gaijiliang_unit: ''
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
     anticoagulants_set: {
1155
     anticoagulants_set: {
1141
       type: 2
1156
       type: 2

+ 1 - 1
src/xt_pages/Dialysisanalysis/new_otherIndicators/index.vue Bestand weergeven

49
       this.indicators = []
49
       this.indicators = []
50
       getStatisticsList(params).then(response => {
50
       getStatisticsList(params).then(response => {
51
         if (response.data.state == 1) {
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
           console.log('444444444',this.indicators);
53
           console.log('444444444',this.indicators);
54
           for(let i = 0; i < this.indicators.length; i++){
54
           for(let i = 0; i < this.indicators.length; i++){
55
             this.indicators[i]["check_type"] = 1
55
             this.indicators[i]["check_type"] = 1

+ 17 - 13
src/xt_pages/Dialysisanalysis/weightblood/components/after_Blood.vue Bestand weergeven

49
           <div class="echart" id="mychart"  style="width:100%;height:60vh"></div>
49
           <div class="echart" id="mychart"  style="width:100%;height:60vh"></div>
50
         </div>
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
       </div>
65
       </div>
66
     </div>
66
     </div>
67
 
67
 
130
               style="width: 100%;"
130
               style="width: 100%;"
131
               :header-cell-style = "{'text-align':'center'}"
131
               :header-cell-style = "{'text-align':'center'}"
132
               :cell-style="{'text-align':'center'}"
132
               :cell-style="{'text-align':'center'}"
133
+              v-loading="loading"
133
               height="380">
134
               height="380">
134
               <el-table-column
135
               <el-table-column
135
                 prop="index"
136
                 prop="index"
217
         date_mode_options:[{value:1,label:'按周'},{value:2,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
218
         date_mode_options:[{value:1,label:'按周'},{value:2,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
218
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],
219
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],
219
         status_id:"",
220
         status_id:"",
221
+        loading:false,
220
       }
222
       }
221
     },
223
     },
222
     methods:{
224
     methods:{
398
           page:this.currentPage,
400
           page:this.currentPage,
399
           limit:this.limit,
401
           limit:this.limit,
400
         }
402
         }
403
+        this.loading =true
401
         Getbpdetail(params).then(response =>{
404
         Getbpdetail(params).then(response =>{
402
           if(response.data.state ==1){
405
           if(response.data.state ==1){
403
             const list = response.data.data.list
406
             const list = response.data.data.list
419
               this.total = response.data.data.total
422
               this.total = response.data.data.total
420
             }
423
             }
421
           }
424
           }
425
+          this.loading =false
422
           console.log('55555透后',response);
426
           console.log('55555透后',response);
423
         })
427
         })
424
       },
428
       },

+ 4 - 1
src/xt_pages/Dialysisanalysis/weightblood/components/before_Blood.vue Bestand weergeven

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

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

+ 5 - 2
src/xt_pages/Dialysisanalysis/weightblood/components/dialyze_after.vue Bestand weergeven

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

+ 4 - 0
src/xt_pages/Dialysisanalysis/weightblood/components/dry_denominator.vue Bestand weergeven

153
           <el-table :data="tableData" border style="width: 100%"
153
           <el-table :data="tableData" border style="width: 100%"
154
           :header-cell-style="{textAlign: 'center'}"
154
           :header-cell-style="{textAlign: 'center'}"
155
           :cell-style="{ textAlign: 'center' }"
155
           :cell-style="{ textAlign: 'center' }"
156
+          v-loading="loading"
156
           height="380">
157
           height="380">
157
             <el-table-column
158
             <el-table-column
158
               prop="index"
159
               prop="index"
268
 
269
 
269
 
270
 
270
         input:'',
271
         input:'',
272
+        loading:false
271
       }
273
       }
272
     },
274
     },
273
     methods:{
275
     methods:{
508
           limit:this.limit,
510
           limit:this.limit,
509
           item_type:type,
511
           item_type:type,
510
         }
512
         }
513
+        this.loading = true
511
         Getweightdetail(params).then(response =>{
514
         Getweightdetail(params).then(response =>{
512
           if(response.data.state == 1){
515
           if(response.data.state == 1){
513
             const list = response.data.data.list
516
             const list = response.data.data.list
532
               this.tableData = table
535
               this.tableData = table
533
               this.total = response.data.data.total
536
               this.total = response.data.data.total
534
             }
537
             }
538
+            this.loading = false
535
           }
539
           }
536
           console.log('77777',response);
540
           console.log('77777',response);
537
         })
541
         })

+ 7 - 0
src/xt_pages/Dialysisanalysis/weightblood/components/dry_weight.vue Bestand weergeven

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

+ 5 - 2
src/xt_pages/Dialysisanalysis/weightblood/components/list_denominator.vue Bestand weergeven

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

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

+ 1 - 1
src/xt_pages/Dialysisanalysis/weightblood/index.vue Bestand weergeven

49
       this.indicators = []
49
       this.indicators = []
50
       getStatisticsList(params).then(response => {
50
       getStatisticsList(params).then(response => {
51
         if (response.data.state == 1) {
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
           console.log('444444444',this.indicators);
53
           console.log('444444444',this.indicators);
54
           for(let i = 0; i < this.indicators.length; i++){
54
           for(let i = 0; i < this.indicators.length; i++){
55
             this.indicators[i]["check_type"] = 1
55
             this.indicators[i]["check_type"] = 1

+ 8 - 5
src/xt_pages/Pharmacy/DrugDispensing.vue Bestand weergeven

435
          width="40%">
435
          width="40%">
436
        <span>
436
        <span>
437
         <el-input
437
         <el-input
438
-          @input="changeText"
438
+          @keyup.native="changeText"
439
           type="textarea"
439
           type="textarea"
440
           placeholder="请输入内容"
440
           placeholder="请输入内容"
441
           v-model="textarea"
441
           v-model="textarea"
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
     tt() {},
586
     tt() {},
584
     async fun3() {
587
     async fun3() {

+ 11 - 5
src/xt_pages/Pharmacy/PatientDispensing.vue Bestand weergeven

288
          width="40%">
288
          width="40%">
289
        <span>
289
        <span>
290
         <el-input
290
         <el-input
291
-          @input="changeText"
291
+          @keyup.native="changeText"
292
           type="textarea"
292
           type="textarea"
293
           placeholder="请输入内容"
293
           placeholder="请输入内容"
294
           v-model="textarea"
294
           v-model="textarea"
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 Bestand weergeven

19
           class="print_page_main_content"
19
           class="print_page_main_content"
20
         >
20
         >
21
           <div style="display: inline-block; width: 100%; text-align: center">
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
                 font-weight: 600;
24
                 font-weight: 600;
27
-                font-size: 22px;
25
+                font-size: 25px;
28
                 display: inline-block;
26
                 display: inline-block;
29
               "
27
               "
30
             >
28
             >
31
-              {{ orgname }} 血液净化治疗记录单
29
+              {{ orgname }}<br/>血液净化治疗记录单
32
             </div>
30
             </div>
33
           </div>
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
               <div class="under_line" style="width: 50px; text-align: center">
36
               <div class="under_line" style="width: 50px; text-align: center">
38
                 {{ record.patient.name }}
37
                 {{ record.patient.name }}
39
               </div>
38
               </div>
40
             </div>
39
             </div>
41
-            <div class="inline_block" style="margin-left: 10px">
42
-              性别
40
+            <div class="inline_block" style="flex: 1;">
41
+              性别:
43
               <div class="under_line" style="width: 30px; text-align: center">
42
               <div class="under_line" style="width: 30px; text-align: center">
44
                 {{ record.patient.gender == 1 ? "男" : "女" }}
43
                 {{ record.patient.gender == 1 ? "男" : "女" }}
45
               </div>
44
               </div>
46
             </div>
45
             </div>
47
-            <div class="inline_block" style="margin-left: 10px">
48
-              年龄
46
+            <div class="inline_block" style="flex: 1;">
47
+              年龄:
49
               <div class="under_line" style="width: 30px; text-align: center">
48
               <div class="under_line" style="width: 30px; text-align: center">
50
                 <!-- {{ record.patient.age }} -->
49
                 <!-- {{ record.patient.age }} -->
51
                 {{ getAge(record.patient) }}
50
                 {{ getAge(record.patient) }}
52
               </div>
51
               </div>
53
52
54
             </div>
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
                 <div class="under_line" style="width: 30px; text-align: center">
56
                 <div class="under_line" style="width: 30px; text-align: center">
58
                   <check-box :checked="record.patient.source == 1"></check-box>
57
                   <check-box :checked="record.patient.source == 1"></check-box>
59
                 </div>
58
                 </div>
60
               </div>
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
               <div class="under_line" style="width: 30px; text-align: center">
62
               <div class="under_line" style="width: 30px; text-align: center">
64
                 <check-box :checked="record.patient.source == 1"></check-box>
63
                 <check-box :checked="record.patient.source == 1"></check-box>
65
               </div>
64
               </div>
66
             </div>
65
             </div>
67
-            <div class="inline_block">
68
-              病区
66
+            <div class="inline_block" style="flex: 1;">
67
+              病区:
69
               <div class="under_line" style="width: 50px; text-align: center">
68
               <div class="under_line" style="width: 50px; text-align: center">
70
                 {{ record.device_zone.name}}
69
                 {{ record.device_zone.name}}
71
               </div>
70
               </div>
72
             </div>
71
             </div>
73
-            <div class="inline_block">
74
-              床号
72
+            <div class="inline_block" style="flex: 1;">
73
+              床号:
75
               <div class="under_line" style="width: 50px; text-align: center">
74
               <div class="under_line" style="width: 50px; text-align: center">
76
                 {{ record.device_number.number }}
75
                 {{ record.device_number.number }}
77
               </div>
76
               </div>
78
             </div>
77
             </div>
79
-            <div class="inline_block">
80
-              透析号
78
+            <div class="inline_block" style="flex: 1;">
79
+              透析号:
81
               <div class="under_line" style="width: 70px; text-align: center">
80
               <div class="under_line" style="width: 70px; text-align: center">
82
                 {{ record.patient.dialysis_no }}
81
                 {{ record.patient.dialysis_no }}
83
               </div>
82
               </div>
84
             </div>
83
             </div>
85
-            <div class="inline_block" style="margin-left: 5px">
86
-              住院号
84
+            <div class="inline_block" style="flex: 1;">
85
+              住院号:
87
               <div
86
               <div
88
                 class="under_line"
87
                 class="under_line"
89
                 style="width: 70px; text-align: left"
88
                 style="width: 70px; text-align: left"
102
           </div>
101
           </div>
103
           <div class="row">
102
           <div class="row">
104
             <div style="">
103
             <div style="">
105
-              诊断
104
+              诊断:
106
               <div style="border-bottom: 1px solid black;width: 95%;text-align: left;word-break: break-all;
105
               <div style="border-bottom: 1px solid black;width: 95%;text-align: left;word-break: break-all;
107
                   word-wrap: break-word;display: inline-block;white-space: unset;"
106
                   word-wrap: break-word;display: inline-block;white-space: unset;"
108
               >
107
               >
133
                   <td colspan="2">
132
                   <td colspan="2">
134
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
133
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
135
                       <div class="inline_block" style="flex: 1">
134
                       <div class="inline_block" style="flex: 1">
136
-                        本次透析日期
135
+                        本次透析日期:
137
                         <div class="under_line" style="width: 100px; text-align: center">
136
                         <div class="under_line" style="width: 100px; text-align: center">
138
                           {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
137
                           {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
139
                         </div>
138
                         </div>
140
                       </div>
139
                       </div>
141
                       <div class="inline_block" style="flex: 1">
140
                       <div class="inline_block" style="flex: 1">
142
-                        透析次数
141
+                        透析次数:
143
                         <div class="under_line" style="width: 70px; text-align: center">
142
                         <div class="under_line" style="width: 70px; text-align: center">
144
                           {{
143
                           {{
145
                               record.Count +
144
                               record.Count +
148
                                   record.patient.user_sys_before_count
147
                                   record.patient.user_sys_before_count
149
                                 : "/"
148
                                 : "/"
150
                             }}
149
                             }}
151
-                        </div>
150
+                        </div>
152
                       </div>
151
                       </div>
153
                       <div class="inline_block" style="flex: 1">
152
                       <div class="inline_block" style="flex: 1">
154
-                        透析机型号
153
+                        透析机型号:
155
                         <div class="under_line" style="width: 60%; text-align: center">
154
                         <div class="under_line" style="width: 60%; text-align: center">
156
                           <span v-if="record.bed_id !=0 && record.bed_id !=''">
155
                           <span v-if="record.bed_id !=0 && record.bed_id !=''">
157
                             {{ getnumberlist(record.bed_id) }} 
156
                             {{ getnumberlist(record.bed_id) }} 
159
                         </div>
158
                         </div>
160
                       </div>
159
                       </div>
161
                       <div class="inline_block" style="flex: 1">
160
                       <div class="inline_block" style="flex: 1">
162
-                        透析机号
161
+                        透析机号:
163
                         <div class="under_line" style="width: 70px; text-align: center">
162
                         <div class="under_line" style="width: 70px; text-align: center">
164
                           {{
163
                           {{
165
                             record.dialysis_order &&
164
                             record.dialysis_order &&
168
                               ? record.dialysis_order.device_number.number
167
                               ? record.dialysis_order.device_number.number
169
                               : record.device_number.number
168
                               : record.device_number.number
170
                           }}
169
                           }}
171
-                        </div>
170
+                        </div>
172
                       </div>
171
                       </div>
173
                     </div>
172
                     </div>
174
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex">
173
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex">
175
                       <div class="inline_block" style="flex: 1;">
174
                       <div class="inline_block" style="flex: 1;">
176
-                        T:
175
+                        温度:
177
                         <div class="under_line" style="width: 50px; text-align: center">
176
                         <div class="under_line" style="width: 50px; text-align: center">
178
                           {{
177
                           {{
179
                             record.assessment_before_dislysis.temperature
178
                             record.assessment_before_dislysis.temperature
184
                         °C
183
                         °C
185
                       </div>
184
                       </div>
186
                       <div class="inline_block" style="flex: 1;">
185
                       <div class="inline_block" style="flex: 1;">
187
-                        P:
186
+                        脉搏:
188
                         <div class="under_line" style="width: 50px; text-align: center">
187
                         <div class="under_line" style="width: 50px; text-align: center">
189
                           {{
188
                           {{
190
                             record.assessment_before_dislysis.pulse_frequency
189
                             record.assessment_before_dislysis.pulse_frequency
195
                         次/分
194
                         次/分
196
                       </div>
195
                       </div>
197
                       <div class="inline_block" style="flex: 1;">
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
                         <div class="under_line" style="width: 50px; text-align: center">
198
                         <div class="under_line" style="width: 50px; text-align: center">
211
                           {{
199
                           {{
212
                             record.assessment_before_dislysis.systolic_blood_pressure
200
                             record.assessment_before_dislysis.systolic_blood_pressure
224
                         </div>
212
                         </div>
225
                         mmHg
213
                         mmHg
226
                       </div>
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
                     </div>
226
                     </div>
228
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
227
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
229
                       <div class="inline_block" style="flex: 1;">
228
                       <div class="inline_block" style="flex: 1;">
230
-                        透析时间:
229
+                        透析时间:
231
                         <div class="under_line"
230
                         <div class="under_line"
232
                           style=" width: 50%; text-align: center; white-space: normal; "
231
                           style=" width: 50%; text-align: center; white-space: normal; "
233
                         >
232
                         >
237
                       </div>
236
                       </div>
238
 
237
 
239
                       <div class="inline_block" style="flex: 1">
238
                       <div class="inline_block" style="flex: 1">
240
-                        透析方式
239
+                        透析方式:
241
                         <div class="under_line"
240
                         <div class="under_line"
242
                           style="width: 50%;text-align: center;white-space: normal;"
241
                           style="width: 50%;text-align: center;white-space: normal;"
243
                         >
242
                         >
246
                       </div>
245
                       </div>
247
 
246
 
248
                       <div class="inline_block" style="flex: 1;">
247
                       <div class="inline_block" style="flex: 1;">
249
-                        血管通路
248
+                        血管通路:
250
                         <div class="under_line" style="width: 68%;white-space: normal;">
249
                         <div class="under_line" style="width: 68%;white-space: normal;">
251
                           <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
250
                           <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
252
                           {{
251
                           {{
264
                       </div>
263
                       </div>
265
                       
264
                       
266
                       <div class="inline_block" style="flex: 1">
265
                       <div class="inline_block" style="flex: 1">
267
-                        导管
266
+                        导管:
268
                         <div class="under_line"
267
                         <div class="under_line"
269
                           style="width: 80%; text-align: center;white-space: normal;"
268
                           style="width: 80%; text-align: center;white-space: normal;"
270
                         >
269
                         >
274
                     </div>
273
                     </div>
275
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
274
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
276
                       <div class="inline_block" style="flex: 1">
275
                       <div class="inline_block" style="flex: 1">
277
-                        透析(滤)器
276
+                        透析(滤)器:
278
                         <div class="under_line"
277
                         <div class="under_line"
279
                           style="width: 40%; text-align: center"
278
                           style="width: 40%; text-align: center"
280
                         >
279
                         >
293
                         </div>
292
                         </div>
294
                       </div>
293
                       </div>
295
                       <div class="inline_block" style="flex: 1">
294
                       <div class="inline_block" style="flex: 1">
296
-                        灌流器
295
+                        灌流器:
297
                         <div class="under_line" style="width: 80px; text-align: center">
296
                         <div class="under_line" style="width: 80px; text-align: center">
298
                           {{
297
                           {{
299
                            record.prescription.dialysis_irrigation
298
                            record.prescription.dialysis_irrigation
304
                       </div>
303
                       </div>
305
 
304
 
306
                       <div class="inline_block" style="flex: 1">
305
                       <div class="inline_block" style="flex: 1">
307
-                        置换方式
306
+                        置换方式:
308
                         <div class="under_line"
307
                         <div class="under_line"
309
-                          style="width: 100px; text-align: center"
308
+                          style="width: 50px; text-align: center"
310
                         >
309
                         >
311
                           {{
310
                           {{
312
                             getDisplaceLiquiPart(record.prescription.displace_liqui_part)
311
                             getDisplaceLiquiPart(record.prescription.displace_liqui_part)
313
                           }}
312
                           }}
314
                         </div>
313
                         </div>
315
-                      </div>
316
-
317
-                      <div class="inline_block" style="flex: 1">
318
-                        置换量:
314
+                        置换量:
319
                         <div class="under_line"
315
                         <div class="under_line"
320
-                          style="width: 70px; text-align: center"
316
+                          style="width: 30px; text-align: center"
321
                         >
317
                         >
322
                           <span>{{
318
                           <span>{{
323
                             record.prescription.replacement_total
319
                             record.prescription.replacement_total
330
                       </div>
326
                       </div>
331
 
327
 
332
                       <div class="inline_block" style="flex: 1">
328
                       <div class="inline_block" style="flex: 1">
333
-                        血流量
329
+                        血流量:
334
                         <div class="under_line"
330
                         <div class="under_line"
335
                           style="width: 50px; text-align: center"
331
                           style="width: 50px; text-align: center"
336
                         >
332
                         >
345
                     </div>
341
                     </div>
346
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
342
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
347
                       <div class="inline_block" style="flex: 1">
343
                       <div class="inline_block" style="flex: 1">
348
-                        干体重
344
+                        干体重:
349
                         <div class="under_line" style="width: 100px; text-align: center">
345
                         <div class="under_line" style="width: 100px; text-align: center">
350
                           {{
346
                           {{
351
                             record.assessment_before_dislysis.dry_weight 
347
                             record.assessment_before_dislysis.dry_weight 
355
                         kg
351
                         kg
356
                       </div>
352
                       </div>
357
                       <div class="inline_block" style="flex: 1">
353
                       <div class="inline_block" style="flex: 1">
358
-                        上次透后体重
354
+                        上次透后体重:
359
                         <div class="under_line" style="width: 100px; text-align: center">
355
                         <div class="under_line" style="width: 100px; text-align: center">
360
                           {{record.lastafterweight.weight_after ? record.lastafterweight.weight_after:"未称重"}}
356
                           {{record.lastafterweight.weight_after ? record.lastafterweight.weight_after:"未称重"}}
361
                         </div>
357
                         </div>
362
                         kg
358
                         kg
363
                       </div>
359
                       </div>
364
                       <div class="inline_block" style="flex: 1">
360
                       <div class="inline_block" style="flex: 1">
365
-                        透前体重
361
+                        透前体重:
366
                         <div class="under_line" style="width: 70px; text-align: center">
362
                         <div class="under_line" style="width: 70px; text-align: center">
367
                           <span>{{
363
                           <span>{{
368
                                record.assessment_before_dislysis.weight_before
364
                                record.assessment_before_dislysis.weight_before
379
                         kg
375
                         kg
380
                       </div>
376
                       </div>
381
                       <div class="inline_block" style="flex: 1">
377
                       <div class="inline_block" style="flex: 1">
382
-                        计划超滤量
378
+                        计划超滤量:
383
                         <div class="under_line" style="width: 100px; text-align: center">
379
                         <div class="under_line" style="width: 100px; text-align: center">
384
                           {{
380
                           {{
385
                             record.prescription.target_ultrafiltration
381
                             record.prescription.target_ultrafiltration
387
                               : "/"
383
                               : "/"
388
                           }}
384
                           }}
389
                         </div>
385
                         </div>
390
-                        L
386
+                        kg
391
                       </div>
387
                       </div>
392
                     </div>
388
                     </div>
393
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
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
                         <div class="under_line"
405
                         <div class="under_line"
397
                           style="width: 50px; text-align: center"
406
                           style="width: 50px; text-align: center"
398
                         >
407
                         >
402
                         mmol/L
411
                         mmol/L
403
                       </div>
412
                       </div>
404
                       <div class="inline_block" style="flex: 1;">
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
                         <span>{{ record.prescription.sodium ? record.prescription.sodium : "/" }}</span>
418
                         <span>{{ record.prescription.sodium ? record.prescription.sodium : "/" }}</span>
411
                         </div>
419
                         </div>
412
                         mmol/L
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
                         <span> {{ record.prescription.calcium ? record.prescription.calcium : "/" }}</span>                     
425
                         <span> {{ record.prescription.calcium ? record.prescription.calcium : "/" }}</span>                     
421
                         </div>
426
                         </div>
422
                         mmol/L
427
                         mmol/L
423
                       </div>
428
                       </div>
424
-                      <div class="inline_block" style="flex: 1.2;">
425
-                        碳酸氢根:
429
+                      
430
+                      <div class="inline_block" style="flex: 1;">
431
+                        碳酸氢根:
426
                         <div class="under_line"
432
                         <div class="under_line"
427
                           style="width: 50px; text-align: center"
433
                           style="width: 50px; text-align: center"
428
                         >
434
                         >
434
                         </div>
440
                         </div>
435
                         mmol/L
441
                         mmol/L
436
                       </div>
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
                     </div>
444
                     </div>
451
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
445
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
452
                       <div class="inline_block" style="flex: 1;">
446
                       <div class="inline_block" style="flex: 1;">
453
-                        抗凝剂
447
+                        抗凝剂:
454
                         <div class="under_line"
448
                         <div class="under_line"
455
                           style="width: 150px; text-align: center"
449
                           style="width: 150px; text-align: center"
456
                         >
450
                         >
463
                       <div class="inline_block" style="flex: 1;"
457
                       <div class="inline_block" style="flex: 1;"
464
                         v-if="record.prescription.anticoagulant != 5"
458
                         v-if="record.prescription.anticoagulant != 5"
465
                       >
459
                       >
466
-                        首剂
460
+                        首剂:
467
                         <div class="under_line"
461
                         <div class="under_line"
468
                           style="width: 50px; text-align: center"
462
                           style="width: 50px; text-align: center"
469
                         >
463
                         >
479
                         
473
                         
480
                       </div>
474
                       </div>
481
                       <div class="inline_block" style="flex: 1;">
475
                       <div class="inline_block" style="flex: 1;">
482
-                        追加
476
+                        追加:
483
                         <div class="under_line"
477
                         <div class="under_line"
484
                           style="width: 50px; text-align: center"
478
                           style="width: 50px; text-align: center"
485
                         >
479
                         >
497
                       <div class="inline_block" style="flex: 1;"
491
                       <div class="inline_block" style="flex: 1;"
498
                         v-if="record.prescription.anticoagulant == 5"
492
                         v-if="record.prescription.anticoagulant == 5"
499
                       >
493
                       >
500
-                        钙名称
494
+                        钙名称:
501
                         <div
495
                         <div
502
                           class="under_line"
496
                           class="under_line"
503
                           style="width: 150px; text-align: center"
497
                           style="width: 150px; text-align: center"
512
                       <div class="inline_block" style="flex: 1;"
506
                       <div class="inline_block" style="flex: 1;"
513
                         v-if="record.prescription.anticoagulant == 5"
507
                         v-if="record.prescription.anticoagulant == 5"
514
                       >
508
                       >
515
-                        钙剂量
509
+                        钙剂量:
516
                         <div
510
                         <div
517
                           class="under_line"
511
                           class="under_line"
518
                           style="width: 50px; text-align: center"
512
                           style="width: 50px; text-align: center"
528
                       <div class="inline_block" style="flex: 1;"
522
                       <div class="inline_block" style="flex: 1;"
529
                         v-if="record.prescription.anticoagulant != 5"
523
                         v-if="record.prescription.anticoagulant != 5"
530
                       >
524
                       >
531
-                        总量
525
+                        总量:
532
                         <div class="under_line"
526
                         <div class="under_line"
533
                           style="width: 50px; text-align: center"
527
                           style="width: 50px; text-align: center"
534
                         >
528
                         >
545
                       </div>
539
                       </div>
546
                     </div>
540
                     </div>
547
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
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
                       <div style="flex:1">医生签名:
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
                       </div>
560
                       </div>
557
                     </div>
561
                     </div>
558
                   </td>
562
                   </td>
838
                               }}</span>
842
                               }}</span>
839
                             </td>
843
                             </td>
840
                           </tr>
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
                         </template>
845
                         </template>
876
                       </tbody>
846
                       </tbody>
877
                     </table>
847
                     </table>
896
             </div>
866
             </div>
897
             <div class="row">
867
             <div class="row">
898
               <div class="inline_block">
868
               <div class="inline_block">
899
-                姓名
869
+                姓名:
900
                 <div class="under_line" style="width: 50px; text-align: center">
870
                 <div class="under_line" style="width: 50px; text-align: center">
901
                   {{ record.patient.name }}
871
                   {{ record.patient.name }}
902
                 </div>
872
                 </div>
1004
                   <td>
974
                   <td>
1005
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
975
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1006
                       <div class="inline_block" style="flex: 1">
976
                       <div class="inline_block" style="flex: 1">
1007
-                        T
977
+                        温度
1008
                         <div
978
                         <div
1009
                           class="under_line"
979
                           class="under_line"
1010
                           style="width: 50px; text-align: center"
980
                           style="width: 50px; text-align: center"
1018
                         °C
988
                         °C
1019
                       </div>
989
                       </div>
1020
                       <div class="inline_block" style="flex: 1">
990
                       <div class="inline_block" style="flex: 1">
1021
-                        P:
991
+                        脉搏:
1022
                         <div class="under_line"
992
                         <div class="under_line"
1023
                           style="width: 50px; text-align: center"
993
                           style="width: 50px; text-align: center"
1024
                         >
994
                         >
1031
                         次/分
1001
                         次/分
1032
                       </div>
1002
                       </div>
1033
                       <div class="inline_block" style="flex: 1">
1003
                       <div class="inline_block" style="flex: 1">
1034
-                        R:
1004
+                        血压:
1035
                         <div class="under_line"
1005
                         <div class="under_line"
1036
                           style="width: 50px; text-align: center"
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
                             record.assessment_after_dislysis.systolic_blood_pressure
1009
                             record.assessment_after_dislysis.systolic_blood_pressure
1056
                           }}
1012
                           }}
1057
                         </div>
1013
                         </div>
1058
                         /
1014
                         /
1059
-                        <div
1060
-                          class="under_line"
1015
+                        <div class="under_line"
1061
                           style="width: 50px; text-align: center"
1016
                           style="width: 50px; text-align: center"
1062
                         >
1017
                         >
1063
                           {{
1018
                           {{
1068
                         </div>
1023
                         </div>
1069
                         mmHg
1024
                         mmHg
1070
                       </div>
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
                     </div>
1039
                     </div>
1073
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1040
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1074
                       <div class="inline_block" style="flex: 2">
1041
                       <div class="inline_block" style="flex: 2">
1075
-                        透析器凝血:
1042
+                        透析器凝血:
1076
                         <div class="under_line"
1043
                         <div class="under_line"
1077
                           style=" width: 60%; text-align: center; white-space: normal;"
1044
                           style=" width: 60%; text-align: center; white-space: normal;"
1078
                         >
1045
                         >
1080
                         </div>
1047
                         </div>
1081
                       </div>
1048
                       </div>
1082
                       <div class="inline_block" style="flex: 2">
1049
                       <div class="inline_block" style="flex: 2">
1083
-                        内瘘
1050
+                        内瘘:
1084
                         <div class="under_line"
1051
                         <div class="under_line"
1085
                           style=" width: 75%; text-align: center; white-space: normal;"
1052
                           style=" width: 75%; text-align: center; white-space: normal;"
1086
                         >
1053
                         >
1092
                         </div>
1059
                         </div>
1093
                       </div>
1060
                       </div>
1094
                       <div class="inline_block" style="flex: 2">
1061
                       <div class="inline_block" style="flex: 2">
1095
-                        导管
1062
+                        导管:
1096
                         <div class="under_line"
1063
                         <div class="under_line"
1097
                           style="min-width: 75%; text-align: center"
1064
                           style="min-width: 75%; text-align: center"
1098
                         >
1065
                         >
1102
                         </div>
1069
                         </div>
1103
                       </div>
1070
                       </div>
1104
                       <div class="inline_block" style="flex: 2">
1071
                       <div class="inline_block" style="flex: 2">
1105
-                        实际治疗时间
1072
+                        实际治疗时间:
1106
                         <div class="under_line"
1073
                         <div class="under_line"
1107
                           style="width: 30px; text-align: center"
1074
                           style="width: 30px; text-align: center"
1108
                         >
1075
                         >
1127
                     </div>
1094
                     </div>
1128
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1095
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1129
                       <div class="inline_block" style="flex: 1">
1096
                       <div class="inline_block" style="flex: 1">
1130
-                        透后体重
1097
+                        透后体重:
1131
                         <div class="under_line" style="width: 70px; text-align: center">
1098
                         <div class="under_line" style="width: 70px; text-align: center">
1132
                           <span>
1099
                           <span>
1133
                             {{
1100
                             {{
1146
                       </div>
1113
                       </div>
1147
 
1114
 
1148
                       <div class="inline_block" style="flex: 1">
1115
                       <div class="inline_block" style="flex: 1">
1149
-                        体重减少
1116
+                        体重减少:
1150
                         <div class="under_line"
1117
                         <div class="under_line"
1151
                           style="width: 70px; text-align: center"
1118
                           style="width: 70px; text-align: center"
1152
                         >
1119
                         >
1162
                       </div>
1129
                       </div>
1163
 
1130
 
1164
                       <div class="inline_block" style="flex: 1">
1131
                       <div class="inline_block" style="flex: 1">
1165
-                        <span>
1166
-                            透析中入量(L):
1167
-                        </span>
1132
+                        <span>透析中入量(L):</span>
1168
                         <div class="under_line"
1133
                         <div class="under_line"
1169
                           style="width: 70px; text-align: center"
1134
                           style="width: 70px; text-align: center"
1170
                         >
1135
                         >
1175
                               : "/"
1140
                               : "/"
1176
                           }}
1141
                           }}
1177
                         </div>
1142
                         </div>
1178
-
1179
                         {{ getUnit(record) }}
1143
                         {{ getUnit(record) }}
1180
                       </div>
1144
                       </div>
1181
 
1145
 
1182
                       <div class="inline_block" style="flex: 1">
1146
                       <div class="inline_block" style="flex: 1">
1183
-                        实际超滤量
1147
+                        实际超滤量:
1184
                         <div class="under_line"
1148
                         <div class="under_line"
1185
                           style="width: 70px; text-align: center"
1149
                           style="width: 70px; text-align: center"
1186
                         >
1150
                         >
1190
                               : "/"
1154
                               : "/"
1191
                           }}
1155
                           }}
1192
                         </div>
1156
                         </div>
1193
-                        ml
1157
+                        kg
1194
                       </div>
1158
                       </div>
1195
                     </div>
1159
                     </div>
1196
 
1160
 
1197
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1161
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1198
                       <div class="inline_block" style="flex: 1; display: inline-block">
1162
                       <div class="inline_block" style="flex: 1; display: inline-block">
1199
-                        治疗小结
1163
+                        治疗小结:
1200
                         <div class="under_line"
1164
                         <div class="under_line"
1201
                           style=" width: 840px;
1165
                           style=" width: 840px;
1202
                             line-height: 25px;
1166
                             line-height: 25px;
1217
 
1181
 
1218
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1182
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1219
                       <div class="inline_block" style="flex: 1; display: inline-block">
1183
                       <div class="inline_block" style="flex: 1; display: inline-block">
1220
-                        宣教知识
1184
+                        宣教知识:
1221
                         <div class="under_line"
1185
                         <div class="under_line"
1222
                           style=" width: 840px;
1186
                           style=" width: 840px;
1223
                             line-height: 25px;
1187
                             line-height: 25px;
1240
                 </tr>
1204
                 </tr>
1241
                 <tr>
1205
                 <tr>
1242
                   <td>
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
                       <div class="inline_block" style="flex: 1">
1209
                       <div class="inline_block" style="flex: 1">
1247
-                        上机护士
1210
+                        上机护士:
1248
                         <div class="under_line"
1211
                         <div class="under_line"
1249
                           style="width: 80px; text-align: center"
1212
                           style="width: 80px; text-align: center"
1250
                         >
1213
                         >
1273
                       </div>
1236
                       </div>
1274
                      
1237
                      
1275
                       <div class="inline_block" style="flex: 1">
1238
                       <div class="inline_block" style="flex: 1">
1276
-                        核对护士
1239
+                        核对护士:
1277
                         <div
1240
                         <div
1278
                           class="under_line"
1241
                           class="under_line"
1279
                           style="width: 80px; text-align: left"
1242
                           style="width: 80px; text-align: left"
1401
                       </div>
1364
                       </div>
1402
  
1365
  
1403
                       <div class="inline_block" style="flex: 1">
1366
                       <div class="inline_block" style="flex: 1">
1404
-                        下机护士
1367
+                        下机护士:
1405
                         <div
1368
                         <div
1406
                           class="under_line"
1369
                           class="under_line"
1407
                           style="width: 80px; text-align: center"
1370
                           style="width: 80px; text-align: center"
1443
 
1406
 
1444
                       <div class="inline_block" style="flex: 1">
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
                           <span style="height: 30px;display: inline-block;"></span>
1410
                           <span style="height: 30px;display: inline-block;"></span>
1448
                           
1411
                           
1449
                           <span v-if="record.dialysis_order !=null">
1412
                           <span v-if="record.dialysis_order !=null">
1453
                         </div>
1416
                         </div>
1454
                       </div>
1417
                       </div>
1455
                       <div class="inline_block" style="flex: 1">
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
                           <span style="height: 30px; display: inline-block">
1421
                           <span style="height: 30px; display: inline-block">
1459
                           </span>
1422
                           </span>
1460
                           <span v-if="record.dialysis_order!=null">
1423
                           <span v-if="record.dialysis_order!=null">
2038
     },
2001
     },
2039
     printAction: function () {
2002
     printAction: function () {
2040
       const style =
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
       printJS({
2006
       printJS({
2044
         printable: "print_content",
2007
         printable: "print_content",
2187
       }
2150
       }
2188
       return "";
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
     // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
2154
     // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
2192
     isCheckBoxChecked: function (record, key, target_value) {
2155
     isCheckBoxChecked: function (record, key, target_value) {
2193
       if (record == null || record == undefined) {
2156
       if (record == null || record == undefined) {

Diff onderdrukt omdat het te groot bestand
+ 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 Bestand weergeven

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

+ 11 - 11
src/xt_pages/dialysis/bloodPresssWatch.vue Bestand weergeven

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

+ 26 - 5
src/xt_pages/dialysis/details/consumable/dialysisGather.vue Bestand weergeven

266
           <el-table-column align="center" label="葡萄糖酸钙" v-if="gatherSetting.putaosuangai == 1">
266
           <el-table-column align="center" label="葡萄糖酸钙" v-if="gatherSetting.putaosuangai == 1">
267
              <template slot-scope="scope">
267
              <template slot-scope="scope">
268
               <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_three }}</span>
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
              </template>
270
              </template>
271
           </el-table-column>
271
           </el-table-column>
272
 
272
 
273
           <el-table-column align="center" label="肝素钠" v-if="org_id == 0 || org_id == 10683">
273
           <el-table-column align="center" label="肝素钠" v-if="org_id == 0 || org_id == 10683">
274
              <template slot-scope="scope">
274
              <template slot-scope="scope">
275
               <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_four }}</span>
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
              </template>
277
              </template>
278
           </el-table-column>
278
           </el-table-column>
279
           
279
           
736
                   list[i].advice_spc_two =""
736
                   list[i].advice_spc_two =""
737
                   list[i].advice_spc_three = ""
737
                   list[i].advice_spc_three = ""
738
                   list[i].advice_spc_four = ""
738
                   list[i].advice_spc_four = ""
739
+                  list[i].advice_spc_five = 0
739
                   for(let j=0;j<list[i].advice.length;j++){
740
                   for(let j=0;j<list[i].advice.length;j++){
740
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
741
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
741
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
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
                        }
755
                        }
755
 
756
 
756
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
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
                 console.log("listwowowowowowo日本",this.list)
773
                 console.log("listwowowowowowo日本",this.list)
2266
         var newArrList = []
2277
         var newArrList = []
2267
         var newArr = []
2278
         var newArr = []
2268
         var advice_name = ""
2279
         var advice_name = ""
2280
+        var count = 0
2269
          if(val!=null && val.length>0){
2281
          if(val!=null && val.length>0){
2270
             for(let i=0;i<val.length;i++){
2282
             for(let i=0;i<val.length;i++){
2271
               if(val[i].advice_name.indexOf("左卡")!=-1){
2283
               if(val[i].advice_name.indexOf("左卡")!=-1){
2286
          if(newArr!=null && newArr.length>0){
2298
          if(newArr!=null && newArr.length>0){
2287
            for(let i=0;i<newArr.length;i++){
2299
            for(let i=0;i<newArr.length;i++){
2288
              advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2300
              advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2301
+             
2289
            }
2302
            }
2290
          }
2303
          }
2291
          return advice_name
2304
          return advice_name
2351
         var newArrList = []
2364
         var newArrList = []
2352
         var newArr = []
2365
         var newArr = []
2353
         var advice_name = ""
2366
         var advice_name = ""
2367
+        var count =0
2354
          if(val!=null && val.length>0){
2368
          if(val!=null && val.length>0){
2355
             for(let i=0;i<val.length;i++){
2369
             for(let i=0;i<val.length;i++){
2356
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
2370
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
2370
        
2384
        
2371
          if(newArr!=null && newArr.length>0){
2385
          if(newArr!=null && newArr.length>0){
2372
            for(let i=0;i<newArr.length;i++){
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
        getweekday(date){
2399
        getweekday(date){
2379
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
2400
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");

+ 18 - 3
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue Bestand weergeven

308
                   list[i].advice_spc_two =""
308
                   list[i].advice_spc_two =""
309
                   list[i].advice_spc_three = ""
309
                   list[i].advice_spc_three = ""
310
                    list[i].advice_spc_four = ""
310
                    list[i].advice_spc_four = ""
311
+                   list[i].advice_spc_five = 0
311
                    for(let j=0;j<list[i].advice.length;j++){
312
                    for(let j=0;j<list[i].advice.length;j++){
312
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
313
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
313
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
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
                        }
327
                        }
327
 
328
 
328
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
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
         var newArrList = []
574
         var newArrList = []
567
         var newArr = []
575
         var newArr = []
568
         var advice_name = ""
576
         var advice_name = ""
577
+        var count = 0
569
          if(val!=null && val.length>0){
578
          if(val!=null && val.length>0){
570
             for(let i=0;i<val.length;i++){
579
             for(let i=0;i<val.length;i++){
571
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
580
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
585
        
594
        
586
          if(newArr!=null && newArr.length>0){
595
          if(newArr!=null && newArr.length>0){
587
            for(let i=0;i<newArr.length;i++){
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
        getweekday(date){
608
        getweekday(date){
594
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
609
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");

+ 1 - 6
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue Bestand weergeven

314
               {{ scope.row.advice_spc_five }}
314
               {{ scope.row.advice_spc_five }}
315
            </template>
315
            </template>
316
         </el-table-column>
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
         <el-table-column align="center" label="葡萄糖"  v-if="dialysisSett.glucose==1">
318
         <el-table-column align="center" label="葡萄糖"  v-if="dialysisSett.glucose==1">
324
            <template slot-scope="scope">
319
            <template slot-scope="scope">
325
              <span>{{scope.row.dialysis_solution.amylaceum?scope.row.dialysis_solution.amylaceum:""}} </span> 
320
              <span>{{scope.row.dialysis_solution.amylaceum?scope.row.dialysis_solution.amylaceum:""}} </span> 

+ 8 - 14
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue Bestand weergeven

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

+ 34 - 37
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Bestand weergeven

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

+ 22 - 17
src/xt_pages/dialysis/dialysisPrintOrder.vue Bestand weergeven

988
         >
988
         >
989
         </div>
989
         </div>
990
       </template>
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
         <div>
992
         <div>
993
           <el-button
993
           <el-button
994
           :loading="loading"
994
           :loading="loading"
1000
         >
1000
         >
1001
         </div>
1001
         </div>
1002
       </template>
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
         <div>
1004
         <div>
1006
           <el-button
1005
           <el-button
1007
           :loading="loading"
1006
           :loading="loading"
1012
           >打印</el-button
1011
           >打印</el-button
1013
         >
1012
         >
1014
         </div>
1013
         </div>
1015
-      </template> -->
1016
-      
1014
+      </template>
1015
+
1017
     </div>
1016
     </div>
1018
     <div class="app-container" style="min-height: 0">
1017
     <div class="app-container" style="min-height: 0">
1019
       <!--<div class="order-print-btn"-->
1018
       <!--<div class="order-print-btn"-->
1137
             </el-table>
1136
             </el-table>
1138
           </div>
1137
           </div>
1139
         </div>
1138
         </div>
1140
-        <div
1141
-          class="dialysisPage"
1139
+        <div class="dialysisPage"
1142
           style="height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px"
1140
           style="height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px"
1143
         >
1141
         >
1144
           <DialysisPrintOrderOne
1142
           <DialysisPrintOrderOne
1536
           </DialysisPrintOrderSeventynine>
1534
           </DialysisPrintOrderSeventynine>
1537
 
1535
 
1538
           <DialysisPrintOrdereighty v-bind:childResponse="childResponse"
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
           </DialysisPrintOrdereighty>
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
         </div>
1542
         </div>
1545
       </el-container>
1543
       </el-container>
1546
     </div>
1544
     </div>
1639
 import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventyeight'
1637
 import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventyeight'
1640
 import DialysisPrintOrderSeventynine from './template/DialysisPrintOrderSeventynine'
1638
 import DialysisPrintOrderSeventynine from './template/DialysisPrintOrderSeventynine'
1641
 import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1639
 import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1640
+import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
1642
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1641
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1643
 export default {
1642
 export default {
1644
   name: "dialysisPrintOrder",
1643
   name: "dialysisPrintOrder",
1723
     DialysisPrintOrderSeventyeight,
1722
     DialysisPrintOrderSeventyeight,
1724
     DialysisPrintOrderSeventynine,
1723
     DialysisPrintOrderSeventynine,
1725
     DialysisPrintOrdereighty,
1724
     DialysisPrintOrdereighty,
1725
+    DialysisPrintOrdereightyone,
1726
     DialysisPrintOrderZero,
1726
     DialysisPrintOrderZero,
1727
     LabelBox,
1727
     LabelBox,
1728
     BreadCrumb,
1728
     BreadCrumb,
2436
           scanStyles: false,
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
         printJS({
2448
         printJS({
2442
           printable: "dialysis-print-box-1",
2449
           printable: "dialysis-print-box-1",
2443
           type: "html",
2450
           type: "html",
2661
           this.date = response.data.data.patientInfo.DialysisSchedule.schedule_date
2668
           this.date = response.data.data.patientInfo.DialysisSchedule.schedule_date
2662
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2669
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2663
           this.patient_name = response.data.data.patientInfo.name
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
             this.org_template_info.template_id= response.data.data.org_template_info.template_id
2673
             this.org_template_info.template_id= response.data.data.org_template_info.template_id
2669
             this.org_template_info = response.data.data.org_template_info;
2674
             this.org_template_info = response.data.data.org_template_info;
2670
           }else{
2675
           }else{

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

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

Diff onderdrukt omdat het te groot bestand
+ 513 - 535
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue


Diff onderdrukt omdat het te groot bestand
+ 3688 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue


+ 119 - 19
src/xt_pages/outpatientCharges/summary.vue Bestand weergeven

715
       settlementVisible: false,
715
       settlementVisible: false,
716
       settlementObj: {},
716
       settlementObj: {},
717
       accounts_click_vi:false,
717
       accounts_click_vi:false,
718
+      org_id:'',
718
     }
719
     }
719
   },
720
   },
720
 
721
 
757
     this.getDoctorList()
758
     this.getDoctorList()
758
     this.getHisOrderList()
759
     this.getHisOrderList()
759
     this.getAllstaff()
760
     this.getAllstaff()
761
+    this.org_id == this.$store.getters.xt_user.org.id
760
   },
762
   },
761
 
763
 
762
   methods: {
764
   methods: {
3317
           return false
3319
           return false
3318
         } else {
3320
         } else {
3319
           let list = []
3321
           let list = []
3322
+          let list2 = []
3320
           for (let i = 0; i < response.data.data.order.length; i++) {
3323
           for (let i = 0; i < response.data.data.order.length; i++) {
3321
             let order = response.data.data.order[i]
3324
             let order = response.data.data.order[i]
3322
             let number = ''
3325
             let number = ''
3504
               收费状态: order_status,
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
             list.push(obj)
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
               '收费时间',
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
               '公务员基金',
3636
               '公务员基金',
3563
               '个人支付基金',
3637
               '个人支付基金',
3564
               '个人账户支付金额',
3638
               '个人账户支付金额',
3565
-              '科室',
3566
               '医生姓名',
3639
               '医生姓名',
3567
               '收费类别',
3640
               '收费类别',
3568
-              '收费者姓名',
3569
               '总金额',
3641
               '总金额',
3570
               '现金支付',
3642
               '现金支付',
3571
               '账户支付',
3643
               '账户支付',
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 Bestand weergeven

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

+ 2 - 2
src/xt_pages/stock/drugs/components/drugInOrder.vue Bestand weergeven

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

+ 5 - 1
src/xt_pages/stock/drugs/components/drugOutDetail.vue Bestand weergeven

318
     changeType: function(val) {
318
     changeType: function(val) {
319
       this.order_type = val;
319
       this.order_type = val;
320
       this.getlist()
320
       this.getlist()
321
+      this.getDrugOutOrderPrint()
321
     },
322
     },
322
     changeManufacturer: function(val) {
323
     changeManufacturer: function(val) {
323
       this.manufacturer_id = val;
324
       this.manufacturer_id = val;
324
       this.getlist()
325
       this.getlist()
326
+      this.getDrugOutOrderPrint()
325
     },
327
     },
326
     getTypeName: function(row) {
328
     getTypeName: function(row) {
327
       let name = "";
329
       let name = "";
443
     PrintAction: function() {
445
     PrintAction: function() {
444
       //  window.sessionStorage.setItem('start_out_time',this.start_time)
446
       //  window.sessionStorage.setItem('start_out_time',this.start_time)
445
       //  window.sessionStorage.setItem('end_out_time',this.end_time)
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
     getlist(){
450
     getlist(){
449
       var params = {
451
       var params = {
970
          start_time:this.start_time,
972
          start_time:this.start_time,
971
          end_time:this.end_time,
973
          end_time:this.end_time,
972
          order_type:2,
974
          order_type:2,
975
+         storehouse_id:this.storehouse_id,
973
       }
976
       }
974
      getDrugOutOrderPrint(params).then(response=>{
977
      getDrugOutOrderPrint(params).then(response=>{
975
         if(response.data.state == 1){
978
         if(response.data.state == 1){
1166
      changeHouseList(){
1169
      changeHouseList(){
1167
        this.houseList = []
1170
        this.houseList = []
1168
        this.getlist()
1171
        this.getlist()
1172
+       this.getDrugOutOrderPrint()
1169
      }
1173
      }
1170
   }
1174
   }
1171
 };
1175
 };

+ 2 - 0
src/xt_pages/stock/drugs/drugOutOrderPrint.vue Bestand weergeven

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

+ 12 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Bestand weergeven

419
       width="40%">
419
       width="40%">
420
       <span>
420
       <span>
421
         <el-input
421
         <el-input
422
+         @keyup.native="changeText"
422
           type="textarea"
423
           type="textarea"
423
           placeholder="请输入内容"
424
           placeholder="请输入内容"
424
           v-model="textarea"
425
           v-model="textarea"
1183
          return ""
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
   created() {
1199
   created() {
1189
     if (this.$route.path == "/Pharmacy/in/add") {
1200
     if (this.$route.path == "/Pharmacy/in/add") {
1190
       this.crumbs = [
1201
       this.crumbs = [

+ 10 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue Bestand weergeven

405
       width="40%">
405
       width="40%">
406
       <span>
406
       <span>
407
         <el-input
407
         <el-input
408
+         @keyup.native="changeText"
408
           type="textarea"
409
           type="textarea"
409
           placeholder="请输入内容"
410
           placeholder="请输入内容"
410
           v-model="textarea"
411
           v-model="textarea"
532
     };
533
     };
533
   },
534
   },
534
   methods: {
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
     changeDrugCode(row,index){
545
     changeDrugCode(row,index){
536
       this.textarea=""
546
       this.textarea=""
537
       this.textarea = row.drug_code
547
       this.textarea = row.drug_code

+ 7 - 0
src/xt_pages/stock/stockInOrder.vue Bestand weergeven

362
             </span>
362
             </span>
363
           </template>
363
           </template>
364
         </el-table-column>
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
         <el-table-column label="备注" align="center">
372
         <el-table-column label="备注" align="center">
366
           <template slot-scope="scope">
373
           <template slot-scope="scope">
367
             <span v-if="scope.row.is_total == 0">
374
             <span v-if="scope.row.is_total == 0">

+ 67 - 5
src/xt_pages/stock/stockInOrderAdd.vue Bestand weergeven

239
             </template>
239
             </template>
240
           </el-table-column>
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
           <el-table-column label="备注" align="center" width="150">
252
           <el-table-column label="备注" align="center" width="150">
243
             <template slot-scope="scope">
253
             <template slot-scope="scope">
244
               <el-input placeholder="请输入备注" v-model="scope.row.remark"></el-input>
254
               <el-input placeholder="请输入备注" v-model="scope.row.remark"></el-input>
274
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
284
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
275
       </el-form>
285
       </el-form>
276
 
286
 
277
-
287
+ 
278
     </div>
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
   </div>
309
   </div>
280
 
310
 
281
 </template>
311
 </template>
380
             price: '',
410
             price: '',
381
             remark: '',
411
             remark: '',
382
             dealer: '',
412
             dealer: '',
383
-            manufacturer: ''
384
-
413
+            manufacturer: '',
414
+            good_code:""
385
           },
415
           },
386
           isCreated: 1
416
           isCreated: 1
387
 
417
 
422
         showCheck:false,
452
         showCheck:false,
423
         showReturnCheck:false,
453
         showReturnCheck:false,
424
         warehousing_info_id:0,
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
     methods: {
463
     methods: {
579
         tempObj["packing_price"] = ""
614
         tempObj["packing_price"] = ""
580
         tempObj["id"] = 0
615
         tempObj["id"] = 0
581
         tempObj['register_number'] = ''
616
         tempObj['register_number'] = ''
617
+        tempObj['good_code'] = ""
582
         this.recordInfo.recordData.push(tempObj)
618
         this.recordInfo.recordData.push(tempObj)
583
       }, handleDelete: function(index, row) {
619
       }, handleDelete: function(index, row) {
584
         if (this.recordInfo.recordData.length <= 1) {
620
         if (this.recordInfo.recordData.length <= 1) {
795
                   list[i].product_date = this.getTimeOne(list[i].product_date)
831
                   list[i].product_date = this.getTimeOne(list[i].product_date)
796
                   list[i].good_name = list[i].GoodInfo.good_name
832
                   list[i].good_name = list[i].GoodInfo.good_name
797
                   list[i].name = list[i].GoodInfo.specification_name +"/"+ list[i].GoodInfo.packing_unit
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
                 this.recordInfo.recordData = []
836
                 this.recordInfo.recordData = []
800
                 this.recordInfo.recordData = list
837
                 this.recordInfo.recordData = list
969
           return ""
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
     created() {
1036
     created() {
1003
       tempObj['packing_price']= ''
1064
       tempObj['packing_price']= ''
1004
       tempObj['id']= 0
1065
       tempObj['id']= 0
1005
       tempObj['register_number'] = ''
1066
       tempObj['register_number'] = ''
1067
+      tempObj['good_code'] = ''
1006
       this.recordInfo.recordData.push(tempObj)
1068
       this.recordInfo.recordData.push(tempObj)
1007
       this.GetConfigInfo()
1069
       this.GetConfigInfo()
1008
       this.propForm.goodUnit = this.$store.getters.good_unit
1070
       this.propForm.goodUnit = this.$store.getters.good_unit

+ 81 - 1
src/xt_pages/stock/stockInOrderEdit.vue Bestand weergeven

301
                </el-select>
301
                </el-select>
302
             </template>
302
             </template>
303
           </el-table-column>
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
           <el-table-column label="备注" width="150" align="center">
316
           <el-table-column label="备注" width="150" align="center">
305
             <template slot-scope="scope">
317
             <template slot-scope="scope">
306
               <el-input v-model="scope.row.remark"  :disabled ="disabled"></el-input>
318
               <el-input v-model="scope.row.remark"  :disabled ="disabled"></el-input>
349
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
361
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
350
       </el-form>
362
       </el-form>
351
     </div>
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
   </div>
384
   </div>
353
 </template>
385
 </template>
354
 
386
 
451
       list:[],
483
       list:[],
452
       is_check:0,
484
       is_check:0,
453
       order_id:0,
485
       order_id:0,
486
+      org_id:0,
487
+      dialogVisible:false,
488
+      currentRow:{},
489
+      currentIndex:0,
490
+      textarea:""
454
     };
491
     };
455
   },
492
   },
456
   methods: {
493
   methods: {
482
             tempForm["remark"] = "";
519
             tempForm["remark"] = "";
483
             tempForm["dealer"] = "";
520
             tempForm["dealer"] = "";
484
             tempForm["manufacturer"] = "";
521
             tempForm["manufacturer"] = "";
522
+            tempForm["good_code"] = ""
485
             this.recordInfo.recordData.splice(
523
             this.recordInfo.recordData.splice(
486
               this.currentIndex + 1,
524
               this.currentIndex + 1,
487
               0,
525
               0,
570
       tempObj["manufacturer"] = "";
608
       tempObj["manufacturer"] = "";
571
       tempObj["license_number"] = ""
609
       tempObj["license_number"] = ""
572
       tempObj["packing_price"] = ""
610
       tempObj["packing_price"] = ""
611
+      tempObj["good_code"] = ""
573
       this.recordInfo.recordData.push(tempObj);
612
       this.recordInfo.recordData.push(tempObj);
574
     },
613
     },
575
     handleDelete: function(index, row) {
614
     handleDelete: function(index, row) {
775
                 list[i].product_date = this.getTimeOne(list[i].product_date)
814
                 list[i].product_date = this.getTimeOne(list[i].product_date)
776
                 list[i].good_name = list[i].GoodInfo.good_name
815
                 list[i].good_name = list[i].GoodInfo.good_name
777
                 list[i].name = list[i].GoodInfo.specification_name
816
                 list[i].name = list[i].GoodInfo.specification_name
817
+                list[i].good_code = list[i].good_code
778
                }
818
                }
779
               this.recordInfo.recordData = []
819
               this.recordInfo.recordData = []
780
               this.recordInfo.recordData = list
820
               this.recordInfo.recordData = list
848
             tempObj["manufacturer"] = "";
888
             tempObj["manufacturer"] = "";
849
             tempObj["license_number"] = ""
889
             tempObj["license_number"] = ""
850
             tempObj["register_number"] = ""
890
             tempObj["register_number"] = ""
891
+            tempObj["good_code"] = ""
851
             this.recordInfo.recordData.push(tempObj);
892
             this.recordInfo.recordData.push(tempObj);
852
           }
893
           }
853
         }
894
         }
906
             }else{
947
             }else{
907
                this.recordInfo.recordData[i].price = val.buy_price
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
             if(val.packing_price == 0){
955
             if(val.packing_price == 0){
910
               this.recordInfo.recordData[i].packing_price = "0"
956
               this.recordInfo.recordData[i].packing_price = "0"
911
             }else{
957
             }else{
920
             }else{
966
             }else{
921
               this.recordInfo.recordData[i].dealer = val.dealer
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
          return ""
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
   created() {
1080
   created() {
1081
+    this.org_id = this.$store.getters.xt_user.org.id
1002
     this.GetConfigInfo();
1082
     this.GetConfigInfo();
1003
     this.propForm.goodUnit = this.$store.getters.good_unit;
1083
     this.propForm.goodUnit = this.$store.getters.good_unit;
1004
     const order_id = this.$route.query.id;
1084
     const order_id = this.$route.query.id;

+ 28 - 3
src/xt_pages/stock/stockOutOrderAdd.vue Bestand weergeven

148
                   type="number"
148
                   type="number"
149
                   v-model="scope.row.stock_count"
149
                   v-model="scope.row.stock_count"
150
                 ></el-input>
150
                 ></el-input>
151
+                
151
               </el-form-item>
152
               </el-form-item>
152
             </template>
153
             </template>
153
           </el-table-column>
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
          <el-table-column  width="150" align="center">
166
          <el-table-column  width="150" align="center">
157
             <template slot="header" slot-scope="scope">
167
             <template slot="header" slot-scope="scope">
450
       loading:false,
460
       loading:false,
451
       patients:[],
461
       patients:[],
452
       classType:[{id:1,name:"上午"},{id:2,name:"下午"},{id:3,name:"晚上"}],
462
       classType:[{id:1,name:"上午"},{id:2,name:"下午"},{id:3,name:"晚上"}],
453
-
463
+      tableWarehouseInfoList:[],
464
+      org_id:0,
454
     };
465
     };
455
   },
466
   },
456
   methods: {
467
   methods: {
830
                     warehouseOutInfoList[i].expiry_date = this.getTimeOne(warehouseOutInfoList[i].expiry_date)
841
                     warehouseOutInfoList[i].expiry_date = this.getTimeOne(warehouseOutInfoList[i].expiry_date)
831
                     warehouseOutInfoList[i].product_date = this.getTimeOne(warehouseOutInfoList[i].product_date)
842
                     warehouseOutInfoList[i].product_date = this.getTimeOne(warehouseOutInfoList[i].product_date)
832
                     warehouseOutInfoList[i].patient_id = warehouseOutInfoList[i].patient_id
843
                     warehouseOutInfoList[i].patient_id = warehouseOutInfoList[i].patient_id
844
+                    
833
 
845
 
834
                  }
846
                  }
835
                  this.recordInfo.recordData = warehouseOutInfoList
847
                  this.recordInfo.recordData = warehouseOutInfoList
921
             this.recordInfo.recordData[i].license_number = val.number
933
             this.recordInfo.recordData[i].license_number = val.number
922
             this.recordInfo.recordData[i].register_number = val.register_number
934
             this.recordInfo.recordData[i].register_number = val.register_number
923
             this.recordInfo.recordData[i].patient_id = 0
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
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.expiry_date >0){
938
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.expiry_date >0){
926
               this.recordInfo.recordData[i].expiry_date = this.getTimeOne(val.first_xt_warehouse_info.expiry_date)
939
               this.recordInfo.recordData[i].expiry_date = this.getTimeOne(val.first_xt_warehouse_info.expiry_date)
927
             }else{
940
             }else{
941
               this.recordInfo.recordData[i].price = val.packing_price
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
             this.recordInfo.recordData[i].specification_name = val.specification_name
961
             this.recordInfo.recordData[i].specification_name = val.specification_name
945
             this.recordInfo.recordData[i].good_id = val.id
962
             this.recordInfo.recordData[i].good_id = val.id
946
             if(val.dealer == 0){
963
             if(val.dealer == 0){
949
              this.recordInfo.recordData[i].dealer = val.dealer
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
             console.log("日期我我我哦我",  this.recordInfo.recordData)
976
             console.log("日期我我我哦我",  this.recordInfo.recordData)
953
          }
977
          }
954
 
978
 
967
           var list = response.data.data.list
991
           var list = response.data.data.list
968
           this.numberList = list
992
           this.numberList = list
969
           // var lastWarehouseInfoTwo = response.data.data.lastWarehouseInfoTwo
993
           // var lastWarehouseInfoTwo = response.data.data.lastWarehouseInfoTwo
994
+          // this.tableWarehouseInfoList = lastWarehouseInfoTwo
970
         }
995
         }
971
      })
996
      })
972
     },
997
     },
1062
 
1087
 
1063
   },
1088
   },
1064
   created() {
1089
   created() {
1065
-
1090
+    this.org_id = this.$store.getters.xt_user.org.id
1066
     var nowDate = new Date();
1091
     var nowDate = new Date();
1067
     var nowYear = nowDate.getFullYear();
1092
     var nowYear = nowDate.getFullYear();
1068
     var nowMonth = nowDate.getMonth() + 1;
1093
     var nowMonth = nowDate.getMonth() + 1;

+ 46 - 55
src/xt_pages/user/components/PatientDetail.vue Bestand weergeven

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

+ 37 - 8
src/xt_pages/user/coursePrint.vue Bestand weergeven

8
     </div>
8
     </div>
9
     <div class="app-container">
9
     <div class="app-container">
10
       <div id="print_content">
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
           <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;" 
16
           <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;" 
15
             v-if="org_id !=10206 && org_id !=0">
17
             v-if="org_id !=10206 && org_id !=0">
16
             <div  style="flex:1;text-align: center;">
18
             <div  style="flex:1;text-align: center;">
46
 
48
 
47
             </div>
49
             </div>
48
           </div>
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
             <div class="inline_block" style="display: inline-block;" v-if="org_id !=10206 && org_id !=0">
82
             <div class="inline_block" style="display: inline-block;" v-if="org_id !=10206 && org_id !=0">
51
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
83
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
52
             </div>
84
             </div>
53
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">
85
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">
54
               <div>{{item.title}}</div>
86
               <div>{{item.title}}</div>
55
             </div>
87
             </div>
56
-
57
             <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
88
             <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
58
               <div v-html="item.content" class="printP" >
89
               <div v-html="item.content" class="printP" >
59
 
90
 
70
               </span>
101
               </span>
71
             </div>
102
             </div>
72
           </div>
103
           </div>
73
-
74
         
104
         
75
         </div>
105
         </div>
76
       </div>
106
       </div>
79
 
109
 
80
 </template>
110
 </template>
81
 
111
 
82
-
83
 <script>
112
 <script>
84
   import { jsGetAge, uParseTime } from '@/utils/tools'
113
   import { jsGetAge, uParseTime } from '@/utils/tools'
85
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
114
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
132
          
161
          
133
           this.adminUserList = resp.data.adminUser
162
           this.adminUserList = resp.data.adminUser
134
           this.operators = resp.data.operators
163
           this.operators = resp.data.operators
135
-           console.log("GetCoursePrintData",this.operators)
164
+           console.log("GetCoursePrintData",resp)
136
            if (this.operators.length > 0) {
165
            if (this.operators.length > 0) {
137
             var operatorsLen = this.operators.length
166
             var operatorsLen = this.operators.length
138
             for (var index = 0; index < operatorsLen; index++) {
167
             for (var index = 0; index < operatorsLen; index++) {

+ 7 - 4
src/xt_pages/user/lapsoSummary.vue Bestand weergeven

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

+ 7 - 7
src/xt_pages/user/patients.vue Bestand weergeven

842
           { value: 1, label: '转出', source: 0, lapseto: 2 },
842
           { value: 1, label: '转出', source: 0, lapseto: 2 },
843
           { value: 2, label: '留治', source: 0, lapseto: 1 },
843
           { value: 2, label: '留治', source: 0, lapseto: 1 },
844
           { value: 3, label: '死亡', source:0,  lapseto: 3 },
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
           { value: 11, label: "请假", source: 0, lapseto: 11 },
852
           { value: 11, label: "请假", source: 0, lapseto: 11 },
853
         ],
853
         ],
854
         scheduling: [
854
         scheduling: [

+ 2 - 3
src/xt_pages/workforce/appointment.vue Bestand weergeven

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