Browse Source

5月23日杨青

杨青 1 year ago
parent
commit
827b569e48

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

@@ -12,7 +12,8 @@
12 12
         <el-row :gutter="20">
13 13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
14 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 17
               <el-time-picker
17 18
                 v-model="form.actualTreatmentHourShow"
18 19
                 placeholder="透析时长"
@@ -98,7 +99,7 @@
98 99
           </el-col>
99 100
 
100 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 103
               <el-select v-model="form.dialysis_process">
103 104
                 <el-option :key="0" label="请选择" :value="0"></el-option>
104 105
 
@@ -146,7 +147,7 @@
146 147
           </el-col>
147 148
 
148 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 151
               <el-select v-model="form.hemostasis_opera">
151 152
                 <el-option :key="0" label="请选择" :value="0"></el-option>
152 153
 
@@ -161,7 +162,7 @@
161 162
           </el-col>
162 163
 
163 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 166
               <el-select v-model="form.arterial_tube">
166 167
                 <el-option :key="0" label="请选择" :value="0"></el-option>
167 168
 
@@ -177,7 +178,7 @@
177 178
         </el-row>
178 179
         <el-row :gutter="20">
179 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 182
               <el-select v-model="form.intravenous_tube">
182 183
                 <el-option :key="0" label="请选择" :value="0"></el-option>
183 184
 
@@ -212,8 +213,8 @@
212 213
           </el-col>
213 214
 
214 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 218
                 <el-option :key="0" label="请选择" :value="0"></el-option>
218 219
                 <el-option
219 220
                   v-for="item in patientGoseOptions"
@@ -255,7 +256,7 @@
255 256
           "
256 257
         >
257 258
           <el-col :span="24">
258
-            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')">
259
+            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')" >
259 260
               <el-input
260 261
                 placeholder="交待病房护士/患者/陪人观察内容"
261 262
                 v-model="form.observation_content"
@@ -271,11 +272,13 @@
271 272
           :gutter="20"
272 273
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
273 274
         >
275
+        <!--   :prop="isName('其他观察内容')"-->
274 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 278
               <el-input
277 279
                 v-model="form.observation_content_other"
278 280
                 :rows="5"
281
+                @change="others"
279 282
               ></el-input>
280 283
             </el-form-item>
281 284
           </el-col>
@@ -353,8 +356,8 @@
353 356
         </el-col>
354 357
 
355 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 361
               <el-option :key="0" label="请选择" :value="0"></el-option>
359 362
               <el-option
360 363
                 v-for="item in unit"
@@ -394,8 +397,8 @@
394 397
         </el-col>
395 398
 
396 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 402
               <el-option :key="0" label="请选择" :value="0"></el-option>
400 403
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
401 404
             </el-select>
@@ -437,8 +440,8 @@
437 440
 
438 441
 
439 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 445
               <el-option :key="0" label="请选择" :value="0"></el-option>
443 446
 
444 447
               <el-option
@@ -473,8 +476,8 @@
473 476
         </el-col>
474 477
 
475 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 481
               <el-option :key="0" label="请选择" :value="0"></el-option>
479 482
               <el-option
480 483
                 v-for="item in channels"
@@ -505,23 +508,24 @@
505 508
             </el-form-item>
506 509
         </el-col>
507 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 514
               <el-option :key="0" label="请选择" :value="0"></el-option>
512 515
               <el-option
513 516
                 v-for="item in option"
514 517
                 :label="item.name"
515 518
                 :value="item.id"
516 519
                 :key="item.id"
517
-              ></el-option>
520
+              >{{ item.name }}</el-option>
518 521
             </el-select>
519 522
             </el-form-item>
520 523
         </el-col>
521 524
 
522 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 529
               <el-option
526 530
                 v-for="item in optionOne"
527 531
                 :label="item.name"
@@ -532,8 +536,9 @@
532 536
             </el-form-item>
533 537
         </el-col>
534 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 542
                 <el-option
538 543
                   v-for="item in leaveOfficeMethod"
539 544
                   :label="item.name"
@@ -544,8 +549,9 @@
544 549
             </el-form-item>
545 550
         </el-col>
546 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 555
               <el-option
550 556
                 v-for="item in lapseList"
551 557
                 :label="item.name"
@@ -557,19 +563,23 @@
557 563
         </el-col>
