Browse Source

5月23日杨青

杨青 2 years ago
parent
commit
827b569e48

+ 122 - 65
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

12
         <el-row :gutter="20">
12
         <el-row :gutter="20">
13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
14
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
14
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
15
-              <!-- <el-input v-model="form.actual_treatment_hour"></el-input> :prop="isName('实际治疗时长')"-->
15
+
16
+              <!-- <el-input v-model="form.actualTreatmentHourShow" @change="hours"></el-input>  :prop="isName('实际治疗时长')" -->
16
               <el-time-picker
17
               <el-time-picker
17
                 v-model="form.actualTreatmentHourShow"
18
                 v-model="form.actualTreatmentHourShow"
18
                 placeholder="透析时长"
19
                 placeholder="透析时长"
98
           </el-col>
99
           </el-col>
99
 
100
 
100
           <el-col :span="8" v-if="isShow('透析过程')">
101
           <el-col :span="8" v-if="isShow('透析过程')">
101
-            <el-form-item label="透析过程: " :prop="isName('透析过程')" :rules="isCheckmust('透析过程')">
102
+            <el-form-item label="透析过程: " :prop="isName('透析过程')" :rules="isCheckmust('透析过程')" placeholder='请选择'>
102
               <el-select v-model="form.dialysis_process">
103
               <el-select v-model="form.dialysis_process">
103
                 <el-option :key="0" label="请选择" :value="0"></el-option>
104
                 <el-option :key="0" label="请选择" :value="0"></el-option>
104
 
105
 
146
           </el-col>
147
           </el-col>
147
 
148
 
148
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
149
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
149
-            <el-form-item label="内瘘管拔针后压迫止血操作: " :prop="isName('内瘘管拔针后压迫止血操作')" :rules="isCheckmust('内瘘管拔针后压迫止血操作')">
150
+            <el-form-item label="内瘘管拔针后压迫止血操作: " :prop="isName('内瘘管拔针后压迫止血操作')" :rules="isCheckmust('内瘘管拔针后压迫止血操作')" placeholder='请选择'>
150
               <el-select v-model="form.hemostasis_opera">
151
               <el-select v-model="form.hemostasis_opera">
151
                 <el-option :key="0" label="请选择" :value="0"></el-option>
152
                 <el-option :key="0" label="请选择" :value="0"></el-option>
152
 
153
 
161
           </el-col>
162
           </el-col>
162
 
163
 
163
           <el-col :span="8" v-if="isShow('动脉管道')">
164
           <el-col :span="8" v-if="isShow('动脉管道')">
164
-            <el-form-item label="动脉管道: " :prop="isName('动脉管道')" :rules="isCheckmust('动脉管道')">
165
+            <el-form-item label="动脉管道: " :prop="isName('动脉管道')" :rules="isCheckmust('动脉管道')" placeholder='请选择'>
165
               <el-select v-model="form.arterial_tube">
166
               <el-select v-model="form.arterial_tube">
166
                 <el-option :key="0" label="请选择" :value="0"></el-option>
167
                 <el-option :key="0" label="请选择" :value="0"></el-option>
167
 
168
 
177
         </el-row>
178
         </el-row>
178
         <el-row :gutter="20">
179
         <el-row :gutter="20">
179
           <el-col :span="8" v-if="isShow('静脉管道')">
180
           <el-col :span="8" v-if="isShow('静脉管道')">
180
-            <el-form-item label="静脉管道: " :prop="isName('静脉管道')" :rules="isCheckmust('静脉管道')">
181
+            <el-form-item label="静脉管道: " :prop="isName('静脉管道')" :rules="isCheckmust('静脉管道')" placeholder='请选择'>
181
               <el-select v-model="form.intravenous_tube">
182
               <el-select v-model="form.intravenous_tube">
182
                 <el-option :key="0" label="请选择" :value="0"></el-option>
183
                 <el-option :key="0" label="请选择" :value="0"></el-option>
183
 
184
 
212
           </el-col>
213
           </el-col>
213
 
214
 
214
           <el-col :span="8" v-if="isShow('患者去向')">
215
           <el-col :span="8" v-if="isShow('患者去向')">
215
-            <el-form-item label="患者去向: " :prop="isName('患者去向')" :rules="isCheckmust('患者去向')">
216
-              <el-select v-model="form.patient_gose">
216
+            <el-form-item label="患者去向: " :prop="isName('患者去向')" :rules="isCheckmust('患者去向')" >
217
+              <el-select v-model="form.patient_gose" placeholder='请选择'>
217
                 <el-option :key="0" label="请选择" :value="0"></el-option>
218
                 <el-option :key="0" label="请选择" :value="0"></el-option>
218
                 <el-option
219
                 <el-option
219
                   v-for="item in patientGoseOptions"
220
                   v-for="item in patientGoseOptions"
255
           "
256
           "
256
         >
257
         >
257
           <el-col :span="24">
258
           <el-col :span="24">
258
-            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')">
259
+            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')" >
259
               <el-input
260
               <el-input
260
                 placeholder="交待病房护士/患者/陪人观察内容"
261
                 placeholder="交待病房护士/患者/陪人观察内容"
261
                 v-model="form.observation_content"
262
                 v-model="form.observation_content"
271
           :gutter="20"
272
           :gutter="20"
272
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
273
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
273
         >
274
         >
275
+        <!--   :prop="isName('其他观察内容')"-->
274
           <el-col :span="24">
276
           <el-col :span="24">
275
-            <el-form-item label="其他观察内容: " :prop="isName('其他观察内容')" :rules="isCheckmust('其他观察内容')">
277
+            <el-form-item label="其他观察内容: "  prop="observation_content_other" :rules="isOther('其他观察内容')">
276
               <el-input
278
               <el-input
277
                 v-model="form.observation_content_other"
279
                 v-model="form.observation_content_other"
278
                 :rows="5"
280
                 :rows="5"
281
+                @change="others"
279
               ></el-input>
282
               ></el-input>
280
             </el-form-item>
283
             </el-form-item>
281
           </el-col>
284
           </el-col>
353
         </el-col>
356
         </el-col>
354
 
357
 
355
         <el-col :span="8" v-if="isShow('透析中入量单位')">
358
         <el-col :span="8" v-if="isShow('透析中入量单位')">
356
-          <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')">
357
-            <el-select v-model="form.dialysis_intakes_unit">
359
+          <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')" >
360
+            <el-select v-model="form.dialysis_intakes_unit" placeholder='请选择'>
358
               <el-option :key="0" label="请选择" :value="0"></el-option>
361
               <el-option :key="0" label="请选择" :value="0"></el-option>
359
               <el-option
362
               <el-option
360
                 v-for="item in unit"
363
                 v-for="item in unit"
394
         </el-col>
397
         </el-col>
395
 
398
 
396
         <el-col :span="8" v-if="isShow('血流量')">
399
         <el-col :span="8" v-if="isShow('血流量')">
397
-          <el-form-item label="血流量: " :prop="isName('血流量')" :rules="isCheckmust('血流量')">
398
-            <el-select v-model="form.blood_flow">
400
+          <el-form-item label="血流量: " :prop="isName('血流量')" :rules="isCheckmust('血流量')" >
401
+            <el-select v-model="form.blood_flow" placeholder='请选择'>
399
               <el-option :key="0" label="请选择" :value="0"></el-option>
402
               <el-option :key="0" label="请选择" :value="0"></el-option>
400
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
403
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
401
             </el-select>
404
             </el-select>
437
 
440
 
438
 
441
 
439
         <el-col :span="8" v-if="isShow('失衡综合症')">
442
         <el-col :span="8" v-if="isShow('失衡综合症')">
