浏览代码

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

陈少旭 3 周前
父节点
当前提交
b7b2cea13a

+ 20 - 1
src/api/patient.js 查看文件

@@ -1476,4 +1476,23 @@ export function getInspectionByProjectId(params){
1476 1476
 //     method:"get",
1477 1477
 //     params:params
1478 1478
 //   })
1479
-// }
1479
+// }
1480
+
1481
+
1482
+export function getPatientMapList(params){
1483
+
1484
+  return request({
1485
+    url:"/api/patient/getpatientmaplist",
1486
+    method:"get",
1487
+    params:params
1488
+  })
1489
+}
1490
+
1491
+export function savePatentCount(params){
1492
+
1493
+  return request({
1494
+    url:"/api/patient/savepatientcount",
1495
+    method:"get",
1496
+    params:params
1497
+  })
1498
+}

+ 67 - 9
src/xt_pages/charging/charging_cz.vue 查看文件

@@ -78,32 +78,38 @@
78 78
           <el-form-item label="患者姓名:">
79 79
             <el-autocomplete
80 80
               class="inline-input"
81
-              v-model="state1"
81
+               v-model.trim="smart_keyword"
82 82
               :fetch-suggestions="querySearch"
83 83
               placeholder="请输入内容"
84 84
               @select="handleSelect"
85
-            ></el-autocomplete>
85
+              
86
+            >
87
+           <i class="el-icon-search el-input__icon" slot="suffix"></i>
88
+          <template slot-scope="{ item }">
89
+            <div class="name">{{ item.name }}</div>
90
+          </template>
91
+          </el-autocomplete>
86 92
           </el-form-item>
87 93
           <el-form-item label="HD:">
88
-            <el-input v-model="formLabelAlign.region"></el-input>
94
+            <el-input v-model="hd_count"></el-input>
89 95
           </el-form-item>
90 96
           <el-form-item label="HDF:">
91
-            <el-input v-model="formLabelAlign.type"></el-input>
97
+            <el-input v-model="hdf_count"></el-input>
92 98
           </el-form-item>
93 99
           <el-form-item label="HD+HP:">
94
-            <el-input v-model="formLabelAlign.type"></el-input>
100
+            <el-input v-model="hdhp_count"></el-input>
95 101
           </el-form-item>
96 102
           <el-form-item label="HP:">
97
-            <el-input v-model="formLabelAlign.type"></el-input>
103
+            <el-input v-model="hp_count"></el-input>
98 104
           </el-form-item>
99 105
           <el-form-item label="其他:">
100
-            <el-input v-model="formLabelAlign.type"></el-input>
106
+            <el-input v-model="other_count"></el-input>
101 107
           </el-form-item>
102 108
           <el-form-item label="备注:">
103 109
             <el-input type="textarea" :rows="2" v-model="formLabelAlign.type"></el-input>
104 110
           </el-form-item>
105 111
           <el-form-item>
106
-            <el-button type="primary" @click="newcz_show = false">确 定</el-button>
112
+            <el-button type="primary" @click="savePatentCount">保 存</el-button>
107 113
             <el-button @click="newcz_show = false">取 消</el-button>
108 114
           </el-form-item>
109 115
         </el-form>
@@ -112,6 +118,8 @@
112 118
   </div>
113 119
 </template>
114 120
 <script>
121
+  import {getPatientMapList,savePatentCount } from "@/api/patient"
122
+  import BreadCrumb from "@/xt_pages/components/bread-crumb";
115 123
   export default{
116 124
     data(){
117 125
       return{
@@ -125,13 +133,42 @@
125 133
         formLabelAlign:{
126 134
 
127 135
         },
136
+        smart_keyword:"",
128 137
         currentPage:1,
129 138
         tableData: [{ index: 1, name: '小米', HD: 1, HDF: 1, 'HD+HP': 1, 'qita': 1,examine:false }],
139
+        patient_id:0,
140
+        hd_count:"1",
141
+        hdf_count:"1",
142
+        hdhp_count:"1",
143
+        hp_count:"1",
144
+        other_count:"0",
130 145
       }
131 146
     },
132 147
     methods:{
148
+      handleSelect(val){
149
+        this.smart_keyword = val.name;
150
+        this.patient_id = val.id
151
+      },
133 152
       querySearch(queryString, cb){
134
-
153
+        let key = ''
154
+        if (queryString != undefined) {
155
+          key = queryString
156
+        }
157
+        let searchArray = []
158
+         var  params = {
159
+          keyword:key
160
+         }
161
+        getPatientMapList(params).then(response => {
162
+          if (response.data.state == 1) {
163
+            searchArray = response.data.data.patient
164
+            console.log("searchArray-------------",searchArray)
165
+            cb(searchArray)
166
+          } else {
167
+            this.$message.error(response.data.msg)
168
+            cb([])
169
+          }
170
+        })
171
+        return searchArray
135 172
       },
136 173
       cz_click(row){
137 174
         row.examine=true
@@ -142,6 +179,27 @@
142 179
       handleCurrentChange(){
143 180
 
144 181
       },
182
+      savePatentCount(){
183
+        var params = {
184
+          patient_id:this.patient_id,
185
+          hd_count:this.hd_count,
186
+          hdf_count:this.hdf_count,
187
+          hdhp_count:this.hdhp_count,
188
+          hp_count:this.hp_count,
189
+          other_count:this.other_count,
190
+          
191
+        }
192
+       savePatentCount(params).then(response=>{
193
+          if(response.data.state == 1){
194
+             var patientInCount = response.data.data.patientInCount
195
+             this.newcz_show = false
196
+          }
197
+       }) 
198
+      }
199
+     
200
+    },
201
+    created(){
202
+     
145 203
     }
146 204
   }
147 205
 </script>

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

@@ -2887,7 +2887,7 @@
2887 2887
                 </tr>
2888 2888
               </tbody>
2889 2889
             </table>
2890
-            <div style="position: relative; left: 70%;top: 20px;" v-if="org_id == 10731">
2890
+            <div style="position: relative; left: 70%;top: 20px;" v-if="org_id == 10731 || org_id ==10744|| org_id==0">
2891 2891
               患者签名:
2892 2892
               <div class="under_line" style="width: 120px;">
2893 2893
                 <img v-if="record.dialysis_order.url != ''" style="height: 50px"

+ 256 - 223
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue 查看文件

@@ -277,7 +277,7 @@
277 277
               <span style="display:inline-block;margin-left:15px;">
278 278
                 <span v-if="orderForm.url === ''" style="display:flex;align-items:center;">抗凝剂执行护士:{{
279 279
                   orderForm.start_nurse
280
-                  }}</span>
280
+                }}</span>
281 281
                 <span v-if="orderForm.url !== ''" style="display:flex;align-items:center;height:36px;">
282 282
                   抗凝剂执行护士:
283 283
                   <img :src="orderForm.url" style="height:30px;" />
@@ -287,7 +287,10 @@
287 287
             <td style="text-align:left;" colspan="3">
288 288
               <span style="display:inline-block;margin-left:15px;">
289 289
                 <span style="display:flex;align-items:center;"
290
-                  v-if="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) == ''">医生签名:{{ getAdminUser(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) }}</span>
290
+                  v-if="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) == ''">医生签名:{{
291
+                    getAdminUser(prescription == null ? 0 : (prescription.prescription_doctor ?
292
+                      prescription.prescription_doctor :
293
+                  prescription.creater)) }}</span>
291 294
                 <span v-else style="display:flex;align-items:center;height:36px;">医生签名:
292 295
                   <img style="height:30px;"
293 296
                     :src="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater))"
@@ -300,18 +303,18 @@
300 303
             <td style="text-align:left;" colspan="4">
301 304
               <span style="display:inline-block;margin-left:15px;">
302 305
                 透前评估: 入科方式:
303
-                <span v-for="(item,index) in ways" :key="index">
306
+                <span v-for="(item, index) in ways" :key="index">
304 307
                   <label-box :isChecked="receiverTreatmentAccess.way == item.id ? true : false"
305
-                  :showValue="item.name"></label-box>&nbsp;
308
+                    :showValue="item.name"></label-box>&nbsp;
306 309
                 </span>
307 310
               </span>
308 311
             </td>
309 312
             <td style="text-align:left;" colspan="4">
310 313
               <span style="display:inline-block;margin-left:15px;">
311 314
                 意识:
312
-                <span v-for="(item,index) in consciousnesses" :key="index">
315
+                <span v-for="(item, index) in consciousnesses" :key="index">
313 316
                   <label-box :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false"
314
-                  :showValue="item.name"></label-box>&nbsp;
317
+                    :showValue="item.name"></label-box>&nbsp;
315 318
                 </span>
316 319
               </span>
317 320
             </td>
@@ -319,9 +322,9 @@
319 322
           <tr>
320 323
             <td colspan="2" style="text-align:left;">
321 324
               <span style="display:inline-block;margin-left:15px;">食欲:</span>
322
-              <span v-for="(item,index) in appetites" :key="index">
325
+              <span v-for="(item, index) in appetites" :key="index">
323 326
                 <label-box :isChecked="receiverTreatmentAccess.appetite == item.id ? true : false"
324
-                :showValue="item.name"></label-box>&nbsp;
327
+                  :showValue="item.name"></label-box>&nbsp;
325 328
               </span>
326 329
             </td>
327 330
             <td colspan="2" style="text-align:left;">
@@ -335,9 +338,9 @@
335 338
             <td colspan="3" style="text-align:left;">
336 339
               <span style="display:inline-block;margin-left:15px;">
337 340
                 体位:
338
-                <span v-for="(item,index) in postures" :key="index">
341
+                <span v-for="(item, index) in postures" :key="index">
339 342
                   <label-box :isChecked="receiverTreatmentAccess.posture == item.id ? true : false"
340
-                  :showValue="item.name"></label-box>&nbsp;
343
+                    :showValue="item.name"></label-box>&nbsp;
341 344
                 </span>
342 345
               </span>
343 346
             </td>
@@ -345,27 +348,25 @@
345 348
           <tr>
346 349
             <td colspan="8" style="text-align:left;">
347 350
               <span style="display:inline-block;margin-left:15px;">
348
-                
349
-                  血管通路:内瘘波动及震颤: (&nbsp;
350
-                  <label-box
351
-                    :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false"
352
-                    showValue="存在"></label-box>
353
-                  <label-box
354
-                    :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false"
355
-                    showValue="减弱"></label-box>
356
-                  <label-box
357
-                    :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false"
358
-                    showValue="消失"></label-box>
359
-                  )
360
-                  <span style="display:inline-block;" v-if="org_id!=10293 && org_id !=0">
361
-                    <label-box v-for="(item, index) in arrtwo" :key="index" :isChecked="predialysis.blood_access_part_opera_id == item.id
362
-                        ? true
363
-                        : false
364
-                      " :showValue="item.name"></label-box>
365
-                  </span>
366
-                  <span v-if="org_id==10293||org_id==0">
367
-                    &nbsp;&nbsp;<span>{{ predialysis.blood_access_part_id }}&nbsp;</span>{{predialysis.blood_access_part_opera_name}}
368
-                  </span>
351
+
352
+                血管通路:内瘘波动及震颤: (&nbsp;
353
+                <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false"
354
+                  showValue="存在"></label-box>
355
+                <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false"
356
+                  showValue="减弱"></label-box>
357
+                <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false"
358
+                  showValue="消失"></label-box>
359
+                )
360
+                <span style="display:inline-block;" v-if="org_id != 10293 && org_id != 0">
361
+                  <label-box v-for="(item, index) in arrtwo" :key="index" :isChecked="predialysis.blood_access_part_opera_id == item.id
362
+                    ? true
363
+                    : false
364
+                    " :showValue="item.name"></label-box>
365
+                </span>
366
+                <span v-if="org_id == 10293 || org_id == 0">
367
+                  &nbsp;&nbsp;<span>{{ predialysis.blood_access_part_id
368
+                    }}&nbsp;</span>{{ predialysis.blood_access_part_opera_name }}
369
+                </span>
369 370
               </span>
