杨青 преди 1 година
родител
ревизия
df599c59ec

+ 58 - 42
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Целия файл

@@ -218,7 +218,7 @@
218 218
         :rules="isCheckmust('跌倒风险预防措施')"
219 219
         v-if="isShow('跌倒风险预防措施')"
220 220
       >
221
-        <!--  prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施')
221
+        <!-- isFalldown prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施') :prop="isName('跌倒风险预防措施')" :rules="isCheckmust('跌倒风险预防措施')"
222 222
            [{required: true, message: '请选择跌倒风险预防措施', trigger: 'change'}]-->
223 223
         <el-checkbox-group v-model="precautionTwo" @change="precautionchange">
224 224
           <el-checkbox
@@ -389,7 +389,7 @@ export default {
389 389
         tumble: "",
390 390
         his_department: "",
391 391
         his_bed: "",
392
-        // precautionTwo: [],
392
+        falldown:[],
393 393
       },
394 394
       precautionTwo: [],
395 395
       arr:[]
@@ -456,39 +456,41 @@ export default {
456 456
     },
457 457
     // 复选框跌倒风险措施
458 458
     precautionchange(){
459
-    //   var arr = [];
460
-      console.log('sadffdasfdg',this.precautionTwo);
461
-      for (let i = 0; i < this.precaution_arr.length; i++) {
462
-        for (let j = 0; j < this.precautionTwo.length; j++) {
463
-          if (this.precaution_arr[i].name == this.precautionTwo[j]) {
464
-            this.arr.push(this.precaution_arr[i].id);
465
-          }
466
-        }
467
-      }
468
-      var obj = this.arr.join(",");
469
-      this.receiveTreatmentAsses.precaution = obj;
470
-    //   if(arr.length>0){
471
-    //     return this.precautionTwo
472
-    //   }
473
-    //   console.log('arr的数据',arr);
474
-    //   console.log('sadffdasfdg',this.precautionTwo.length);
475
-    //   console.log('this.precaution_arr',arr.length);
476
-    },
477
-
478
-    handleComfirm: function (formName) {
479
-      // var arr = [];
480 459
       // for (let i = 0; i < this.precaution_arr.length; i++) {
481 460
       //   for (let j = 0; j < this.precautionTwo.length; j++) {
482 461
       //     if (this.precaution_arr[i].name == this.precautionTwo[j]) {
483 462
       //       this.arr.push(this.precaution_arr[i].id);
484 463
       //     }
485 464
       //   }
486
-      // }
487
-      this.precautionchange()
465
+      // } 
488 466
       // var obj = this.arr.join(",");
489 467
       // this.receiveTreatmentAsses.precaution = obj;
468
+
469
+      // this.receiveTreatmentAsses.falldown=this.precautionTwo
470
+      // if(this.receiveTreatmentAsses.falldown.length<=0){
471
+      //   this.isFalldown('跌倒风险预防措施')
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
+      
477
+    },
478
+
479
+    handleComfirm: function (formName) {
480
+      // var arr = [];
481
+      for (let i = 0; i < this.precaution_arr.length; i++) {
482
+        for (let j = 0; j < this.precautionTwo.length; j++) {
483
+          if (this.precaution_arr[i].name == this.precautionTwo[j]) {
484
+            this.arr.push(this.precaution_arr[i].id);
485
+          }
486
+        }
487
+      } 
488
+      // this.precautionchange()
489
+      var obj = this.arr.join(",");
490
+      this.receiveTreatmentAsses.precaution = obj;
490 491
       let ParamsQuery = this.receiveTreatmentAsses;
491
-      // console.log("ParamsQuery", ParamsQuery);
492
+      
493
+      console.log("ParamsQuery", ParamsQuery);
492 494
       ParamsQuery["patient"] = this.patient.id;
493 495
       ParamsQuery["record_date"] = this.record_date;
494 496
       //console.log(this.receiver_treatment_access);
@@ -551,14 +553,14 @@ export default {
551 553
     isCheckmust(name) {
552 554
       let filedList = store.getters.xt_user.fileds;
553 555
       for (let i = 0; i < filedList.length; i++) {
554
-        // if (
555
-        //   filedList[i].module == 2){console.log(filedList[i],'filedList[i]')}
556
+        
556 557
         if (
557 558
           filedList[i].module == 2 &&
558 559
           filedList[i].filed_name_cn == name &&
559 560
           filedList[i].is_write == 1
560 561
         ) {
561
-          if (name == "风险程度"||name == "病人情况"||name == '心理评估' ) {
562
+          // name == '跌倒风险预防措施' && this.precautionTwo.length<=0
563
+          if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
562 564
             return [
563 565
               { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
564 566
               {
@@ -569,26 +571,35 @@ export default {
569 571
               },
570 572
             ];
571 573
           } 
572
-          // else if(name == '跌倒风险预防措施' && this.precautionTwo.length <= 0){
573
-          //   return [
574
-          //     { type:'array',required: true, message: `请选择${name}`,trigger: ['blur','change'] },
575
-          //     {
576
-          //       required: true,
577
-          //       pattern: /^[1-9]\d*$/,
578
-          //       message: `请选择${name}`,
579
-          //       trigger: ['blur','change']
580
-          //     },
581
-          //   ];
582
-          // }
583 574
           else{
584 575
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
585 576
           }
586 577
           
587 578
         }
588
-
589
-        
590 579
       }
591 580
     },
581
+    // isFalldown(name){
582
+    //   let filedList = store.getters.xt_user.fileds;
583
+    //   for (let i = 0; i < filedList.length; i++) {
584
+    //     if (
585
+    //       filedList[i].module == 2 &&
586
+    //       filedList[i].filed_name_cn == name &&
587
+    //       filedList[i].is_write == 1
588
+    //     ) {
589
+    //       if (name == "跌倒风险预防措施" && this.precautionTwo.length<=0) {
590
+    //         return [
591
+    //           { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
592
+    //           {
593
+    //             required: true,
594
+    //             pattern: /^[1-9]\d*$/,
595
+    //             message: `请选择${name}`,
596
+    //             trigger: ['blur','change']
597
+    //           },
598
+    //         ];
599
+    //       } 
600
+    //     }
601
+    //   }
602
+    // },
592 603
     getPermission() {
593 604
       request
594 605
         .get("/api/func_per/get", {
@@ -658,6 +669,7 @@ export default {
658 669
     },
659 670
   },
660 671
   created() {
672
+    
661 673
     // console.log("接诊评估", this.receiver_treatment_access);
662 674
     var date = this.$route.query && this.$route.query.date;
663 675
     this.record_date = date
@@ -674,7 +686,11 @@ export default {
674 686
     // console.log("风险", this.precaution_arr);
675 687
     this.intake_arr = getDataConfig("hemodialysis", "intake");
676 688
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
689
+    
677 690
   },
691
+  // mounted(){
692
+  //   this.isFalldown()
693
+  // }
678 694
 };
679 695
 </script>
680 696
 

+ 2 - 2
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Целия файл

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

+ 7 - 7
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Целия файл

@@ -458,10 +458,10 @@ export default {
458 458
     this.org_id = this.$store.getters.xt_user.template_info.org_id;
459 459
     this.patient_id = this.$route.query.patient_id;
460 460
     this.schedule_date = this.$route.query.date;
461
-    // this.form.nurse_id =
462
-    //   this.dialysis_order.id == 0
463
-    //     ? this.$store.getters.xt_user.user.id
464
-    //     : this.dialysis_order.start_nurse;
461
+    this.form.nurse_id =
462
+      this.dialysis_order.id == 0
463
+        ? this.$store.getters.xt_user.user.id
464
+        : this.dialysis_order.start_nurse;
465 465
     this.form.puncture_nurse_id =
466 466
       this.dialysis_order.id == 0
467 467
         ? this.$store.getters.xt_user.user.id
@@ -479,9 +479,9 @@ export default {
479 479
       this.form.change_nurse = this.$store.getters.xt_user.user.id;
480 480
     }
481 481
 
482
-    // if (this.form.washpipe_nurse == 0) {
483
-    //   this.form.washpipe_nurse = this.$store.getters.xt_user.user.id;
484
-    // }
482
+    if (this.form.washpipe_nurse == 0) {
483
+      this.form.washpipe_nurse = this.$store.getters.xt_user.user.id;
484
+    }
485 485
     if (this.form.difficult_puncture_nurse == 0) {
486 486
       this.form.difficult_puncture_nurse = this.$store.getters.xt_user.user.id;
487 487
     }

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Целия файл

@@ -3748,7 +3748,7 @@ mu
3748 3748
           filedList[i].is_write == 1&&
3749 3749
           filedList[i].is_show == 1
3750 3750
         ) {
3751
-          console.log(filedList[i],'false')
3751
+          // console.log(filedList[i],'false')
3752 3752
           if (name == "透析模式" || name == "透析时长") {
3753 3753
           return [
3754 3754
             { required: true, message: `请输入${name}`,trigger: ['blur','change'] },

+ 3 - 6
src/xt_pages/dialysis/details/dialog/finish_dialog.vue Целия файл

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

+ 1 - 1
src/xt_pages/user/coursePrint.vue Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

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