440
-          <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')">
441
-            <el-select v-model="form.disequilibrium_syndrome">
443
+          <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')" >
444
+            <el-select v-model="form.disequilibrium_syndrome" placeholder='请选择'>
442
               <el-option :key="0" label="请选择" :value="0"></el-option>
445
               <el-option :key="0" label="请选择" :value="0"></el-option>
443
 
446
 
444
               <el-option
447
               <el-option
473
         </el-col>
476
         </el-col>
474
 
477
 
475
         <el-col :span="8" v-if="isShow('管路')">
478
         <el-col :span="8" v-if="isShow('管路')">
476
-          <el-form-item label="管路: " :prop="isName('管路')" :rules="isCheckmust('管路')">
477
-            <el-select v-model="form.channel">
479
+          <el-form-item label="管路: " :prop="isName('管路')" :rules="isCheckmust('管路')" >
480
+            <el-select v-model="form.channel" placeholder='请选择'>
478
               <el-option :key="0" label="请选择" :value="0"></el-option>
481
               <el-option :key="0" label="请选择" :value="0"></el-option>
479
               <el-option
482
               <el-option
480
                 v-for="item in channels"
483
                 v-for="item in channels"
505
             </el-form-item>
508
             </el-form-item>
506
         </el-col>
509
         </el-col>
507
         <el-col :span="8" v-if="isShow('透析相关高血压')">
510
         <el-col :span="8" v-if="isShow('透析相关高血压')">
508
-            <el-form-item label="透析相关高血压:" :prop="isName('透析相关高血压')" :rules="isCheckmust('透析相关高血压')">
511
+            <el-form-item label="透析相关高血压:" :prop="isName('透析相关高血压')" :rules="isCheckmust('透析相关高血压')" >
509
 
512
 
510
-             <el-select v-model="form.hypertenison">
513
+             <el-select v-model="form.hypertenison" placeholder='请选择' >
511
               <el-option :key="0" label="请选择" :value="0"></el-option>
514
               <el-option :key="0" label="请选择" :value="0"></el-option>
512
               <el-option
515
               <el-option
513
                 v-for="item in option"
516
                 v-for="item in option"
514
                 :label="item.name"
517
                 :label="item.name"
515
                 :value="item.id"
518
                 :value="item.id"
516
                 :key="item.id"
519
                 :key="item.id"
517
-              ></el-option>
520
+              >{{ item.name }}</el-option>
518
             </el-select>
521
             </el-select>
519
             </el-form-item>
522
             </el-form-item>
520
         </el-col>
523
         </el-col>
521
 
524
 
522
          <el-col :span="8" v-if="isShow('透析相关低血压')">
525
          <el-col :span="8" v-if="isShow('透析相关低血压')">
523
-            <el-form-item label="透析相关低血压" :prop="isName('透析相关低血压')" :rules="isCheckmust('透析相关低血压')">
524
-             <el-select v-model="form.hypopiesia">
526
+            <el-form-item label="透析相关低血压" :prop="isName('透析相关低血压')" :rules="isCheckmust('透析相关低血压')" >
527
+             <el-select v-model="form.hypopiesia" placeholder='请选择'>
528
+              <el-option :key="0" label="请选择" :value="0"></el-option>
525
               <el-option
529
               <el-option
526
                 v-for="item in optionOne"
530
                 v-for="item in optionOne"
527
                 :label="item.name"
531
                 :label="item.name"
532
             </el-form-item>
536
             </el-form-item>
533
         </el-col>
537
         </el-col>
534
         <el-col :span="8" v-if="isShow('离科方式')">
538
         <el-col :span="8" v-if="isShow('离科方式')">
535
-            <el-form-item label="离科方式" :prop="isName('离科方式')" :rules="isCheckmust('离科方式')">
536
-               <el-select v-model="form.leave_office_method">
539
+            <el-form-item label="离科方式" :prop="isName('离科方式')" :rules="isCheckmust('离科方式')" >
540
+               <el-select v-model="form.leave_office_method" placeholder='请选择'>
541
+                <el-option :key="0" label="请选择" :value="0"></el-option>
537
                 <el-option
542
                 <el-option
538
                   v-for="item in leaveOfficeMethod"
543
                   v-for="item in leaveOfficeMethod"
539
                   :label="item.name"
544
                   :label="item.name"
544
             </el-form-item>
549
             </el-form-item>
545
         </el-col>
550
         </el-col>
546
          <el-col :span="8" v-if="isShow('转归')">
551
          <el-col :span="8" v-if="isShow('转归')">
547
-            <el-form-item label="转归" :prop="isName('转归')" :rules="isCheckmust('转归')">
548
-             <el-select v-model="form.lapse">
552
+            <el-form-item label="转归" :prop="isName('转归')" :rules="isCheckmust('转归')" >
553
+             <el-select v-model="form.lapse" placeholder='请选择'>
554
+              <el-option :key="0" label="请选择" :value="0"></el-option>
549
               <el-option
555
               <el-option
550
                 v-for="item in lapseList"
556
                 v-for="item in lapseList"
551
                 :label="item.name"
557
                 :label="item.name"
557
         </el-col>
563
         </el-col>
558
         <el-col :span="8" v-if="isShow('意识')">
564
         <el-col :span="8" v-if="isShow('意识')">
559
             <el-form-item label="意识" :prop="isName('意识')" :rules="isCheckmust('意识')">
565
             <el-form-item label="意识" :prop="isName('意识')" :rules="isCheckmust('意识')">
560
-             <el-select v-model="form.consciousness">
566
+             <el-select v-model="form.consciousness "    > 
567
+             <!-- v-if="form.consciousness ==' ' ? placeholder='请选择': form.consciousness " -->
568
+             <el-option label="请选择" :value="0"></el-option>
561
               <el-option
569
               <el-option
562
                 v-for="item in consciousnessList"
570
                 v-for="item in consciousnessList"
563
                 :label="item.name"
571
                 :label="item.name"
564
-                :value="item.id"
572
+                :value="item.id "
565
                 :key="item.id"
573
                 :key="item.id"
566
               ></el-option>
574
               ></el-option>
567
              </el-select>
575
              </el-select>
576
+             
568
             </el-form-item>
577
             </el-form-item>
569
         </el-col>
578
         </el-col>
570
         <el-col :span="8" v-if="isShow('跌倒风险')">
579
         <el-col :span="8" v-if="isShow('跌倒风险')">
571
-            <el-form-item label="跌倒风险" :prop="isName('跌倒风险')" :rules="isCheckmust('跌倒风险')">
572
-             <el-select v-model="form.fallrisk">
580
+            <el-form-item label="跌倒风险" :prop="isName('跌倒风险')" :rules="isCheckmust('跌倒风险')" >
581
+             <el-select v-model="form.fallrisk" placeholder='请选择'>
582
+              <el-option label="请选择" :value="0"></el-option>
573
               <el-option
583
               <el-option
574
                 v-for="item in fallriskList"
584
                 v-for="item in fallriskList"
575
                 :label="item.name"
585
                 :label="item.name"
581
         </el-col>
591
         </el-col>
582
 
592
 
583
       <el-col :span="8" v-if="isShow('机器运行')">
593
       <el-col :span="8" v-if="isShow('机器运行')">
584
-            <el-form-item label="机器运行: " :prop="isName('机器运行')" :rules="isCheckmust('机器运行')">
585
-              <el-select v-model="form.machine_run">
594
+            <el-form-item label="机器运行: " :prop="isName('机器运行')" :rules="isCheckmust('机器运行')" >
595
+              <el-select v-model="form.machine_run" placeholder='请选择'>
586
                 <el-option :key="0" label="请选择" :value="0"></el-option>