370 371
             </td>
371 372
           </tr>
@@ -398,20 +399,20 @@
398 399
               <span style="display:inline-block;margin-left:15px;">
399 400
                 血管通路皮肤情况:
400 401
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('正常') > -1
401
-                    ? true
402
-                    : false
402
+                  ? true
403
+                  : false
403 404
                   " showValue="正常"></label-box>&nbsp;
404 405
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('淤血') > -1
405
-                    ? true
406
-                    : false
406
+                  ? true
407
+                  : false
407 408
                   " showValue="淤血"></label-box>&nbsp;
408 409
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红') > -1
409
-                    ? true
410
-                    : false
410
+                  ? true
411
+                  : false
411 412
                   " showValue="红"></label-box>&nbsp;
412 413
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('肿') > -1
413
-                    ? true
414
-                    : false
414
+                  ? true
415
+                  : false
415 416
                   " showValue="肿"></label-box>
416 417
                 <!-- 其他: -->
417 418
               </span>
@@ -447,24 +448,24 @@
447 448
               <label-box showValue="无" :isChecked="predialysis.is_hemorrhage == 2 ? true : false"></label-box>
448 449
               <label-box showValue="异常" :isChecked="predialysis.is_hemorrhage == 1 ? true : false"></label-box>&nbsp;
449 450
               <label-box showValue="穿刺点渗血" :isChecked="predialysis.is_hemorrhage == 1 &&
450
-                  predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
451
-                  ? true
452
-                  : false
451
+                predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
452
+                ? true
453
+                : false
453 454
                 "></label-box>
454 455
               <label-box showValue="牙龈出血" :isChecked="predialysis.is_hemorrhage == 1 &&
455
-                  predialysis.hemorrhage.indexOf('牙龈出血') > -1
456
-                  ? true
457
-                  : false
456
+                predialysis.hemorrhage.indexOf('牙龈出血') > -1
457
+                ? true
458
+                : false
458 459
                 "></label-box>
459 460
               <label-box showValue="消化道出血" :isChecked="predialysis.is_hemorrhage == 1 &&
460
-                  predialysis.hemorrhage.indexOf('消化道出血') > -1
461
-                  ? true
462
-                  : false
461
+                predialysis.hemorrhage.indexOf('消化道出血') > -1
462
+                ? true
463
+                : false
463 464
                 "></label-box>
464 465
               <label-box showValue="女性经期" :isChecked="predialysis.is_hemorrhage == 1 &&
465
-                  predialysis.hemorrhage.indexOf('女性经期') > -1
466
-                  ? true
467
-                  : false
466
+                predialysis.hemorrhage.indexOf('女性经期') > -1
467
+                ? true
468
+                : false
468 469
                 "></label-box>其他:
469 470
               <span>{{ predialysis.hemorrhage_other }}</span>
470 471
             </td>
@@ -498,20 +499,20 @@
498 499
                 "></label-box>
499 500
               <span>&nbsp;&nbsp;</span>跌倒风险预防措施:
500 501
               <label-box showValue="镇定剂" :isChecked="receiverTreatmentAccess.precaution.indexOf('镇定剂') > -1
501
-                  ? true
502
-                  : false
502
+                ? true
503
+                : false
503 504
                 "></label-box>
504 505
               <label-box showValue="约束带" :isChecked="receiverTreatmentAccess.precaution.indexOf('约束带') > -1
505
-                  ? true
506
-                  : false
506
+                ? true
507
+                : false
507 508
                 "></label-box>
508 509
               <label-box showValue="床栏" :isChecked="receiverTreatmentAccess.precaution.indexOf('床栏') > -1
509
-                  ? true
510
-                  : false
510
+                ? true
511
+                : false
511 512
                 "></label-box>
512 513
               <label-box showValue="加强宣教" :isChecked="receiverTreatmentAccess.precaution.indexOf('加强宣教') > -1
513
-                  ? true
514
-                  : false
514
+                ? true
515
+                : false
515 516
                 "></label-box>
516 517
             </td>
517 518
           </tr>
@@ -626,16 +627,16 @@
626 627
               <span style="display:inline-block;margin-left:15px;">
627 628
                 内瘘搏动及震颤音:
628 629
                 <label-box showValue="存在" :isChecked="afterdialysis.internal_fistula.indexOf('震颤-存在') > -1
629
-                    ? true
630
-                    : false
630
+                  ? true
631
+                  : false
631 632
                   "></label-box>
632 633
                 <label-box showValue="减弱" :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1
633
-                    ? true
634
-                    : false
634
+                  ? true
635
+                  : false
635 636
                   "></label-box>
636 637
                 <label-box showValue="不存在" :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1
637
-                    ? true
638
-                    : false
638
+                  ? true
639
+                  : false
639 640
                   "></label-box>
640 641
               </span>&nbsp;
641 642
               <span>
@@ -1034,168 +1035,186 @@ export default {
1034 1035
       special_record: '',
1035 1036
       newTableAdvice: [],
1036 1037
       qualityNurse: {},
1037
-      org_id:'',
1038
+      org_id: '',
1038 1039
     }
1039 1040
   },