558 564
         <el-col :span="8" v-if="isShow('意识')">
559 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 569
               <el-option
562 570
                 v-for="item in consciousnessList"
563 571
                 :label="item.name"
564
-                :value="item.id"
572
+                :value="item.id "
565 573
                 :key="item.id"
566 574
               ></el-option>
567 575
              </el-select>
576
+             
568 577
             </el-form-item>
569 578
         </el-col>
570 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 583
               <el-option
574 584
                 v-for="item in fallriskList"
575 585
                 :label="item.name"
@@ -581,8 +591,8 @@
581 591
         </el-col>
582 592
 
583 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 596
                 <el-option :key="0" label="请选择" :value="0"></el-option>
587 597
 
588 598
                 <el-option
@@ -592,6 +602,7 @@
592 602
                   :key="item.value"
593 603
                 ></el-option>
594 604
               </el-select>
605
+              
595 606
             </el-form-item>
596 607
        </el-col>
597 608
 
@@ -750,7 +761,7 @@ export default {
750 761
         catheter: '',
751 762
         complication: '',
752 763
         puncture_point_oozing_blood: 2,
753
-        puncture_point_haematoma: 2,
764
+        puncture_point_haematoma: '',
754 765
         internal_fistula_tremor_ac: '',
755 766
         patient_gose: '',
756 767
         inpatient_department: '',
@@ -766,7 +777,7 @@ export default {
766 777
         hemostasis_minute: '',
767 778
         hemostasis_opera: '',
768 779
         tremor_noise: '',
769
-        disequilibrium_syndrome: '',
780
+        disequilibrium_syndrome: 0,
770 781
         disequilibrium_syndrome_option: '',
771 782
         arterial_tube: '',
772 783
         intravenous_tube: '',
@@ -775,12 +786,12 @@ export default {
775 786
         dialysis_intakes_unit: 0,
776 787
         cvc_a: 0,
777 788
         cvc_v: 0,
778
-        channel: '',
789
+        channel: 0,
779 790
         return_blood: '',
780 791
         rehydration_volume: '',
781 792
         dialysis_during: '',
782 793
         stroke_volume: '',
783
-        blood_flow: '',
794
+        blood_flow: 0,
784 795
         sealing_fluid_dispose: '',
785 796
         sealing_fluid_special: '',
786 797
         dosage_of_anticoagulants:'',
@@ -792,13 +803,13 @@ export default {
792 803
         other_complication:'',
793 804
         ktv:"",
794 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 813
         after_urea:"",
803 814
         accumulated_blood_volume:"",
804 815
       },
@@ -807,6 +818,7 @@ export default {
807 818
       consciousnessList:[],
808 819
       fallriskList:[],
809 820
       machineList:[],
821
+      
810 822
     }
811 823
   },
812 824
   watch: {
@@ -894,6 +906,9 @@ export default {
894 906
         if (this.assessment_after_dislysis['sealing_fluid_dispose'] == 0) {
895 907
           this.form['sealing_fluid_dispose'] = ''
896 908
         }
909
+        // if (this.assessment_after_dislysis['actualTreatmentHourShow'] == 0) {
910
+        //   this.form['actualTreatmentHourShow'] = ''
911
+        // }
897 912
         this.form.actualTreatmentHourShow = new Date(
898 913
           2018,
899 914
           1,
@@ -936,27 +951,67 @@ export default {
936 951
         if (
937 952
           filedList[i].module == 5 &&
938 953
           filedList[i].filed_name_cn == name &&
939
-          filedList[i].is_write == 1&&
954
+          filedList[i].is_write == 1 &&
940 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 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 1015
     isShow(name) {
961 1016
       var filedList = store.getters.xt_user.fileds
962 1017
 
@@ -971,6 +1026,7 @@ export default {
971 1026
       }
972 1027
       return false
973 1028
     },
1029
+   
974 1030
     submitForm(formName) {
975 1031
       this.$refs[formName].validate((valid)=>{
976 1032
         if(valid){
@@ -1026,7 +1082,7 @@ export default {
1026 1082
           data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
1027 1083
           data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
1028 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 1086
           data['inpatient_department'] = this.form.inpatient_department
1031 1087
           data['observation_content'] = this.form.observation_content
1032 1088
           data['observation_content_other'] = this.form.observation_content_other
@@ -1238,11 +1294,13 @@ export default {
1238 1294
     // 数据开始
1239 1295
     show(predialysis,last_after) {
1240 1296
       console.log("透后体重2332233223wo",predialysis)
1297
+      // console.log('asdfadsfdasf',this.form.consciousness);
1241 1298
       this.isVisibility = true
1242 1299
       this.predialysis = predialysis
1243 1300
       this.form.observation_content = predialysis.observation_content
1244 1301
       this.form.inpatient_department = predialysis.inpatient_department
1245 1302
       this.form.observation_content_other = predialysis.observation_content_other
1303
+      // 5.15
1246 1304
       if(predialysis.id > 0){
1247 1305
         this.form.hypertenison = predialysis.hypertenison.toString()
1248 1306
       }
@@ -1255,7 +1313,7 @@ export default {
1255 1313
       if(predialysis.id > 0){
1256 1314
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1257 1315
       }
1258
-
1316
+        // 5.15
1259 1317
       //针对长沙南雅 ,透后体重 - 目标超滤量
1260 1318
       // if(predialysis.id > 0){
1261 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,12 +1344,14 @@ export default {
1286 1344
             }
1287 1345
           }
1288 1346
         }
1347
+        // 5.15
1289 1348
         if(last_after.id > 0){
1290 1349
          this.form.hypertenison = last_after.hypertenison.toString()
1291 1350
         }
1292 1351
         if(last_after.id > 0){
1293 1352
           this.form.hypopiesia = last_after.hypopiesia.toString()
1294 1353
         }
1354
+          // 5.15
1295 1355
         //针对长沙南雅 ,透后体重 - 目标超滤量
1296 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 1357
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
@@ -1301,9 +1361,6 @@ export default {
1301 1361
         // }
1302 1362
       }
1303 1363
 
1304
-
1305
-
1306
-
1307 1364
       this.getPermission()
1308 1365
 
1309 1366
 
@@ -1336,7 +1393,7 @@ export default {
1336 1393
           }
1337 1394
         })
1338 1395
         .then(res => {
1339
-          console.log(res)
1396
+          // console.log(res)
1340 1397
           // console.log("透后", this.predialysis);
1341 1398
           if (res.data.state == 0) {
1342 1399
             this.hasPermission = false
@@ -1372,7 +1429,7 @@ export default {
1372 1429
     }
1373 1430
   },
1374 1431
   created() {
1375
-    // console.log("this.form", this.form);
1432
+    // console.log("this.form", this.form.consciousness);
1376 1433
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1377 1434
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')
1378 1435
     this.symptomsOptions = getDataConfig('hemodialysis', 'symptoms')
@@ -1388,7 +1445,7 @@ export default {
1388 1445
     this.consciousnessList = getDataConfig("hemodialysis","consciousness")
1389 1446
     this.fallriskList = getDataConfig("hemodialysis","fallrisk")
1390 1447
      this.machineList = getDataConfig("hemodialysis","machine_run")
1391
-     console.log("机器运行",this.machineList)
1448
+     
1392 1449
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1393 1450
     this.patientGoseOptions = this.$store.getters.patient_gose
1394 1451
     this.observationContentOptions = this.$store.getters.observation_content

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

@@ -211,25 +211,30 @@
211 211
  
212 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 238
       <el-form-item
234 239
         label-width="200px"
235 240
         label="其他跌倒风险预防措施 : "
@@ -355,6 +360,7 @@ export default {
355 360
   name: "acceptsTreatmentDialog",
356 361
   data() {
357 362
     return {
363
+      isrequired:false,
358 364
       showTxt: "",
359 365
       hasPermission: true,
360 366
       isVisibility: false,
@@ -456,25 +462,10 @@ export default {
456 462
     },
457 463
     // 复选框跌倒风险措施
458 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 466
       if(this.precautionTwo.length>0){
471 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 471
     handleComfirm: function (formName) {
@@ -560,7 +551,7 @@ export default {
560 551
           filedList[i].filed_name_cn == name &&
561 552
           filedList[i].is_write == 1
562 553
         ) {
563
-          // name == '跌倒风险预防措施' && this.precautionTwo.length<=0
554
+          // name == '跌倒风险预防措施' && filedList[i].is_write == 1
564 555
           if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
565 556
             return [
566 557
               { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
@@ -572,18 +563,20 @@ export default {
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 576
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
577
+            
578
+          }
579
+          
587 580
         }
588 581
       }
589 582
     },
@@ -592,20 +585,28 @@ export default {
592 585
     //   for (let i = 0; i < filedList.length; i++) {
593 586
     //     if (
594 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,9 +39,10 @@
39 39
 
40 40
           <el-col :span="8">
41 41
             <el-form-item label="干体重(kg):"
42
-             :prop="isName('干体重')"
42
+              :prop="isName('干体重')"
43 43
               :rules="isCheckmust('干体重')"
44 44
                           v-if="isShow('干体重')">
45
+                          <!--  -->
45 46
               <el-input type="number" v-model="assessmentBeforeDislysis.dry_weight" readonly
46 47
                         @focus="showDryWeightDialog"></el-input>
47 48
             </el-form-item>
@@ -99,7 +100,6 @@
99 100
             </el-form-item>
100 101
           </el-col>
101 102
 
102
-
103 103
           <el-col :span="8">
104 104
             <el-form-item label="体温(℃):" :prop="isName('体温')"
105 105
               :rules="isCheckmust('体温')" v-if="isShow('体温')">
@@ -184,7 +184,6 @@
184 184
             </el-form-item>
185 185
           </el-col>
186 186
 
187
-
188 187
           <el-col :span="8">
189 188
             <el-form-item label="内瘘: " :prop="isName('内瘘')"
190 189
               :rules="isCheckmust('内瘘')" v-if="isShow('内瘘')">
@@ -193,14 +192,10 @@
193 192
             </el-form-item>
194 193
           </el-col>
195 194
 
196
-
197
-
198
-
199
-
200
-
201 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 197
               :rules="isCheckmust('其他出血情况')">
198
+              <!-- :prop="isName('其他出血情况')" -->
204 199
               <el-input v-model="assessmentBeforeDislysis.hemorrhage_other"></el-input>
205 200
             </el-form-item>
206 201
           </el-col>
@@ -225,11 +220,6 @@
225 220
             </el-form-item>
226 221
           </el-col>
227 222
 
228
-          <!-- </el-row>
229
-
230
-          <el-row :gutter="20"> -->
231
-
232
-
233 223
           <el-col :span="8">
234 224
             <el-form-item label="血管通路皮肤情况: " :prop="isName('血管通路皮肤情况')"
235 225
               :rules="isCheckmust('血管通路皮肤情况')" v-if="isShow('血管通路皮肤情况')">
@@ -269,8 +259,6 @@
269 259
             </el-form-item>
270 260
           </el-col>
271 261
 
272
-
273
-
274 262
           <!--<el-col :span="8">-->
275 263
           <!--<el-form-item label="附加物重(kg): ">-->
276 264
           <!--<el-input type="number" v-model="assessmentBeforeDislysis.additional_weight"></el-input>-->
@@ -279,7 +267,6 @@
279 267
 
280 268
           <!-- </el-row>
281 269
 
282
-
283 270
           <el-row :gutter="20"> -->
284 271
           <el-col :span="8">
285 272
             <el-form-item label="导管打折: " :prop="isName('导管打折')"
@@ -302,11 +289,7 @@
302 289
             </el-form-item>
303 290
           </el-col>
304 291
 
305
-
306
-
307 292
           <!-- </el-row>
308
-
309
-
310 293
           <el-row :gutter="20"> -->
311 294
 
312 295
           <el-col :span="8">
@@ -349,7 +332,6 @@
349 332
           </el-col>
350 333
 
351 334
 
352
-
353 335
           <el-col :span="8">
354 336
             <el-form-item label="出血: " :prop="isName('出血')"
355 337
               :rules="isCheckmust('出血')" v-if="isShow('出血')">
@@ -361,7 +343,6 @@
361 343
             </el-form-item>
362 344
           </el-col>
363 345
 
364
-
365 346
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('出血选项')">
366 347
             <el-form-item label="出血选项: " :prop="isName('出血选项')"
367 348
               :rules="isCheckmust('出血选项')">
@@ -371,8 +352,6 @@
371 352
             </el-form-item>
372 353
           </el-col>
373 354
 
374
-
375
-
376 355
            <el-col :span="8">
377 356
             <el-form-item label="血栓:" :prop="isName('血栓')"
378 357
               :rules="isCheckmust('血栓')" v-if="isShow('血栓')">
@@ -386,7 +365,7 @@
386 365
           
387 366
           <el-col :span="8">
388 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 369
               <el-input v-model="assessmentBeforeDislysis.thrombus_av" style="width:150px"></el-input>
391 370
             </el-form-item>
392 371
           </el-col>
@@ -421,7 +400,6 @@
421 400
             </el-form-item>
422 401
           </el-col>
423 402
 
424
-
425 403
           <el-col :span="8">
426 404
             <el-form-item label="并发症: " :prop="isName('并发症')"
427 405
               :rules="isCheckmust('并发症')" v-if="isShow('并发症')">
@@ -438,7 +416,6 @@
438 416
             </el-form-item>
439 417
           </el-col>
440 418
 
441
-
442 419
           <el-col :span="8">
443 420
             <el-form-item label="前次透析后症状:" :prop="isName('前次透析后症状')"
444 421
               :rules="isCheckmust('前次透析后症状')" v-if="isShow('前次透析后症状')">
@@ -446,7 +423,6 @@
446 423
             </el-form-item>
447 424
           </el-col>
448 425
 
449
-
450 426
           <el-col :span="8" v-if="isShow('急诊')">
451 427
             <el-form-item label="急诊: " :prop="isName('急诊')"
452 428
               :rules="isCheckmust('急诊')">
@@ -473,9 +449,6 @@
473 449
             </el-form-item>
474 450
           </el-col>
475 451
           
476
-
477
-          
478
-
479 452
           <el-col :span="8">
480 453
             <el-form-item label="透析期间: " :prop="isName('透析期间')"
481 454
               :rules="isCheckmust('透析期间')" v-if="isShow('透析期间')">
@@ -518,8 +491,6 @@
518 491
             </el-form-item>
519 492
           </el-col>
520 493
 
521
-
522
-
523 494
           <el-col :span="8" v-if="isShow('其他感染情况')">
524 495
             <el-form-item label="其他感染情况:" :prop="isName('其他感染情况')"
525 496
               :rules="isCheckmust('其他感染情况')">
@@ -527,9 +498,6 @@
527 498
             </el-form-item>
528 499
           </el-col>
529 500
 
530
-
531
-
532
-
533 501
           <el-col :span="8" v-if="isShow('外露')">
534 502
             <el-form-item label="外露(cm):" :prop="isName('外露')"
535 503
               :rules="isCheckmust('外露')">
@@ -537,10 +505,6 @@
537 505
             </el-form-item>
538 506
           </el-col>
539 507
 
540
-
541
-
542
-
543
-
544 508
           <el-col :span="8" v-if="isShow('其他皮肤情况')">
545 509
             <el-form-item label="其他皮肤情况:" :prop="isName('其他皮肤情况')"
546 510
               :rules="isCheckmust('其他皮肤情况')">
@@ -548,12 +512,6 @@
548 512
             </el-form-item>
549 513
           </el-col>
550 514
 
551
-
552
-
553
-
554
-
555
-
556
-
557 515
           <el-col :span="8">
558 516
             <el-form-item label="导管缝线:" :prop="isName('导管缝线')"
559 517
               :rules="isCheckmust('导管缝线')" v-if="isShow('导管缝线')">
@@ -684,8 +642,8 @@
684 642
       </el-form>
685 643
       <span slot="footer" class="dialog-footer">
686 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 647
             </span>
690 648
     </el-dialog>
691 649
 
@@ -965,7 +923,9 @@
965 923
             filedList[i].is_show == 1
966 924
           ) {
967 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 929
             return [
970 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,5 +1,5 @@
1 1
 <template>
2
-  <div>
2
+  <div >
3 3
     <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
4 4
     <div id="dialysis-print-box-64">
5 5
       <div
@@ -130,6 +130,66 @@
130 130
                   <span v-else-if="prescription.anticoagulant == 11">那屈肝素</span>
131 131
                   <span v-else-if="prescription.anticoagulant == 12">无抗凝剂</span>
132 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 193
                 </td>
134 194
               </tr>
135 195
               <tr>
@@ -151,7 +211,9 @@
151 211
                     }}&nbsp;ml/min
152 212
                   </div>
153 213
                   <div style="margin-left:70px ;display: inline-block;">
154
-                    实际预冲量:  &nbsp;ml
214
+                    实际预冲量:
215
+                    {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }} 
216
+                     &nbsp;L
155 217
                   </div>
156 218
                   <div style="margin-left:70px ; display: inline-block;">
157 219
                     医师签名:
@@ -182,11 +244,7 @@
182 244
                 <td>
183 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 248
                   </span>
191 249
                 </td>
192 250
                 <td>
@@ -304,7 +362,7 @@
304 362
                         <td style=" ">HR<br />bpm</td>
305 363
                         <td style=" ">R<br />bpm</td>
306 364
                         <td style=" ">BP<br />mmHg</td>
307
-                        <td style=" ">时间</td>
365
+                        <!-- <td style=" ">时间</td> -->
308 366
                         <td style=" ">记录</td>
309 367
                         <td >护士签名</td>
310 368
                       </tr>
@@ -384,7 +442,7 @@
384 442
                             </span>
385 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 446
                         <td style=" ">
389 447
                           <span style="word-break: break-all;word-wrap: break-word;">
390 448
 
@@ -490,12 +548,13 @@
490 548
                         </span>
491 549
                         <span>{{ advice.remark }}</span>
492 550
                       </td>
493
-
551
+                      <!-- 执行时间 -->
494 552
                       <td width="130" style="">
495 553
                         {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
496 554
                       </td>
555
+                      <!-- 执行 -->
497 556
                       <td width="110" style="">
498
-                        <span
557
+                        <!-- <span
499 558
                           v-if="setAdminUserES(advice.advice_doctor) == ''"
500 559
                         >
501 560
                           {{ getAdminUser(advice.advice_doctor) }}
@@ -505,7 +564,12 @@
505 564
                           :src="setAdminUserES(advice.advice_doctor)"
506 565
                           alt=""
507 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 573
                       </td>
510 574
                       <td v-if="advice_index === 0" width="150" style="">透前体重</td>
511 575
                       <td v-if="advice_index === 0" width="110" >

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

@@ -3,24 +3,23 @@
3 3
     <div
4 4
         v-for="(i, index) in printData"
5 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 10
       <div
14 11
           id="prescription-print"
15 12
           class="prescription-print"
16
-          style="page-break-after: always"
13
+          style="page-break-after: always "
17 14
           v-for="(item, index) in i.new_prescriptions"
18 15
           v-if="item.project.length > 0 && getTeam(i.new_prescriptions).length > 0"
19 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 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 23
           <div
25 24
               style="
26 25
               display: flex;
@@ -114,9 +113,11 @@
114 113
             <div>医生签字:{{ i.info.doctor ? i.info.doctor : '' }}</div>
115 114
           </div>
116 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 119
       </div>
120
+       
120 121
     </div>
121 122
   </div>
122 123
 </template>
@@ -501,7 +502,7 @@ export default {
501 502
 /*/ / 0 0 60 px rgba(0, 0, 0, 0.06) inset;*/
502 503
 /*/ / -moz-box-shadow: 0 1 px 4 px rgba(0, 0, 0, 0.27),*/
503 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 506
   margin-bottom: 20px;
506 507
   padding: 20px 10px;
507 508
 }

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

@@ -9,13 +9,13 @@
9 9
       />
10 10
       <img
11 11
         style="width: 100%; height: 80px"
12
-        v-if="org_id == 10278"
12
+        v-if="org_id == 10278 || org_id == 0"
13 13
         src="https://kuyi.shengws.com/beierlog.png"
14 14
         alt=""
15 15
       />
16 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 19
         <div
20 20
           style="
21 21
             display: flex;
@@ -132,19 +132,19 @@
132 132
           </div>
133 133
         </div>
134 134
       </div>
135
-    </div>
136
-    <img
135
+      <img
137 136
       style="width: 100%"
138
-      v-if="org_id == 10138"
137
+      v-if="org_id == 10138 "
139 138
       src="https://kuyi.shengws.com/bailin/blend.jpg"
140 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 148
   </div>
149 149
 </template>
150 150
 <script>

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

@@ -136,6 +136,7 @@
136 136
 
137 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 138
           </div>
139
+          
139 140
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
140 141
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
141 142
             <el-button size="small" @click="opentwo(2)" type="primary">打印</el-button>