596
                 <el-option :key="0" label="请选择" :value="0"></el-option>
587
 
597
 
588
                 <el-option
598
                 <el-option
592
                   :key="item.value"
602
                   :key="item.value"
593
                 ></el-option>
603
                 ></el-option>
594
               </el-select>
604
               </el-select>
605
+              
595
             </el-form-item>
606
             </el-form-item>
596
        </el-col>
607
        </el-col>
597
 
608
 
750
         catheter: '',
761
         catheter: '',
751
         complication: '',
762
         complication: '',
752
         puncture_point_oozing_blood: 2,
763
         puncture_point_oozing_blood: 2,
753
-        puncture_point_haematoma: 2,
764
+        puncture_point_haematoma: '',
754
         internal_fistula_tremor_ac: '',
765
         internal_fistula_tremor_ac: '',
755
         patient_gose: '',
766
         patient_gose: '',
756
         inpatient_department: '',
767
         inpatient_department: '',
766
         hemostasis_minute: '',
777
         hemostasis_minute: '',
767
         hemostasis_opera: '',
778
         hemostasis_opera: '',
768
         tremor_noise: '',
779
         tremor_noise: '',
769
-        disequilibrium_syndrome: '',
780
+        disequilibrium_syndrome: 0,
770
         disequilibrium_syndrome_option: '',
781
         disequilibrium_syndrome_option: '',
771
         arterial_tube: '',
782
         arterial_tube: '',
772
         intravenous_tube: '',
783
         intravenous_tube: '',
775
         dialysis_intakes_unit: 0,
786
         dialysis_intakes_unit: 0,
776
         cvc_a: 0,
787
         cvc_a: 0,
777
         cvc_v: 0,
788
         cvc_v: 0,
778
-        channel: '',
789
+        channel: 0,
779
         return_blood: '',
790
         return_blood: '',
780
         rehydration_volume: '',
791
         rehydration_volume: '',
781
         dialysis_during: '',
792
         dialysis_during: '',
782
         stroke_volume: '',
793
         stroke_volume: '',
783
-        blood_flow: '',
794
+        blood_flow: 0,
784
         sealing_fluid_dispose: '',
795
         sealing_fluid_dispose: '',
785
         sealing_fluid_special: '',
796
         sealing_fluid_special: '',
786
         dosage_of_anticoagulants:'',
797
         dosage_of_anticoagulants:'',
792
         other_complication:'',
803
         other_complication:'',
793
         ktv:"",
804
         ktv:"",
794
         urr:"",
805
         urr:"",
795
-        hypertenison:"",
796
-        hypopiesia:"",
797
-        leave_office_method:"",
798
-        lapse:"",
799
-        consciousness:"",
800
-        fallrisk:"",
801
-        machine_run:"",
806
+        hypertenison:0,
807
+        hypopiesia:0,
808
+        leave_office_method:0,
809
+        lapse:0,
810
+        consciousness:0,
811
+        fallrisk:0,
812
+        machine_run:0,
802
         after_urea:"",
813
         after_urea:"",
803
         accumulated_blood_volume:"",
814
         accumulated_blood_volume:"",
804
       },
815
       },
807
       consciousnessList:[],
818
       consciousnessList:[],
808
       fallriskList:[],
819
       fallriskList:[],
809
       machineList:[],
820
       machineList:[],
821
+      
810
     }
822
     }
811
   },
823
   },
812
   watch: {
824
   watch: {
894
         if (this.assessment_after_dislysis['sealing_fluid_dispose'] == 0) {
906
         if (this.assessment_after_dislysis['sealing_fluid_dispose'] == 0) {
895
           this.form['sealing_fluid_dispose'] = ''
907
           this.form['sealing_fluid_dispose'] = ''
896
         }
908
         }
909
+        // if (this.assessment_after_dislysis['actualTreatmentHourShow'] == 0) {
910
+        //   this.form['actualTreatmentHourShow'] = ''
911
+        // }
897
         this.form.actualTreatmentHourShow = new Date(
912
         this.form.actualTreatmentHourShow = new Date(
898
           2018,
913
           2018,
899
           1,
914
           1,
936
         if (
951
         if (
937
           filedList[i].module == 5 &&
952
           filedList[i].module == 5 &&
938
           filedList[i].filed_name_cn == name &&
953
           filedList[i].filed_name_cn == name &&
939
-          filedList[i].is_write == 1&&
954
+          filedList[i].is_write == 1 &&
940
           filedList[i].is_show == 1
955
           filedList[i].is_show == 1
941
         ) {
956
         ) {
942
-          console.log(filedList[i],'false')
943
-          // if(name == "实际治疗时长"){
944
-          //   return [
945
-          //     { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
946
-          //     {
947
-          //       required: true,
948
-          //       pattern: /^[1-9]\d*$/,
949
-          //       message: `请选择${name}`,
950
-          //       trigger: ['change']
951
-          //     },
952
-          //   ];
953
-          // }
954
-        
957
+          
958
+          if(name == "穿刺处血肿" || name == '拔针后穿刺点渗血' || name == '透析期间进食' ){
959
+            return [
960
+              { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
961
+              {
962
+                required: true,
963
+                pattern: /^[1-9]\d*$/,
964
+                message: `请选择${name}`,
965
+                trigger: ['change']
966
+              },
967
+            ];
968
+          }
969
+            
955
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
970
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
956
           
971
           
957
         }
972
         }
958
       }
973
       }
959
     },
974
     },
975
+    others(){
976
+      // console.log('asdfasfd',this.form.observation_content_other.length);
977
+      if(this.form.observation_content_other.length>0){
978
+        this.$refs.form.clearValidate('observation_content_other');
979
+      }
980
+    },
981
+    // hours(){
982
+    //   if(this.form.actualTreatmentHourShow.length>0){
983
+    //     this.$refs.form.clearValidate('actualTreatmentHourShow');
984
+    //   }
985
+    // },
986
+    isOther(name){
987
+      if(this.form.patient_gose == 3){
988
+        let filedList = store.getters.xt_user.fileds;
989
+
990
+        for (let i = 0; i < filedList.length; i++) {
991
+          if (
992
+            filedList[i].module == 5 &&
993
+            filedList[i].filed_name_cn == name &&
994
+            filedList[i].is_write == 1 &&
995
+            filedList[i].is_show == 1
996
+          ) {
997
+            
998
+            // if(name == "其他观察内容"){
999
+            //   return [
1000
+            //     { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
1001
+            //     {
1002
+            //       required: true,
1003
+            //       pattern: /^[1-9]\d*$/,
1004
+            //       message: `请输入${name}`,
1005
+            //       trigger: ['change']
1006
+            //     },
1007
+            //   ];
1008
+            // }
1009
+            return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
1010
+            
1011
+          }
1012
+        }
1013
+      }
1014
+    },
960
     isShow(name) {
1015
     isShow(name) {
961
       var filedList = store.getters.xt_user.fileds
1016
       var filedList = store.getters.xt_user.fileds
962
 
1017
 
971
       }
1026
       }
972
       return false
1027
       return false
973
     },
1028
     },