1040 1041
   methods: {
1041 1042
     checkData() {
1042
-      if (this.receiverTreatmentAccess.condition == 0) {
1043
-        this.$message.error('门诊或住院未填')
1044
-      } else if (this.receiverTreatmentAccess.condition == 1 && this.receiverTreatmentAccess.admission_number == '') {
1045
-        this.$message.error('住院号未填')
1046
-      } else if (this.receiverTreatmentAccess.condition == 2 && this.patientInfo.admission_number == '') {
1047
-        this.$message.error('门诊号未填')
1048
-      } else if (this.prescription.mode_id == "") {
1049
-        this.$message.error('治疗方式未填')
1050
-      } else if (this.predialysis.dry_weight == 0) {
1051
-        this.$message.error('干体重未填')
1052
-      } else if (this.prescription.conductivity == 0) {
1053
-        this.$message.error('电导率未填')
1054
-      } else if (this.prescription.calcium == 0) {
1055
-        this.$message.error('钙未填')
1056
-      } else if (this.prescription.dialysate_temperature == 0) {
1057
-        this.$message.error('透析液温度未填')
1058
-      } else if (this.predialysis.weight_before == 0) {
1059
-        this.$message.error('透前体重未填')
1060
-      } else if (this.prescription.target_ultrafiltration == 0) {
1061
-        this.$message.error('设定脱水量未填')
1062
-      } else if (this.prescription.anticoagulant == 0) {
1063
-        this.$message.error('抗凝剂未填')
1064
-      } else if (this.afterdialysis.weight_after == 0) {
1065
-        this.$message.error('透后体重未填')
1066
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1067
-        this.$message.error('实际脱水量未填')
1068
-      } else if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
1069
-        this.$message.error('透析时间未填')
1070
-      } else if (this.prescription.dialyzer_perfusion_apparatus == "") {
1071
-        this.$message.error('透析器型号未填')
1072
-      } else if (this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1073
-        this.$message.error('置换方式未填')
1074
-      } else if (this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1075
-        this.$message.error('置换量未填')
1076
-      } else if (this.orderForm.start_nurse == "") {
1077
-        this.$message.error('责任护士未填')
1078
-      } else if (this.orderForm.start_nurse == "") {
1079
-        this.$message.error('上机护士未填')
1080
-      } else if (this.orderForm.start_nurse == "") {
1081
-        this.$message.error('抗凝剂执行护士未填')
1082
-      } else if (this.prescription.prescription_doctor == 0 && this.prescription.creater == 0) {
1083
-        this.$message.error('医生签名未填')
1084
-      } else if (this.receiverTreatmentAccess.way == 0) {
1085
-        this.$message.error('入科方式未填')
1086
-      } else if (this.receiverTreatmentAccess.consciousness == 0) {
1087
-        this.$message.error('意识未填')
1088
-      } else if (this.receiverTreatmentAccess.appetite == 0) {
1089
-        this.$message.error('食欲未填')
1090
-      } else if (this.predialysis.temperature == 0) {
1091
-        this.$message.error('透前体温未填')
1092
-      } else if (this.receiverTreatmentAccess.posture == 0) {
1093
-        this.$message.error('体位未填')
1094
-      } else if (this.predialysis.blood_access_part_opera_name == '') {
1095
-        this.$message.error('内瘘波动及震颤未填')
1096
-      } else if (this.predialysis.blood_access_part_id == 0) {
1097
-        this.$message.error('中心静脉导管部位未填')
1098
-      } else if (this.predialysis.venous_catheterization == 0) {
1099
-        this.$message.error('中心静脉导管未填')
1100
-      } else if (this.predialysis.catheter == '') {
1101
-        this.$message.error('中心静脉导管感染未填')
1102
-      } else if (this.predialysis.internal_fistula_skin == '') {
1103
-        this.$message.error('血管通路皮肤情况未填')
1104
-      } else if (this.predialysis.skin == '') {
1105
-        this.$message.error('皮肤未填')
1106
-      } else if (this.predialysis.is_hemorrhage == 0) {
1107
-        this.$message.error('是否出血未填')
1108
-      } else if (this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == "") {
1109
-        this.$message.error('出血影响因素未填')
1110
-      } else if (this.predialysis.special_medicine_other == '') {
1111
-        this.$message.error('使用特殊药物未填')
1112
-      } else if (this.receiverTreatmentAccess.danger_level == 0) {
1113
-        this.$message.error('跌倒风险未填')
1114
-      } else if (this.receiverTreatmentAccess.precaution == '') {
1115
-        this.$message.error('跌倒风险预防措施未填')
1116
-      } else if (this.nursing_record == '') {
1117
-        this.$message.error('透析护理记录未填')
1118
-      } else if (this.afterdialysis.dialysis_process == 0) {
1119
-        this.$message.error('透析过程未填')
1120
-      } else if (this.afterdialysis.complication == "") {
1121
-        this.$message.error('透后并发症未填')
1122
-      } else if (this.afterdialysis.actual_displacement == 0) {
1123
-        this.$message.error('实际置换量未填')
1124
-      } else if (this.afterdialysis.internal_fistula == "") {
1125
-        this.$message.error('内瘘搏动及震颤音未填')
1126
-      } else if (this.afterdialysis.cruor == "") {
1127
-        this.$message.error('透析器及管路凝血情况未填')
1128
-      } else if (this.afterdialysis.is_eat == 0) {
1129
-        this.$message.error('透析中进食未填')
1130
-      } else if (this.afterdialysis.patient_gose == 0) {
1131
-        this.$message.error('患者去向未填')
1132
-      } else if (this.finshForm.finish_nurse == "") {
1133
-        this.$message.error('下机护士未填')
1134
-      } else if (this.special_record == "") {
1135
-        this.$message.error('特殊记录未填')
1136
-      } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
1137
-        let num = 0
1138
-        if (this.monitors.length > 0) {
1139
-          this.monitors.map(item => {
1140
-            if (item.id > 0 && item.operate_time) {
1141
-              this.users.map(it => {
1142
-                if (it.id == item.monitoring_nurse) {
1143
-                  if (it.user_type == 2) {
1144
-                    num++
1145
-                    this.$message.closeAll()
1146
-                    this.$message.error('存在不是护士保存的监测')
1147
-                  }
1148
-                }
1149
-              })
1150
-            }
1151
-          })
1043
+      var checkdata = []
1044
+      if (this.prescription.mode_id == "") {
1045
+        const obj = '治疗方式'
1046
+        checkdata.push(obj)
1047
+      } if (this.predialysis.dry_weight == 0) {
1048
+        const obj1 = '干体重'
1049
+        checkdata.push(obj1)
1050
+      } if (this.prescription.conductivity == 0) {
1051
+        const obj2 = '电导率'
1052
+        checkdata.push(obj2)
1053
+      } if (this.prescription.calcium == 0) {
1054
+        const obj3 = '钙'
1055
+        checkdata.push(obj3)
1056
+      } if (this.prescription.dialysate_temperature == 0) {
1057
+        const obj4 = '透析液温度'
1058
+        checkdata.push(obj4)
1059
+      } if (this.predialysis.weight_before == 0) {
1060
+        const obj5 = '透前体重'
1061
+        checkdata.push(obj5)
1062
+      } if (this.prescription.target_ultrafiltration == 0) {
1063
+        const obj6 = '设定脱水量'
1064
+        checkdata.push(obj6)
1065
+      } if (this.prescription.anticoagulant == 0) {
1066
+        const obj7 = '抗凝剂'
1067
+        checkdata.push(obj7)
1068
+      } if (this.afterdialysis.weight_after == 0) {
1069
+        const obj8 = '透后体重'
1070
+        checkdata.push(obj8)
1071
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1072
+        const obj9 = '实际脱水量'
1073
+        checkdata.push(obj9)
1074
+      } if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
1075
+        const obj10 = '透析时间'
1076
+        checkdata.push(obj10)
1077
+      } if (this.prescription.dialyzer_perfusion_apparatus == "") {
1078
+        const obj11 = '透析器型号'
1079
+        checkdata.push(obj11)
1080
+      } if (this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1081
+        const obj12 = '置换方式'
1082
+        checkdata.push(obj12)
1083
+      } if (this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1084
+        const obj13 = '置换量'
1085
+        checkdata.push(obj13)
1086
+      } if (this.orderForm.start_nurse == "") {
1087
+        const obj14 = '责任护士'
1088
+        checkdata.push(obj14)
1089
+      } if (this.orderForm.start_nurse == "") {
1090
+        const obj15 = '上机护士'
1091
+        checkdata.push(obj15)
1092
+      } if (this.orderForm.start_nurse == "") {
1093
+        const obj16 = '抗凝剂执行护士'
1094
+        checkdata.push(obj16)
1095
+      } if (this.prescription.prescription_doctor == 0 && this.prescription.creater == 0) {
1096
+        const obj17 = '医生签名'
1097
+        checkdata.push(obj17)
1098
+      } if (this.receiverTreatmentAccess.way == 0) {
1099
+        const obj18 = '入科方式'
1100
+        checkdata.push(obj18)
1101
+      } if (this.receiverTreatmentAccess.consciousness == 0) {
1102
+        const obj19 = '意识'
1103
+        checkdata.push(obj19)
1104
+      } if (this.receiverTreatmentAccess.appetite == 0) {
1105
+        const obj20 = '食欲'
1106
+        checkdata.push(obj20)
1107
+      } if (this.predialysis.temperature == 0) {
1108
+        const obj21 = '透前体温'
1109
+        checkdata.push(obj21)
1110
+      } if (this.receiverTreatmentAccess.posture == 0) {
1111
+        const obj22 = '体位'
1112
+        checkdata.push(obj22)
1113
+      } if (this.predialysis.blood_access_part_opera_name == '') {
1114
+        const obj23 = '内瘘波动及震颤'
1115
+        checkdata.push(obj23)
1116
+      } if (this.predialysis.blood_access_part_id == 0) {
1117
+        const obj24 = '中心静脉导管部位'
1118
+        checkdata.push(obj24)
1119
+      } if (this.predialysis.venous_catheterization == 0) {
1120
+        const obj25 = '中心静脉导管'
1121
+        checkdata.push(obj25)
1122
+      } if (this.predialysis.catheter == '') {
1123
+        const obj26 = '中心静脉导管感染'
1124
+        checkdata.push(obj26)
1125
+      } if (this.predialysis.internal_fistula_skin == '') {
1126
+        const obj27 = '血管通路皮肤情况'
1127
+        checkdata.push(obj27)
1128
+      } if (this.predialysis.skin == '') {
1129
+        const obj28 = '皮肤'
1130
+        checkdata.push(obj28)
1131
+      } if (this.predialysis.is_hemorrhage == 0) {
1132
+        const obj29 = '是否出血'
1133
+        checkdata.push(obj29)
1134
+      } if (this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == "") {
1135
+        const obj30 = '出血影响因素'
1136
+        checkdata.push(obj30)
1137
+      } if (this.predialysis.special_medicine_other == '') {
1138
+        const obj31 = '使用特殊药物'
1139
+        checkdata.push(obj31)
1140
+      } if (this.receiverTreatmentAccess.danger_level == 0) {
1141
+        const obj32 = '跌倒风险'
1142
+        checkdata.push(obj32)
1143
+      } if (this.receiverTreatmentAccess.precaution == '') {
1144
+        const obj33 = '跌倒风险预防措施'
1145
+        checkdata.push(obj33)
1146
+      } if (this.nursing_record == '') {
1147
+        const obj34 = '透析护理记录'
1148
+        checkdata.push(obj34)
1149
+      } if (this.afterdialysis.dialysis_process == 0) {
1150
+        const obj35 = '透析过程'
1151
+        checkdata.push(obj35)
1152
+      } if (this.afterdialysis.complication == "") {
1153
+        const obj36 = '透后并发症'
1154
+        checkdata.push(obj36)
1155
+      } if (this.afterdialysis.actual_displacement == 0) {
1156
+        const obj37 = '实际置换量'
1157
+        checkdata.push(obj37)
1158
+      } if (this.afterdialysis.internal_fistula == "") {
1159
+        const obj38 = '内瘘搏动及震颤音'
1160
+        checkdata.push(obj38)
1161
+      } if (this.afterdialysis.cruor == "") {
1162
+        const obj39 = '透析器及管路凝血情况'
1163
+        checkdata.push(obj39)
1164
+      } if (this.afterdialysis.is_eat == 0) {
1165
+        const obj40 = '透析中进食'
1166
+        checkdata.push(obj40)
1167
+      } if (this.afterdialysis.patient_gose == 0) {
1168
+        const obj41 = '患者去向'
1169
+        checkdata.push(obj41)
1170
+      } if (this.finshForm.finish_nurse == "") {
1171
+        const obj42 = '下机护士'
1172
+        checkdata.push(obj42)
1173
+      } if (this.special_record == "") {
1174
+        const obj43 = '特殊记录'
1175
+        checkdata.push(obj43)
1176
+      }
1177
+      if (this.monitors.length > 0) {
1178
+        for(let i in this.monitors){
1179
+          if(this.monitors[i].systolic_blood_pressure ==0 ||
1180
+              this.monitors.diastolic_blood_pressure==0){
1181
+            const obj44 = '监测第'+((i*1)+1)+'行血压'
1182
+            checkdata.push(obj44)
1183
+          } if(this.monitors[i].pulse_frequency ==0){
1184
+            const obj45 = '监测第'+((i*1)+1)+'行心率'
1185
+            checkdata.push(obj45)
1186
+          } if(this.monitors[i].blood_flow_volume ==0){
1187
+            const obj46 = '监测第'+((i*1)+1)+'行血流量'
1188
+            checkdata.push(obj46)
1189
+          } if(this.monitors[i].venous_pressure ==0){
1190
+            const obj47 = '监测第'+((i*1)+1)+'行静脉压'
1191
+            checkdata.push(obj47)
1192
+          } if(this.monitors[i].transmembrane_pressure ==0){
1193
+            const obj48 = '监测第'+((i*1)+1)+'行跨膜压'
1194
+            checkdata.push(obj48)
1195
+          } if(this.monitors[i].ultrafiltration_volume ==0){
1196
+            const obj49 = '监测第'+((i*1)+1)+'行超滤量'
1197
+            checkdata.push(obj49)
1198
+          } if(this.monitors[i].ultrafiltration_rate == 0){
1199
+            const obj50 = '监测第'+((i*1)+1)+'行超滤率'
1200
+            checkdata.push(obj50)
1201
+          } if(this.monitors[i].sodium_concentration == 0){
1202
+            const obj51= '监测第'+((i*1)+1)+'行NA⁺'
1203
+            checkdata.push(obj51)
1204
+          }
1152 1205
         }
1153
-        if (this.tableAdvice.length > 0) {
1154
-          this.tableAdvice.map(item => {
1155
-            if (item.id > 0 && (item.created_time || item.start_time)) {
1156
-              this.users.map(it => {
1157
-                if (it.id == item.advice_doctor) {
1158
-                  if (it.user_type == 3) {
1159
-                    num++
1160
-                    this.$message.closeAll()
1161
-                    this.$message.error('存在不是医生保存的医嘱')
1162
-                  } else if (it.id == item.execution_staff && item.execution_staff > 0) {
1163
-                    if (it.user_type == 2) {
1164
-                      num++
1165
-                      this.$message.closeAll()
1166
-                      this.$message.error('存在不是护士执行的医嘱')
1167
-                    }
1168
-                  } else if (it.id == item.checker && item.checker > 0) {
1169
-                    if (it.user_type == 2) {
1170
-                      num++
1171
-                      this.$message.closeAll()
1172
-                      this.$message.error('存在不是护士核对的医嘱')
1173
-                    }
1174
-                  }
1175
-                } else if (it.id == item.execution_staff && item.execution_staff > 0) {
1176
-                  if (it.user_type == 2) {
1177
-                    num++
1178
-                    this.$message.closeAll()
1179
-                    this.$message.error('存在不是护士执行的医嘱')
1180
-                  }
1181
-                } else if (it.id == item.checker && item.checker > 0) {
1182
-                  if (it.user_type == 2) {
1183
-                    num++
1184
-                    this.$message.closeAll()
1185
-                    this.$message.error('存在不是护士核对的医嘱')
1186
-                  }
1187
-                }
1188
-              })
1206
+      }
1207
+      if (this.tableAdvice.length > 0) {
1208
+        this.tableAdvice.map((item) =>{
1209
+          if(item.id > 0 && (item.created_time || item.start_time)){
1210
+            if(item.execution_staff ==0 || item.checker ==0){
1211
+              const obj57 = '执行人员,核对签名'
1212
+              checkdata.push(obj57)
1189 1213
             }
1190
-          })
1191
-        }
1192
-
1193
-        if (num == 0) {
1194
-          this.$message.success('核对完成')
1195
-        }
1196
-      } else {
1197
-        this.$message.success('核对完成')
1214
+          }
1215
+        })
1198 1216
       }
1217
+      this.getcheckData(checkdata)
1199 1218
     },
1200 1219
     getCruor(cruor) {
1201 1220
       if (cruor.indexOf(',') == -1) {
@@ -1329,8 +1348,8 @@ export default {
1329 1348
       this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1330 1349
       getDialysisRecord(this.queryParams).then(response => {
1331 1350
         if (response.data.state === 1) {
1332
-          console.log('response.data.data11111',response.data.data);
1333
-          
1351
+          console.log('response.data.data11111', response.data.data);
1352
+
1334 1353
           this.adminUser = response.data.data.users
1335 1354
           this.users = response.data.data.users
1336 1355
           var patientInfo = response.data.data.patientInfo
@@ -1908,7 +1927,21 @@ export default {
1908 1927
           return this.vascularAccess[i].name
1909 1928
         }
1910 1929
       }
1911
-    }
1930
+    },
1931
+    getcheckData(val){
1932
+      if(val.length >0){
1933
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
1934
+        this.$alert(message, '提示', {
1935
+          confirmButtonText: '确定',
1936
+          type: 'warning',
1937
+          dangerouslyUseHTMLString: true,
1938
+
1939
+        });
1940
+        // return message
1941
+      }else{
1942
+        this.$message.success('核对完成')
1943
+      }
1944
+    },
1912 1945
   },
1913 1946
   watch: {
1914 1947
     'patientInfo.gender': function () {

+ 288 - 224
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

@@ -360,7 +360,8 @@
360 360
                         </div>
361 361
                       </div>
362 362
 
363
-                      <div class="inline_block" style="margin-left: 10px; flex: 1.4" v-if="org_id != 9675 && org_id != 10447">
363
+                      <div class="inline_block" style="margin-left: 10px; flex: 1.4"
364
+                        v-if="org_id != 9675 && org_id != 10447">
364 365
                         导管:
365 366
                         <div class="under_line" style="width: 150px; text-align: center">
366 367
                           {{ predialysis.catheter ? predialysis.catheter : "/" }}
@@ -848,7 +849,8 @@
848 849
                               ? prescription.dialyzer_perfusion_apparatus
849 850
                               : ""
850 851
                           }}
851
-                          <span v-if="prescription.dialysis_dialyszers && prescription.dialysis_dialyszers != ''">/</span>
852
+                          <span
853
+                            v-if="prescription.dialysis_dialyszers && prescription.dialysis_dialyszers != ''">/</span>
852 854
                           {{
853 855
                             prescription.dialysis_dialyszers
854 856
                               ? prescription.dialysis_dialyszers
@@ -992,7 +994,8 @@
992 994
                       <div class="inline_block" style="margin-left: 10px">
993 995
                         钙:
994 996
                         <div class="under_line" style="width: 50px; text-align: center">
995
-                          <span v-if="org_id != 0 && org_id != 10489"> {{ prescription.calcium ? prescription.calcium : "/"
997
+                          <span v-if="org_id != 0 && org_id != 10489"> {{ prescription.calcium ? prescription.calcium :
998
+                            "/"
996 999
                             }}</span>
997 1000
                           <span v-if="org_id == 10489"> {{ prescription.calcium ? prescription.calcium : "" }}</span>
998 1001
                         </div>
@@ -1038,8 +1041,8 @@
1038 1041
                           </span>
1039 1042
                           <span v-if="org_id == 10206">
1040 1043
                             <span v-if="prescription.anticoagulant_name == '低分子肝素钙'">低分子量肝素钙</span>
1041
-                            <span
1042
-                              v-if="prescription.anticoagulant_name != '低分子肝素钙'">{{ prescription.anticoagulant_name }}</span>
1044
+                            <span v-if="prescription.anticoagulant_name != '低分子肝素钙'">{{ prescription.anticoagulant_name
1045
+                              }}</span>
1043 1046
                           </span>
1044 1047
                         </div>
1045 1048
                       </div>
@@ -1343,8 +1346,10 @@
1343 1346
                             display: inline-block;
1344 1347
                             white-space: normal;
1345 1348
                           ">
1346
-                          <span v-if="org_id!=10735&&org_id !=0">{{ predialysis.remark ? predialysis.remark : "/" }}</span>
1347
-                          <span v-if="org_id==10735||org_id ==0">{{ prescription.remark ? prescription.remark : "/" }}</span>
1349
+                          <span v-if="org_id != 10735 && org_id != 0">{{ predialysis.remark ? predialysis.remark : "/"
1350
+                            }}</span>
1351
+                          <span v-if="org_id == 10735 || org_id == 0">{{ prescription.remark ? prescription.remark : "/"
1352
+                            }}</span>
1348 1353
                         </div>
1349 1354
                       </div>
1350 1355
                       <div v-if="org_id == 10600" style="flex: 1;">
@@ -1354,7 +1359,8 @@
1354 1359
                             v-if="setAdminUserES(prescription.creater) == ''">
1355 1360
                             {{ getAdminUser(prescription.creater) }}
1356 1361
                           </span>
1357
-                          <img style="height: 40px" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1362
+                          <img style="height: 40px" :src="setAdminUserES(prescription.creater)" alt="" srcset=""
1363
+                            v-else />
1358 1364
                         </div>
1359 1365
                       </div>
1360 1366
                     </div>
@@ -1366,9 +1372,9 @@
1366 1372
                       <tbody>
1367 1373
                         <tr>
1368 1374
                           <td :colspan="prescription.mode_id == 2 ||
1369
-                              prescription.mode_id == 5
1370
-                              ? 14
1371
-                              : 13
1375
+                            prescription.mode_id == 5
1376
+                            ? 14
1377
+                            : 13
1372 1378
                             " style="
1373 1379
                               letter-spacing: 5px;
1374 1380
                               text-align: center;
@@ -1387,7 +1393,8 @@
1387 1393
                           <td width="50">脉搏<br />(次/分)</td>
1388 1394
                           <td width="50" v-if="org_id != 10489">呼吸<br />(次/分)</td>
1389 1395
                           <td width="50">血流量<br />(ml/min)</td>
1390
-                          <td width="50" v-if="org_id == 10478 || org_id == 10598 || org_id == 10510 || org_id == 10735">
1396
+                          <td width="50"
1397
+                            v-if="org_id == 10478 || org_id == 10598 || org_id == 10510 || org_id == 10735">
1391 1398
                             动脉压<br />({{
1392 1399
                               monitors[0] &&
1393 1400
                                 monitors[0]["venous_pressure_type"] == 2
@@ -1415,9 +1422,12 @@
1415 1422
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
1416 1423
                           <td width="60" v-if="org_id == 9919">血温(°C)</td>
1417 1424
                           <td width="60" v-if="org_id == 9671">血温(°C)</td>
1418
-                          <td width="60" v-if="org_id != 9836 && org_id != 9919 && org_id != 9671 && org_id != 10644">透析液温度(°C)</td>
1419
-                          <td width="50" v-if="org_id != 10121 && org_id != 10600 && org_id != 10644 && org_id != 10735">
1420
-                            <span v-if="org_id != 10469 && org_id != 10490 && org_id != 10567 && org_id != 0 && org_id != 10724">
1425
+                          <td width="60" v-if="org_id != 9836 && org_id != 9919 && org_id != 9671 && org_id != 10644">
1426
+                            透析液温度(°C)</td>
1427
+                          <td width="50"
1428
+                            v-if="org_id != 10121 && org_id != 10600 && org_id != 10644 && org_id != 10735">
1429
+                            <span
1430
+                              v-if="org_id != 10469 && org_id != 10490 && org_id != 10567 && org_id != 0 && org_id != 10724">
1421 1431
                               电导度<br />(ms/cm)</span>
1422 1432
                             <span v-if="org_id == 10469 || org_id == 0 || org_id == 10567 || org_id == 10724">
1423 1433
                               钠浓度<br />(mmol/L)</span>
@@ -1425,13 +1435,15 @@
1425 1435
                           </td>
1426 1436
                           <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1427 1437
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1428
-                          <td width="50" v-if="org_id == 10489 || org_id == 10735 || org_id == 10600">超滤率<br />(ml/h)</td>
1438
+                          <td width="50" v-if="org_id == 10489 || org_id == 10735 || org_id == 10600">超滤率<br />(ml/h)
1439
+                          </td>
1429 1440
                           <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10683">
1430 1441
                             超滤量<br />
1431 1442
                             <span v-if="org_id == 10471">L</span>
1432 1443
                             <span v-if="org_id != 10471"> (ml)</span>
1433 1444
                           </td>
1434
-                          <td width="50" v-if="org_id == 10598 || org_id == 10683 || org_id == 10567 || org_id == 10724">
1445
+                          <td width="50"
1446
+                            v-if="org_id == 10598 || org_id == 10683 || org_id == 10567 || org_id == 10724">
1435 1447
                             超滤率<br />(ml/h)</td>
1436 1448
                           <td width="50" v-if="org_id == 3877 || org_id == 10449">累计超滤量<br />(ml)</td>
1437 1449
                           <td
@@ -1441,12 +1453,12 @@
1441 1453
                             <span v-if="org_id != 10683">置换量</span>
1442 1454
                             <br />
1443 1455
                             <span
1444
-                              v-if="org_id != 10598 && org_id != 10567 && org_id != 10724 && org_id != 10644 && org_id != 10353 && org_id !=10414">
1456
+                              v-if="org_id != 10598 && org_id != 10567 && org_id != 10724 && org_id != 10644 && org_id != 10353 && org_id != 10414">
1445 1457
                               <span v-if="org_id != 0 && org_id != 10683">(ml)</span>
1446 1458
                               <span v-if="org_id == 10683">(ml/h)</span>
1447 1459
                             </span>
1448 1460
                             <span
1449
-                              v-if="org_id == 10598 || org_id == 10567 || org_id == 10724 || org_id == 10644 || org_id == 10353 || org_id==10414">(L)</span>
1461
+                              v-if="org_id == 10598 || org_id == 10567 || org_id == 10724 || org_id == 10644 || org_id == 10353 || org_id == 10414">(L)</span>
1450 1462
                           </td>
1451 1463
                           <td width="50" v-if="org_id == 3877 || org_id == 10449">滤前压(mmHg)</td>
1452 1464
                           <td width="50"
@@ -1547,9 +1559,12 @@
1547 1559
                           </td>
1548 1560
 
1549 1561
 
1550
-                          <td v-if="org_id != 9538 && org_id != 10121 && org_id != 10600 && org_id != 10644 && org_id != 10735">
1551
-                            <span v-if="org_id != 0 && org_id != 10469 && org_id != 10490 && org_id != 10567 && org_id != 10724"> {{
1552
-                              monitor.conductivity ? monitor.conductivity : "" }}</span>
1562
+                          <td
1563
+                            v-if="org_id != 9538 && org_id != 10121 && org_id != 10600 && org_id != 10644 && org_id != 10735">
1564
+                            <span
1565
+                              v-if="org_id != 0 && org_id != 10469 && org_id != 10490 && org_id != 10567 && org_id != 10724">
1566
+                              {{
1567
+                                monitor.conductivity ? monitor.conductivity : "" }}</span>
1553 1568
                             <span v-if="org_id == 10469 || org_id == 10567 || org_id == 0 || org_id == 10724"> {{
1554 1569
                               monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1555 1570
                             <span v-if="org_id == 10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : ""
@@ -1564,31 +1579,32 @@
1564 1579
                             {{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "" }}
1565 1580
                           </td>
1566 1581
                           <td v-if="org_id != 10644 && org_id != 10683">
1567
-                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10617">{{ monitor.ultrafiltration_volume ?
1568
-                              monitor.ultrafiltration_volume: ""}}</span>
1582
+                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10617">{{
1583
+                              monitor.ultrafiltration_volume ?
1584
+                                monitor.ultrafiltration_volume: ""}}</span>
1569 1585
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10617">
1570 1586
                               <span v-if="org_id == 10617 && monindex == 0">{{ monitor.ultrafiltration_volume ?
1571
-                                monitor.ultrafiltration_volume: "/"}}</span>
1587
+                                monitor.ultrafiltration_volume : "/" }}</span>
1572 1588
                               <span v-if="org_id == 10617 && monindex == monitors.length - 1">{{
1573
-                                monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: "/"}}</span>
1589
+                                monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span>
1574 1590
                               <span v-if="org_id == 10617 && (monindex != monitors.length - 1 && monindex != 0)">{{
1575
-                                monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: "0"}}</span>
1591
+                                monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}</span>
1576 1592
                               <span v-if="org_id != 10617">{{ monitor.ultrafiltration_volume ?
1577
-                                monitor.ultrafiltration_volume: "0"}}</span>
1593
+                                monitor.ultrafiltration_volume : "0" }}</span>
1578 1594
                             </span>
1579 1595
                           </td>
1580 1596
                           <td width="50"
1581 1597
                             v-if="org_id == 10598 || org_id == 10644 || org_id == 10683 || org_id == 10567 || org_id == 10724">
1582 1598
                             <br />
1583 1599
                             <span v-if="org_id != 10644 && org_id != 0">{{ monitor.ultrafiltration_rate ?
1584
-                              monitor.ultrafiltration_rate: ""}}</span>
1600
+                              monitor.ultrafiltration_rate : "" }}</span>
1585 1601
                             <span v-if="org_id == 10644">
1586 1602
                               <span v-if="monindex == 0">{{ monitor.ultrafiltration_volume ?
1587
-                                monitor.ultrafiltration_volume: "0"}}</span>
1603
+                                monitor.ultrafiltration_volume : "0" }}</span>
1588 1604
                               <span v-if="monindex == monitors.length - 1">{{ monitor.ultrafiltration_volume ?
1589
-                                monitor.ultrafiltration_volume: ""}}</span>
1605
+                                monitor.ultrafiltration_volume : "" }}</span>
1590 1606
                               <span v-if="(monindex != monitors.length - 1 && monindex != 0)">{{
1591
-                                monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: ""}}</span>
1607
+                                monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</span>
1592 1608
                             </span>
