Parcourir la source

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

28169 il y a 1 an
Parent
révision
d557c39a51

+ 9 - 8
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Voir le fichier

@@ -11,10 +11,10 @@
11 11
       <el-form ref="form" :model="form" label-width="160px">
12 12
         <el-row :gutter="20">
13 13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
14
-            <el-form-item label="实际治疗时长(时):" :prop="isName('实际治疗时长')" :rules="isCheckmust('实际治疗时长')">
15
-              <!-- <el-input v-model="form.actual_treatment_hour"></el-input> -->
14
+            <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
15
+              <!-- <el-input v-model="form.actual_treatment_hour"></el-input> :prop="isName('实际治疗时长')"-->
16 16
               <el-time-picker
17
-                v-model="actualTreatmentHourShow"
17
+                v-model="form.actualTreatmentHourShow"
18 18
                 placeholder="透析时长"
19 19
                 style="width:100%;"
20 20
                 value-format="H:m"
@@ -620,9 +620,9 @@
620 620
           type="primary"
621 621
           @click="submitForm('form')"
622 622
           :loading="loading"
623
-          v-if="hasPermission"
623
+          
624 624
           >保 存</el-button>
625
-          <!--  -->
625
+          <!-- v-if="hasPermission" -->
626 626
       </span>
627 627
     </el-dialog>
628 628
 