1029
+   
974
     submitForm(formName) {
1030
     submitForm(formName) {
975
       this.$refs[formName].validate((valid)=>{
1031
       this.$refs[formName].validate((valid)=>{
976
         if(valid){
1032
         if(valid){
1026
           data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
1082
           data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
1027
           data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
1083
           data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
1028
           data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
1084
           data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
1029
-          data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
1085
+          data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : ' '
1030
           data['inpatient_department'] = this.form.inpatient_department
1086
           data['inpatient_department'] = this.form.inpatient_department
1031
           data['observation_content'] = this.form.observation_content
1087
           data['observation_content'] = this.form.observation_content
1032
           data['observation_content_other'] = this.form.observation_content_other
1088
           data['observation_content_other'] = this.form.observation_content_other
1238
     // 数据开始
1294
     // 数据开始
1239
     show(predialysis,last_after) {
1295
     show(predialysis,last_after) {
1240
       console.log("透后体重2332233223wo",predialysis)
1296
       console.log("透后体重2332233223wo",predialysis)
1297
+      // console.log('asdfadsfdasf',this.form.consciousness);
1241
       this.isVisibility = true
1298
       this.isVisibility = true
1242
       this.predialysis = predialysis
1299
       this.predialysis = predialysis
1243
       this.form.observation_content = predialysis.observation_content
1300
       this.form.observation_content = predialysis.observation_content
1244
       this.form.inpatient_department = predialysis.inpatient_department
1301
       this.form.inpatient_department = predialysis.inpatient_department
1245
       this.form.observation_content_other = predialysis.observation_content_other
1302
       this.form.observation_content_other = predialysis.observation_content_other
1303
+      // 5.15
1246
       if(predialysis.id > 0){
1304
       if(predialysis.id > 0){
1247
         this.form.hypertenison = predialysis.hypertenison.toString()
1305
         this.form.hypertenison = predialysis.hypertenison.toString()
1248
       }
1306
       }
1255
       if(predialysis.id > 0){
1313
       if(predialysis.id > 0){
1256
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1314
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1257
       }
1315
       }
1258
-
1316
+        // 5.15
1259
       //针对长沙南雅 ,透后体重 - 目标超滤量
1317
       //针对长沙南雅 ,透后体重 - 目标超滤量
1260
       // if(predialysis.id > 0){
1318
       // if(predialysis.id > 0){
1261
       //  if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1319
       //  if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1286
             }
1344
             }
1287
           }
1345
           }
1288
         }
1346
         }
1347
+        // 5.15
1289
         if(last_after.id > 0){
1348
         if(last_after.id > 0){
1290
          this.form.hypertenison = last_after.hypertenison.toString()
1349
          this.form.hypertenison = last_after.hypertenison.toString()
1291
         }
1350
         }
1292
         if(last_after.id > 0){
1351
         if(last_after.id > 0){
1293
           this.form.hypopiesia = last_after.hypopiesia.toString()
1352
           this.form.hypopiesia = last_after.hypopiesia.toString()
1294
         }
1353
         }
1354
+          // 5.15
1295
         //针对长沙南雅 ,透后体重 - 目标超滤量
1355
         //针对长沙南雅 ,透后体重 - 目标超滤量
1296
         // if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1356
         // if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1297
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1357
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1301
         // }
1361
         // }
1302
       }
1362
       }
1303
 
1363
 
1304
-
1305
-
1306
-
1307
       this.getPermission()
1364
       this.getPermission()
1308
 
1365
 
1309
 
1366
 
1336
           }
1393
           }
1337
         })
1394
         })
1338
         .then(res => {
1395
         .then(res => {
1339
-          console.log(res)
1396
+          // console.log(res)
1340
           // console.log("透后", this.predialysis);
1397
           // console.log("透后", this.predialysis);
1341
           if (res.data.state == 0) {
1398
           if (res.data.state == 0) {
1342
             this.hasPermission = false
1399
             this.hasPermission = false
1372
     }
1429
     }
1373
   },
1430
   },
1374
   created() {
1431
   created() {
1375
-    // console.log("this.form", this.form);
1432
+    // console.log("this.form", this.form.consciousness);
1376
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1433
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1377
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')
1434
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')
1378
     this.symptomsOptions = getDataConfig('hemodialysis', 'symptoms')
1435
     this.symptomsOptions = getDataConfig('hemodialysis', 'symptoms')
1388
     this.consciousnessList = getDataConfig("hemodialysis","consciousness")
1445
     this.consciousnessList = getDataConfig("hemodialysis","consciousness")
1389
     this.fallriskList = getDataConfig("hemodialysis","fallrisk")
1446
     this.fallriskList = getDataConfig("hemodialysis","fallrisk")
1390
      this.machineList = getDataConfig("hemodialysis","machine_run")
1447
      this.machineList = getDataConfig("hemodialysis","machine_run")
1391
-     console.log("机器运行",this.machineList)
1448
+     
1392
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1449
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1393
     this.patientGoseOptions = this.$store.getters.patient_gose
1450
     this.patientGoseOptions = this.$store.getters.patient_gose
1394
     this.observationContentOptions = this.$store.getters.observation_content
1451
     this.observationContentOptions = this.$store.getters.observation_content

+ 60 - 59
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

211
  
211
  
212
       </el-form-item>
212
       </el-form-item>
213
 
213
 
214
-      <el-form-item
215
-        label-width="150px"
216
-        label="跌倒风险预防措施: "
217
-        :prop="isName('跌倒风险预防措施')"
218
-        :rules="isCheckmust('跌倒风险预防措施')"
219
-        v-if="isShow('跌倒风险预防措施')"
220
-      >
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">
224
-          <el-checkbox
225
-            v-for="item in precaution_arr"
226
-            :label="item.name"
227
-            :key="item.id"
228
-            >{{ item.name }}</el-checkbox
229
-          >
230
-        </el-checkbox-group>
231
-      </el-form-item>
232
-
214
+      <div style="position: relative;">
215
+        <span v-if="isrequired" style="color: red;position: absolute;top: 10px;">*</span>
216
+        <el-form-item
217
+          label-width="138px"
218
+          label="跌倒风险预防措施: "
219
+          prop="precautionTwo"
220
+          :rules="isCheckmust('跌倒风险预防措施')"
221
+          v-if="isShow('跌倒风险预防措施')"
222
+          style="display: inline-block;"
223
+        >
224
+          <!--v-if="isShow('跌倒风险预防措施')" isFalldown prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施')
225
+            :prop="isName('跌倒风险预防措施')" :rules="isCheckmust('跌倒风险预防措施')"
226
+            [{required: true, message: '请选择跌倒风险预防措施', trigger: 'change'}]-->
227
+            
228
+          <el-checkbox-group v-model="precautionTwo" @change="precautionchange" >
229
+            <el-checkbox
230
+              v-for="item in precaution_arr"
231
+              :label="item.name"
232
+              :key="item.id"
233
+              >{{ item.name }}</el-checkbox
234
+            >
235
+          </el-checkbox-group>
236
+        </el-form-item>
237
+      </div>
233
       <el-form-item
238
       <el-form-item
234
         label-width="200px"
239
         label-width="200px"
235
         label="其他跌倒风险预防措施 : "
240
         label="其他跌倒风险预防措施 : "
355
   name: "acceptsTreatmentDialog",
360
   name: "acceptsTreatmentDialog",
356
   data() {
361
   data() {
357
     return {
362
     return {
363
+      isrequired:false,
358
       showTxt: "",
364
       showTxt: "",
359
       hasPermission: true,
365
       hasPermission: true,
360
       isVisibility: false,
366
       isVisibility: false,
456
     },
462
     },
457
     // 复选框跌倒风险措施
463
     // 复选框跌倒风险措施
458
     precautionchange(){
464
     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
465
+     
470
       if(this.precautionTwo.length>0){
466
       if(this.precautionTwo.length>0){
471
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
467
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
472
       }
468
       }
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
     },
469
     },
479
 
470
 
480
     handleComfirm: function (formName) {
471
     handleComfirm: function (formName) {
560
           filedList[i].filed_name_cn == name &&
551
           filedList[i].filed_name_cn == name &&
561
           filedList[i].is_write == 1
552
           filedList[i].is_write == 1
562
         ) {
553
         ) {
563
-          // name == '跌倒风险预防措施' && this.precautionTwo.length<=0
554
+          // name == '跌倒风险预防措施' && filedList[i].is_write == 1
564
           if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
555
           if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
565
             return [
556
             return [
566
               { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
557
               { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
572
               },
563
               },
573
             ];
564
             ];
574
           } 
565
           } 
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
-          // }
566
+          else if(name == "跌倒风险预防措施"){
567
+            if(this.precautionTwo.length<=0){
568
+              this.isrequired=false
569
+              return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
570
+              
571
+            }
572
+            this.precautionchange()
573
+            this.isrequired=true
574
+            // return [{ required: true, message: '',trigger: ['blur','change'] }];
575
+          }else{
586
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
576
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
577
+            
578
+          }
579
+          
587
         }
580
         }
588
       }
581
       }
589
     },