1593 1609
                           </td>
1594 1610
                           <td v-if="
@@ -1634,7 +1650,7 @@
1634 1650
                             </span>
1635 1651
                           </td>
1636 1652
                           <td width="50" v-if="org_id == 3877 || org_id == 10449">{{
1637
-                            monitor.filter_pressure ?monitor.filter_pressure:""}}</td>
1653
+                            monitor.filter_pressure ? monitor.filter_pressure : "" }}</td>
1638 1654
                           <td width="50"
1639 1655
                             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">
1640 1656
                             {{ monitor.ktv ? monitor.ktv : "" }}
@@ -1647,14 +1663,16 @@
1647 1663
                           </td>
1648 1664
                           <td width="50" v-if="org_id == 10598">
1649 1665
                             <span v-if="monitor.creator == 0">
1650
-                              <span v-if="setAdminUserES(monitor.modify) == ''">{{ getAdminUser(monitor.modify) }}</span>
1666
+                              <span v-if="setAdminUserES(monitor.modify) == ''">{{ getAdminUser(monitor.modify)
1667
+                                }}</span>
1651 1668
                               <img style="height: 30px" :src="setAdminUserES(monitor.modify)" alt="" srcset="" v-else />
1652 1669
                             </span>
1653 1670
 
1654 1671
                             <span v-if="monitor.creator > 0">