@@ -697,7 +697,7 @@ export default {
697 697
       internalFistulaOptions: [],
698 698
       vascularAccessOptions: [],
699 699
       unit: [{ id: 1, name: 'g' }, { id: 2, name: 'ml' },{ id: 3, name: 'kg' }],
700
-      actualTreatmentHourShow: '',
700
+      // actualTreatmentHourShow: '',
701 701
       vascularAccessDescOptions: [],
702 702
       catheterOptions: [],
703 703
       complicationOptions: [],
@@ -729,6 +729,7 @@ export default {
729 729
       },
730 730
 
731 731
       form: {
732
+        actualTreatmentHourShow: '',
732 733
         weight_after: '',
733 734
         weight_loss: '',
734 735
         temperature: '',
@@ -893,7 +894,7 @@ export default {
893 894
         if (this.assessment_after_dislysis['sealing_fluid_dispose'] == 0) {
894 895
           this.form['sealing_fluid_dispose'] = ''
895 896
         }
896
-        this.actualTreatmentHourShow = new Date(
897
+        this.form.actualTreatmentHourShow = new Date(
897 898
           2018,
898 899
           1,
899 900
           1,
@@ -1316,7 +1317,7 @@ export default {
1316 1317
       for (var index in records) {
1317 1318
         this.$set(this.assessment_after_dislysis, index, records[index])
1318 1319
       }
1319
-      this.actualTreatmentHourShow = new Date(
1320
+      this.form.actualTreatmentHourShow = new Date(
1320 1321
         2018,
1321 1322
         1,
1322 1323
         1,

+ 104 - 48
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Voir le fichier

@@ -218,15 +218,9 @@
218 218
         :rules="isCheckmust('跌倒风险预防措施')"
219 219
         v-if="isShow('跌倒风险预防措施')"
220 220
       >
221
-        <!--        <el-radio-->
222
-        <!--          v-for="(item, index) in precaution_arr"-->
223
-        <!--          :key="index"-->
224
-        <!--          :label="item.id"-->
225
-        <!--          v-model="receiveTreatmentAsses.precaution"-->
226
-        <!--          >{{ item.name }}-->
227
-        <!--        </el-radio>-->
228
-        
229
-        <el-checkbox-group v-model="precautionTwo">
221
+        <!-- isFalldown prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施') :prop="isName('跌倒风险预防措施')" :rules="isCheckmust('跌倒风险预防措施')"
222
+           [{required: true, message: '请选择跌倒风险预防措施', trigger: 'change'}]-->
223
+        <el-checkbox-group v-model="precautionTwo" @change="precautionchange">
230 224
           <el-checkbox
231 225
             v-for="item in precaution_arr"
232 226
             :label="item.name"
@@ -235,6 +229,7 @@
235 229
           >
236 230
         </el-checkbox-group>
237 231
       </el-form-item>
232
+
238 233
       <el-form-item
239 234
         label-width="200px"
240 235
         label="其他跌倒风险预防措施 : "
@@ -340,8 +335,8 @@
340 335
     </el-form>
341 336
     <div slot="footer" class="dialog-footer">
342 337
       <el-button @click="handleCancle">取 消</el-button>
343
-      <!-- -->
344
-      <el-button type="primary" v-if="hasPermission" @click="handleComfirm('receiveTreatmentAsses')"
338
+      <!-- v-if="hasPermission"-->
339
+      <el-button type="primary"   @click="handleComfirm('receiveTreatmentAsses')"
345 340
         >保 存</el-button
346 341
       >
347 342
     </div>
@@ -394,8 +389,10 @@ export default {
394 389
         tumble: "",
395 390
         his_department: "",
396 391
         his_bed: "",
392
+        falldown:[],
397 393
       },
398 394
       precautionTwo: [],
395
+      arr:[]
399 396
     };
400 397
   },
401 398
   methods: {
@@ -419,22 +416,21 @@ export default {
419 416
       }
420 417
       this.accepts = accepts;
421 418
       // console.log("accepts", accepts);
422
-      var arr = [];
423
-      if (this.accepts.precaution) {
424
-        var precaution = this.accepts.precaution.split(",");
425
-        // console.log("precaution", precaution);
426
-        // console.log("hhh", this.precaution_arr);
427
-        for (let i = 0; i < precaution.length; i++) {
428
-          for (let j = 0; j < this.precaution_arr.length; j++) {
429
-            if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
430
-              // console.log("aaaa");
431
-              arr.push(this.precaution_arr[j].name);
432
-            }
433
-          }
434
-        }
435
-        this.precautionTwo = arr;
436
-        // console.log("arr", arr);
437
-      }
419
+      // var arr = [];
420
+      // if (this.accepts.precaution) {
421
+      //   var precaution = this.accepts.precaution.split(",");
422
+      //   // console.log("precaution", precaution);
423
+      //   // console.log("hhh", this.precaution_arr);
424
+      //   for (let i = 0; i < precaution.length; i++) {
425
+      //     for (let j = 0; j < this.precaution_arr.length; j++) {
426
+      //       if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
427
+      //         // console.log("aaaa");
428
+      //         this.arr.push(this.precaution_arr[j].name);
429
+      //       }
430
+      //     }
431
+      //   }
432
+      //   this.precautionTwo = this.arr;
433
+      // }
438 434
 
439 435
       this.getPermission();
440 436
       for (var index in this.receiveTreatmentAsses) {
@@ -458,20 +454,44 @@ export default {
458 454
     handleCancle: function () {
459 455
       this.isVisibility = false;
460 456
     },
457
+    // 复选框跌倒风险措施
458
+    precautionchange(){
459
+      // for (let i = 0; i < this.precaution_arr.length; i++) {
460
+      //   for (let j = 0; j < this.precautionTwo.length; j++) {
461
+      //     if (this.precaution_arr[i].name == this.precautionTwo[j]) {
462
+      //       this.arr.push(this.precaution_arr[i].id);
463
+      //     }
464
+      //   }
465
+      // } 
466
+      // var obj = this.arr.join(",");
467
+      // this.receiveTreatmentAsses.precaution = obj;
468
+
469
+      // this.receiveTreatmentAsses.falldown=this.precautionTwo
470
+      if(this.precautionTwo.length>0){
471
+        this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
472
+      }
473
+      console.log('this.precaution_arr',this.precautionTwo);
474
+      // console.log('arr的数据',this.receiveTreatmentAsses.falldown);
475
+      // console.log('sadffdasfdg',this.receiveTreatmentAsses.falldown.length);
476
+      // this.$refs[fromName].resetFields();
477
+      
478
+    },
479
+
461 480
     handleComfirm: function (formName) {
462
-      var arr = [];
481
+      // var arr = [];
463 482
       for (let i = 0; i < this.precaution_arr.length; i++) {
464 483
         for (let j = 0; j < this.precautionTwo.length; j++) {
465 484
           if (this.precaution_arr[i].name == this.precautionTwo[j]) {
466
-            arr.push(this.precaution_arr[i].id);
485
+            this.arr.push(this.precaution_arr[i].id);
467 486
           }
468 487
         }
469
-      }
470
-      // console.log("arr", arr);
471
-      var obj = arr.join(",");
488
+      } 
489
+      // this.precautionchange()
490
+      var obj = this.arr.join(",");
472 491
       this.receiveTreatmentAsses.precaution = obj;
473 492
       let ParamsQuery = this.receiveTreatmentAsses;
474
-      // console.log("ParamsQuery", ParamsQuery);
493
+      
494
+      console.log("ParamsQuery", ParamsQuery);
475 495
       ParamsQuery["patient"] = this.patient.id;
476 496
       ParamsQuery["record_date"] = this.record_date;
477 497
       //console.log(this.receiver_treatment_access);
@@ -534,30 +554,61 @@ export default {
534 554
     isCheckmust(name) {
535 555
       let filedList = store.getters.xt_user.fileds;
536 556
       for (let i = 0; i < filedList.length; i++) {
537
-        // if (
538
-        //   filedList[i].module == 2){console.log(filedList[i],'filedList[i]')}
557
+        
539 558
         if (
540 559
           filedList[i].module == 2 &&
541 560
           filedList[i].filed_name_cn == name &&
542 561
           filedList[i].is_write == 1
543 562
         ) {
563
+          // name == '跌倒风险预防措施' && this.precautionTwo.length<=0
544 564
           if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
545
-          return [
546
-            { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
547
-            {
548
-              required: true,
549
-              pattern: /^[1-9]\d*$/,
550
-              message: `请输入${name}`,
551
-              trigger: ['blur','change']
552
-            },
553
-          ];
565
+            return [
566
+              { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
567
+              {
568
+                required: true,
569
+                pattern: /^[1-9]\d*$/,
570
+                message: `请输入${name}`,
571
+                trigger: ['blur','change']
572
+              },
573
+            ];
574
+          } 
575
+          // if(name == "跌倒风险预防措施" && this.precautionTwo.length<=0){
576
+          //   return [
577
+          //     { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
578
+          //     {
579
+          //       required: true,
580
+          //       pattern: /^[1-9]\d*$/,
581
+          //       message: `请选择${name}`,
582
+          //       trigger: ['blur','change']
583
+          //     },
584
+          //   ];
585
+          // }
586
+            return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
554 587
         }
555
-          return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
556
-        }
557
-
558
-        
559 588
       }
560 589
     },
590
+    // isFalldown(name){
591
+    //   let filedList = store.getters.xt_user.fileds;
592
+    //   for (let i = 0; i < filedList.length; i++) {
593
+    //     if (
594
+    //       filedList[i].module == 2 &&
595
+    //       filedList[i].filed_name_cn == name &&
596
+    //       filedList[i].is_write == 1
597
+    //     ) {
598
+    //       if (name == "跌倒风险预防措施" && this.precautionTwo.length<=0) {
599
+    //         return [
600
+    //           { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
601
+    //           {
602
+    //             required: true,
603
+    //             pattern: /^[1-9]\d*$/,
604
+    //             message: `请选择${name}`,
605
+    //             trigger: ['blur','change']
606
+    //           },
607
+    //         ];
608
+    //       } 
609
+    //     }
610
+    //   }
611
+    // },
561 612
     getPermission() {
562 613
       request
563 614
         .get("/api/func_per/get", {
@@ -627,6 +678,7 @@ export default {
627 678
     },
628 679
   },
629 680
   created() {
681
+    
630 682
     // console.log("接诊评估", this.receiver_treatment_access);
631 683
     var date = this.$route.query && this.$route.query.date;
632 684
     this.record_date = date
@@ -643,7 +695,11 @@ export default {
643 695
     // console.log("风险", this.precaution_arr);
644 696
     this.intake_arr = getDataConfig("hemodialysis", "intake");
645 697
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
698
+    
646 699
   },
700
+  // mounted(){
701
+  //   this.isFalldown()
702
+  // }
647 703
 };
648 704
 </script>
649 705
 

+ 4 - 3
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Voir le fichier

@@ -964,7 +964,7 @@
964 964
             filedList[i].is_write == 1&&
965 965
             filedList[i].is_show == 1
966 966
           ) {
967
-            console.log(filedList[i],'false')
967
+            // console.log(filedList[i],'false')
968 968
             if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
969 969
             return [
970 970
               { required: true, message: `请输入${name}` },
@@ -990,7 +990,7 @@
990 990
         var filedList = store.getters.xt_user.fileds
991 991
         for (let i = 0; i < filedList.length; i++) {
992 992
           if (filedList[i].module == 3 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
993
-            console.log("filedList",filedList)
993
+            // console.log("filedList",filedList)
994 994
             return true
995 995
           }
996 996
         }
@@ -1616,7 +1616,8 @@
1616 1616
       //   }
1617 1617
       //
1618 1618
       // }
1619
-    }, watch: {
1619
+    }, 
1620
+    watch: {
1620 1621
       isVisibility(val) {
1621 1622
 
1622 1623
       },

+ 2 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Voir le fichier

@@ -111,7 +111,8 @@
111 111
           :prop="isName('换药护士')"
112 112
           :rules="isCheckmust('换药护士')"
113 113
         >
114
-          <el-select v-model="form.change_nurse" placeholder="换药护士">
114
+        <!--  -->
115
+          <el-select v-model="form.change_nurse" placeholder="请选择换药护士">
115 116
             <el-option
116 117
               v-for="(admin, index) in adminRoles"
117 118
               :key="index"
@@ -250,7 +251,6 @@
250 251
         >
251 252
           <el-select v-model="form.blood_access_id" placeholder="请选择" @change="changeBloodAccessOpion">
252 253
             <el-option :key="0" label="请选择" :value="0"></el-option>
253
-
254 254
             <el-option
255 255
               v-for="(option, index) in blood_access_option"
256 256
               :key="index + 'i'"

+ 8 - 87
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Voir le fichier

@@ -23,7 +23,6 @@
23 23
                     ref="dialysisPrescription"
24 24
                     :model="dialysisPrescription"
25 25
                     label-width="148px"
26
-
27 26
             >
28 27
                 <el-row :gutter="24">
29 28
                     <el-col :span="8" v-if="isShows('透析模式')">
@@ -43,7 +42,7 @@
43 42
                         </el-form-item>
44 43
                     </el-col>
45 44
                     <el-col :span="8" v-if="isShows('透析时长')">
46
-                        <el-form-item label="透析时长(h):" :prop="isName('透析时长')" :rules="isCheckmust('透析时长')">
45
+                        <el-form-item label="透析时长(h):" prop="dialysis_duration_hour" :rules="isCheckmust('透析时长')">
47 46
                             <el-input
48 47
                                     type="number"
49 48
                                     v-model="dialysisPrescription.dialysis_duration_hour"
@@ -626,7 +625,7 @@
626 625
                         </el-form-item>
627 626
                     </el-col>
628 627
 
629
-                    <el-col :span="8" v-if="isShows('钠')"><!--  :prop="isName('钠')"-->
628
+                    <el-col :span="8" v-if="isShows('钠')"><!--  :prop="isName('钠')" prop="sodium"-->
630 629
                         <el-form-item label="钠(mmol/L):" prop="sodium" :rules="isCheckmust('纳')">
631 630
                             <el-input
632 631
                                     type="number"
@@ -1681,86 +1680,6 @@
1681 1680
         zongliang:"",
1682 1681
         educationList:[],
1683 1682
         value:"",
1684
-
1685
-        // rules : {
1686
-        //   mode_id:[{required: true, message: '请选择透析模式', trigger: 'change'}],
1687
-        //   dialysis_duration_hour:[{required: true, message: '请输入透析时长', trigger: 'blur'}],
1688
-        //   dialysis_duration_minute:[{required: true, message: '请输入透析时长', trigger: 'blur'}],
1689
-        //   blood_flow_volume:[{required: true, message: '请输入血流量', trigger: 'blur'}],
1690
-        //   replacement_flow:[{required: true, message: '请输入置换流量', trigger: 'blur'}],
1691
-        //   pre_impulse:[{required: true, message: '请输入预冲量', trigger: 'blur'}],
1692
-        //   target_ultrafiltration:[{required: true, message: '请输入目标超滤量', trigger: 'blur'}],
1693
-        //   prescription_water:[{required: true, message: '请输入处方脱水量', trigger: 'blur'}],
1694
-        //   water_machine:[{required: true, message: '请选择带水上机', trigger: 'change'}],
1695
-        //   is_water:[{required: true, message: '请选择是否单超脱水', trigger: 'change'}],
1696
-        //   single_time:[{required: true, message: '请输入单超时长', trigger: 'blur'}],
1697
-        //   single_water:[{required: true, message: '请输入单超脱水', trigger: 'blur'}],
1698
-        //   drhy_water:[{required: true, message: '请输入曲线脱水', trigger: 'blur'}],
1699
-        //   dry_water_hour:[{required: true, message: '请输入曲线脱水时长', trigger: 'blur'}],
1700
-        //   dialysate_formulation:[{required: true, message: '请选择透析液配方', trigger: 'change'}],
1701
-        //   anticoagulant:[{required: true, message: '请选择抗凝剂', trigger: 'change'}],
1702
-        //   antioxidant_commodity_name:[{required: true, message: '请输入抗凝剂商品名称', trigger: 'blur'}],
1703
-        //   heparin_sodium:[{required: true, message: '请输入肝素钠', trigger: 'blur'}],
1704
-        //   nucleoprotamine:[{required: true, message: '请输入鱼精蛋白', trigger: 'blur'}],
1705
-        //   push_the_protamine:[{required: true, message: '请输入下机前推注鱼精蛋白', trigger: 'blur'}],
1706
-        //   add_amount:[{required: true, message: '请输入追加肝素量', trigger: 'blur'}],
1707
-        //   calculateAnticoagulantZL:[{required: true, message: '请输入减肝素量', trigger: 'blur'}],
1708
-        //   reduce_amount:[{required: true, message: '请输入减肝素量', trigger: 'blur'}],
1709
-        //   anticoagulant_shouji:[{required: true, message: '请输入首剂', trigger: 'blur'}],
1710
-        //   anticoagulant_weichi:[{required: true, message: '请输入维持', trigger: 'blur'}],
1711
-        //   anticoagulant_zongliang:[{required: true, message: '请输入总量', trigger: 'blur'}],
1712
-        //   prescribing_number:[{required: true, message: '请输入开药数量', trigger: 'blur'}],
1713
-        //   replacement_total:[{required: true, message: '请输入置换量', trigger: 'blur'}],
1714
-        //   displace_speed:[{required: true, message: '请输入置换速度', trigger: 'blur'}],
1715
-        //   anticoagulant_gaimingcheng:[{required: true, message: '请输入钙名称', trigger: 'blur'}],
1716
-        //   anticoagulant_gaijiliang:[{required: true, message: '请输入钙剂量', trigger: 'blur'}],
1717
-        //   kalium:[{required: true, message: '请输入钾', trigger: 'blur'}],
1718
-        //   sodium:[{required: true, message: '请输入钠', trigger: 'blur'}],
1719
-        //   calcium:[{required: true, message: '请输入钙', trigger: 'blur'}],
1720
-        //   bicarbonate:[{required: true, message: '请输入碳酸氢盐', trigger: 'blur'}],
1721
-        //   dialysate_flow:[{required: true, message: '请输入透析液流量', trigger: 'blur'}],
1722
-        //   dialysate_temperature:[{required: true, message: '请输入透析液温度', trigger: 'blur'}],
1723
-        //   conductivity:[{required: true, message: '请输入电导率', trigger: 'blur'}],
1724
-        //   dialyzer_perfusion_apparatus:[{required: true, message: '请输入透析器/灌流器', trigger: 'blur'}],
1725
-        //   dialysis_dialyszers:[{required: true, message: '请输入透析器', trigger: 'blur'}],
1726
-        //   dialysis_irrigation:[{required: true, message: '请输入灌流器', trigger: 'blur'}],
1727
-        //   dialysis_strainer:[{required: true, message: '请输入滤过器', trigger: 'blur'}],
1728
-        //   plasma_separator:[{required: true, message: '请输入血浆分离器', trigger: 'blur'}],
1729
-        //   bilirubin_adsorption_column:[{required: true, message: '请输入胆红素吸附柱', trigger: 'blur'}],
1730
-        //   body_fluid:[{required: true, message: '请选择体液过多症状', trigger: 'change'}],
1731
-        //   body_fluid_other:[{required: true, message: '请输入体液过多其他症状', trigger: 'blur'}],
1732
-        //   special_medicine:[{required: true, message: '请选择透析前使用特殊药物', trigger: 'change'}],
1733
-        //   special_medicine_other:[{required: true, message: '请输入透析前使用其他特殊药物', trigger: 'blur'}],
1734
-        //   value:[{required: true, message: '请选择透析备注', trigger: 'change'}],
1735
-        //   dialysis_remark:[{required: true, message: '请输入透析备注', trigger: 'blur'}],
1736
-        //   prescription_sodium:[{required: true, message: '请输入处方钠', trigger: 'blur'}],
1737
-        //   start_sodium:[{required: true, message: '请输入开始钠', trigger: 'blur'}],
1738
-        //   sodium_curve:[{required: true, message: '请输入钠曲线', trigger: 'blur'}],
1739
-        //   dialysis_fluid_flow:[{required: true, message: '请输入透析液流速', trigger: 'blur'}],
1740
-        //   sodium_bicarbonate_flow:[{required: true, message: '请输入碳酸氢钠流速', trigger: 'blur'}],
1741
-        //   treatment_remark:[{required: true, message: '请输入病情处理', trigger: 'blur'}],
1742
-        //   displace_liqui_part:[{required: true, message: '请选择置换液', trigger: 'change'}],
1743
-        //   displace_liqui_value:[{required: true, message: '请输入置换液总量', trigger: 'blur'}],
1744
-        //   target_ktv:[{required: true, message: '请输入目标KT/V', trigger: 'blur'}],
1745
-        //   blood_access:[{required: true, message: '请选择血管通路', trigger: 'change'}],
1746
-        //   anticoagulant_stop_time_hour:[{required: true, message: '请输入抗凝提前停止时间', trigger: 'blur'}],
1747
-        //   anticoagulant_stop_time_min:[{required: true, message: '请输入抗凝提前停止时间', trigger: 'blur'}],
1748
-        //   blood:[{required: true, message: '请输入抽血量', trigger: 'blur'}],
1749
-        //   illness:[{required: true, message: '请选择病情', trigger: 'change'}],
1750
-        //   amylaceum:[{required: true, message: '请输入葡萄糖', trigger: 'blur'}],
1751
-        //   oxygen_uptake:[{required: true, message: '请选择是否吸氧', trigger: 'change'}],
1752
-        //   oxygen_flow:[{required: true, message: '请输入吸氧流量', trigger: 'blur'}],
1753
-        //   oxygen_time:[{required: true, message: '请输入吸氧时长', trigger: 'blur'}],
1754
-        //   hemodialysis_pipelines_count:[{required: true, message: '请输入透析管路支数', trigger: 'blur'}],
1755
-        //   hemodialysis_pipelines:[{required: true, message: '请选择透析管路', trigger: 'change'}],
1756
-        //   puncture_needle:[{required: true, message: '请输入穿刺针', trigger: 'blur'}],
1757
-        //   puncture_needle_count:[{required: true, message: '请输入穿刺针支数', trigger: 'blur'}],
1758
-        //   epo:[{required: true, message: '请选择促红素', trigger: 'change'}],
1759
-        //   epo_count:[{required: true, message: '请输入促红素支数', trigger: 'blur'}],
1760
-        //   max_ultrafiltration_rate:[{required: true, message: '请输入最大超滤率', trigger: 'blur'}],
1761
-        //   admin_user_id:[{required: true, message: '处方医生', trigger: 'blur'}],
1762
-        //   // remark:[{required: true, message: '请输入备注', trigger: 'blur'}]
1763
-        // }
1764 1683
       }
1765 1684
 
1766 1685
     },
@@ -3811,10 +3730,8 @@ mu
3811 3730
         var filedList = store.getters.xt_user.fileds
3812 3731
         for (let i = 0; i < filedList.length; i++) {
3813 3732
           if (filedList[i].module == 1 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
3814
-
3815 3733
             return true
3816 3734
           }
3817
-
3818 3735
         }
3819 3736
         return false
3820 3737
       },
@@ -3829,8 +3746,8 @@ mu
3829 3746
           filedList[i].is_write == 1&&
3830 3747
           filedList[i].is_show == 1
3831 3748
         ) {
3832
-          console.log(filedList[i],'false')
3833
-          if (name == "透析模式" || name == "透析时长") {
3749
+          // console.log(filedList[i],'false')
3750
+          if (name == "透析模式" || name == "透析时长" ) {
3834 3751
           return [
3835 3752
             { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
3836 3753
             {
@@ -3840,6 +3757,9 @@ mu
3840 3757
               trigger: ['blur','change']
3841 3758
             },
3842 3759
           ];
3760
+        }
3761
+        if(name == '钠'){
3762
+          return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3843 3763
         }
3844 3764
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3845 3765
 
@@ -4787,6 +4707,7 @@ mu
4787 4707
       }
4788 4708
     },
4789 4709
     created() {
4710
+      console.log('weretrertf',this.dialysisPrescription.sodium);
4790 4711
       console.log("schedual232323323232323232",this.adminRoles)
4791 4712
       this.illnessList = getDataConfig('hemodialysis', 'illness')
4792 4713
 

+ 3 - 6
src/xt_pages/dialysis/details/dialog/finish_dialog.vue Voir le fichier

@@ -4,7 +4,7 @@
4 4
       <!-- <div class="txsj">
5 5
       </div> -->
6 6
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
7
-      <el-form :model="form" label-width="100px"  :rules="drugdicRules"  ref="form">
7
+      <el-form :model="form" label-width="100px"    ref="form">
8 8
         <el-form-item label="下机护士" >
9 9
           <el-select v-model="form.nurse_id" :disabled="!(dialysis_order.id != 0)">
10 10
             <el-option v-for="(admin, index) in admins" :key="index" :value="admin.id" :label="admin.name"></el-option>
@@ -36,7 +36,6 @@
36 36
             <el-input v-model="form.internal_fistula" readonly  @focus="showInnerDialog('7')" style="width:200px"></el-input>
37 37
         </el-form-item>
38 38
 
39
-
40 39
         <el-form-item label="导管: " :prop="isName('导管')"
41 40
               :rules="isCheckmust('导管')" v-if="isShowFiled('导管')">
42 41
           <el-input v-model="form.catheter" @focus="showInnerDialog('4')" style="width:200px"></el-input>
@@ -148,9 +147,6 @@
148 147
         },
149 148
         catheter: [],
150 149
         cruorOptions: [],
151
-        drugdicRules: {
152
-         internal_fistula: [{ required: true, message: "请选择内瘘" }]
153
-        },
154 150
         required:false,
155 151
         education:[],
156 152
        
@@ -222,7 +218,8 @@
222 218
           filedList[i].filed_name_cn == name &&
223 219
           filedList[i].is_write == 1
224 220
             ) {
225
-          return [{ required: true ,message:`请输入${name}` }];
221
+              
222
+              return [{ required: true ,message:`请输入${name}` }];
226 223
             }
227 224
           }
228 225
         },

+ 5 - 3
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Voir le fichier

@@ -656,16 +656,18 @@ export default {
656 656
       this.$refs.multipleTable3.toggleAllSelection()
657 657
     },
658 658
     printThisPage() {
659
-      if (this.org_id == 10138 || this.org_id == 10278) {
659
+      if (this.org_id == 10138 || this.org_id == 10278 ) {
660 660
         const style =
661 661
             '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 87%;}}}'
662
-        printJS({
662
+            
663
+          printJS({
663 664
           printable: 'printMain',
664 665
           type: 'html',
665 666
           style: style,
666 667
           scanStyles: false
667 668
         })
668
-      } else {
669
+      } 
670
+      else {
669 671
         const style =
670 672
             '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.doctorBoxtwo{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
671 673
         printJS({

+ 35 - 3
src/xt_pages/outpatientDoctorStation/recordPrint.vue Voir le fichier

@@ -13,12 +13,12 @@
13 13
 
14 14
     <div class="dialysisPage" style="padding-top: 40px">
15 15
       <printOne
16
-        v-if="
16
+      v-if="
17 17
           org_id != 10217 && org_id != 10188 &&org_id != 10318&&
18 18
           org_id != 9675 &&
19 19
           org_id != 9671 &&
20 20
           org_id != 0 &&
21
-          org_id != 10164 
21
+          org_id != 10164
22 22
         "
23 23
         ref="printOne"
24 24
         v-bind:childResponse="childResponse"
@@ -27,6 +27,7 @@
27 27
         :history="history"
28 28
         :patientid="patientid"
29 29
       ></printOne>
30
+      <!--   -->
30 31
       <printTwo
31 32
         v-if="
32 33
           org_id == 10217 ||
@@ -43,6 +44,7 @@
43 44
         :history="history"
44 45
         :patientid="patientid"
45 46
       ></printTwo>
47
+      
46 48
       <printThree
47 49
         v-if="org_id == 10318 || org_id == 0"
48 50
         ref="printThree"
@@ -52,7 +54,18 @@
52 54
         :history="history"
53 55
         :patientid="patientid"
54 56
       >
57
+      <!--  -->
55 58
       </printThree>
59
+      <printFour
60
+        v-if="org_id == 10138 || org_id == 10278 || org_id == 0"
61
+        ref="printFour"
62
+        v-bind:childResponse="childResponse"
63
+        :patient="patient"
64
+        :hispatient="hispatient"
65
+        :history="history"
66
+        :patientid="patientid"
67
+      >
68
+      </printFour>
56 69
     </div>
57 70
   </div>
58 71
 </template>
@@ -68,6 +81,7 @@ import { getPatientCaseHistory } from "@/api/project/project";
68 81
 import printOne from "./recordTemplate/printOne";
69 82
 import printTwo from "./recordTemplate/printTwo";
70 83
 import printThree from "./recordTemplate/printThree";
84
+import printFour from "./recordTemplate/printFour";
71 85
 export default {
72 86
   name: "dialysisPrintOrder",
73 87
   components: {
@@ -75,6 +89,7 @@ export default {
75 89
     printOne,
76 90
     printTwo,
77 91
     printThree,
92
+    printFour
78 93
   },
79 94
   props: {
80 95
     patientid: Number,
@@ -137,7 +152,7 @@ export default {
137 152
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
138 153
 
139 154
       const style =
140
-        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}";
155
+        "@media print {.prescription-print{font-size: 14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.recordTitle div{width: 200px;}}";
141 156
       const style1 =
142 157
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: fit-content;min-height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
143 158
       const style2 =
@@ -170,6 +185,23 @@ export default {
170 185
           scanStyles: false,
171 186
         });
172 187
       }
188
+      else if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
189
+        printJS({
190
+          printable: "prescription-print",
191
+          type: "html",
192
+          style: style,
193
+          scanStyles: false,
194
+        });
195
+      
196
+      }
197
+      // if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
198
+      //   printJS({
199
+      //     printable: "prescription-print",
200
+      //     type: "html",
201
+      //     style: style,
202
+      //     scanStyles: false,
203
+      //   });
204
+      // }
173 205
     },
174 206
 
175 207
     //患者列表

+ 7 - 5
src/xt_pages/user/components/PatientDetail.vue Voir le fichier

@@ -821,10 +821,10 @@
821 821
     <!-- 打印预览 -->
822 822
     <div style="display: none">
823 823
       <div id="print-info-box">
824
-        <div class="print_main_content">
824
+        <div class="print_main_content" >
825 825
           <div class="order_title">{{ orgname }} 血液透析门诊病历</div>
826
-          <div>
827
-            <table>
826
+          <div >
827
+            <table >
828 828
               <thead>
829 829
                 <!-- 用 thead 规定好宽度 -->
830 830
                 <tr v-show="false">
@@ -924,12 +924,12 @@
924 924
                     ></div>
925 925
                   </td>
926 926
                 </tr>
927
-                <tr>
927
+                <tr >
928 928
                   <td>
929 929
                     <div class="td_proj_title">现<br />病<br />史</div>
930 930
                   </td>
931 931
                   <td colspan="7">
932
-                    <div
932
+                    <div 
933 933
                       class="td_proj_content td_align_left"
934 934
                       v-html="patientPrint.present_history"
935 935
                     ></div>
@@ -1033,6 +1033,7 @@
1033 1033
         </div>
1034 1034
       </div>
1035 1035
     </div>
1036
+    
1036 1037
     <div hidden="hidden">
1037 1038
       <div id="print-card-info">
1038 1039
         <div
@@ -2122,6 +2123,7 @@ export default {
2122 2123
   width: 960px;
2123 2124
   margin: 0 auto;
2124 2125
   padding: 0 0 20px 0;
2126
+  /* page-break-after: always; */
2125 2127
 }
2126 2128
 .print_main_content .order_title {
2127 2129
   text-align: center;

+ 1 - 1
src/xt_pages/user/coursePrint.vue Voir le fichier

@@ -55,7 +55,7 @@
55 55
               <div>{{item.title}}</div>
56 56
             </div>
57 57
 
58
-            <div class="inline_block" style="width:100%;">
58
+            <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
59 59
               <div v-html="item.content" class="printP">
60 60
 
61 61
               </div>

+ 6 - 8
src/xt_pages/user/hospitalSummary.vue Voir le fichier

@@ -98,22 +98,22 @@
98 98
                    {{hosDetail.pathology}}
99 99
                  </div>
100 100
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">入院诊断:
101
-                   <span v-html="hosDetail.admitting_diagnosis"></span> 
101
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.admitting_diagnosis"></span> 
102 102
                  </div>
103 103
                   <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院诊断:
104
-                   <span v-html="hosDetail.discharge_diagnosis"></span>
104
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.discharge_diagnosis"></span>
105 105
                  </div>
106 106
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">入院时病情:
107
-                   <span v-html="hosDetail.diagnosis_admission"></span>
107
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.diagnosis_admission"></span>
108 108
                  </div>
109 109
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">诊断经过:
110
-                   <span v-html="hosDetail.treatment"></span> 
110
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.treatment"></span> 
111 111
                  </div>
112 112
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院时病情:
113
-                   <span v-html="hosDetail.illness_discharge"></span> 
113
+                   <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.illness_discharge"></span> 
114 114
                  </div>
115 115
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">出院医嘱:
116
-                    <span v-html="hosDetail.discharge_advice"></span>
116
+                    <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.discharge_advice"></span>
117 117
                  </div>
118 118
                
119 119
               </div>
@@ -121,8 +121,6 @@
121 121
           </el-row>
122 122
         </div>
123 123
       </div>
124
-
125
-  
126 124
      
127 125
       <el-dialog title="新增出院小结" width="60%" top="5vh" :visible.sync="show_dialog">
128 126
         <div>

+ 14 - 15
src/xt_pages/user/hospitalSummaryPrint.vue Voir le fichier

@@ -4,7 +4,7 @@
4 4
     <el-button type="primary" size="small" @click="printThisPage">打印</el-button> 
5 5
   </div>
6 6
   <div id="dialysis-print-box">
7
-    <div class="dialysis-print-order">
7
+    <div class="dialysis-print-order" style="width: 960px;">
8 8
       <div class="order-yy-name"></div>
9 9
       <div class="order-title">{{ orgname }}出院小结</div>
10 10
       <div style="margin-float:right">病案号:{{hosDetail.sick_personnel}}</div>
@@ -82,7 +82,7 @@
82 82
             </td>   
83 83
             <td style="text-align:center;width:500px" colspan="14">
84 84
             
85
-              <span style="display:inline-block;margin-left:10px;">
85
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
86 86
                 {{patient.home_address}}
87 87
               </span>
88 88
             </td>   
@@ -132,7 +132,7 @@
132 132
               X线:
133 133
             </td>
134 134
             <td style="text-align:center;width:50px" colspan="3">
135
-              <span style="display:inline-block;margin-left:10px;">
135
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
136 136
                 {{hosDetail.xray}}
137 137
               </span>
138 138
             </td>
@@ -140,7 +140,7 @@
140 140
               CT:
141 141
             </td>
142 142
             <td style="text-align:center;width:50px" colspan="1">
143
-              <span style="display:inline-block;margin-left:10px;">
143
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
144 144
                 {{hosDetail.connecticut}}
145 145
               </span>
146 146
             </td>
@@ -148,7 +148,7 @@
148 148
               MRI:
149 149
             </td>
150 150
              <td style="text-align:center;width:50px" colspan="1">
151
-              <span style="display:inline-block;margin-left:10px;">
151
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
152 152
                 {{hosDetail.nuclear_magnetic_resonance}}
153 153
               </span>
154 154
             </td>
@@ -156,7 +156,7 @@
156 156
               超声:
157 157
             </td>
158 158
              <td style="text-align:center;width:100px" colspan="1">
159
-              <span style="display:inline-block;margin-left:10px;">
159
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
160 160
                 {{hosDetail.ultrasound}}
161 161
               </span>
162 162
             </td>
@@ -164,7 +164,7 @@
164 164
               病理:
165 165
             </td>
166 166
              <td style="text-align:center;width:50px" colspan="1">
167
-              <span style="display:inline-block;margin-left:10px;">
167
+              <span style="display:inline-block;margin-left:10px; word-wrap: break-word;word-break: break-all;">
168 168
                 {{hosDetail.pathology}}
169 169
               </span>
170 170
             </td>
@@ -177,7 +177,7 @@
177 177
               </span>
178 178
             </td>   
179 179
             <td style="text-align:center;" colspan="14">
180
-              <span style="display:block;margin-left:10px;text-align:left;">
180
+              <span style="display:block;margin-left:10px;text-align:left; word-break: break-all;word-wrap: break-word">
181 181
                 <span v-html="hosDetail.admitting_diagnosis"></span>
182 182
               </span>
183 183
             </td>   
@@ -188,7 +188,7 @@
188 188
             </td>
189 189
              <td style="text-align:center;" colspan="14">
190 190
              
191
-              <span style="display:block;margin-left:10px;text-align:left;">
191
+              <span style="display:block;margin-left:10px;text-align:left; word-break: break-all;word-wrap: break-word">
192 192
                <span v-html="hosDetail.discharge_diagnosis"></span>  
193 193
               </span>
194 194
             </td>
@@ -200,7 +200,7 @@
200 200
             </td>
201 201
            <td colspan="14">
202 202
             
203
-              <span style="display:block;margin-left:10px;text-align:left;">
203
+              <span style="display:block;margin-left:10px;text-align:left; word-break: break-all;word-wrap: break-word">
204 204
                  <span v-html="hosDetail.diagnosis_admission"></span>
205 205
               </span>
206 206
             </td>
@@ -213,7 +213,7 @@
213 213
            
214 214
             </td>
215 215
             <td colspan="14">
216
-              <span style="display:block;margin-left:10px;text-align:left;">
216
+              <span style="display:block;margin-left:10px;text-align:left;word-break: break-all;word-wrap: break-word ">
217 217
                <span v-html="hosDetail.treatment"></span> 
218 218
               </span>
219 219
             </td>
@@ -224,9 +224,8 @@
224 224
               出院时病情:
225 225
             </td>
226 226
             <td colspan="14">
227
-            
228
-              <span style="display:block;margin-left:10px;text-align:left;">
229
-               <span v-html="hosDetail.illness_discharge"></span> 
227
+              <span style="display:block;margin-left:10px;text-align:left;word-break: break-all;word-wrap: break-word">
228
+               <span style="word-break: break-all; word-wrap: break-word;" v-html="hosDetail.illness_discharge"></span> 
230 229
               </span>
231 230
             </td>
232 231
           
@@ -237,7 +236,7 @@
237 236
               出院医嘱:
238 237
             </td>
239 238
             <td colspan="14">
240
-              <span style="display:block;margin-left:10px;text-align:left;">
239
+              <span style="display:block;margin-left:10px;text-align:left;word-break: break-all;word-wrap: break-word">
241 240
                 <span v-html="hosDetail.discharge_advice"></span> 
242 241
               </span>
243 242
             </td>

+ 2 - 2
src/xt_pages/user/ktv.vue Voir le fichier

@@ -174,8 +174,8 @@
174 174
                   type="number"
175 175
                   @input='changeInput(item)'
176 176
                 >
177
-                  <template slot="append" v-if="item.item_name == 'URR(%)'"><el-button type="primary" @click="calURR(form.formItem,item.value)">点击计算URR</el-button></template>
178
-                  <template slot="append" v-if="item.item_name == 'KT/V'"><el-button type="primary" @click="calKTV(form.formItem,item.value)">点击计算KT/V</el-button></template>
177
+                  <template slot="append" v-if="item.item_name == 'URR(%)'"><el-button style="background-color: #409eff; color: #000;" type="primary" @click="calURR(form.formItem,item.value)">点击计算URR</el-button></template>
178
+                  <template slot="append" v-if="item.item_name == 'KT/V'"><el-button style="background-color: #409eff; color: #000;" type="primary" @click="calKTV(form.formItem,item.value)">点击计算KT/V</el-button></template>
179 179
                   <template slot="append" v-else>{{ item.unit }}</template>
180 180
 
181 181
                 </el-input>

+ 1 - 1
src/xt_pages/user/physiqueprinting.vue Voir le fichier

@@ -68,7 +68,7 @@
68 68
 
69 69
           </div>
70 70
           <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
71
-          <div>
71
+          <div style="word-break: break-all; word-wrap: break-word;">
72 72
             <div v-html="item.content"></div>
73 73
           </div>
74 74
           <h3 v-if="item.XtPatientPhysiqueCheck.id > 0" style="text-align: center; margin: 30px 0px 10px 0px;">体格检查</h3>

+ 2 - 1
src/xt_pages/user/templateSummaryPrint.vue Voir le fichier

@@ -49,7 +49,8 @@
49 49
       <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;">
50 50
         <span style="font-weight:bold;">阶段小结总结:</span>
51 51
           <!-- {{patientList.template_summary_content}} -->
52
-          <div style="line-height:24px;" v-html="patientList.template_summary_content"></div>
52
+          <div style="line-height:24px; word-break: break-all;word-wrap: break-word" 
53
+          v-html="patientList.template_summary_content"></div>
53 54
       </div>
54 55
      <div style="padding:20px 0;border-bottom:1px solid #000;min-height:250px;">
55 56
         <span style="font-weight:bold;">阶段小结化验结果:</span>