582
     },
592
     //   for (let i = 0; i < filedList.length; i++) {
585
     //   for (let i = 0; i < filedList.length; i++) {
593
     //     if (
586
     //     if (
594
     //       filedList[i].module == 2 &&
587
     //       filedList[i].module == 2 &&
595
-    //       filedList[i].filed_name_cn == name &&
596
-    //       filedList[i].is_write == 1
588
+    //       filedList[i].filed_name_cn == name 
589
+          
597
     //     ) {
590
     //     ) {
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
-    //         ];
591
+    //       // &&filedList[i].is_write == 1
592
+    //       if (name == "跌倒风险预防措施") {
593
+    //         if(this.precautionTwo.length<=0){
594
+    //             return [
595
+    //             { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
596
+    //             {
597
+    //               required: true,
598
+    //               pattern: /^[1-9]\d*$/,
599
+    //               message: `请选择${name}`,
600
+    //               trigger: ['blur','change']
601
+    //             },
602
+    //           ];
603
+    //         }
604
+    //         this.precautionchange()
605
+    //         return[{ required: true, message: '',trigger: ['blur','change'] }]
606
+    //         // this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
607
+             
608
     //       } 
608
     //       } 
609
+          
609
     //     }
610
     //     }
610
     //   }
611
     //   }
611
     // },
612
     // },

+ 10 - 50
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

39
 
39
 
40
           <el-col :span="8">
40
           <el-col :span="8">
41
             <el-form-item label="干体重(kg):"
41
             <el-form-item label="干体重(kg):"
42
-             :prop="isName('干体重')"
42
+              :prop="isName('干体重')"
43
               :rules="isCheckmust('干体重')"
43
               :rules="isCheckmust('干体重')"
44
                           v-if="isShow('干体重')">
44
                           v-if="isShow('干体重')">
45
+                          <!--  -->
45
               <el-input type="number" v-model="assessmentBeforeDislysis.dry_weight" readonly
46
               <el-input type="number" v-model="assessmentBeforeDislysis.dry_weight" readonly
46
                         @focus="showDryWeightDialog"></el-input>
47
                         @focus="showDryWeightDialog"></el-input>
47
             </el-form-item>
48
             </el-form-item>
99
             </el-form-item>
100
             </el-form-item>
100
           </el-col>
101
           </el-col>
101
 
102
 
102
-
103
           <el-col :span="8">
103
           <el-col :span="8">
104
             <el-form-item label="体温(℃):" :prop="isName('体温')"
104
             <el-form-item label="体温(℃):" :prop="isName('体温')"
105
               :rules="isCheckmust('体温')" v-if="isShow('体温')">
105
               :rules="isCheckmust('体温')" v-if="isShow('体温')">
184
             </el-form-item>
184
             </el-form-item>
185
           </el-col>
185
           </el-col>
186
 
186
 
187
-
188
           <el-col :span="8">
187
           <el-col :span="8">
189
             <el-form-item label="内瘘: " :prop="isName('内瘘')"
188
             <el-form-item label="内瘘: " :prop="isName('内瘘')"
190
               :rules="isCheckmust('内瘘')" v-if="isShow('内瘘')">
189
               :rules="isCheckmust('内瘘')" v-if="isShow('内瘘')">
193
             </el-form-item>
192
             </el-form-item>
194
           </el-col>
193
           </el-col>
195
 
194
 
196
-
197
-
198
-
199
-
200
-
201
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('其他出血情况')">
195
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('其他出血情况')">
202
-            <el-form-item label="其他出血情况: " :prop="isName('其他出血情况')"
196
+            <el-form-item label="其他出血情况: " prop="hemorrhage_other"
203
               :rules="isCheckmust('其他出血情况')">
197
               :rules="isCheckmust('其他出血情况')">
198
+              <!-- :prop="isName('其他出血情况')" -->
204
               <el-input v-model="assessmentBeforeDislysis.hemorrhage_other"></el-input>
199
               <el-input v-model="assessmentBeforeDislysis.hemorrhage_other"></el-input>
205
             </el-form-item>
200
             </el-form-item>
206
           </el-col>
201
           </el-col>
225
             </el-form-item>
220
             </el-form-item>
226
           </el-col>
221
           </el-col>
227
 
222
 
228
-          <!-- </el-row>
229
-
230
-          <el-row :gutter="20"> -->
231
-
232
-
233
           <el-col :span="8">
223
           <el-col :span="8">
234
             <el-form-item label="血管通路皮肤情况: " :prop="isName('血管通路皮肤情况')"
224
             <el-form-item label="血管通路皮肤情况: " :prop="isName('血管通路皮肤情况')"
235
               :rules="isCheckmust('血管通路皮肤情况')" v-if="isShow('血管通路皮肤情况')">
225
               :rules="isCheckmust('血管通路皮肤情况')" v-if="isShow('血管通路皮肤情况')">
269
             </el-form-item>
259
             </el-form-item>
270
           </el-col>
260
           </el-col>
271
 
261
 
272
-
273
-
274
           <!--<el-col :span="8">-->
262
           <!--<el-col :span="8">-->
275
           <!--<el-form-item label="附加物重(kg): ">-->
263
           <!--<el-form-item label="附加物重(kg): ">-->
276
           <!--<el-input type="number" v-model="assessmentBeforeDislysis.additional_weight"></el-input>-->
264
           <!--<el-input type="number" v-model="assessmentBeforeDislysis.additional_weight"></el-input>-->
279
 
267
 
280
           <!-- </el-row>
268
           <!-- </el-row>
281
 
269
 
282
-
283
           <el-row :gutter="20"> -->
270
           <el-row :gutter="20"> -->
284
           <el-col :span="8">
271
           <el-col :span="8">
285
             <el-form-item label="导管打折: " :prop="isName('导管打折')"
272
             <el-form-item label="导管打折: " :prop="isName('导管打折')"
302
             </el-form-item>
289
             </el-form-item>
303
           </el-col>
290
           </el-col>
304
 
291
 
305
-
306
-
307
           <!-- </el-row>
292
           <!-- </el-row>
308
-
309
-
310
           <el-row :gutter="20"> -->
293
           <el-row :gutter="20"> -->
311
 
294
 
312
           <el-col :span="8">
295
           <el-col :span="8">
349
           </el-col>
332
           </el-col>
350
 
333
 
351
 
334
 
352
-
353
           <el-col :span="8">
335
           <el-col :span="8">
354
             <el-form-item label="出血: " :prop="isName('出血')"
336
             <el-form-item label="出血: " :prop="isName('出血')"