1655 1672
                               <span v-if="setAdminUserES(monitor.creator) == ''">{{ getAdminUser(monitor.creator)
1656 1673
                                 }}</span>
1657
-                              <img style="height: 30px" :src="setAdminUserES(monitor.creator)" alt="" srcset="" v-else />
1674
+                              <img style="height: 30px" :src="setAdminUserES(monitor.creator)" alt="" srcset=""
1675
+                                v-else />
1658 1676
                             </span>
1659 1677
                           </td>
1660 1678
                           <td v-if="org_id == 9829">
@@ -1827,7 +1845,7 @@
1827 1845
                             <span v-if="advice != null && advice.execution_staff > 0">
1828 1846
                               <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
1829 1847
                                 getAdminUser(advice.execution_staff)
1830
-                                }}</span>
1848
+                              }}</span>
1831 1849
                               <img style="height: 30px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset=""
1832 1850
                                 v-else />
1833 1851
                             </span>
@@ -1835,8 +1853,10 @@
1835 1853
                           <td v-if="org_id == 10598 || org_id == 10489 || org_id == 0 || org_id == 10402">
1836 1854
                             <span v-if="org_id != 10489">
1837 1855
                               <span v-if="advice != null && advice.checker > 0">
1838
-                                <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
1839
-                                <img style="height: 30px" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
1856
+                                <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)
1857
+                                  }}</span>
1858
+                                <img style="height: 30px" :src="setAdminUserES(advice.checker)" alt="" srcset=""
1859
+                                  v-else />
1840 1860
                               </span>
1841 1861
                             </span>
1842 1862
 
@@ -1855,8 +1875,10 @@
1855 1875
                             </span>
1856 1876
                             <span v-if="org_id == 10489">
1857 1877
                               <span v-if="advice != null && advice.checker > 0">
1858
-                                <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
1859
-                                <img style="height: 30px" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
1878
+                                <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)
1879
+                                  }}</span>
1880
+                                <img style="height: 30px" :src="setAdminUserES(advice.checker)" alt="" srcset=""
1881
+                                  v-else />
1860 1882
                               </span>
1861 1883
                             </span>
1862 1884
 
@@ -1864,7 +1886,8 @@
1864 1886
                           <td height="32px" v-if="org_id == 10223 || org_id == 9538 ||
1865 1887
                             org_id == 10375 || org_id == 10571 || org_id == 10600">
1866 1888
                             <span v-if="advice != null && advice.checker > 0">
1867
-                              <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
1889
+                              <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)
1890
+                                }}</span>
1868 1891
                               <img style="height: 30px" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
1869 1892
                             </span>
1870 1893
                           </td>
@@ -1889,12 +1912,14 @@
1889 1912
                             width: 200px;
1890 1913
 
1891 1914
                           ">
1892
-                            <span v-if="advice.type == 2"> {{ advice && advice.project ? advice.project.project_name : "" }}
1915
+                            <span v-if="advice.type == 2"> {{ advice && advice.project ? advice.project.project_name :
1916
+                              "" }}
1893 1917
                               {{ advice.count
1894 1918
                               }} {{ advice.unit }} {{ advice.remark }}</span>
1895
-                            <span v-if="advice.type == 3"> {{ advice && advice.good_info ? advice.good_info.good_name : "" }}
1919
+                            <span v-if="advice.type == 3"> {{ advice && advice.good_info ? advice.good_info.good_name :
1920
+                              "" }}
1896 1921
                               {{
1897
-                              advice.count }} {{ advice.unit }} {{ advice.remark }}</span>
1922
+                                advice.count }} {{ advice.unit }} {{ advice.remark }}</span>
1898 1923
                           </td>
1899 1924
                           <td height="32px">
1900 1925
                             <span v-if="setAdminUserES(advice.doctor) == ''">{{ getAdminUser(advice.doctor) }}</span>
@@ -1973,7 +1998,8 @@
1973 1998
                             <span v-for="(it, i) in advice.child" :key="i">
1974 1999
                               <span v-if="it && it.advice_name">{{ it.advice_name }}</span>
1975 2000
                               <span v-if="it && it.advice_desc">({{ it.advice_desc }}{{ it.drug_spec_unit }})</span>
1976
-                              <span v-if="it.prescribing_number">{{ it.prescribing_number }}{{ it.prescribing_number_unit
2001
+                              <span v-if="it.prescribing_number">{{ it.prescribing_number }}{{
2002
+                                it.prescribing_number_unit
1977 2003
                                 }}</span>
1978 2004
                               <span v-if="it.single_dose != 0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
1979 2005
                               <span v-if="it && it.delivery_way">{{ it.delivery_way }}</span>
@@ -2001,14 +2027,15 @@
2001 2027
                             <span v-if="advice != null && advice.execution_staff > 0">
2002 2028
                               <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
2003 2029
                                 getAdminUser(advice.execution_staff)
2004
-                                }}</span>
2030
+                              }}</span>
2005 2031
                               <img style="height: 30px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset=""
2006 2032
                                 v-else />
2007 2033
                             </span>
2008 2034
                           </td>
2009 2035
                           <td v-if="org_id == 10598 || org_id == 10489 || org_id == 0">
2010 2036
                             <span v-if="advice != null && advice.checker > 0">
2011
-                              <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
2037
+                              <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)
2038
+                                }}</span>
2012 2039
                               <img style="height: 30px" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
2013 2040
                             </span>
2014 2041
                           </td>
@@ -2020,7 +2047,8 @@
2020 2047
                           <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 ||
2021 2048
                             org_id == 10375 || org_id == 10571 || org_id == 10600">
2022 2049
                             <span v-if="advice != null && advice.checker > 0">
2023
-                              <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
2050
+                              <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)
2051
+                                }}</span>
2024 2052
                               <img style="height: 30px" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
2025 2053
                             </span>
2026 2054
                           </td>
@@ -2045,12 +2073,14 @@
2045 2073
                             width: 200px;
2046 2074
 
2047 2075
                           ">