355
               :rules="isCheckmust('出血')" v-if="isShow('出血')">
337
               :rules="isCheckmust('出血')" v-if="isShow('出血')">
361
             </el-form-item>
343
             </el-form-item>
362
           </el-col>
344
           </el-col>
363
 
345
 
364
-
365
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('出血选项')">
346
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('出血选项')">
366
             <el-form-item label="出血选项: " :prop="isName('出血选项')"
347
             <el-form-item label="出血选项: " :prop="isName('出血选项')"
367
               :rules="isCheckmust('出血选项')">
348
               :rules="isCheckmust('出血选项')">
371
             </el-form-item>
352
             </el-form-item>
372
           </el-col>
353
           </el-col>
373
 
354
 
374
-
375
-
376
            <el-col :span="8">
355
            <el-col :span="8">
377
             <el-form-item label="血栓:" :prop="isName('血栓')"
356
             <el-form-item label="血栓:" :prop="isName('血栓')"
378
               :rules="isCheckmust('血栓')" v-if="isShow('血栓')">
357
               :rules="isCheckmust('血栓')" v-if="isShow('血栓')">
386
           
365
           
387
           <el-col :span="8">
366
           <el-col :span="8">
388
             <el-form-item label="导管AV端约为(cm):" :prop="isName('导管AV端各约')"
367
             <el-form-item label="导管AV端约为(cm):" :prop="isName('导管AV端各约')"
389
-              :rules="isCheckmust('导管AV端各约')" v-show="thrombuShow" label-width="200px">
368
+              :rules="isCheckmust('导管AV端各约')" v-show="thrombuShow" label-width="150px">
390
               <el-input v-model="assessmentBeforeDislysis.thrombus_av" style="width:150px"></el-input>
369
               <el-input v-model="assessmentBeforeDislysis.thrombus_av" style="width:150px"></el-input>
391
             </el-form-item>
370
             </el-form-item>
392
           </el-col>
371
           </el-col>
421
             </el-form-item>
400
             </el-form-item>
422
           </el-col>
401
           </el-col>
423
 
402
 
424
-
425
           <el-col :span="8">
403
           <el-col :span="8">
426
             <el-form-item label="并发症: " :prop="isName('并发症')"
404
             <el-form-item label="并发症: " :prop="isName('并发症')"
427
               :rules="isCheckmust('并发症')" v-if="isShow('并发症')">
405
               :rules="isCheckmust('并发症')" v-if="isShow('并发症')">
438
             </el-form-item>
416
             </el-form-item>
439
           </el-col>
417
           </el-col>
440
 
418
 
441
-
442
           <el-col :span="8">
419
           <el-col :span="8">
443
             <el-form-item label="前次透析后症状:" :prop="isName('前次透析后症状')"
420
             <el-form-item label="前次透析后症状:" :prop="isName('前次透析后症状')"
444
               :rules="isCheckmust('前次透析后症状')" v-if="isShow('前次透析后症状')">
421
               :rules="isCheckmust('前次透析后症状')" v-if="isShow('前次透析后症状')">
446
             </el-form-item>
423
             </el-form-item>
447
           </el-col>
424
           </el-col>
448
 
425
 
449
-
450
           <el-col :span="8" v-if="isShow('急诊')">
426
           <el-col :span="8" v-if="isShow('急诊')">
451
             <el-form-item label="急诊: " :prop="isName('急诊')"
427
             <el-form-item label="急诊: " :prop="isName('急诊')"
452
               :rules="isCheckmust('急诊')">
428
               :rules="isCheckmust('急诊')">
473
             </el-form-item>
449
             </el-form-item>
474
           </el-col>
450
           </el-col>
475
           
451
           
476
-
477
-          
478
-
479
           <el-col :span="8">
452
           <el-col :span="8">
480
             <el-form-item label="透析期间: " :prop="isName('透析期间')"
453
             <el-form-item label="透析期间: " :prop="isName('透析期间')"
481
               :rules="isCheckmust('透析期间')" v-if="isShow('透析期间')">
454
               :rules="isCheckmust('透析期间')" v-if="isShow('透析期间')">
518
             </el-form-item>
491
             </el-form-item>
519
           </el-col>
492
           </el-col>
520
 
493
 
521
-
522
-
523
           <el-col :span="8" v-if="isShow('其他感染情况')">
494
           <el-col :span="8" v-if="isShow('其他感染情况')">
524
             <el-form-item label="其他感染情况:" :prop="isName('其他感染情况')"
495
             <el-form-item label="其他感染情况:" :prop="isName('其他感染情况')"
525
               :rules="isCheckmust('其他感染情况')">
496
               :rules="isCheckmust('其他感染情况')">
527
             </el-form-item>
498
             </el-form-item>
528
           </el-col>
499
           </el-col>
529
 
500
 
530
-
531
-
532
-
533
           <el-col :span="8" v-if="isShow('外露')">
501
           <el-col :span="8" v-if="isShow('外露')">
534
             <el-form-item label="外露(cm):" :prop="isName('外露')"
502
             <el-form-item label="外露(cm):" :prop="isName('外露')"
535
               :rules="isCheckmust('外露')">
503
               :rules="isCheckmust('外露')">
537
             </el-form-item>
505
             </el-form-item>
538
           </el-col>
506
           </el-col>
539
 
507
 
540
-
541
-
542
-
543
-
544
           <el-col :span="8" v-if="isShow('其他皮肤情况')">
508
           <el-col :span="8" v-if="isShow('其他皮肤情况')">
545
             <el-form-item label="其他皮肤情况:" :prop="isName('其他皮肤情况')"
509
             <el-form-item label="其他皮肤情况:" :prop="isName('其他皮肤情况')"
546
               :rules="isCheckmust('其他皮肤情况')">
510
               :rules="isCheckmust('其他皮肤情况')">
548
             </el-form-item>
512
             </el-form-item>
549
           </el-col>
513
           </el-col>
550
 
514
 
551
-
552
-
553
-
554
-
555
-
556
-
557
           <el-col :span="8">
515
           <el-col :span="8">
558
             <el-form-item label="导管缝线:" :prop="isName('导管缝线')"
516
             <el-form-item label="导管缝线:" :prop="isName('导管缝线')"
559
               :rules="isCheckmust('导管缝线')" v-if="isShow('导管缝线')">
517
               :rules="isCheckmust('导管缝线')" v-if="isShow('导管缝线')">
684
       </el-form>
642
       </el-form>
685
       <span slot="footer" class="dialog-footer">
643
       <span slot="footer" class="dialog-footer">
686
                 <el-button @click="handleCancle">取 消</el-button>
644
                 <el-button @click="handleCancle">取 消</el-button>
687
-                 <!--  -->
688
-                <el-button type="primary" v-if="hasPermission" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
645
+                 <!--v-if="hasPermission"  -->
646
+                <el-button type="primary"  @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
689
             </span>
647
             </span>
690
     </el-dialog>
648
     </el-dialog>
691
 
649
 
965
             filedList[i].is_show == 1
923
             filedList[i].is_show == 1
966
           ) {
924
           ) {
967
             // console.log(filedList[i],'false')
925
             // console.log(filedList[i],'false')
968
-            if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
926
+            if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||
927
+            name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管' 
928
+            ) {
969
             return [
929
             return [
970
               { required: true, message: `请输入${name}` },
930
               { required: true, message: `请输入${name}` },
971
               {
931
               {

File diff suppressed because it is too large
+ 656 - 587
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue


+ 76 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue View File

1
 <template>
1
 <template>
2
-  <div>
2
+  <div >
3
     <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
     <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
4
     <div id="dialysis-print-box-64">
4
     <div id="dialysis-print-box-64">
5
       <div
5
       <div
130
                   <span v-else-if="prescription.anticoagulant == 11">那屈肝素</span>
130
                   <span v-else-if="prescription.anticoagulant == 11">那屈肝素</span>
131
                   <span v-else-if="prescription.anticoagulant == 12">无抗凝剂</span>
131
                   <span v-else-if="prescription.anticoagulant == 12">无抗凝剂</span>
132
                   <span v-else-if="prescription.anticoagulant == 13">那屈肝素钙</span>
132
                   <span v-else-if="prescription.anticoagulant == 13">那屈肝素钙</span>
133
+                  <span v-else-if="prescription.anticoagulant == 14">肝素钙注射液</span>
134
+                  <span v-else-if="prescription.anticoagulant == 15">甲磺酸萘莫司他</span>
135
+                  &nbsp; 
136
+                  <span style="width:135px;display: inline-block;" 
137
+                  v-if=" prescription.anticoagulant != 1 && prescription.anticoagulant != 12 && prescription.anticoagulant != 5">
138
+                    首剂: {{ prescription.anticoagulant_shouji }} 
139
+                    <span v-if="prescription.anticoagulant == 4">mg</span>
140
+                    <span v-if="prescription.anticoagulant == 3">iu</span>
141
+                    <span v-if="prescription.anticoagulant == 2">iu</span>
142
+                    <span v-if="prescription.anticoagulant == 6">iu</span>
143
+                    <span v-if="prescription.anticoagulant == 7">iu</span>
144
+                    <span v-if="prescription.anticoagulant == 10">mg</span>
145
+                    <span v-if="prescription.anticoagulant == 8">iu</span>
146
+                    <span v-if="prescription.anticoagulant == 9">iu</span>
147
+                    <span v-if="prescription.anticoagulant == 11">mg</span>
148
+                    <span v-if="prescription.anticoagulant == 13">mg</span>
149
+                    <span v-if="prescription.anticoagulant == 14 || 
150
+                          prescription.anticoagulant == 15">mg
151
+                    </span>
152
+                    
153
+                  </span>
154
+                  &nbsp; 
155
+                  <span style="width:135px;display: inline-block;" 
156
+                  v-if="prescription.anticoagulant != 12 && prescription.anticoagulant != 1 ">
157
+                    追加: {{ prescription.anticoagulant_weichi  }} 
158
+                    <span v-if="prescription.anticoagulant == 5">ml/h</span>
159
+                    <span v-if="prescription.anticoagulant == 4">mg/h</span>
160
+                    <span v-if="prescription.anticoagulant == 3">iu/h</span>
161
+                    <span v-if="prescription.anticoagulant == 2">iu/h</span>
162
+                    <span v-if="prescription.anticoagulant == 6">iu/h</span>
163
+                    <span v-if="prescription.anticoagulant == 7">iu/h</span>
164
+                    <span v-if="prescription.anticoagulant == 10">mg/h</span>
165
+                    <span v-if="prescription.anticoagulant == 8">iu/h</span>
166
+                    <span v-if="prescription.anticoagulant == 9">iu/h</span>  
167
+                    <span v-if="prescription.anticoagulant == 11">mg/h</span>
168
+                    <span v-if="prescription.anticoagulant == 13">mg/h</span>
169
+                    <span v-if="prescription.anticoagulant == 14 || 
170
+                          prescription.anticoagulant == 15">mg/h
171
+                    </span>
172
+                  </span>
173
+                  
174
+                  &nbsp; 
175
+                  <span style="width:150px;display: inline-block;" 
176
+                  v-if="prescription.anticoagulant != 12 && prescription.anticoagulant != 1 && prescription.anticoagulant != 5 ">
177
+                    总量: {{ prescription.anticoagulant_zongliang  }} 
178
+                    <span v-if="prescription.anticoagulant == 4">mg</span>
179
+                    <span v-if="prescription.anticoagulant == 3">iu</span>
180
+                    <span v-if="prescription.anticoagulant == 2">iu</span>
181
+                    <span v-if="prescription.anticoagulant == 6">iu</span>
182
+                    <span v-if="prescription.anticoagulant == 7">iu</span>
183
+                    <span v-if="prescription.anticoagulant == 10">mg</span>
184
+                    <span v-if="prescription.anticoagulant == 8">iu</span>
185
+                    <span v-if="prescription.anticoagulant == 9">iu</span>  
186
+                    <span v-if="prescription.anticoagulant == 11">mg</span>
187
+                    <span v-if="prescription.anticoagulant == 13">mg</span>
188
+                    <span v-if="prescription.anticoagulant == 14 || 
189
+                          prescription.anticoagulant == 15">mg
190
+                    </span>
191
+                  </span>
192
+                 
133
                 </td>
193
                 </td>
134
               </tr>
194
               </tr>
135
               <tr>
195
               <tr>
151
                     }}&nbsp;ml/min
211
                     }}&nbsp;ml/min
152
                   </div>
212
                   </div>
153
                   <div style="margin-left:70px ;display: inline-block;">
213
                   <div style="margin-left:70px ;display: inline-block;">
154
-                    实际预冲量:  &nbsp;ml
214
+                    实际预冲量:
215
+                    {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }} 
216
+                     &nbsp;L
155
                   </div>
217
                   </div>
156
                   <div style="margin-left:70px ; display: inline-block;">
218
                   <div style="margin-left:70px ; display: inline-block;">
157
                     医师签名:
219
                     医师签名:
182
                 <td>
244
                 <td>
183
                   <span>
245
                   <span>
184
                     透析(滤)器:
246
                     透析(滤)器:
185
-                    {{
186
-                      prescription.dialyzer_perfusion_apparatus
187
-                        ? prescription.dialyzer_perfusion_apparatus
188
-                        : "/"
189
-                    }}
247
+                    {{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : "/" }}
190
                   </span>
248
                   </span>
191
                 </td>
249
                 </td>
192
                 <td>
250
                 <td>
304
                         <td style=" ">HR<br />bpm</td>
362
                         <td style=" ">HR<br />bpm</td>
305
                         <td style=" ">R<br />bpm</td>
363
                         <td style=" ">R<br />bpm</td>
306
                         <td style=" ">BP<br />mmHg</td>
364
                         <td style=" ">BP<br />mmHg</td>
307
-                        <td style=" ">时间</td>
365
+                        <!-- <td style=" ">时间</td> -->
308
                         <td style=" ">记录</td>
366
                         <td style=" ">记录</td>
309
                         <td >护士签名</td>
367
                         <td >护士签名</td>
310
                       </tr>
368
                       </tr>
384
                             </span>
442
                             </span>
385
                         </td>
443
                         </td>
386
 
444
 
387
-                        <td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
445
+                        <!-- <td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td> -->
388
                         <td style=" ">
446
                         <td style=" ">
389
                           <span style="word-break: break-all;word-wrap: break-word;">
447
                           <span style="word-break: break-all;word-wrap: break-word;">
390
 
448
 
490
                         </span>
548
                         </span>
491
                         <span>{{ advice.remark }}</span>
549
                         <span>{{ advice.remark }}</span>
492
                       </td>
550
                       </td>
493
-
551
+                      <!-- 执行时间 -->
494
                       <td width="130" style="">
552
                       <td width="130" style="">