2048
-                            <span v-if="advice.type == 2"> {{ advice && advice.project ? advice.project.project_name : "" }}
2076
+                            <span v-if="advice.type == 2"> {{ advice && advice.project ? advice.project.project_name :
2077
+                              "" }}
2049 2078
                               {{ advice.count
2050 2079
                               }} {{ advice.unit }}{{ advice.remark }}</span>
2051
-                            <span v-if="advice.type == 3"> {{ advice && advice.good_info ? advice.good_info.good_name : "" }}
2080
+                            <span v-if="advice.type == 3"> {{ advice && advice.good_info ? advice.good_info.good_name :
2081
+                              "" }}
2052 2082
                               {{
2053
-                              advice.count }} {{ advice.unit }}{{ advice.remark }}</span>
2083
+                                advice.count }} {{ advice.unit }}{{ advice.remark }}</span>
2054 2084
                           </td>
2055 2085
                           <td height="32px">
2056 2086
                             <span v-if="setAdminUserES(advice.doctor) == ''">{{ getAdminUser(advice.doctor) }}</span>
@@ -2188,7 +2218,8 @@
2188 2218
                           {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
2189 2219
                         </div>
2190 2220
                       </div>
2191
-                      <div class="inline_block" style="flex: 2" v-if="org_id != 9675 && org_id != 10447 && org_id != 10598">
2221
+                      <div class="inline_block" style="flex: 2"
2222
+                        v-if="org_id != 9675 && org_id != 10447 && org_id != 10598">
2192 2223
                         内瘘:
2193 2224
                         <div class="under_line" style="
2194 2225
                             width: 170px;
@@ -2202,7 +2233,8 @@
2202 2233
                           }}
2203 2234
                         </div>
2204 2235
                       </div>
2205
-                      <div class="inline_block" style="flex: 4" v-if="org_id != 9675 && org_id != 10447 && org_id != 10598">
2236
+                      <div class="inline_block" style="flex: 4"
2237
+                        v-if="org_id != 9675 && org_id != 10447 && org_id != 10598">
2206 2238
                         导管:
2207 2239
                         <div class="under_line" style="min-width: 120px; text-align: center">
2208 2240
                           {{
@@ -2252,23 +2284,26 @@
2252 2284
                           </span> -->
2253 2285
                           <span
2254 2286
                             v-if="predialysis && predialysis.weight_before > 0 && afterdialysis && afterdialysis.weight_after > 0">
2255
-                             <span v-if="(predialysis.weight_before - afterdialysis.weight_after)>0"> {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}</span>
2256
-                             <span v-if="(predialysis.weight_before - afterdialysis.weight_after)<=0">/</span>
2287
+                            <span v-if="(predialysis.weight_before - afterdialysis.weight_after) > 0"> {{
2288
+                              (predialysis.weight_before
2289
+                              - afterdialysis.weight_after).toFixed(2) }}</span>
2290
+                            <span v-if="(predialysis.weight_before - afterdialysis.weight_after) <= 0">/</span>
2257 2291
                           </span>
2258 2292
 
2259 2293
                         </div>
2260 2294
                         kg
2261 2295
                       </div>
2262 2296
 
2263
-                      <div class="inline_block" style="flex: 1" v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2297
+                      <div class="inline_block" style="flex: 1"
2298
+                        v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2264 2299
                         <span v-if="org_id != 10460">
2265 2300
                           透析中入量
2266
-                          <span v-if="org_id!=10644">(L)</span>
2301
+                          <span v-if="org_id != 10644">(L)</span>
2267 2302
2268 2303
                         </span>
2269 2304
                         <span v-if="org_id == 10460">
2270 2305
                           透析中入量
2271
-                          <span v-if="org_id!=10644">(ml)</span>
2306
+                          <span v-if="org_id != 10644">(ml)</span>
2272 2307
2273 2308
                         </span>
2274 2309
                         <div class="under_line" style="width: 70px; text-align: center">
@@ -2403,7 +2438,7 @@
2403 2438
                         </div>
2404 2439
                       </div>
2405 2440
                     </div>
2406
-                    <div v-if="org_id != 10460 && org_id != 10624 && org_id!=10735 " class="row"
2441
+                    <div v-if="org_id != 10460 && org_id != 10624 && org_id != 10735" class="row"
2407 2442
                       style="padding: 2px 0; line-height: 23px; display: flex">
2408 2443
                       <div class="inline_block" style="flex: 1; display: inline-block">
2409 2444
                         宣教知识:
@@ -2820,7 +2855,8 @@
2820 2855
                             v-if="setAdminUserES(prescription.creater) == ''">
2821 2856
                             {{ getAdminUser(prescription.creater) }}
2822 2857
                           </span>
2823
-                          <img style="height: 40px" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
2858
+                          <img style="height: 40px" :src="setAdminUserES(prescription.creater)" alt="" srcset=""
2859
+                            v-else />
2824 2860
                         </div>
2825 2861
                         <div v-if="org_id != 10191" class="under_line" style="width: 80px; text-align: center">
2826 2862
                           <span v-if="doctor_advices[0] != null && doctor_advices[0].advice_doctor > 0">
@@ -2839,11 +2875,11 @@
2839 2875
                 </tr>
2840 2876
               </tbody>
2841 2877
             </table>
2842
-            <div style="position: relative; left: 70%;top: 20px;" v-if="org_id == 10731">
2878
+            <div style="position: relative; left: 70%;top: 20px;" v-if="org_id == 10731 || org_id ==10744 || org_id==0">
2843 2879
               患者签名:
2844 2880
               <div class="under_line" style="width: 120px;">
2845
-                <img v-if="dialysisOrder.url != ''" style="height: 50px" :src="dialysisOrder == null ? 0 : dialysisOrder.url"
2846
-                  alt="" srcset="" />
2881
+                <img v-if="dialysisOrder.url != ''" style="height: 50px"
2882
+                  :src="dialysisOrder == null ? 0 : dialysisOrder.url" alt="" srcset="" />
2847 2883
               </div>
2848 2884
             </div>
2849 2885
           </div>
@@ -3364,11 +3400,6 @@
3364 3400
         </tbody>
3365 3401
       </table>
3366 3402
 
3367
-
3368
-
3369
-
3370
-
3371
-
3372 3403
     </div>
3373 3404
   </div>
3374 3405
 </template>
@@ -3581,8 +3612,6 @@ export default {
3581 3612
         window.open(fileURL);//打开ppf文件
3582 3613
       }
3583 3614
     },
3584
-
3585
-
3586 3615
     openPdf(blob) {
3587 3616
       const objectUrl = URL.createObjectURL(blob);
3588 3617
       const a = document.createElement('a');
@@ -3614,7 +3643,6 @@ export default {
3614 3643
         type: contentType
3615 3644
       });
3616 3645
     },