495
                         {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
553
                         {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
496
                       </td>
554
                       </td>
555
+                      <!-- 执行 -->
497
                       <td width="110" style="">
556
                       <td width="110" style="">
498
-                        <span
557
+                        <!-- <span
499
                           v-if="setAdminUserES(advice.advice_doctor) == ''"
558
                           v-if="setAdminUserES(advice.advice_doctor) == ''"
500
                         >
559
                         >
501
                           {{ getAdminUser(advice.advice_doctor) }}
560
                           {{ getAdminUser(advice.advice_doctor) }}
505
                           :src="setAdminUserES(advice.advice_doctor)"
564
                           :src="setAdminUserES(advice.advice_doctor)"
506
                           alt=""
565
                           alt=""
507
                           srcset=""
566
                           srcset=""
508
-                        />
567
+                        /> -->
568
+                        <span
569
+                          v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}
570
+                        </span>
571
+                        <img class="es-img" style="height: 30px" :src="setAdminUserES(advice.execution_staff)"
572
+                            alt="" srcset="" v-else>
509
                       </td>
573
                       </td>
510
                       <td v-if="advice_index === 0" width="150" style="">透前体重</td>
574
                       <td v-if="advice_index === 0" width="150" style="">透前体重</td>
511
                       <td v-if="advice_index === 0" width="110" >
575
                       <td v-if="advice_index === 0" width="110" >

+ 12 - 11
src/xt_pages/outpatientDoctorStation/batch_print_checkTemplate/printOne.vue View File

3
     <div
3
     <div
4
         v-for="(i, index) in printData"
4
         v-for="(i, index) in printData"
5
         :key="index"
5
         :key="index"
6
-        style="
7
-        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
8
-          0 0 40px rgba(0, 0, 0, 0.06) inset;
9
-      "
6
+        style="box-shadow: 0 1 px 4 px rgba(0, 0, 0, 0.27),
7
+         0 0 40 px rgba(0, 0, 0, 0.06) inset  "
10
     >
8
     >
11
-      <!--            <img style="width:100%;height:80px" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">-->
12
-      <!--/*             <img style="width:100%;height:80px" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">*/-->
9
+       
13
       <div
10
       <div
14
           id="prescription-print"
11
           id="prescription-print"
15
           class="prescription-print"
12
           class="prescription-print"
16
-          style="page-break-after: always"
13
+          style="page-break-after: always "
17
           v-for="(item, index) in i.new_prescriptions"
14
           v-for="(item, index) in i.new_prescriptions"
18
           v-if="item.project.length > 0 && getTeam(i.new_prescriptions).length > 0"
15
           v-if="item.project.length > 0 && getTeam(i.new_prescriptions).length > 0"
19
           :key="index"
16
           :key="index"
20
       >
17
       >
18
+        <img style="width:100%;height:80px" v-if="org_id == 10138 " src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
19
+        <img style="width:100%;height:80px" v-if="org_id == 10278 || org_id==0" src="https://kuyi.shengws.com/beierlog.png" alt="">
21
         <div class="printTitle">检验申请单</div>
20
         <div class="printTitle">检验申请单</div>
22
 
21
 
23
-        <div style="border: 1px solid #000">
22
+        <div style="border: 1px solid #000;margin-bottom: 10px;">
24
           <div
23
           <div
25
               style="
24
               style="
26
               display: flex;
25
               display: flex;
114
             <div>医生签字:{{ i.info.doctor ? i.info.doctor : '' }}</div>
113
             <div>医生签字:{{ i.info.doctor ? i.info.doctor : '' }}</div>
115
           </div>
114
           </div>
116
         </div>
115
         </div>
117
-        <!--            <img style="width:100%;" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">-->
118
-        <!--            <img style="width:100%;" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">-->
116
+        
117
+        <img style="width:100%;" v-if="org_id == 10138 || org_id == 0" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
118
+        <img style="width:100%;" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">
119
       </div>
119
       </div>
120
+       
120
     </div>
121
     </div>
121
   </div>
122
   </div>
122
 </template>
123
 </template>
501
 /*/ / 0 0 60 px rgba(0, 0, 0, 0.06) inset;*/
502
 /*/ / 0 0 60 px rgba(0, 0, 0, 0.06) inset;*/
502
 /*/ / -moz-box-shadow: 0 1 px 4 px rgba(0, 0, 0, 0.27),*/
503
 /*/ / -moz-box-shadow: 0 1 px 4 px rgba(0, 0, 0, 0.27),*/
503
 /*/ / 0 0 40 px rgba(0, 0, 0, 0.06) inset;*/
504
 /*/ / 0 0 40 px rgba(0, 0, 0, 0.06) inset;*/
504
-/*/ / box-shadow: 0 1 px 4 px rgba(0, 0, 0, 0.27), 0 0 40 px rgba(0, 0, 0, 0.06) inset;*/
505
+//  box-shadow: 0 1 px 4 px rgba(0, 0, 0, 0.27), 0 0 40 px rgba(0, 0, 0, 0.06) inset;
505
   margin-bottom: 20px;
506
   margin-bottom: 20px;
506
   padding: 20px 10px;
507
   padding: 20px 10px;
507
 }
508
 }

+ 11 - 11
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue View File

9
       />
9
       />
10
       <img
10
       <img
11
         style="width: 100%; height: 80px"
11
         style="width: 100%; height: 80px"
12
-        v-if="org_id == 10278"
12
+        v-if="org_id == 10278 || org_id == 0"
13
         src="https://kuyi.shengws.com/beierlog.png"
13
         src="https://kuyi.shengws.com/beierlog.png"
14
         alt=""
14
         alt=""
15
       />
15
       />
16
       <div class="printTitle">检验申请单</div>
16
       <div class="printTitle">检验申请单</div>
17
 
17
 
18
-      <div style="border: 1px solid #000">
18
+      <div style="border: 1px solid #000;margin-bottom: 10px;">
19
         <div
19
         <div
20
           style="
20
           style="
21
             display: flex;
21
             display: flex;
132
           </div>
132
           </div>
133
         </div>
133
         </div>
134
       </div>
134
       </div>
135
-    </div>
136
-    <img
135
+      <img
137
       style="width: 100%"
136
       style="width: 100%"
138
-      v-if="org_id == 10138"
137
+      v-if="org_id == 10138 "
139
       src="https://kuyi.shengws.com/bailin/blend.jpg"
138
       src="https://kuyi.shengws.com/bailin/blend.jpg"
140
       alt=""
139
       alt=""
141
     />
140
     />
142
-    <img
143
-      style="width: 100%"
144
-      v-if="org_id == 10278"
145
-      src="https://kuyi.shengws.com/bailinbeier.png"
146
-      alt=""
147
-    />
141
+      <img
142
+        style="width: 100%"
143
+        v-if="org_id == 10278 || org_id == 0"
144
+        src="https://kuyi.shengws.com/bailinbeier.png"
145
+        alt=""
146
+      />
147
+    </div>
148
   </div>
148
   </div>
149
 </template>
149
 </template>
150
 <script>
150
 <script>

+ 1 - 0
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

136
 
136
 
137
             <!-- <el-button size="small" ref="button_four"  @click="open(5)" type="primary" :disabled='prescriptions && prescriptions[0].advices && prescriptions[0].project ? prescriptions[0].advices.length == 0 && prescriptions[0].project.length == 0 : false'>存模板</el-button> -->
137
             <!-- <el-button size="small" ref="button_four"  @click="open(5)" type="primary" :disabled='prescriptions && prescriptions[0].advices && prescriptions[0].project ? prescriptions[0].advices.length == 0 && prescriptions[0].project.length == 0 : false'>存模板</el-button> -->
138
           </div>
138
           </div>
139
+          
139
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
140
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
140
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
141
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
141
             <el-button size="small" @click="opentwo(2)" type="primary">打印</el-button>
142
             <el-button size="small" @click="opentwo(2)" type="primary">打印</el-button>