3617
-
3618 3646
     UploadPdf(res) {
3619 3647
       let pdfBase64Str = res;
3620 3648
       let title = "上传给后端的个人报告";
@@ -3649,219 +3677,233 @@ export default {
3649 3677
     },
3650 3678
 
3651 3679
     checkData() {
3680
+      var checkdata = []
3652 3681
       if (this.receiverTreatmentAccess.way == 0) {
3653
-        this.$message.error("入科方式未填");
3654
-      } else if (this.predialysis.symptom_before_dialysis == "") {
3655
-        this.$message.error("透前症状未填");
3656
-      } else if (this.predialysis.temperature == "") {
3657
-        this.$message.error("透前体温未填");
3658
-      } else if (this.predialysis.pulse_frequency == "") {
3659
-        this.$message.error("透前脉搏未填");
3660
-      } else if (this.predialysis.breathing_rate == "") {
3661
-        this.$message.error("透前呼吸频率未填");
3662
-      } else if (
3682
+        const obj = '入科方式'
3683
+        checkdata.push(obj)
3684
+      } if (this.predialysis.symptom_before_dialysis == "") {
3685
+        const obj1 = '透前症状'
3686
+        checkdata.push(obj1)
3687
+      } if (this.predialysis.temperature == "") {
3688
+        const obj2 = '透前体温'
3689
+        checkdata.push(obj2)
3690
+      } if (this.predialysis.pulse_frequency == "") {
3691
+        const obj3 = '透前脉搏'
3692
+        checkdata.push(obj3)
3693
+      } if (this.predialysis.breathing_rate == "") {
3694
+        const obj4 = '透前呼吸频率'
3695
+        checkdata.push(obj4)
3696
+      } if (
3663 3697
         this.predialysis.systolic_blood_pressure == 0 ||
3664 3698
         this.predialysis.diastolic_blood_pressure == 0
3665 3699
       ) {
3666
-        this.$message.error("透前血压未填完整");
3667
-      } else if (this.predialysis.puncture_way == "") {
3668
-        this.$message.error("穿刺方式未填");
3669
-      } else if (this.predialysis.puncture_needle == "") {
3670
-        this.$message.error("穿刺针未填");
3671
-      } else if (
3700
+        const obj5 = '透前血压'
3701
+        checkdata.push(obj5)
3702
+      } if (this.predialysis.puncture_way == "") {
3703
+        const obj6 = '穿刺方式'
3704
+        checkdata.push(obj6)
3705
+      } if (this.predialysis.puncture_needle == "") {
3706
+        const obj7 = '穿刺针'
3707
+        checkdata.push(obj7)
3708
+      } if (
3672 3709
         this.predialysis.blood_access_part_id == "" &&
3673 3710
         this.predialysis.blood_access_part_opera_name == ""
3674 3711
       ) {
3675
-        this.$message.error("血管通路未填");
3676
-      } else if (this.predialysis.internal_fistula == "") {
3677
-        this.$message.error("透前内瘘未填");
3678
-      } else if (this.predialysis.catheter == "") {
3679
-        this.$message.error("透前导管未填");
3680
-      } else if (this.prescription.mode_id == "") {
3681
-        this.$message.error("透析方式未填");
3682
-      } else if (
3712
+        const obj8 = '血管通路'
3713
+        checkdata.push(obj8)
3714
+      } if (this.predialysis.internal_fistula == "") {
3715
+        const obj9 = '透前内瘘'
3716
+        checkdata.push(obj9)
3717
+      } if (this.predialysis.catheter == "") {
3718
+        const obj10 = '透前导管'
3719
+        checkdata.push(obj10)
3720
+      } if (this.prescription.mode_id == "") {
3721
+        const obj11 = '透析方式'
3722
+        checkdata.push(obj11)
3723
+      } if (
3683 3724
         this.prescription.displace_liqui_part == 0 &&
3684 3725
         this.prescription.mode_id == 2
3685 3726
       ) {
3686
-        this.$message.error("置换方式未填");
3687
-      } else if (
3727
+        const obj12 = '置换方式'
3728
+        checkdata.push(obj12)
3729
+      } if (
3688 3730
         this.prescription.displace_liqui_value == 0 &&
3689 3731
         this.prescription.mode_id == 2
3690 3732
       ) {
3691
-        this.$message.error("置换量未填");
3692
-      } else if (this.prescription.blood_flow_volume == 0) {
3693
-        this.$message.error("血流量未填");
3694
-      } else if (
3733
+        const obj13 = '置换量'
3734
+        checkdata.push(obj13)
3735
+      } if (this.prescription.blood_flow_volume == 0) {
3736
+        const obj14 = '血流量'
3737
+        checkdata.push(obj14)
3738
+      } if (
3695 3739
         this.prescription.dialysis_duration_hour == 0 &&
3696 3740
         this.prescription.dialysis_duration_minute == 0
3697 3741
       ) {
3698
-        this.$message.error("透析时间未填");
3699
-      } else if (
3742
+        const obj15 = '透析时间'
3743
+        checkdata.push(obj15)
3744
+      } if (
3700 3745
         this.prescription.dialyzer_perfusion_apparatus == "" &&
3701 3746
         this.prescription.dialysis_dialyszers == ""
3702 3747
       ) {
3703
-        this.$message.error("透析器未填");
3704
-      } else if (this.prescription.dialysis_irrigation == "") {
3705
-        this.$message.error("灌流器未填");
3706
-      } else if (
3748
+        const obj16 = '透析器'
3749
+        checkdata.push(obj16)
3750
+      } if (this.prescription.dialysis_irrigation == "") {
3751
+        const obj17 = '灌流器'
3752
+        checkdata.push(obj17)
3753
+      } if (
3707 3754
         this.prescription.plasma_separator == "" &&
3708 3755
         this.org_id == 9538
3709 3756
       ) {
3710
-        this.$message.error("血浆分离器未填");
3711
-      } else if (
3757
+        const obj18 = '血浆分离器'
3758
+        checkdata.push(obj18)
3759
+      } if (
3712 3760
         this.prescription.bilirubin_adsorption_column == "" &&
3713 3761
         this.org_id == 9538
3714 3762
       ) {
3715
-        this.$message.error("胆红素吸附柱未填");
3716
-      } else if (this.predialysis.weight_before == 0) {
3717
-        this.$message.error("透前体重未填");
3718
-      } else if (this.predialysis.dry_weight == 0) {
3719
-        this.$message.error("干体重未填");
3720
-      } else if (this.prescription.target_ultrafiltration == 0) {
3721
-        this.$message.error("计划超滤量未填");
3722
-      } else if (this.prescription.calcium == 0) {
3723
-        this.$message.error("钙未填");
3724
-      } else if (this.prescription.sodium == 0) {
3725
-        this.$message.error("钠未填");
3726
-      } else if (this.prescription.kalium == 0) {
3727
-        this.$message.error("钾未填");
3728
-      } else if (this.prescription.bicarbonate == 0) {
3729
-        this.$message.error("碳酸氢根未填");
3730
-      } else if (this.prescription.dialysate_flow == 0) {
3731
-        this.$message.error("透析液流量未填");
3732
-      } else if (this.prescription.anticoagulant == 0) {
3733
-        this.$message.error("抗凝剂未填");
3734
-      } else if (
3763
+        const obj19 = '胆红素吸附柱'
3764
+        checkdata.push(obj19)
3765
+      } if (this.predialysis.weight_before == 0) {
3766
+        const obj20 = '透前体重'
3767
+        checkdata.push(obj20)
3768
+      } if (this.predialysis.dry_weight == 0) {
3769
+        const obj21 = '干体重'
3770
+        checkdata.push(obj21)
3771
+      } if (this.prescription.target_ultrafiltration == 0) {
3772
+        const obj22 = '计划超滤量'
3773
+        checkdata.push(obj22)
3774
+      } if (this.prescription.calcium == 0) {
3775
+        const obj23 = '钙'
3776
+        checkdata.push(obj23)
3777
+      } if (this.prescription.sodium == 0) {
3778
+        const obj24 = '钠'
3779
+        checkdata.push(obj24)
3780
+      } if (this.prescription.kalium == 0) {
3781
+        const obj25 = '钾'
3782
+        checkdata.push(obj25)
3783
+      } if (this.prescription.bicarbonate == 0) {
3784
+        const obj26 = '碳酸氢根'
3785
+        checkdata.push(obj26)
3786
+      } if (this.prescription.dialysate_flow == 0) {
3787
+        const obj27 = '透析液流量'
3788
+        checkdata.push(obj27)
3789
+      } if (this.prescription.anticoagulant == 0) {
3790
+        const obj28 = '抗凝剂'
3791
+        checkdata.push(obj28)
3792
+      } if (
3735 3793
         this.prescription.anticoagulant_gaimingcheng == "" &&
3736 3794
         this.prescription.anticoagulant == 5
3737 3795
       ) {
3738
-        this.$message.error("钙名称未填");
3739
-      } else if (
3796
+        const obj29 = '钙名称'
3797
+        checkdata.push(obj29)
3798
+      } if (
3740 3799
         this.prescription.anticoagulant_gaijiliang == "" &&
3741 3800
         this.prescription.anticoagulant == 5
3742 3801
       ) {
3743
-        this.$message.error("钙剂量未填");
3744
-      } else if (this.afterdialysis.temperature == 0) {
3745
-        this.$message.error("透后体温未填");
3746
-      } else if (this.afterdialysis.pulse_frequency == 0) {
3747
-        this.$message.error("透后脉搏未填");
3748
-      } else if (this.afterdialysis.breathing_rate == 0) {
3749
-        this.$message.error("透后呼吸频率未填");
3750
-      } else if (
3802
+        const obj30 = '钙剂量'
3803
+        checkdata.push(obj30)
3804
+      } if (this.afterdialysis.temperature == 0) {
3805
+        const obj31 = '透后体温'
3806
+        checkdata.push(obj31)
3807
+      } if (this.afterdialysis.pulse_frequency == 0) {
3808
+        const obj32 = '透后脉搏'
3809
+        checkdata.push(obj32)
3810
+      } if (this.afterdialysis.breathing_rate == 0) {
3811
+        const obj33 = '透后呼吸频率'
3812
+        checkdata.push(obj33)
3813
+      } if (
3751 3814
         this.afterdialysis.systolic_blood_pressure == 0 ||
3752 3815
         this.afterdialysis.diastolic_blood_pressure == 0
3753 3816
       ) {
3754
-        this.$message.error("透后血压未填完整");
3755
-      } else if (
3817
+        const obj34 = '透后血压'
3818
+        checkdata.push(obj34)
3819
+      } if (
3756 3820
         this.afterdialysis.actual_treatment_hour == 0 &&
3757 3821
         this.afterdialysis.actual_treatment_minute == 0
3758 3822
       ) {
3759
-        this.$message.error("实际治疗时间未填");
3760
-      } else if (this.afterdialysis.cruor == "") {
3761
-        this.$message.error("透析器凝血未填");
3762
-      } else if (this.afterdialysis.internal_fistula == "") {
3763
-        this.$message.error("透后内瘘未填");
3764
-      } else if (this.afterdialysis.catheter == "") {
3765
-        this.$message.error("透后导管未填");
3766
-      } else if (this.afterdialysis.weight_after == 0) {
3767
-        this.$message.error("透后体重未填");
3768
-      } else if (this.afterdialysis.weight_loss == 0) {
3769
-        this.$message.error("透后体重减少未填");
3770
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
3771
-        this.$message.error("透析中入量未填");
3772
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
3773
-        this.$message.error("实际超滤量未填");
3774
-      } else if (this.summary.dialysis_summary == "") {
3775
-        this.$message.error("透析小结未填");
3776
-      } else if (
3823
+        const obj35 = '实际治疗时间'
3824
+        checkdata.push(obj35)
3825
+      } if (this.afterdialysis.cruor == "") {
3826
+        const obj36 = '透析器凝血'
3827
+        checkdata.push(obj36)
3828
+      } if (this.afterdialysis.internal_fistula == "") {
3829
+        const obj37 = '透后内瘘'
3830
+        checkdata.push(obj37)
3831
+      } if (this.afterdialysis.catheter == "") {
3832
+        const obj38 = '透后导管'
3833
+        checkdata.push(obj38)
3834
+      } if (this.afterdialysis.weight_after == 0) {
3835
+        const obj39 = '透后体重'
3836
+        checkdata.push(obj39)
3837
+      } if (this.afterdialysis.weight_loss == 0) {
3838
+        const obj40 = '透后体重减少'
3839
+        checkdata.push(obj40)
3840
+      } if (this.afterdialysis.dialysis_intakes == 0) {
3841
+        const obj41 = '透析中入量'
3842
+        checkdata.push(obj41)
3843
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
3844
+        const obj42 = '实际超滤量'
3845
+        checkdata.push(obj42)
3846
+      } if (this.summary.dialysis_summary == "") {
3847
+        const obj43 = '透析小结'
3848
+        checkdata.push(obj43)
3849
+      } if (
3777 3850
         this.dialysisOrder == null ||
3778 3851
         this.dialysisOrder.puncture_nurse == 0
3779 3852
       ) {
3780
-        this.$message.error("穿刺护士未填");
3781
-      } else if (
3853
+        const obj44 = '穿刺护士'
3854
+        checkdata.push(obj44)
3855
+      } if (
3782 3856
         this.dialysisOrder == null ||
3783 3857
         this.dialysisOrder.start_nurse == 0
3784 3858
       ) {
3785
-        this.$message.error("治疗护士未填");
3786
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
3787
-        this.$message.error("核对人员未填");
3859
+        const obj45 = '治疗护士'
3860
+        checkdata.push(obj45)
3861
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
3862
+        const obj46 = '核对人员'
3863
+        checkdata.push(obj46)
3788 3864
       } else if (
3789 3865
         this.dialysisOrder != null &&
3790 3866
         this.dialysisOrder.start_nurse == this.check.modifier &&
3791 3867
         this.check.creater == 0
3792 3868
       ) {
3793
-        this.$message.error("核对人员未填");
3869
+        const obj46 = '核对人员'
3870
+        checkdata.push(obj46)
3794 3871
       } else if (
3795 3872
         this.dialysisOrder != null &&
3796 3873
         this.dialysisOrder.start_nurse == this.check.creater &&
3797 3874
         this.check.modifier == 0
3798 3875
       ) {
3799
-        this.$message.error("核对人员未填");
3876
+        const obj46 = '核对人员'
3877
+        checkdata.push(obj46)
3800 3878
       } else if (
3801 3879
         this.dialysisOrder != null &&
3802 3880
         this.dialysisOrder.start_nurse != this.check.creater &&
3803 3881
         this.dialysisOrder.start_nurse != this.check.modifier &&
3804 3882
         this.check.creater == 0
3805 3883
       ) {
3806
-        this.$message.error("核对人员未填");
3807
-      } else if (
3884
+        const obj46 = '核对人员'
3885
+        checkdata.push(obj46)
3886
+      } if (
3808 3887
         this.dialysisOrder == null ||
3809 3888
         this.dialysisOrder.finish_nurse == 0
3810 3889
       ) {
3811
-        this.$message.error("下机护士未填");
3812
-      } else if (this.prescription.creater == 0) {
3813
-        this.$message.error("医生签名未填");
3814
-      } else if (this.tableAdvice.length > 0) {
3815
-        let num = 0;
3816
-        this.tableAdvice.map((item) => {
3890
+        const obj47 = '下机护士'
3891
+        checkdata.push(obj47)
3892
+      } if (this.prescription.creater == 0) {
3893
+        const obj48 = '医生签名'
3894
+        checkdata.push(obj48)
3895
+      } if (this.new_doctor_advice_list.length > 0) {
3896
+        this.new_doctor_advice_list.map((item) => {
3817 3897
           if (item.id > 0 && (item.created_time || item.start_time)) {
3818
-            this.users.map((it) => {
3819
-              if (it.id == item.advice_doctor) {
3820
-                if (it.user_type == 3) {
3821
-                  num++;
3822
-                  this.$message.closeAll();
3823
-                  this.$message.error("存在不是医生保存的医嘱");
3824
-                } else if (
3825
-                  it.id == item.execution_staff &&
3826
-                  item.execution_staff > 0
3827
-                ) {
3828
-                  if (it.user_type == 2) {
3829
-                    num++;
3830
-                    this.$message.closeAll();
3831
-                    this.$message.error("存在不是护士执行的医嘱");
3832
-                  }
3833
-                } else if (it.id == item.checker && item.checker > 0) {
3834
-                  if (it.user_type == 2) {
3835
-                    num++;
3836
-                    this.$message.closeAll();
3837
-                    this.$message.error("存在不是护士核对的医嘱");
3838
-                  }
3839
-                }
3840
-              } else if (
3841
-                it.id == item.execution_staff &&
3842
-                item.execution_staff > 0
3843
-              ) {
3844
-                if (it.user_type == 2) {
3845
-                  num++;
3846
-                  this.$message.closeAll();
3847
-                  this.$message.error("存在不是护士执行的医嘱");
3848
-                }
3849
-              } else if (it.id == item.checker && item.checker > 0) {
3850
-                if (it.user_type == 2) {
3851
-                  num++;
3852
-                  this.$message.closeAll();
3853
-                  this.$message.error("存在不是护士核对的医嘱");
3854
-                }
3855
-              }
3856
-            });
3898
+            if (item.execution_staff == 0 || item.advice_doctor == 0) {
3899
+              const obj49 = '执行人员,核对签名'
3900
+              checkdata.push(obj49)
3901
+            }
3857 3902
           }
3858
-        });
3859
-        if (num == 0) {
3860
-          this.$message.success("核对完成");
3861
-        }
3862
-      } else {
3863
-        this.$message.success("核对完成");
3903
+        })
3904
+
3864 3905
       }
3906
+      this.getcheckData(checkdata)
3865 3907
     },
3866 3908
     getDisplaceLiquiPart: function (val) {
3867 3909
       let displace_liqui_part_name = "/";
@@ -4276,7 +4318,7 @@ export default {
4276 4318
         }
4277 4319
 
4278 4320
 
4279
-        console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4321
+        console.log("RESWOOWOWWOOW", response.data.data.doctorAdevieInfo)
4280 4322
 
4281 4323
         //华池
4282 4324
         if (this.org_id == 10440) {
@@ -4322,7 +4364,7 @@ export default {
4322 4364
           this.projects = projects;
4323 4365
 
4324 4366
 
4325
-        // console.log("this.projects=========================================", this.projects);
4367
+          // console.log("this.projects=========================================", this.projects);
4326 4368
 
4327 4369
 
4328 4370
 
@@ -4481,8 +4523,8 @@ export default {
4481 4523
 
4482 4524
 
4483 4525
         if (this.doctor_advices.length + this.projectsOne.length <= 6) {
4484
-            var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
4485
-            this.print_length = 6;
4526
+          var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
4527
+          this.print_length = 6;
4486 4528
 
4487 4529
           for (let index = 0; index < nl; index++) {
4488 4530
             if (
@@ -4649,7 +4691,20 @@ export default {
4649 4691
         return "0.0";
4650 4692
       }
4651 4693
     },
4694
+    getcheckData(val) {
4695
+      if (val.length > 0) {
4696
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
4697
+        this.$alert(message, '提示', {
4698
+          confirmButtonText: '确定',
4699
+          type: 'warning',
4700
+          dangerouslyUseHTMLString: true,
4652 4701
 
4702
+        });
4703
+        // return message
4704
+      } else {
4705
+        this.$message.success('核对完成')
4706
+      }
4707
+    },
4653 4708
   },
4654 4709
   watch: {
4655 4710
     "patientInfo.gender": function () {
@@ -4786,6 +4841,7 @@ export default {
4786 4841
 .inline_block {
4787 4842
   display: inline-block;
4788 4843
 }
4844
+
4789 4845
 .under_line_two {
4790 4846
   display: inline-block;
4791 4847
   border-bottom: 1px solid #999;
@@ -4854,7 +4910,8 @@ export default {
4854 4910
 
4855 4911
 .print_page_main_content .proj_table .inside_table {
4856 4912
   width: 100%;
4857
-  border: hidden; /* 解决边框冲突 */
4913
+  border: hidden;
4914
+  /* 解决边框冲突 */
4858 4915
   border-collapse: collapse;
4859 4916
 }
4860 4917
 
@@ -4891,28 +4948,35 @@ export default {
4891 4948
 .margin-bottom-300 {
4892 4949
   margin-bottom: 450px;
4893 4950
 }
4951
+
4894 4952
 .margin-bottom-600 {
4895 4953
   margin-bottom: 600px;
4896 4954
 }
4955
+
4897 4956
 .margin-bottom-900 {
4898 4957
   margin-bottom: 900px;
4899 4958
 }
4959
+
4900 4960
 .print-yema {
4901 4961
   position: absolute;
4902 4962
   left: 50%;
4903 4963
 }
4964
+
4904 4965
 .print-yema2 {
4905 4966
   position: absolute;
4906 4967
   left: 50%;
4907 4968
 }
4969
+
4908 4970
 .print-yema3 {
4909 4971
   position: absolute;
4910 4972
   left: 50%;
4911 4973
 }
4974
+
4912 4975
 .print-yema4 {
4913 4976
   position: absolute;
4914 4977
   left: 50%;
4915 4978
 }
4979
+
4916 4980
 .check_box_panel .did_checke::after {
4917 4981
   font-size: 8px;
4918 4982
   margin-left: 2px;

文件差异内容过多而无法显示
+ 777 - 807
src/xt_pages/medicalScheduling/schedulingStatistics.vue


+ 3 - 4
src/xt_pages/outpatientCharges/listPrint.vue 查看文件

@@ -76,7 +76,6 @@ import { watch } from 'vue';
76 76
     created() {
77 77
       this.paramsobjid = this.paramsObj.id
78 78
       console.log('1111111222222',this.paramsObj.id);
79
-      
80 79
       // this.getInfo(this.paramsObj.id)
81 80
       this.getInfo(this.paramsobjid)
82 81
       console.log('333333333',this.paramsObj.id);
@@ -94,7 +93,7 @@ import { watch } from 'vue';
94 93
     },
95 94
     beforeUpdate(){
96 95
       console.log('444444',this.paramsObj.id);
97
-      
96
+
98 97
     },
99 98
 
100 99
     methods: {
@@ -199,7 +198,7 @@ import { watch } from 'vue';
199 198
 
200 199
                   }else if (infos.project.type == 3){
201 200
                     obj['name'] = infos.project.good_info.good_name
202
-                    obj['spec'] = ""
201
+                    obj['spec'] = infos.project.good_info.specification_name
203 202
                     obj['code'] = infos.project.good_info.medical_insurance_number
204 203
                     obj['unit'] = infos.project.good_info.packing_unit
205 204
                     obj['is_total']= 0
@@ -838,7 +837,7 @@ import { watch } from 'vue';
838 837
       //   })
839 838
       // }
840 839
     },
841
-    
840
+
842 841
   }
843 842
 </script>
844 843
 

+ 2 - 2
src/xt_pages/outpatientTool/labelPrint.vue 查看文件

@@ -127,7 +127,7 @@
127 127
                         </el-button>
128 128
                     </el-col>
129 129
                 </el-row>
130
-                  <div id="sign" class="signPrint">
130
+                  <div id="sign" class="signPrint" style="width: 500px;height: 250px;">
131 131
                       <div style="display:flex;margin-bottom:0px;">
132 132
                           <div style="margin-left:15px;">
133 133
                               <div style="font-weight:bold;font-size:24px;">C</div>
@@ -436,7 +436,7 @@
436 436
 
437 437
       },
438 438
       printAction: function() {
439
-        const style = '@media print { .sign{width:960px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 10px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 12px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 15px 5px !important;} }'
439
+        const style = '@media print { .sign{width:500px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 10px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 12px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 15px 5px !important;} }'
440 440
         printJS({
441 441
           printable: 'sign',
442 442
           type: 'html',

+ 2 - 2
src/xt_pages/stock/detail/stockOutDetail.vue 查看文件

@@ -1043,13 +1043,13 @@ export default {
1043 1043
         if(this.orgId  == 10265 || this.orgId ==10215 || this.orgId == 9919 || this.orgId == 9671 || this.orgId == 10402 || this.orgId==10138 || this.orgId==10278||this.orgId==10537||this.orgId==10610){
1044 1044
             this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
1045 1045
         }
1046
-        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191 || this.orgId ==10489 || this.orgId == 10375 || this.orgId == 10485 || this.orgId ==10635 || this.orgId ==10726 || this.orgId == 10724 || this.orgId ==10635 || this.orgId ==10724 || this.orgId ==10726 || this.orgId ==10721 || this.orgId == 10633 || this.orgId == 0){
1046
+        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191 || this.orgId ==10489 || this.orgId == 10375 || this.orgId == 10485 || this.orgId ==10635 || this.orgId ==10726 || this.orgId == 10724 || this.orgId ==10635 || this.orgId ==10724 || this.orgId ==10726 || this.orgId ==10721 || this.orgId == 10633 || this.orgId == 0  || this.orgId == 10387){
1047 1047
           this.tableOut[i].out_count = this.getWarehouseOut(this.tableOut[i].good_id)
1048 1048
         }
1049 1049
         if(this.orgId ==10445){
1050 1050
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
1051 1051
         }
1052
-        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402 && this.orgId != 10489 && this.orgId!=10375 && this.orgId!=10485&&this.orgId!=0&&this.orgId!=10138&&this.orgId!=10278&&this.orgId!=10537&&this.orgId!=10610 &&this.orgId!=10445 &&  this.orgId !=10635  &&  this.orgId !=10724 &&  this.orgId !=10726  &&  this.orgId !=10721 && this.orgId!=10633 && this.orgId!=0){
1052
+        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402 && this.orgId != 10489 && this.orgId!=10375 && this.orgId!=10485&&this.orgId!=0&&this.orgId!=10138&&this.orgId!=10278&&this.orgId!=10537&&this.orgId!=10610 &&this.orgId!=10445 &&  this.orgId !=10635  &&  this.orgId !=10724 &&  this.orgId !=10726  &&  this.orgId !=10721 && this.orgId!=10633 && this.orgId!=0&& this.orgId!=10387){
1053 1053
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
1054 1054
         }
1055 1055
         this.tableOut[i].manufacturer_name = this.getManufacturerNameOne(this.tableOut[i].manufacturer)