瀏覽代碼

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

陈少旭 1 年之前
父節點
當前提交
65f08018df
共有 45 個文件被更改,包括 5435 次插入1459 次删除
  1. 1 0
      src/router/index_路由未分离前.js
  2. 118 28
      src/xt_pages/device/airDisinfectTwo.vue
  3. 155 41
      src/xt_pages/device/objectTableDisinfectTwo.vue
  4. 3 0
      src/xt_pages/dialysis/PatientBox.vue
  5. 47 1
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  6. 1 1
      src/xt_pages/dialysis/batch_print/batch_print_order_thirteen.vue
  7. 16 4
      src/xt_pages/dialysis/batch_print/batch_print_order_twentyEight.vue
  8. 15 0
      src/xt_pages/dialysis/details/NavIgation.vue
  9. 63 5
      src/xt_pages/dialysis/details/consumable/dialysisDrug.vue
  10. 63 4
      src/xt_pages/dialysis/details/consumable/dialysisDrugPrint.vue
  11. 83 43
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue
  12. 51 23
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  13. 2 2
      src/xt_pages/dialysis/details/dialog/computer_dialog.vue
  14. 2 2
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  15. 21 15
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  16. 4 4
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  17. 9 3
      src/xt_pages/dialysis/details/index.vue
  18. 26 5
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  19. 2 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue
  20. 3 3
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue
  21. 62 16
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  22. 1234 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue
  23. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue
  24. 3 1
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue
  25. 49 0
      src/xt_pages/hospitalStation/components/deskPrescription.vue
  26. 2 2
      src/xt_pages/management/components/ManageForm.vue
  27. 61 112
      src/xt_pages/management/components/RepairForm.vue
  28. 34 30
      src/xt_pages/management/components/UserForm.vue
  29. 291 122
      src/xt_pages/management/components/WaterForm.vue
  30. 230 63
      src/xt_pages/management/components/WaterFormList.vue
  31. 154 103
      src/xt_pages/management/home.vue
  32. 2 7
      src/xt_pages/outpatientCharges/components/registerDialog.vue
  33. 61 30
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  34. 418 418
      src/xt_pages/outpatientCharges/statementTemplate/printFour.vue
  35. 348 348
      src/xt_pages/outpatientCharges/statementTemplate/printTen.vue
  36. 57 2
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  37. 1112 0
      src/xt_pages/user/Physicalexamination.vue
  38. 606 7
      src/xt_pages/user/courseOfDisease.vue
  39. 5 0
      src/xt_pages/user/doctorAdvice.vue
  40. 1 1
      src/xt_pages/user/firstDiseasePrint.vue
  41. 1 1
      src/xt_pages/user/hospitalSummaryPrint.vue
  42. 1 1
      src/xt_pages/user/patientInfo.vue
  43. 4 5
      src/xt_pages/user/rescueRecord.vue
  44. 2 2
      src/xt_pages/workforce/components/nextTableWeeks.vue
  45. 11 3
      src/xt_pages/workforce/remind_print_setting.vue

+ 1 - 0
src/router/index_路由未分离前.js 查看文件

645
         name: 'CourseOfDiseaseManage',
645
         name: 'CourseOfDiseaseManage',
646
         meta: { title: 'CourseOfDiseaseManage', noCache: true }
646
         meta: { title: 'CourseOfDiseaseManage', noCache: true }
647
       },
647
       },
648
+      
648
       {
649
       {
649
         path: '/patients/rescue',
650
         path: '/patients/rescue',
650
         component: () => import('@/xt_pages/user/rescueRecord'),
651
         component: () => import('@/xt_pages/user/rescueRecord'),

+ 118 - 28
src/xt_pages/device/airDisinfectTwo.vue 查看文件

49
                 </el-table-column>
49
                 </el-table-column>
50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
51
                     <template slot-scope="scope">
51
                     <template slot-scope="scope">
52
-                      {{scope.row.first_total_time }}
52
+                      {{scope.row.first_total_time?scope.row.first_total_time:"" }}
53
                     </template>
53
                     </template>
54
                 </el-table-column>
54
                 </el-table-column>
55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
65
                 </el-table-column>
65
                 </el-table-column>
66
                 <el-table-column prop="province" label="累计时间" align="center" min-width="50">
66
                 <el-table-column prop="province" label="累计时间" align="center" min-width="50">
67
                     <template slot-scope="scope">
67
                     <template slot-scope="scope">
68
-                      {{ scope.row.sencond_total_time }}
68
+                      {{ scope.row.sencond_total_time?scope.row.sencond_total_time:"" }}
69
                     </template>
69
                     </template>
70
                 </el-table-column>
70
                 </el-table-column>
71
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
71
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
81
                 </el-table-column>
81
                 </el-table-column>
82
                 <el-table-column prop="province" label="累计时间" align="center" min-width="45">
82
                 <el-table-column prop="province" label="累计时间" align="center" min-width="45">
83
                     <template slot-scope="scope">
83
                     <template slot-scope="scope">
84
-                       {{scope.row.third_total_time }}
84
+                       {{scope.row.third_total_time?scope.row.third_total_time:"" }}
85
                     </template>
85
                     </template>
86
                 </el-table-column>
86
                 </el-table-column>
87
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
87
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
805
         saveNewAirDisinfect(formName){
805
         saveNewAirDisinfect(formName){
806
           this.$refs[formName].validate((valid)=>{
806
           this.$refs[formName].validate((valid)=>{
807
             if(valid){
807
             if(valid){
808
+                if(this.form.first_is_check!=""){
809
+                 this.form.first_is_check = parseInt(this.form.first_is_check)
810
+                }else{
811
+                  this.form.first_is_check = 0
812
+                }
813
+                
814
+                if( this.form.sencond_is_check!=""){
815
+                    this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
816
+                }else{
817
+                    this.form.sencond_is_check = ""
818
+                }
819
+                
820
+                if( this.form.third_is_check!=""){
821
+                   this.form.third_is_check = parseInt(this.form.third_is_check)
822
+                }else{
823
+                    this.form.third_is_check = 0
824
+                }
825
+                if(this.form.last_is_check!=""){
826
+                  this.form.last_is_check = parseInt(this.form.last_is_check)
827
+                }else{
828
+                  this.form.last_is_check = 0
829
+                }
830
+                
831
+                if(this.form.first_modifications!=""){
832
+                  this.form.first_modifications = parseInt(this.form.first_modifications)
833
+                }else{
834
+                    this.form.first_modifications =0  
835
+                }
836
+
837
+                if(this.form.sencond_modifications!=""){
838
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)  
839
+                }else{
840
+                    this.form.sencond_modifications =0
841
+                }
808
                 
842
                 
809
-                this.form.first_is_check = parseInt(this.form.first_is_check)
810
-                this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
811
-                this.form.third_is_check = parseInt(this.form.third_is_check)
812
-                this.form.last_is_check = parseInt(this.form.last_is_check)
843
+                if(this.form.third_modifications!=""){
844
+                   this.form.third_modifications = parseInt(this.form.third_modifications)
845
+                }else{
846
+                    this.form.third_modifications= 0   
847
+                }
848
+                
849
+                if(this.form.last_modifications!=""){
850
+                    this.form.last_modifications = parseInt(this.form.last_modifications)
851
+                }else{
852
+                    this.form.last_modifications= 0
853
+                }
854
+            
855
+            
856
+            
857
+              
858
+              console.log("this232322323",this.form)
813
               saveNewAirDisinfect(this.form).then(response=>{
859
               saveNewAirDisinfect(this.form).then(response=>{
814
                  if(response.data.state == 1 ){
860
                  if(response.data.state == 1 ){
815
                    var disinfect = response.data.data.disinfect
861
                    var disinfect = response.data.data.disinfect
816
                    this.$message.success("保存成功!")
862
                    this.$message.success("保存成功!")
817
                    this.dialogFormVisible = false
863
                    this.dialogFormVisible = false
864
+                   this.getNewAirDisinfectList()
818
                  }
865
                  }
819
               })
866
               })
820
             }
867
             }
863
               console.log("list",list)
910
               console.log("list",list)
864
               this.form.id = list.id
911
               this.form.id = list.id
865
               this.form.record_date = this.getTimes(list.record_date)
912
               this.form.record_date = this.getTimes(list.record_date)
866
-              this.form.first_disinfection_water = list.first_disinfection_water
867
-              this.form.first_disinfection_methods = list.first_disinfection_methods
868
-              this.form.first_disinfection_time = list.first_disinfection_time
913
+              this.form.first_disinfection_water = list.first_disinfection_water?list.first_disinfection_water:""
914
+              this.form.first_disinfection_methods = list.first_disinfection_methods?list.first_disinfection_methods:""
915
+              this.form.first_disinfection_time = list.first_disinfection_time?list.first_disinfection_time:""
869
               this.form.first_start_time = this.getTimeThree(list.first_start_time)
916
               this.form.first_start_time = this.getTimeThree(list.first_start_time)
870
               this.form.first_end_time = this.getTimeThree(list.first_end_time)
917
               this.form.first_end_time = this.getTimeThree(list.first_end_time)
871
-              this.form.first_total_time = list.first_total_time
918
+              this.form.first_total_time = list.first_total_time?list.first_total_time:""
872
               this.form.first_is_check = list.first_is_check.toString()
919
               this.form.first_is_check = list.first_is_check.toString()
873
-              this.form.first_modifications = list.first_modifications
920
+              this.form.first_modifications = list.first_modifications?list.first_modifications:""
874
               this.form.first_creator = list.first_creator
921
               this.form.first_creator = list.first_creator
875
-              this.form.sencond_disinfection_water = list.sencond_disinfection_water
876
-              this.form.sencond_disinfection_methods = list.sencond_disinfection_methods
877
-              this.form.sencond_disinfection_time = list.sencond_disinfection_time
922
+              this.form.sencond_disinfection_water = list.sencond_disinfection_water?list.sencond_disinfection_water:""
923
+              this.form.sencond_disinfection_methods = list.sencond_disinfection_methods? list.sencond_disinfection_methods:""
924
+              this.form.sencond_disinfection_time = list.sencond_disinfection_time?list.sencond_disinfection_time:""
878
               this.form.sencond_start_time = this.getTimeThree(list.sencond_start_time)
925
               this.form.sencond_start_time = this.getTimeThree(list.sencond_start_time)
879
               this.form.sencond_end_time = this.getTimeThree(list.sencond_end_time)
926
               this.form.sencond_end_time = this.getTimeThree(list.sencond_end_time)
880
-              this.form.sencond_total_time = list.sencond_total_time
927
+              this.form.sencond_total_time = list.sencond_total_time?list.sencond_total_time:""
881
               this.form.sencond_is_check = list.sencond_is_check.toString()
928
               this.form.sencond_is_check = list.sencond_is_check.toString()
882
-              this.form.sencond_modifications = list.sencond_modifications
929
+              this.form.sencond_modifications = list.sencond_modifications?list.sencond_modifications:""
883
               this.form.sencond_creator = list.sencond_creator
930
               this.form.sencond_creator = list.sencond_creator
884
-              this.form.third_disinfection_water = list.third_disinfection_water
885
-              this.form.third_disinfection_methods = list.third_disinfection_methods
886
-              this.form.third_disinfection_time = list.third_disinfection_time
931
+              this.form.third_disinfection_water = list.third_disinfection_water?list.third_disinfection_water:""
932
+              this.form.third_disinfection_methods = list.third_disinfection_methods?list.third_disinfection_methods:""
933
+              this.form.third_disinfection_time = list.third_disinfection_time?list.third_disinfection_time:""
887
               this.form.third_start_time  =this.getTimeThree(list.third_start_time)
934
               this.form.third_start_time  =this.getTimeThree(list.third_start_time)
888
               this.form.third_end_time = this.getTimeThree(list.third_end_time)
935
               this.form.third_end_time = this.getTimeThree(list.third_end_time)
889
-              this.form.third_total_time = list.third_total_time
936
+              this.form.third_total_time = list.third_total_time?list.third_total_time:""
890
               this.form.third_is_check = list.third_is_check.toString()
937
               this.form.third_is_check = list.third_is_check.toString()
891
-              this.form.third_modifications = list.third_modifications
938
+              this.form.third_modifications = list.third_modifications?list.third_modifications:""
892
               this.form.third_creator = list.third_creator
939
               this.form.third_creator = list.third_creator
893
               this.form.last_start_time = this.getTimeThree(list.last_start_time)
940
               this.form.last_start_time = this.getTimeThree(list.last_start_time)
894
               this.form.last_end_time = this.getTimeThree(list.last_end_time)
941
               this.form.last_end_time = this.getTimeThree(list.last_end_time)
895
-              this.form.last_total_time = list.last_total_time
942
+              this.form.last_total_time = list.last_total_time?list.last_total_time:""
896
               this.form.last_is_check = list.last_is_check.toString()
943
               this.form.last_is_check = list.last_is_check.toString()
897
-              this.form.last_modifications = list.last_modifications
944
+              this.form.last_modifications = list.last_modifications?list.last_modifications:""
898
               this.form.last_creator = list.last_creator
945
               this.form.last_creator = list.last_creator
899
               this.editDialogFormVisible = true
946
               this.editDialogFormVisible = true
900
              
947
              
905
         
952
         
906
          this.$refs[formName].validate((valid)=>{
953
          this.$refs[formName].validate((valid)=>{
907
             if(valid){
954
             if(valid){
908
-                this.form.first_is_check = parseInt(this.form.first_is_check)
909
-                this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
910
-                this.form.third_is_check = parseInt(this.form.third_is_check)
911
-                this.form.last_is_check = parseInt(this.form.last_is_check)
955
+                if(this.form.first_is_check!=""){
956
+                 this.form.first_is_check = parseInt(this.form.first_is_check)
957
+                }else{
958
+                  this.form.first_is_check = 0
959
+                }
960
+                
961
+                if( this.form.sencond_is_check!=""){
962
+                    this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
963
+                }else{
964
+                    this.form.sencond_is_check = ""
965
+                }
966
+                
967
+                if( this.form.third_is_check!=""){
968
+                   this.form.third_is_check = parseInt(this.form.third_is_check)
969
+                }else{
970
+                    this.form.third_is_check = 0
971
+                }
972
+                if(this.form.last_is_check!=""){
973
+                  this.form.last_is_check = parseInt(this.form.last_is_check)
974
+                }else{
975
+                  this.form.last_is_check = 0
976
+                }
977
+                
978
+                if(this.form.first_modifications!=""){
979
+                  this.form.first_modifications = parseInt(this.form.first_modifications)
980
+                }else{
981
+                    this.form.first_modifications =0  
982
+                }
983
+
984
+                if(this.form.sencond_modifications!=""){
985
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)  
986
+                }else{
987
+                    this.form.sencond_modifications =0
988
+                }
989
+                
990
+                if(this.form.third_modifications!=""){
991
+                   this.form.third_modifications = parseInt(this.form.third_modifications)
992
+                }else{
993
+                    this.form.third_modifications= 0   
994
+                }
995
+                
996
+                if(this.form.last_modifications!=""){
997
+                    this.form.last_modifications = parseInt(this.form.last_modifications)
998
+                }else{
999
+                    this.form.last_modifications= 0
1000
+                }
1001
+            
912
               updateAirDisinfect(this.form).then(response=>{
1002
               updateAirDisinfect(this.form).then(response=>{
913
                 if(response.data.state == 1){
1003
                 if(response.data.state == 1){
914
                   var disinfect =  response.data.data.disinfect
1004
                   var disinfect =  response.data.data.disinfect

+ 155 - 41
src/xt_pages/device/objectTableDisinfectTwo.vue 查看文件

28
           <div class="tab_air">
28
           <div class="tab_air">
29
             <el-table  :data="tableData" :fit="true" stripe>
29
             <el-table  :data="tableData" :fit="true" stripe>
30
                 <el-table-column prop="year" label="名称" width="150" align="center">
30
                 <el-table-column prop="year" label="名称" width="150" align="center">
31
-                    <el-table-column prop="year" label="消毒时间/min" align="center" width="150">
31
+                    <el-table-column prop="year" label="消毒时间" align="center" width="150">
32
                         <el-table-column prop="year" label="日期" align="center" width="150">
32
                         <el-table-column prop="year" label="日期" align="center" width="150">
33
                             <template slot-scope="scope">
33
                             <template slot-scope="scope">
34
                                 {{getTimes(scope.row.record_date) }}
34
                                 {{getTimes(scope.row.record_date) }}
39
                 </el-table-column>
39
                 </el-table-column>
40
                 <el-table-column prop="fenopda" :label="'湿化瓶'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
40
                 <el-table-column prop="fenopda" :label="'湿化瓶'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
41
                     <template slot-scope="scope">
41
                     <template slot-scope="scope">
42
-                        {{scope.row.first_total_time}}
42
+                        {{scope.row.first_total_time?scope.row.first_total_time:""}}
43
                     </template>
43
                     </template>
44
                 </el-table-column>
44
                 </el-table-column>
45
                 <el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
45
                 <el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
50
 
50
 
51
                 <el-table-column prop="date" :label="'止血带'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
51
                 <el-table-column prop="date" :label="'止血带'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
52
                     <template slot-scope="scope">
52
                     <template slot-scope="scope">
53
-                        {{scope.row.sencond_total_time}}
53
+                        {{scope.row.sencond_total_time?scope.row.sencond_total_time:""}}
54
                     </template>
54
                     </template>
55
                 </el-table-column>
55
                 </el-table-column>
56
                 <el-table-column prop="name" label="责任人" align="center" min-width="60">
56
                 <el-table-column prop="name" label="责任人" align="center" min-width="60">
61
 
61
 
62
                 <el-table-column prop="province" :label="'医疗垃圾桶'+'\n'+'1000mg/l含氯制剂'" align="center" min-width="60">
62
                 <el-table-column prop="province" :label="'医疗垃圾桶'+'\n'+'1000mg/l含氯制剂'" align="center" min-width="60">
63
                     <template slot-scope="scope">
63
                     <template slot-scope="scope">
64
-                        {{scope.row.third_total_time}}
64
+                        {{scope.row.third_total_time?scope.row.third_total_time:""}}
65
                     </template>
65
                     </template>
66
                 </el-table-column>
66
                 </el-table-column>
67
                 <el-table-column prop="city" label="负责人" align="center" min-width="60">
67
                 <el-table-column prop="city" label="负责人" align="center" min-width="60">
72
 
72
 
73
                 <el-table-column prop="name" :label="'体温计'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
73
                 <el-table-column prop="name" :label="'体温计'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
74
                     <template slot-scope="scope">
74
                     <template slot-scope="scope">
75
-                        {{scope.row.fourth_total_time}}
75
+                        {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}}
76
                     </template>
76
                     </template>
77
                 </el-table-column>
77
                 </el-table-column>
78
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
78
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
83
 
83
 
84
                 <el-table-column prop="city" :label="'体温枪'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
84
                 <el-table-column prop="city" :label="'体温枪'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
85
                     <template slot-scope="scope">
85
                     <template slot-scope="scope">
86
-                        {{scope.row.fourth_total_time}}
86
+                        {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}}
87
                     </template>
87
                     </template>
88
                 </el-table-column>
88
                 </el-table-column>
89
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
89
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
976
         saveObjectTableDisinfect(formName){
976
         saveObjectTableDisinfect(formName){
977
           this.$refs[formName].validate((valid=>{
977
           this.$refs[formName].validate((valid=>{
978
             if(valid){
978
             if(valid){
979
-                this.form.first_is_check = parseInt(this.form.first_is_check) 
980
-                this.form.sencond_is_check = parseInt(this.form.sencond_is_check) 
981
-                this.form.third_is_check = parseInt(this.form.third_is_check)
982
-                this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
983
-                this.form.last_is_check = parseInt(this.form.last_is_check)
979
+                if(this.form.first_is_check!=""){
980
+                  this.form.first_is_check = parseInt(this.form.first_is_check) 
981
+                }else{
982
+                    this.form.first_is_check=0
983
+                }
984
+
985
+                if(this.form.sencond_is_check!=""){
986
+                  this.form.sencond_is_check = parseInt(this.form.sencond_is_check) 
987
+                }else{
988
+                    this.form.sencond_is_check=0  
989
+                }
990
+
991
+                if(this.form.third_is_check!=""){
992
+                  this.form.third_is_check = parseInt(this.form.third_is_check)
993
+                }else{
994
+                    this.form.third_is_check = 0
995
+                }
996
+                
997
+                if(this.form.fourth_is_check!=""){
998
+                  this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
999
+                }else{
1000
+                    this.form.fourth_is_check =0  
1001
+                }
1002
+
1003
+                if(this.form.last_is_check!=""){
1004
+                    this.form.last_is_check = parseInt(this.form.last_is_check)
1005
+                }else{
1006
+                    this.form.last_is_check = 0
1007
+                }
1008
+
1009
+
1010
+                if(this.form.first_modifications!=""){
1011
+                  this.form.first_modifications = parseInt(this.form.first_modifications) 
1012
+                }else{
1013
+                    this.form.first_modifications=0
1014
+                }
1015
+
1016
+                if(this.form.sencond_modifications!=""){
1017
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications) 
1018
+                }else{
1019
+                    this.form.sencond_modifications=0  
1020
+                }
1021
+
1022
+                if(this.form.third_modifications!=""){
1023
+                  this.form.third_modifications = parseInt(this.form.third_modifications)
1024
+                }else{
1025
+                    this.form.third_modifications = 0
1026
+                }
1027
+                
1028
+                if(this.form.fourth_modifications!=""){
1029
+                  this.form.fourth_modifications = parseInt(this.form.fourth_modifications)
1030
+                }else{
1031
+                    this.form.fourth_modifications =0  
1032
+                }
1033
+
1034
+                if(this.form.last_modifications!=""){
1035
+                    this.form.last_modifications = parseInt(this.form.last_modifications)
1036
+                }else{
1037
+                    this.form.last_modifications = 0
1038
+                }
1039
+              
1040
+              
1041
+               
984
               saveObjectTableDisinfect(this.form).then(response=>{
1042
               saveObjectTableDisinfect(this.form).then(response=>{
985
                  if(response.data.state == 1){
1043
                  if(response.data.state == 1){
986
                    var objectDisinfect =  response.data.data.objectDisinfect
1044
                    var objectDisinfect =  response.data.data.objectDisinfect
987
                    this.$message.success("保存成功!")
1045
                    this.$message.success("保存成功!")
988
                    this.dialogFormVisible = false
1046
                    this.dialogFormVisible = false
1047
+                   this.getObjectTableDisInfectList()
989
                  }
1048
                  }
990
               })
1049
               })
991
             }
1050
             }
1013
               console.log("list",list)
1072
               console.log("list",list)
1014
               this.form.id = list.id
1073
               this.form.id = list.id
1015
               this.form.record_date = this.getTimes(list.record_date)
1074
               this.form.record_date = this.getTimes(list.record_date)
1016
-              this.form.first_disinfection_water = list.first_disinfection_water
1017
-              this.form.first_disinfection_methods = list.first_disinfection_methods
1018
-              this.form.first_disinfection_time = list.first_disinfection_time
1075
+              this.form.first_disinfection_water = list.first_disinfection_water? list.first_disinfection_water:""
1076
+              this.form.first_disinfection_methods = list.first_disinfection_methods? list.first_disinfection_methods:""
1077
+              this.form.first_disinfection_time = list.first_disinfection_time?list.first_disinfection_time:""
1019
               this.form.first_start_time = this.getTimeThree(list.first_start_time)
1078
               this.form.first_start_time = this.getTimeThree(list.first_start_time)
1020
               this.form.first_end_time = this.getTimeThree(list.first_end_time)
1079
               this.form.first_end_time = this.getTimeThree(list.first_end_time)
1021
-              this.form.first_total_time = list.first_total_time
1080
+              this.form.first_total_time = list.first_total_time?list.first_total_time:""
1022
               this.form.first_is_check = list.first_is_check.toString()
1081
               this.form.first_is_check = list.first_is_check.toString()
1023
-              this.form.first_modifications = list.first_modifications
1082
+              this.form.first_modifications = list.first_modifications?list.first_modifications:""
1024
               this.form.first_creator = list.first_creator
1083
               this.form.first_creator = list.first_creator
1025
-              this.form.sencond_disinfection_water = list.sencond_disinfection_water
1026
-              this.form.sencond_disinfection_methods = list.sencond_disinfection_methods
1027
-              this.form.sencond_disinfection_time = list.sencond_disinfection_time
1084
+              this.form.sencond_disinfection_water = list.sencond_disinfection_water?list.sencond_disinfection_water:""
1085
+              this.form.sencond_disinfection_methods = list.sencond_disinfection_methods?list.sencond_disinfection_methods:""
1086
+              this.form.sencond_disinfection_time = list.sencond_disinfection_time?list.sencond_disinfection_time:""
1028
               this.form.sencond_start_time = this.getTimeThree(list.sencond_start_time)
1087
               this.form.sencond_start_time = this.getTimeThree(list.sencond_start_time)
1029
               this.form.sencond_end_time = this.getTimeThree(list.sencond_end_time)
1088
               this.form.sencond_end_time = this.getTimeThree(list.sencond_end_time)
1030
-              this.form.sencond_total_time = list.sencond_total_time
1089
+              this.form.sencond_total_time = list.sencond_total_time?list.sencond_total_time:""
1031
               this.form.sencond_is_check = list.sencond_is_check.toString()
1090
               this.form.sencond_is_check = list.sencond_is_check.toString()
1032
-              this.form.sencond_modifications = list.sencond_modifications
1091
+              this.form.sencond_modifications = list.sencond_modifications?list.sencond_modifications:""
1033
               this.form.sencond_creator = list.sencond_creator
1092
               this.form.sencond_creator = list.sencond_creator
1034
-              this.form.third_disinfection_water = list.third_disinfection_water
1035
-              this.form.third_disinfection_methods = list.third_disinfection_methods
1036
-              this.form.third_disinfection_time = list.third_disinfection_time
1093
+              this.form.third_disinfection_water = list.third_disinfection_water?list.third_disinfection_water:""
1094
+              this.form.third_disinfection_methods = list.third_disinfection_methods?list.third_disinfection_methods:""
1095
+              this.form.third_disinfection_time = list.third_disinfection_time?list.third_disinfection_time:""
1037
               this.form.third_start_time  =this.getTimeThree(list.third_start_time)
1096
               this.form.third_start_time  =this.getTimeThree(list.third_start_time)
1038
               this.form.third_end_time = this.getTimeThree(list.third_end_time)
1097
               this.form.third_end_time = this.getTimeThree(list.third_end_time)
1039
-              this.form.third_total_time = list.third_total_time
1098
+              this.form.third_total_time = list.third_total_time?list.third_total_time:""
1040
               this.form.third_is_check = list.third_is_check.toString()
1099
               this.form.third_is_check = list.third_is_check.toString()
1041
-              this.form.third_modifications = list.third_modifications
1100
+              this.form.third_modifications = list.third_modifications?list.third_modifications:""
1042
               this.form.third_creator = list.third_creator
1101
               this.form.third_creator = list.third_creator
1043
 
1102
 
1044
-              this.form.fourth_disinfection_water = list.third_disinfection_water
1045
-              this.form.fourth_disinfection_methods = list.third_disinfection_methods
1046
-              this.form.fourth_disinfection_time = list.third_disinfection_time
1103
+              this.form.fourth_disinfection_water = list.third_disinfection_water?list.third_disinfection_water:""
1104
+              this.form.fourth_disinfection_methods = list.third_disinfection_methods?list.third_disinfection_methods:""
1105
+              this.form.fourth_disinfection_time = list.third_disinfection_time?list.third_disinfection_time:""
1047
               this.form.fourth_start_time  =this.getTimeThree(list.third_start_time)
1106
               this.form.fourth_start_time  =this.getTimeThree(list.third_start_time)
1048
               this.form.fourth_end_time = this.getTimeThree(list.third_end_time)
1107
               this.form.fourth_end_time = this.getTimeThree(list.third_end_time)
1049
-              this.form.fourth_total_time = list.third_total_time
1108
+              this.form.fourth_total_time = list.third_total_time? list.third_total_time:""
1050
               this.form.fourth_is_check = list.third_is_check.toString()
1109
               this.form.fourth_is_check = list.third_is_check.toString()
1051
-              this.form.fourth_modifications = list.third_modifications
1110
+              this.form.fourth_modifications = list.third_modifications?list.third_modifications:""
1052
               this.form.fourth_creator = list.third_creator
1111
               this.form.fourth_creator = list.third_creator
1053
 
1112
 
1054
               this.form.last_start_time = this.getTimeThree(list.last_start_time)
1113
               this.form.last_start_time = this.getTimeThree(list.last_start_time)
1055
               this.form.last_end_time = this.getTimeThree(list.last_end_time)
1114
               this.form.last_end_time = this.getTimeThree(list.last_end_time)
1056
-              this.form.last_total_time = list.last_total_time
1115
+              this.form.last_total_time = list.last_total_time?list.last_total_time:""
1057
               this.form.last_is_check = list.last_is_check.toString()
1116
               this.form.last_is_check = list.last_is_check.toString()
1058
-              this.form.last_modifications = list.last_modifications
1117
+              this.form.last_modifications = list.last_modifications?list.last_modifications:""
1059
               this.form.last_creator = list.last_creator
1118
               this.form.last_creator = list.last_creator
1060
-              this.form.last_disinfection_water = list.last_disinfection_water
1061
-              this.form.last_disinfection_methods = list.last_disinfection_methods
1062
-              this.form.last_disinfection_time = list.last_disinfection_time
1119
+              this.form.last_disinfection_water = list.last_disinfection_water?list.last_disinfection_water:""
1120
+              this.form.last_disinfection_methods = list.last_disinfection_methods?list.last_disinfection_methods:""
1121
+              this.form.last_disinfection_time = list.last_disinfection_time?list.last_disinfection_time:""
1063
               this.editDialogFormVisible = true
1122
               this.editDialogFormVisible = true
1064
             }
1123
             }
1065
           })
1124
           })
1067
         updateObjectTableDisinfect(formName){
1126
         updateObjectTableDisinfect(formName){
1068
           this.$refs[formName].validate((valid=>{
1127
           this.$refs[formName].validate((valid=>{
1069
             if(valid){
1128
             if(valid){
1070
-                this.form.first_is_check = parseInt(this.form.first_is_check) 
1071
-                this.form.sencond_is_check = parseInt(this.form.sencond_is_check) 
1072
-                this.form.third_is_check = parseInt(this.form.third_is_check)
1073
-                this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
1074
-                this.form.last_is_check = parseInt(this.form.last_is_check)
1129
+                if(this.form.first_is_check!=""){
1130
+                  this.form.first_is_check = parseInt(this.form.first_is_check) 
1131
+                }else{
1132
+                    this.form.first_is_check=0
1133
+                }
1134
+
1135
+                if(this.form.sencond_is_check!=""){
1136
+                  this.form.sencond_is_check = parseInt(this.form.sencond_is_check) 
1137
+                }else{
1138
+                    this.form.sencond_is_check=0  
1139
+                }
1140
+
1141
+                if(this.form.third_is_check!=""){
1142
+                  this.form.third_is_check = parseInt(this.form.third_is_check)
1143
+                }else{
1144
+                    this.form.third_is_check = 0
1145
+                }
1146
+                
1147
+                if(this.form.fourth_is_check!=""){
1148
+                  this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
1149
+                }else{
1150
+                    this.form.fourth_is_check =0  
1151
+                }
1152
+
1153
+                if(this.form.last_is_check!=""){
1154
+                    this.form.last_is_check = parseInt(this.form.last_is_check)
1155
+                }else{
1156
+                    this.form.last_is_check = 0
1157
+                }
1158
+
1159
+
1160
+                if(this.form.first_modifications!=""){
1161
+                  this.form.first_modifications = parseInt(this.form.first_modifications) 
1162
+                }else{
1163
+                    this.form.first_modifications=0
1164
+                }
1165
+
1166
+                if(this.form.sencond_modifications!=""){
1167
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications) 
1168
+                }else{
1169
+                    this.form.sencond_modifications=0  
1170
+                }
1171
+
1172
+                if(this.form.third_modifications!=""){
1173
+                  this.form.third_modifications = parseInt(this.form.third_modifications)
1174
+                }else{
1175
+                    this.form.third_modifications = 0
1176
+                }
1177
+                
1178
+                if(this.form.fourth_modifications!=""){
1179
+                  this.form.fourth_modifications = parseInt(this.form.fourth_modifications)
1180
+                }else{
1181
+                    this.form.fourth_modifications =0  
1182
+                }
1183
+
1184
+                if(this.form.last_modifications!=""){
1185
+                    this.form.last_modifications = parseInt(this.form.last_modifications)
1186
+                }else{
1187
+                    this.form.last_modifications = 0
1188
+                }
1075
                 console.log("hhahdhfhahdf",this.form)
1189
                 console.log("hhahdhfhahdf",this.form)
1076
                 updateObjectTableDisinfect(this.form).then(response=>{
1190
                 updateObjectTableDisinfect(this.form).then(response=>{
1077
                  if(response.data.state == 1){
1191
                  if(response.data.state == 1){

+ 3 - 0
src/xt_pages/dialysis/PatientBox.vue 查看文件

358
       date: "",
358
       date: "",
359
       modedata: 0,
359
       modedata: 0,
360
       stockType: [],
360
       stockType: [],
361
+      dryWeightList:[],
361
     };
362
     };
362
   },
363
   },
363
   props: {
364
   props: {
594
           this.stockType = stockType;
595
           this.stockType = stockType;
595
           console.log("元单快乐222222", this.stockType);
596
           console.log("元单快乐222222", this.stockType);
596
 
597
 
598
+          this.dryWeightList = resp.data.dryWeightList
599
+
597
           this.$refs.prescription.setLastRecord(
600
           this.$refs.prescription.setLastRecord(
598
             schedual,
601
             schedual,
599
             lastAssessmentAfterDislysis,
602
             lastAssessmentAfterDislysis,

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

823
                           }}
823
                           }}
824
                         </div>
824
                         </div>
825
                       </div>
825
                       </div>
826
+
827
+                      <div class="inline_block" style="flex: 1" v-if="org_id ==0 || org_id ==10440">
828
+                        衣物重:
829
+                        <div
830
+                          class="under_line"
831
+                          style="width: 70px; text-align: center"
832
+                        >
833
+                          {{
834
+                            record.assessment_before_dislysis &&
835
+                            record.assessment_before_dislysis.additional_weight
836
+                              ? record.assessment_before_dislysis.additional_weight
837
+                              : "/"
838
+                          }}
839
+                        </div>
840
+                      </div>
826
                       <div
841
                       <div
827
                         class="inline_block"
842
                         class="inline_block"
828
                         style="flex: 1"
843
                         style="flex: 1"
874
                     </div>
889
                     </div>
875
 
890
 
876
                     <div
891
                     <div
892
+                    
877
                       class="row"
893
                       class="row"
878
                       style="padding: 2px 0; line-height: 23px; display: flex"
894
                       style="padding: 2px 0; line-height: 23px; display: flex"
879
                     >
895
                     >
880
-                      <div class="inline_block" style="flex: 1">
896
+                      <div class="inline_block" style="flex: 1"
897
+                        v-if="org_id!=10440 && org_id !=0">
881
                         上次透后体重:
898
                         上次透后体重:
882
                         <div
899
                         <div
883
                           class="under_line"
900
                           class="under_line"
2442
                           }}
2459
                           }}
2443
                         </div>
2460
                         </div>
2444
                       </div>
2461
                       </div>
2462
+                    </div>
2463
+                     <div
2464
+                     v-if="org_id ==0 || org_id ==10440"
2465
+                      class="row"
2466
+                      style="padding: 2px 0; line-height: 23px; display: flex"
2467
+                    >
2468
+                      <div
2469
+                        class="inline_block"
2470
+                        style="flex: 1; display: inline-block"
2471
+                      >
2472
+                        衣物重:
2473
+                        <div
2474
+                          class="under_line"
2475
+                          style="
2476
+                            width: 100px;
2477
+                            line-height: 25px;
2478
+                            text-align: left;
2479
+                            margin-left: 2px;
2480
+                            display: inline-block;
2481
+                            white-space: normal;
2482
+                          "
2483
+                        >
2484
+                          {{
2485
+                            record.assessment_after_dislysis && record.assessment_after_dislysis.additional_weight
2486
+                              ? record.assessment_after_dislysis.additional_weight
2487
+                              : "/"
2488
+                          }}
2489
+                        </div>
2490
+                      </div>
2445
                     </div>
2491
                     </div>
2446
                     <div
2492
                     <div
2447
                       class="row"
2493
                       class="row"

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

57
57
58
                     </div>
58
                     </div>
59
                     <div class="inline_block" style="margin-right:5px;">
59
                     <div class="inline_block" style="margin-right:5px;">
60
-                        机器编
60
+                        床位
61
                         <div class="inline_block under_line" style="width:80px;">
61
                         <div class="inline_block under_line" style="width:80px;">
62
                           {{ record.device_zone.name && record.device_number.number ? getNewNumber(record.device_zone.name,record.device_number.number) : '' }}
62
                           {{ record.device_zone.name && record.device_number.number ? getNewNumber(record.device_zone.name,record.device_number.number) : '' }}
63
                         <!-- {{ record.device_zone.name && record.device_number.number ? record.device_zone.name + record.device_number.number : '' }} -->
63
                         <!-- {{ record.device_zone.name && record.device_number.number ? record.device_zone.name + record.device_number.number : '' }} -->

+ 16 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_twentyEight.vue 查看文件

743
                       <table class="table-box">
743
                       <table class="table-box">
744
                         <tbody>
744
                         <tbody>
745
                           <tr>
745
                           <tr>
746
-                            <td width="70">穿刺方式:</td>
747
-                            <td width="220">
746
+                            <td width="80">穿刺方式:</td>
747
+                            <td width="250">
748
                               <div>
748
                               <div>
749
                                 <label-box
749
                                 <label-box
750
                                   showValue="绳梯"
750
                                   showValue="绳梯"
782
                               </div>
782
                               </div>
783
                             </td>
783
                             </td>
784
                             <td width="60"></td>
784
                             <td width="60"></td>
785
-                            <td width="60">穿刺针:</td>
786
-                            <td width="200">
785
+                            <td width="70">穿刺针:</td>
786
+                            <td width="290">
787
                               <div>
787
                               <div>
788
+                                <label-box
789
+                                  :isChecked="
790
+                                    record.assessment_before_dislysis
791
+                                      .puncture_needle &&
792
+                                    record.assessment_before_dislysis.puncture_needle.indexOf(
793
+                                      '15G'
794
+                                    ) > -1
795
+                                      ? true
796
+                                      : false
797
+                                  "
798
+                                  showValue="15G"
799
+                                ></label-box>
788
                                 &nbsp;
800
                                 &nbsp;
789
                                 <label-box
801
                                 <label-box
790
                                   :isChecked="
802
                                   :isChecked="

+ 15 - 0
src/xt_pages/dialysis/details/NavIgation.vue 查看文件

122
       :dry_weight="last_dryWeight_dislysis"
122
       :dry_weight="last_dryWeight_dislysis"
123
       :lastAssessment="lastAssessment"
123
       :lastAssessment="lastAssessment"
124
        :prescription="prescription"
124
        :prescription="prescription"
125
+       :dryWeightList="dryWeightList"
126
+       :docList="docList"
125
     ></assessment-before-dislysis-dialog>
127
     ></assessment-before-dislysis-dialog>
126
 
128
 
127
     <treatment-summary-dialog
129
     <treatment-summary-dialog
185
       :prescription="prescription"
187
       :prescription="prescription"
186
       :predialysis_evaluation="predialysis_evaluation"
188
       :predialysis_evaluation="predialysis_evaluation"
187
       :dialysis_order="dialysis_order"
189
       :dialysis_order="dialysis_order"
190
+    
188
     ></assessment-after-dislysis>
191
     ></assessment-after-dislysis>
189
   </div>
192
   </div>
190
 </template>
193
 </template>
565
         return { id: 0 };
568
         return { id: 0 };
566
       }
569
       }
567
     },
570
     },
571
+    dryWeightList:{
572
+      type:Array,
573
+      default:()=>{
574
+        return [];
575
+      } 
576
+    },
577
+    docList:{
578
+      type:Array,
579
+      default:()=>{
580
+        return [];
581
+      } 
582
+    }
568
   },
583
   },
569
   methods: {
584
   methods: {
570
     getUnReadNum: function() {
585
     getUnReadNum: function() {

+ 63 - 5
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue 查看文件

192
   import { GetAllZone,getDialysisAdviceTemplateList,getDialysisAdviceSchedudeList } from '@/api/dialysis'
192
   import { GetAllZone,getDialysisAdviceTemplateList,getDialysisAdviceSchedudeList } from '@/api/dialysis'
193
 
193
 
194
   import { uParseTime } from "@/utils/tools";
194
   import { uParseTime } from "@/utils/tools";
195
-
195
+  const moment = require('moment')
196
   export default {
196
   export default {
197
     components: {
197
     components: {
198
       
198
       
661
             }
661
             }
662
           }
662
           }
663
         }
663
         }
664
-        if(newArr!=null && newArr.length > 0){
665
-          for(let i=0;i<newArr.length;i++){
666
-            his_str += newArr[i].advice_name +' '+newArr[i].advice_desc  +newArr[i].drug_spec_unit +' ' +newArr[i].prescribing_number  +newArr[i].prescribing_number_unit + "。"
664
+
665
+        if(this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 0){
666
+          //  console.log("----------------------",this.selected_date)
667
+            console.log("星期",this.getweekday(this.selected_date))
668
+            var newArrList = []
669
+            // var total_day = ""
670
+            // if(moment().weekday() == 1){
671
+            //   total_day ="周一"
672
+            // }
673
+            // if(moment().weekday() == 2){
674
+            //   total_day ="周二"
675
+            // }
676
+            // if(moment().weekday() == 3){
677
+            //   total_day ="周三"
678
+            // }
679
+            // if(moment().weekday() == 4){
680
+            //   total_day ="周四"
681
+            // }
682
+            // if(moment().weekday() == 5){
683
+            //   total_day ="周五"
684
+            // }
685
+            // if(moment().weekday() == 6){
686
+            //   total_day ="周六"
687
+            // }
688
+            // if(moment().weekday() == 7){
689
+            //   total_day ="周日"
690
+            // }
691
+          if(newArr!=null && newArr.length >0){
692
+            for(let i=0;i<newArr.length;i++){
693
+              if((newArr[i].frequency_type == 1) || (newArr[i].frequency_type == 3 && newArr[i].week_day.indexOf(this.getweekday(this.selected_date))!=-1)){
694
+                console.log("药品名称",newArr[i].advice_name)
695
+                 newArrList.push(newArr[i])
696
+              }
697
+              newArrList = this.unique(newArrList)
698
+              
699
+            }
700
+            if(newArrList!=null && newArrList.length > 0){
701
+              for(let i=0;i<newArrList.length;i++){
702
+                his_str += newArrList[i].advice_name +' '+newArrList[i].advice_desc  +newArrList[i].drug_spec_unit +' ' +newArrList[i].prescribing_number  +newArrList[i].prescribing_number_unit + "。"
703
+              }
704
+            }
705
+          }
706
+        }
707
+        if(this.$store.getters.xt_user.org_id != 9671 && this.$store.getters.xt_user.org_id != 0){
708
+         
709
+          if(newArr!=null && newArr.length > 0){
710
+            for(let i=0;i<newArr.length;i++){
711
+              his_str += newArr[i].advice_name +' '+newArr[i].advice_desc  +newArr[i].drug_spec_unit +' ' +newArr[i].prescribing_number  +newArr[i].prescribing_number_unit + "。"
712
+            }
667
           }
713
           }
668
         }
714
         }
715
+      
669
         return his_str
716
         return his_str
670
       },
717
       },
718
+      unique (arr) {
719
+        const res = new Map()
720
+        return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1))
721
+      },
671
       getHisAdviceContent(patient_id){
722
       getHisAdviceContent(patient_id){
672
         var arr = []
723
         var arr = []
673
         for(let i=0;i<this.templateList.length;i++){
724
         for(let i=0;i<this.templateList.length;i++){
750
      changePartionType(){
801
      changePartionType(){
751
       this.tableList = []
802
       this.tableList = []
752
       this.statistics()
803
       this.statistics()
753
-     }
804
+     },
805
+     getweekday(date){
806
+        var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
807
+
808
+        var week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date
809
+
810
+        return week;
811
+      }
754
     }
812
     }
755
   }
813
   }
756
 </script>
814
 </script>

+ 63 - 4
src/xt_pages/dialysis/details/consumable/dialysisDrugPrint.vue 查看文件

57
 </template>
57
 </template>
58
 
58
 
59
 <script>
59
 <script>
60
+ const moment = require('moment')
60
  import { getDialysisAdviceTemplateList } from '@/api/dialysis'
61
  import { getDialysisAdviceTemplateList } from '@/api/dialysis'
61
   import { parseTime } from '@/utils'
62
   import { parseTime } from '@/utils'
62
   import { uParseTime } from '@/utils/tools'
63
   import { uParseTime } from '@/utils/tools'
195
             }
196
             }
196
           }
197
           }
197
         }
198
         }
198
-        if(newArr!=null && newArr.length > 0){
199
-          for(let i=0;i<newArr.length;i++){
200
-            his_str += newArr[i].advice_name +' '+newArr[i].advice_desc + newArr[i].drug_spec_unit +' ' +newArr[i].prescribing_number  +newArr[i].prescribing_number_unit + "。"
199
+
200
+        if(this.$store.getters.xt_user.org_id == 10469 || this.$store.getters.xt_user.org_id == 0){
201
+            var newArrList = []
202
+            // var total_day = ""
203
+            // if(moment().weekday() == 1){
204
+            //   total_day ="周一"
205
+            // }
206
+            // if(moment().weekday() == 2){
207
+            //   total_day ="周二"
208
+            // }
209
+            // if(moment().weekday() == 3){
210
+            //   total_day ="周三"
211
+            // }
212
+            // if(moment().weekday() == 4){
213
+            //   total_day ="周四"
214
+            // }
215
+            // if(moment().weekday() == 5){
216
+            //   total_day ="周五"
217
+            // }
218
+            // if(moment().weekday() == 6){
219
+            //   total_day ="周六"
220
+            // }
221
+            // if(moment().weekday() == 7){
222
+            //   total_day ="周日"
223
+            // }
224
+          if(newArr!=null && newArr.length >0){
225
+            for(let i=0;i<newArr.length;i++){
226
+              if((newArr[i].frequency_type == 1) || (newArr[i].frequency_type == 3 && newArr[i].week_day.indexOf(this.getweekday(this.$route.query.schedule_date))!=-1)){
227
+                
228
+                 newArrList.push(newArr[i])
229
+              }
230
+              newArrList = this.unique(newArrList)
231
+              
232
+            }
233
+            if(newArrList!=null && newArrList.length > 0){
234
+              for(let i=0;i<newArrList.length;i++){
235
+                his_str += newArrList[i].advice_name +' '+newArrList[i].advice_desc  +newArrList[i].drug_spec_unit +' ' +newArrList[i].prescribing_number  +newArrList[i].prescribing_number_unit + "。"
236
+              }
237
+            }
238
+          }
239
+        }
240
+        if(this.$store.getters.xt_user.org_id != 10469 && this.$store.getters.xt_user.org_id != 0){
241
+         
242
+          if(newArr!=null && newArr.length > 0){
243
+            for(let i=0;i<newArr.length;i++){
244
+              his_str += newArr[i].advice_name +' '+newArr[i].advice_desc  +newArr[i].drug_spec_unit +' ' +newArr[i].prescribing_number  +newArr[i].prescribing_number_unit + "。"
245
+            }
201
           }
246
           }
202
         }
247
         }
248
+      
203
         return his_str
249
         return his_str
204
       },
250
       },
205
       getHisAdviceContent(patient_id){
251
       getHisAdviceContent(patient_id){
217
         }
263
         }
218
         return str 
264
         return str 
219
       },
265
       },
220
-    
266
+      unique (arr) {
267
+        const res = new Map()
268
+        return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1))
269
+      },
270
+
271
+      getweekday(date){
272
+        var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
273
+
274
+        var week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date
275
+
276
+        return week;
277
+      }
278
+
279
+      
221
     }
280
     }
222
   }
281
   }
223
 </script>
282
 </script>

+ 83 - 43
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue 查看文件

223
         :cell-class-name="adviceNameShow"
223
         :cell-class-name="adviceNameShow"
224
         :modal-append-to-body="false"
224
         :modal-append-to-body="false"
225
         highlight-current-row
225
         highlight-current-row
226
-
226
+        
227
       >
227
       >
228
       <!-- @selection-change="handleSelectionChange" -->
228
       <!-- @selection-change="handleSelectionChange" -->
229
         <!-- <el-table-column type="selection"  width="55"></el-table-column> -->
229
         <!-- <el-table-column type="selection"  width="55"></el-table-column> -->
257
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
257
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
258
               <span class="el-dropdown-link">
258
               <span class="el-dropdown-link">
259
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
259
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
260
+               
260
                 <i class="el-icon-arrow-down el-icon--right"></i>
261
                 <i class="el-icon-arrow-down el-icon--right"></i>
261
               </span>
262
               </span>
262
               <el-dropdown-menu slot="dropdown">
263
               <el-dropdown-menu slot="dropdown">
290
           </template>
291
           </template>
291
         </el-table-column>
292
         </el-table-column>
292
         <el-table-column
293
         <el-table-column
293
-          v-if="template_id != 6 && org_id!=10223 && org_id!=10445"
294
+          v-if="template_id != 6 && org_id!=10223 && org_id!=10445 && org_id!=0"
294
           prop="checker"
295
           prop="checker"
295
           min-width="30px"
296
           min-width="30px"
296
           align="center"
297
           align="center"
304
         </el-table-column>
305
         </el-table-column>
305
       </el-table>
306
       </el-table>
306
 
307
 
307
-
308
+     
308
 
309
 
309
       <el-table
310
       <el-table
310
         v-if="his_is_open  == 1 || is_advice_open == 1"
311
         v-if="his_is_open  == 1 || is_advice_open == 1"
359
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
360
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
360
               <span class="el-dropdown-link">
361
               <span class="el-dropdown-link">
361
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
362
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
363
+                 
362
                 <i class="el-icon-arrow-down el-icon--right"></i>
364
                 <i class="el-icon-arrow-down el-icon--right"></i>
363
               </span>
365
               </span>
364
               <el-dropdown-menu slot="dropdown">
366
               <el-dropdown-menu slot="dropdown">
781
         src_type:"",
783
         src_type:"",
782
         org_id:0,
784
         org_id:0,
783
         schedulePatient:{},
785
         schedulePatient:{},
786
+        tempArrOne:[],
784
       }
787
       }
785
     },
788
     },
786
     watch: {
789
     watch: {
795
         this.form['dialysis_order_id'] = this.dialysis_order.id
798
         this.form['dialysis_order_id'] = this.dialysis_order.id
796
       },
799
       },
797
 
800
 
801
+      'doctor_advices': function() {
802
+      
803
+        this.handleSpanTempArrOne();
804
+      },
805
+     
798
     },
806
     },
799
     methods: {
807
     methods: {
808
+      handleSpanTempArrOne() {
809
+          this.tempArrOne = [];
810
+          console.log("hhahhahahahahah",this.doctor_advices)
811
+          for (let i = 0; i < this.doctor_advices.length; i++) {
812
+            if (i === 0) {
813
+              this.tempArrOne.push(1);
814
+              this.pos = 0;
815
+            } else {
816
+              // 判断当前元素与上一个元素是否相同
817
+              if (
818
+                this.doctor_advices[i].groupno ===
819
+                this.doctor_advices[i - 1].groupno
820
+              ) {
821
+                this.tempArrOne[this.pos] += 1;
822
+                this.tempArrOne.push(0);
823
+              } else {
824
+                this.tempArrOne.push(1);
825
+                this.pos = i;
826
+              }
827
+            }
828
+          }
829
+      },
800
       handleSelectionChange(){
830
       handleSelectionChange(){
801
 
831
 
802
       },
832
       },
803
-
833
+     
834
+    
804
       //调试
835
       //调试
805
       lili(index,row){
836
       lili(index,row){
806
         // console.log("==index==",index)
837
         // console.log("==index==",index)
918
           return ''
949
           return ''
919
         }
950
         }
920
       },
951
       },
952
+     
921
       submitEditAdvice() {
953
       submitEditAdvice() {
922
         // console.log()
954
         // console.log()
923
         console.log("保存22222222222222")
955
         console.log("保存22222222222222")
1304
                 return false
1336
                 return false
1305
               }
1337
               }
1306
 
1338
 
1339
+              if(msg == 6){
1340
+                this.$message.error("执行失败,请重新执行")
1341
+                this.execTimeDialogVisible = false
1342
+                return false
1343
+              }
1344
+
1307
             }
1345
             }
1308
           })
1346
           })
1309
           .catch(() => {
1347
           .catch(() => {
2088
         return true
2126
         return true
2089
       }
2127
       }
2090
       ,
2128
       ,
2091
-      mergeSpan({ row, column, rowIndex, columnIndex }) {
2092
-        if (columnIndex != 2) {
2093
-          const _row = this.tempArr[rowIndex]
2094
-          const _col = _row > 0 ? 1 : 0
2095
-          return {
2096
-            rowspan: _row,
2097
-            colspan: _col
2098
-          }
2099
-        }
2100
-      }
2101
-      ,
2129
+    
2130
+      
2102
       handleSpanTempArr() {
2131
       handleSpanTempArr() {
2103
         this.tempArr = []
2132
         this.tempArr = []
2104
 
2133
 
2261
         // });
2290
         // });
2262
       },
2291
       },
2263
       objectSpanMethod({ row, column, rowIndex, columnIndex }) {
2292
       objectSpanMethod({ row, column, rowIndex, columnIndex }) {
2293
+        console.log("hhhhhhhhhh",this.tempArrOne)
2294
+        //合并单元格
2295
+        if (columnIndex === 0 || columnIndex === 1 ) {
2296
+          const _row = this.tempArrOne[rowIndex];
2297
+          const _col = _row > 0 ? 1 : 0;
2298
+          console.log("_row====",_row)
2299
+          console.log("_row----------",_col)
2300
+          return {
2301
+            rowspan: _row,
2302
+            colspan: _col
2303
+          };
2304
+        }
2305
+        // if (columnIndex === 0) {
2306
+        //   if (rowIndex % 2 === 0) {
2307
+        //     return {
2308
+        //       rowspan: 2,
2309
+        //       colspan: 1
2310
+        //     }
2311
+        //   } else {
2312
+        //     return {
2313
+        //       rowspan: 0,
2314
+        //       colspan: 0
2315
+        //     }
2316
+        //   }
2317
+        // }
2264
 
2318
 
2265
-        if (columnIndex === 0) {
2266
-          if (rowIndex % 2 === 0) {
2267
-            return {
2268
-              rowspan: 2,
2269
-              colspan: 1
2270
-            }
2271
-          } else {
2272
-            return {
2273
-              rowspan: 0,
2274
-              colspan: 0
2275
-            }
2276
-          }
2277
-        }
2278
-
2279
-        if (columnIndex === 1) {
2280
-          if (rowIndex % 2 === 0) {
2281
-            return {
2282
-              rowspan: 2,
2283
-              colspan: 1
2284
-            }
2285
-          } else {
2286
-            return {
2287
-              rowspan: 0,
2288
-              colspan: 0
2289
-            }
2290
-          }
2291
-        }
2319
+        // if (columnIndex === 1) {
2320
+        //   if (rowIndex % 2 === 0) {
2321
+        //     return {
2322
+        //       rowspan: 2,
2323
+        //       colspan: 1
2324
+        //     }
2325
+        //   } else {
2326
+        //     return {
2327
+        //       rowspan: 0,
2328
+        //       colspan: 0
2329
+        //     }
2330
+        //   }
2331
+        // }
2292
       }
2332
       }
2293
       ,
2333
       ,
2294
       GetLastOrNextDoctorAdvice(params) {
2334
       GetLastOrNextDoctorAdvice(params) {
2594
       }
2634
       }
2595
     },
2635
     },
2596
     created() {
2636
     created() {
2597
-    
2637
+     
2598
       var date = this.$route.query && this.$route.query.date
2638
       var date = this.$route.query && this.$route.query.date
2599
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
2639
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
2600
       this.form.advice_date = this.record_date
2640
       this.form.advice_date = this.record_date

+ 51 - 23
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

711
         </el-form-item>
711
         </el-form-item>
712
       </el-form>
712
       </el-form>
713
       <!-- 六次干体重调整记录 -->
713
       <!-- 六次干体重调整记录 -->
714
-      <!-- <div  style="margin: 10px 50px;"><span style="font-weight: bold;">近六次干体重调整记录</span></div>
714
+      <div  style="margin: 10px 50px;"><span style="font-weight: bold;">近六次干体重调整记录</span></div>
715
       <div class="gantizhong">
715
       <div class="gantizhong">
716
-        <el-table
717
-          :data="tableData"
718
-          stripe
719
-          style="width: 100%">
720
-          <el-table-column
721
-            prop=""
722
-            label="时间"
723
-            width="180">
716
+        <el-table :data="dryWeightList" stripe style="width: 100%">
717
+          <el-table-column prop="" label="时间"  width="180">
718
+            <template slot-scope="scope">
719
+                {{ getTime(scope.row.ctime) }}
720
+            </template>
724
           </el-table-column>
721
           </el-table-column>
725
-          <el-table-column
726
-            prop=""
727
-            label="干体重"
728
-            width="180">
722
+          <el-table-column prop="" label="干体重" width="180">
723
+            <template slot-scope="scope">
724
+              {{scope.row.dry_weight }}
725
+            </template>
729
           </el-table-column>
726
           </el-table-column>
730
-          <el-table-column
731
-            prop=""
732
-            label="医生"
733
-            width="180">
727
+          <el-table-column  prop=""  label="医生"  width="180">
728
+            <template slot-scope="scope">
729
+              {{getUserName(scope.row.creator) }}
730
+            </template>
734
           </el-table-column>
731
           </el-table-column>
735
-          <el-table-column
736
-            prop=""
737
-            label="备注">
732
+          <el-table-column prop="" label="备注">
733
+            <template slot-scope="scope">
734
+              {{scope.row.remakes }}
735
+            </template>
738
           </el-table-column>
736
           </el-table-column>
739
         </el-table>
737
         </el-table>
740
-      </div> -->
738
+      </div>
741
       <div slot="footer" class="dialog-footer">
739
       <div slot="footer" class="dialog-footer">
742
         <el-button @click="cancleDryWeight()">取 消</el-button>
740
         <el-button @click="cancleDryWeight()">取 消</el-button>
743
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
741
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
895
         thrombuShow:false,
893
         thrombuShow:false,
896
         body_weight_before:"",
894
         body_weight_before:"",
897
         point_punctures:[],
895
         point_punctures:[],
896
+       
898
       }
897
       }
899
     },
898
     },
900
     props: {
899
     props: {
931
           return { id: 0 }
930
           return { id: 0 }
932
         }
931
         }
933
       },
932
       },
933
+      dryWeightList:{
934
+        type:Array,
935
+        default:()=>{
936
+          return [];
937
+        } 
938
+       },
939
+      docList:{
940
+        type:Array,
941
+        default:()=>{
942
+          return [];
943
+        } 
944
+       }
934
 
945
 
935
     },
946
     },
936
     methods: {
947
     methods: {
987
       },
998
       },
988
 
999
 
989
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
1000
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
1001
+        console.log("dryWeightList",this.dryWeightList)
1002
+        console.log("doclist",this.docList)
990
         let filedList = store.getters.xt_user.fileds;
1003
         let filedList = store.getters.xt_user.fileds;
991
         console.log(filedList,'filedList')
1004
         console.log(filedList,'filedList')
992
         this.lastPredialysisEvaluation = last_predialysis_evaluation
1005
         this.lastPredialysisEvaluation = last_predialysis_evaluation
1531
         if(val == 2){
1544
         if(val == 2){
1532
          this.thrombuShow = false
1545
          this.thrombuShow = false
1533
         }
1546
         }
1534
-      }
1547
+      },
1535
 
1548
 
1549
+      getTime(value, temp) {
1550
+        if (value != undefined) {
1551
+          return uParseTime(value, temp)
1552
+        }
1553
+        return ''
1554
+      },
1555
+      getUserName(admin_user_id){
1556
+        var user_name = ""
1557
+        for(let i=0;i<this.docList.length;i++){
1558
+          if(admin_user_id == this.docList[i].admin_user_id){
1559
+            user_name = this.docList[i].user_name
1560
+          }
1561
+        }
1562
+        return user_name
1563
+      }
1536
       
1564
       
1537
     },
1565
     },
1538
     created() {
1566
     created() {
1539
-  
1567
+      
1540
       this.last_dialysis_after = getDataConfig('hemodialysis', 'last_dialysis_after')
1568
       this.last_dialysis_after = getDataConfig('hemodialysis', 'last_dialysis_after')
1541
       this.dialysis_interphase = getDataConfig('hemodialysis', 'dialysis_duration')
1569
       this.dialysis_interphase = getDataConfig('hemodialysis', 'dialysis_duration')
1542
       this.symptom_before_dialysis = getDataConfig('hemodialysis', 'dialysis_before')
1570
       this.symptom_before_dialysis = getDataConfig('hemodialysis', 'dialysis_before')

+ 2 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue 查看文件

1074
     changeBloodAccessOpion(id){
1074
     changeBloodAccessOpion(id){
1075
       var name = ""
1075
       var name = ""
1076
       for(let i=0;i<this.blood_access_option.length;i++){
1076
       for(let i=0;i<this.blood_access_option.length;i++){
1077
-        console.log("id9999",this.blood_access_option[i].id)
1077
+        // console.log("id9999",this.blood_access_option[i].id)
1078
         if(id == this.blood_access_option[i].id){
1078
         if(id == this.blood_access_option[i].id){
1079
            name = this.blood_access_option[i].name
1079
            name = this.blood_access_option[i].name
1080
         }
1080
         }
1085
     changeBloodAccessOpionOne(id){
1085
     changeBloodAccessOpionOne(id){
1086
       var name = ""
1086
       var name = ""
1087
       for(let i=0;i<this.blood_access_option.length;i++){
1087
       for(let i=0;i<this.blood_access_option.length;i++){
1088
-        console.log("id9999",this.blood_access_option[i].id)
1088
+        // console.log("id9999",this.blood_access_option[i].id)
1089
         if(id == this.blood_access_option[i].id){
1089
         if(id == this.blood_access_option[i].id){
1090
            name = this.blood_access_option[i].name
1090
            name = this.blood_access_option[i].name
1091
         }
1091
         }

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

2597
         if(moment().weekday() == 6){
2597
         if(moment().weekday() == 6){
2598
            total_day ="周六"
2598
            total_day ="周六"
2599
         }
2599
         }
2600
-        if(moment().weekday() == 6){
2601
-           total_day ="周"
2600
+        if(moment().weekday() == 7){
2601
+           total_day ="周"
2602
         }
2602
         }
2603
         console.log("---------",this.targetAdvices)
2603
         console.log("---------",this.targetAdvices)
2604
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
2604
         if(this.targetAdvices!=null && this.targetAdvices.length >0){

+ 21 - 15
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

236
                 template_id == 56 ||
236
                 template_id == 56 ||
237
                 template_id == 60 ||
237
                 template_id == 60 ||
238
                 org_id == 10210 ||
238
                 org_id == 10210 ||
239
-                org_id == 9555 || org_id == 10387
239
+                org_id == 9555 
240
                 || org_id == 10432
240
                 || org_id == 10432
241
                 || org_id == 10445
241
                 || org_id == 10445
242
-                || org_id == 10410)
242
+                || org_id == 10410) &&
243
+                org_id!=10387
243
             "
244
             "
244
           >
245
           >
245
             <template slot-scope="scope">
246
             <template slot-scope="scope">
266
             width="110"
267
             width="110"
267
             v-if="
268
             v-if="
268
               isShow('超滤量') &&
269
               isShow('超滤量') &&
269
-              template_id != 6 &&
270
+              (template_id != 6 &&
270
               template_id != 9 &&
271
               template_id != 9 &&
271
               template_id != 10 &&
272
               template_id != 10 &&
272
               template_id != 11 &&
273
               template_id != 11 &&
304
               template_id != 56 &&
305
               template_id != 56 &&
305
               template_id != 60 &&
306
               template_id != 60 &&
306
               org_id!= 10210 &&
307
               org_id!= 10210 &&
307
-              org_id != 9555 && org_id!=10387
308
+              org_id != 9555 
308
               && org_id!=10432 && org_id!=10445
309
               && org_id!=10432 && org_id!=10445
309
-              && org_id!=10410
310
+              && org_id!=10410)
311
+              || org_id == 10387
310
             "
312
             "
311
           >
313
           >
312
             <template slot-scope="scope">
314
             <template slot-scope="scope">
358
                 org_id == 10432 ||
360
                 org_id == 10432 ||
359
                 org_id == 10445 ||
361
                 org_id == 10445 ||
360
                 org_id == 10410)
362
                 org_id == 10410)
363
+                && org_id!=10387
361
             "
364
             "
362
           >
365
           >
363
             <template slot-scope="scope">
366
             <template slot-scope="scope">
375
             width="100"
378
             width="100"
376
             v-if="
379
             v-if="
377
               isShow('超滤率') &&
380
               isShow('超滤率') &&
378
-              template_id != 6 &&
381
+              (template_id != 6 &&
379
               template_id != 10 &&
382
               template_id != 10 &&
380
               template_id != 11 &&
383
               template_id != 11 &&
381
               template_id != 12 &&
384
               template_id != 12 &&
407
               template_id != 60 &&
410
               template_id != 60 &&
408
               org_id!=10432 &&
411
               org_id!=10432 &&
409
               org_id!=10445 &&
412
               org_id!=10445 &&
410
-              org_id!=10410
413
+              org_id!=10410) || 
414
+              org_id == 10387
411
             "
415
             "
412
           >
416
           >
413
             <template slot-scope="scope">
417
             <template slot-scope="scope">
1098
                 template_id == 60 ||
1102
                 template_id == 60 ||
1099
                 org_id== 10432 || 
1103
                 org_id== 10432 || 
1100
                 org_id== 10445 ||
1104
                 org_id== 10445 ||
1101
-                org_id== 10410)
1105
+                org_id== 10410) &&
1106
+                org_id!=10387
1102
             "
1107
             "
1103
           >
1108
           >
1104
             <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
1109
             <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
1110
             :span="8"
1115
             :span="8"
1111
             v-if="
1116
             v-if="
1112
               isShow('超滤率') &&
1117
               isShow('超滤率') &&
1113
-              template_id != 6 &&
1118
+              (template_id != 6 &&
1114
               template_id != 10 &&
1119
               template_id != 10 &&
1115
               template_id != 11 &&
1120
               template_id != 11 &&
1116
               template_id != 12 &&
1121
               template_id != 12 &&
1142
               template_id != 60 &&
1147
               template_id != 60 &&
1143
               org_id!=10432 && 
1148
               org_id!=10432 && 
1144
               org_id!=10445 &&
1149
               org_id!=10445 &&
1145
-              org_id!=10410
1150
+              org_id!=10410)
1151
+              || org_id == 10387
1146
             "
1152
             "
1147
           >
1153
           >
1148
             <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
1154
             <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
1193
                 org_id == 10210 ||
1199
                 org_id == 10210 ||
1194
                 org_id == 9555 ||
1200
                 org_id == 9555 ||
1195
                 org_id == 10340 ||
1201
                 org_id == 10340 ||
1196
-                org_id == 10387 ||
1197
                 org_id == 10432 ||
1202
                 org_id == 10432 ||
1198
                 org_id == 10445 ||
1203
                 org_id == 10445 ||
1199
-                org_id == 10410)
1204
+                org_id == 10410) 
1205
+                && org_id!=10387
1200
             "
1206
             "
1201
           >
1207
           >
1202
             <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
1208
             <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
1209
             :span="8"
1215
             :span="8"
1210
             v-if="
1216
             v-if="
1211
               isShow('超滤量') &&
1217
               isShow('超滤量') &&
1212
-              template_id != 6 &&
1218
+              (template_id != 6 &&
1213
               template_id != 9 &&
1219
               template_id != 9 &&
1214
               template_id != 10 &&
1220
               template_id != 10 &&
1215
               template_id != 11 &&
1221
               template_id != 11 &&
1247
               org_id !=  10210 &&
1253
               org_id !=  10210 &&
1248
               org_id !=  10340 &&
1254
               org_id !=  10340 &&
1249
               org_id != 9555 &&
1255
               org_id != 9555 &&
1250
-              org_id!=10387&&
1251
               org_id!=10432 && 
1256
               org_id!=10432 && 
1252
               org_id!=10445 && 
1257
               org_id!=10445 && 
1253
-              org_id!=10410
1258
+              org_id!=10410)
1259
+              || org_id == 10387
1254
             "
1260
             "
1255
           >
1261
           >
1256
             <el-form-item label="超滤量(L):" :prop="isName('超滤量')"
1262
             <el-form-item label="超滤量(L):" :prop="isName('超滤量')"

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10387 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445) " width="92px" > 置换率(ml/min) </th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445) " width="92px" > 置换率(ml/min) </th>

+ 9 - 3
src/xt_pages/dialysis/details/index.vue 查看文件

623
         :stockType="stockType"
623
         :stockType="stockType"
624
         :his_doctor_advices="his_doctor_advices"
624
         :his_doctor_advices="his_doctor_advices"
625
         :lastOrder="lastOrder"
625
         :lastOrder="lastOrder"
626
+        :dryWeightList="dryWeightList"
627
+        :docList="docList"
626
       >
628
       >
627
       </nav-igation>
629
       </nav-igation>
628
 
630
 
1049
       printDate:'',
1051
       printDate:'',
1050
       assessmentAfterDislysis:{},
1052
       assessmentAfterDislysis:{},
1051
       lastOrder:{},
1053
       lastOrder:{},
1054
+      dryWeightList:[],
1055
+      docList:[],
1052
     }
1056
     }
1053
   },
1057
   },
1054
   created() {
1058
   created() {
1537
 
1541
 
1538
           var stockType =  resp.data.stockType
1542
           var stockType =  resp.data.stockType
1539
           this.stockType = stockType
1543
           this.stockType = stockType
1540
-
1541
-
1544
+          
1545
+          this.dryWeightList = resp.data.dryWeightList
1546
+          this.docList = resp.data.docList
1547
+          console.log("doclist-----",this.docList)
1542
           var prepare = resp.data.prepare
1548
           var prepare = resp.data.prepare
1543
           if(prepare!=null){
1549
           if(prepare!=null){
1544
             this.preparestock = prepare
1550
             this.preparestock = prepare
1605
     printOrder() {
1611
     printOrder() {
1606
       var xtdate = parseTime(this.date, '{y}-{m}-{d}')
1612
       var xtdate = parseTime(this.date, '{y}-{m}-{d}')
1607
       this.$router.push(
1613
       this.$router.push(
1608
-        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no
1614
+        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no +"&patient_id="+this.patient.id
1609
       )
1615
       )
1610
     },
1616
     },
1611
     printOrderOne(){
1617
     printOrderOne(){

+ 26 - 5
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

111
           org_template_info.template_id == 50 ||
111
           org_template_info.template_id == 50 ||
112
           org_template_info.template_id == 52 ||
112
           org_template_info.template_id == 52 ||
113
           org_template_info.template_id == 53  ||
113
           org_template_info.template_id == 53  ||
114
-          $store.getters.xt_user.org.id == 0
114
+          org_template_info.template_id == 64  ||
115
+          $store.getters.xt_user.org.id == 0 
115
         "
116
         "
116
       >
117
       >
117
       <div>
118
       <div>
796
           >
797
           >
797
         </div>
798
         </div>
798
       </template>
799
       </template>
799
-      
800
+
800
     </div>
801
     </div>
801
     <div class="app-container" style="min-height: 0">
802
     <div class="app-container" style="min-height: 0">
802
       <!--<div class="order-print-btn"-->
803
       <!--<div class="order-print-btn"-->
1239
           v-bind:childResponse="childResponse"
1240
           v-bind:childResponse="childResponse"
1240
             v-if="org_template_info.template_id == 63">
1241
             v-if="org_template_info.template_id == 63">
1241
           </DialysisPrintOrderSixtyThree> -->
1242
           </DialysisPrintOrderSixtyThree> -->
1243
+          <DialysisPrintOrderSixtyfour
1244
+          v-bind:childResponse="childResponse"
1245
+            v-if="org_template_info.template_id == 64">
1246
+
1247
+          </DialysisPrintOrderSixtyfour>
1242
         </div>
1248
         </div>
1243
       </el-container>
1249
       </el-container>
1244
     </div>
1250
     </div>
1320
 import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
1326
 import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
1321
 import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
1327
 import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
1322
 // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
1328
 // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
1329
+import DialysisPrintOrderSixtyfour from './template/DialysisPrintOrderSixtyfour'
1323
 export default {
1330
 export default {
1324
   name: "dialysisPrintOrder",
1331
   name: "dialysisPrintOrder",
1325
   components: {
1332
   components: {
1386
     DialysisPrintOrderSeven,
1393
     DialysisPrintOrderSeven,
1387
     DialysisPrintOrderEight,
1394
     DialysisPrintOrderEight,
1388
     DialysisPrintOrderNine,
1395
     DialysisPrintOrderNine,
1389
-
1396
+    DialysisPrintOrderSixtyfour,
1390
     LabelBox,
1397
     LabelBox,
1391
     BreadCrumb,
1398
     BreadCrumb,
1392
   },
1399
   },
1937
           style: style2,
1944
           style: style2,
1938
           scanStyles: false,
1945
           scanStyles: false,
1939
         });
1946
         });
1947
+      }else if (
1948
+        this.org_template_info.template_id == 64
1949
+      ) {
1950
+        printJS({
1951
+          printable: "dialysis-print-box-64",
1952
+          type: "html",
1953
+          style: style12,
1954
+          scanStyles: false,
1955
+        });
1956
+        
1940
       }else if (
1957
       }else if (
1941
         this.org_template_info.template_id == 53
1958
         this.org_template_info.template_id == 53
1942
       ) {
1959
       ) {
1947
           scanStyles: false,
1964
           scanStyles: false,
1948
         });
1965
         });
1949
         
1966
         
1950
-      }else if (
1967
+      }
1968
+      else if (
1951
         this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
1969
         this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
1952
       ) {
1970
       ) {
1953
         printJS({
1971
         printJS({
2032
           style: style,
2050
           style: style,
2033
           scanStyles: false,
2051
           scanStyles: false,
2034
         });
2052
         });
2035
-      }
2053
+      } 
2036
     },
2054
     },
2037
     printThisTwoPage() {
2055
     printThisTwoPage() {
2038
       var ptime = Math.round(new Date().getTime() / 1000);
2056
       var ptime = Math.round(new Date().getTime() / 1000);
2160
       getDialysisRecord(this.queryParams).then((response) => {
2178
       getDialysisRecord(this.queryParams).then((response) => {
2161
         if (response.data.state == 1) {
2179
         if (response.data.state == 1) {
2162
           this.childResponse = response;
2180
           this.childResponse = response;
2181
+          console.log('this.org_template_info是数据',response.data.data);
2163
           this.org_template_info = response.data.data.org_template_info;
2182
           this.org_template_info = response.data.data.org_template_info;
2164
           this.loading = false;
2183
           this.loading = false;
2165
           //   this.adminUser = response.data.data.users
2184
           //   this.adminUser = response.data.data.users
2861
 
2880
 
2862
     const xtdate = this.$route.query && this.$route.query.xtdate;
2881
     const xtdate = this.$route.query && this.$route.query.xtdate;
2863
     const xtno = this.$route.query && this.$route.query.xtno;
2882
     const xtno = this.$route.query && this.$route.query.xtno;
2883
+    const patient_id = this.$route.query && this.$route.query.patient_id;
2864
     if (
2884
     if (
2865
       typeof xtdate === "string" &&
2885
       typeof xtdate === "string" &&
2866
       xtdate.length > 0 &&
2886
       xtdate.length > 0 &&
2869
     ) {
2889
     ) {
2870
       this.queryParams.xtdate = xtdate;
2890
       this.queryParams.xtdate = xtdate;
2871
       this.queryParams.xtno = xtno;
2891
       this.queryParams.xtno = xtno;
2892
+      this.queryParams.patient_id = patient_id
2872
       this.getDialysisRecord();
2893
       this.getDialysisRecord();
2873
     } else {
2894
     } else {
2874
       this.$message.error("参数不齐");
2895
       this.$message.error("参数不齐");

+ 2 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue 查看文件

1201
       </table>
1201
       </table>
1202
     </div>
1202
     </div>
1203
   </div>
1203
   </div>
1204
+
1205
+  
1204
   <div id="dialysis-print-box-1-2">
1206
   <div id="dialysis-print-box-1-2">
1205
     <div class="dialysis-print-order">
1207
     <div class="dialysis-print-order">
1206
       <table class="print-table">
1208
       <table class="print-table">

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue 查看文件

814
                                   : "mmHg"
814
                                   : "mmHg"
815
                               }})
815
                               }})
816
                             </td>
816
                             </td>
817
-                            <td width="60">透析液温度(°C)</td>
817
+                            <td width="60">动脉压</td>
818
                             <!-- <td width="50">电导度<br />(ms/cm)</td> -->
818
                             <!-- <td width="50">电导度<br />(ms/cm)</td> -->
819
                             <td width="50">超滤率<br />ml/h</td>
819
                             <td width="50">超滤率<br />ml/h</td>
820
                             <td width="50">超滤量<br />(ml)</td>
820
                             <td width="50">超滤量<br />(ml)</td>
884
                             <!-- 透析液温度 -->
884
                             <!-- 透析液温度 -->
885
                             <td>
885
                             <td>
886
                               {{
886
                               {{
887
-                                monitor.dialysate_temperature
888
-                                  ? monitor.dialysate_temperature
887
+                                monitor.arterial_pressure
888
+                                  ? monitor.arterial_pressure
889
                                   : ""
889
                                   : ""
890
                               }}
890
                               }}
891
                             </td>
891
                             </td>

+ 62 - 16
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

832
                         }}
832
                         }}
833
                       </div>
833
                       </div>
834
                     </div>
834
                     </div>
835
+
836
+                     <div class="inline_block" style="flex: 1" v-if="org_id ==0 || org_id ==10440">
837
+                      衣物重:
838
+                      <div
839
+                        class="under_line"
840
+                        style="width: 70px; text-align: center"
841
+                      >
842
+                        {{
843
+                          predialysis.additional_weight
844
+                            ? predialysis.additional_weight
845
+                            : "/"
846
+                        }}
847
+                      </div>
848
+                    </div>
835
                     <div class="inline_block" style="flex: 1" v-if="org_id==10290">
849
                     <div class="inline_block" style="flex: 1" v-if="org_id==10290">
836
                       透析器/灌流器:
850
                       透析器/灌流器:
837
                       <div
851
                       <div
901
                     class="row"
915
                     class="row"
902
                     style="padding: 2px 0; line-height: 23px; display: flex"
916
                     style="padding: 2px 0; line-height: 23px; display: flex"
903
                   >
917
                   >
904
-                    <div class="inline_block" style="flex: 1">
918
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=0 && org_id!=10440">
905
                       上次透后体重:
919
                       上次透后体重:
906
                       <div
920
                       <div
907
                         class="under_line"
921
                         class="under_line"
1493
                       
1507
                       
1494
 
1508
 
1495
                         <td>
1509
                         <td>
1496
-                          <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10471"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1497
-                          <span v-if="org_id==9671 || org_id==10440 || org_id == 10471"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1510
+                          <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1511
+                          <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1498
                         </td>
1512
                         </td>
1499
                         <!-- <td style="width:50px">
1513
                         <!-- <td style="width:50px">
1500
                           <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))">
1514
                           <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))">
2468
                     </div>
2482
                     </div>
2469
                   </div>
2483
                   </div>
2470
 
2484
 
2485
+
2486
+                   <div
2487
+                    v-if="org_id == 10440 || org_id == 0"
2488
+                    class="row"
2489
+                    style="padding: 2px 0; line-height: 23px; display: flex"
2490
+                  >
2491
+                    <div
2492
+                      class="inline_block"
2493
+                      style="flex: 1; display: inline-block"
2494
+                    >
2495
+                      衣物重:
2496
+                      <div
2497
+                        class="under_line"
2498
+                        style="
2499
+                          width: 100px;
2500
+                          line-height: 25px;
2501
+                          text-align: left;
2502
+                          margin-left: 2px;
2503
+                          display: inline-block;
2504
+                          white-space: normal;
2505
+                        "
2506
+                      >
2507
+                        {{
2508
+                          afterdialysis.additional_weight
2509
+                            ? afterdialysis.additional_weight
2510
+                            : "/"
2511
+                        }}
2512
+                      </div>
2513
+                    </div>
2514
+                  </div>
2515
+
2471
                   <div
2516
                   <div
2472
                     class="row"
2517
                     class="row"
2473
                     style="padding: 2px 0; line-height: 23px; display: flex"
2518
                     style="padding: 2px 0; line-height: 23px; display: flex"
2596
                           }}</span
2641
                           }}</span
2597
                         >
2642
                         >
2598
                         <img
2643
                         <img
2599
-                          style="height: 30px"
2644
+                          style="height: 40px"
2600
                           :src="
2645
                           :src="
2601
                             setAdminUserES(
2646
                             setAdminUserES(
2602
                               dialysisOrder == null
2647
                               dialysisOrder == null
2639
                           }}</span
2684
                           }}</span
2640
                         >
2685
                         >
2641
                         <img
2686
                         <img
2642
-                          style="height: 30px"
2687
+                          style="height: 40px"
2643
                           :src="
2688
                           :src="
2644
                             setAdminUserES(
2689
                             setAdminUserES(
2645
                               dialysisOrder == null
2690
                               dialysisOrder == null
2667
                       >
2712
                       >
2668
                     
2713
                     
2669
                         <span
2714
                         <span
2670
-                          style="height: 30px; display: inline-block"
2715
+                          style="height: 40px; display: inline-block"
2671
                           v-if="
2716
                           v-if="
2672
                             setAdminUserES(
2717
                             setAdminUserES(
2673
                               dialysisOrder == null
2718
                               dialysisOrder == null
2685
                           }}</span
2730
                           }}</span
2686
                         >
2731
                         >
2687
                         <img
2732
                         <img
2688
-                          style="height: 30px"
2733
+                          style="height: 40px"
2689
                           :src="
2734
                           :src="
2690
                             setAdminUserES(
2735
                             setAdminUserES(
2691
                               dialysisOrder == null
2736
                               dialysisOrder == null
2732
                           }}</span
2777
                           }}</span
2733
                         >
2778
                         >
2734
                         <img
2779
                         <img
2735
-                          style="height: 30px"
2780
+                          style="height: 40px"
2736
                           :src="
2781
                           :src="
2737
                             setAdminUserES(
2782
                             setAdminUserES(
2738
                               dialysisOrder == null
2783
                               dialysisOrder == null
2768
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2813
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2769
                         </span>
2814
                         </span>
2770
                         <img
2815
                         <img
2771
-                          style="height: 30px"
2816
+                          style="height: 40px"
2772
                           :src="
2817
                           :src="
2773
                             setAdminUserES(check == null ? 0 : check.creater)
2818
                             setAdminUserES(check == null ? 0 : check.creater)
2774
                           "
2819
                           "
2795
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2840
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2796
                         </span>
2841
                         </span>
2797
                         <img
2842
                         <img
2798
-                          style="height: 30px"
2843
+                          style="height: 40px"
2799
                           :src="
2844
                           :src="
2800
                             setAdminUserES(check == null ? 0 : check.creater)
2845
                             setAdminUserES(check == null ? 0 : check.creater)
2801
                           "
2846
                           "
2823
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
2868
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
2824
                         </span>
2869
                         </span>
2825
                         <img
2870
                         <img
2826
-                          style="height: 30px"
2871
+                          style="height: 40px"
2827
                           :src="
2872
                           :src="
2828
                             setAdminUserES(check == null ? 0 : check.modifier)
2873
                             setAdminUserES(check == null ? 0 : check.modifier)
2829
                           "
2874
                           "
2851
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2896
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2852
                         </span>
2897
                         </span>
2853
                         <img
2898
                         <img
2854
-                          style="height: 30px"
2899
+                          style="height: 40px"
2855
                           :src="
2900
                           :src="
2856
                             setAdminUserES(check == null ? 0 : check.creater)
2901
                             setAdminUserES(check == null ? 0 : check.creater)
2857
                           "
2902
                           "
2886
                           }}
2931
                           }}
2887
                         </span>
2932
                         </span>
2888
                         <img
2933
                         <img
2889
-                          style="height: 30px"
2934
+                          style="height: 40px"
2890
                           :src="
2935
                           :src="
2891
                             setAdminUserES(
2936
                             setAdminUserES(
2892
                               dialysisOrder == null
2937
                               dialysisOrder == null
2913
                           {{ getAdminUser(prescription.creater) }}
2958
                           {{ getAdminUser(prescription.creater) }}
2914
                         </span>
2959
                         </span>
2915
                         <img
2960
                         <img
2916
-                          style="height: 30px"
2961
+                          style="height: 40px"
2917
                           :src="setAdminUserES(prescription.creater)"
2962
                           :src="setAdminUserES(prescription.creater)"
2918
                           alt=""
2963
                           alt=""
2919
                           srcset=""
2964
                           srcset=""
3008
       queryParams: {
3053
       queryParams: {
3009
         xtdate: "",
3054
         xtdate: "",
3010
         xtno: "",
3055
         xtno: "",
3056
+        patient_id:""
3011
       },
3057
       },
3012
       patientInfo: {
3058
       patientInfo: {
3013
         birth: "",
3059
         birth: "",
3699
         for (let index = 0; index < this.doctor_advices.length; index++) {
3745
         for (let index = 0; index < this.doctor_advices.length; index++) {
3700
           this.doctor_advices[index]["isShow"] = 2;
3746
           this.doctor_advices[index]["isShow"] = 2;
3701
         }
3747
         }
3702
-       console.log("total--------------------------",this.doctor_advices)
3748
+    
3703
         // if (this.doctor_advices.length > 0) {
3749
         // if (this.doctor_advices.length > 0) {
3704
         //   var group = this.newAdviceGroupObject()
3750
         //   var group = this.newAdviceGroupObject()
3705
         //   var initGroupBlock = function(group, advice) {
3751
         //   var initGroupBlock = function(group, advice) {
3932
       "vascular_access_desc"
3978
       "vascular_access_desc"
3933
     );
3979
     );
3934
     this.org_id = this.$store.getters.xt_user.org.id;
3980
     this.org_id = this.$store.getters.xt_user.org.id;
3935
-    console.log("org_id-----------------------------------------",this.org_id)
3981
+   
3936
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
3982
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
3937
 
3983
 
3938
     var bloodAccessParOpera = getDataConfig(
3984
     var bloodAccessParOpera = getDataConfig(

文件差異過大導致無法顯示
+ 1234 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue


+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue 查看文件

47
47
48
           </div>
48
           </div>
49
           <div class="inline_block" style="margin-right:5px;">
49
           <div class="inline_block" style="margin-right:5px;">
50
-              机器编
50
+              床位
51
               <div class="inline_block under_line" style="width:80px;">
51
               <div class="inline_block under_line" style="width:80px;">
52
               {{ getNumber() }}
52
               {{ getNumber() }}
53
               </div>
53
               </div>

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue 查看文件

378
                   </td>
378
                   </td>
379
                   <td width='20'></td>
379
                   <td width='20'></td>
380
                   <td width="70">穿刺针:</td>
380
                   <td width="70">穿刺针:</td>
381
-                  <td width="260" style="text-align:left;">
381
+                  <td width="300" style="text-align:left;">
382
                     <div>
382
                     <div>
383
+                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('15G') > -1 ? true : false" showValue="15G"></label-box>
384
+                      &nbsp;
383
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : false" showValue="16G"></label-box>
385
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : false" showValue="16G"></label-box>
384
                       &nbsp;
386
                       &nbsp;
385
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
387
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>

+ 49 - 0
src/xt_pages/hospitalStation/components/deskPrescription.vue 查看文件

2430
               if (num == 0) {
2430
               if (num == 0) {
2431
                   var arr = []//新增处方
2431
                   var arr = []//新增处方
2432
                   var arr_one = []
2432
                   var arr_one = []
2433
+                  var arr_Two = []
2433
                 for(let i=0;i<this.prescriptions.length;i++){
2434
                 for(let i=0;i<this.prescriptions.length;i++){
2434
                   if(this.prescriptions[i].id == 0){
2435
                   if(this.prescriptions[i].id == 0){
2435
 
2436
 
2440
                     if(arr.length > 0){
2441
                     if(arr.length > 0){
2441
                       let objInfo = {};
2442
                       let objInfo = {};
2442
                       arr.forEach((item, index) => {
2443
                       arr.forEach((item, index) => {
2444
+                    
2443
                       let { id } = item.id;
2445
                       let { id } = item.id;
2444
                       if (!objInfo[id]) {
2446
                       if (!objInfo[id]) {
2445
                           objInfo[id] = {
2447
                           objInfo[id] = {
2502
                      if(arr_one.length > 0){
2504
                      if(arr_one.length > 0){
2503
                       let objInfo = {};
2505
                       let objInfo = {};
2504
                       arr_one.forEach((item, index) => {
2506
                       arr_one.forEach((item, index) => {
2507
+                     
2505
                       let { id } = item.id;
2508
                       let { id } = item.id;
2506
                       if (!objInfo[id]) {
2509
                       if (!objInfo[id]) {
2507
                           objInfo[id] = {
2510
                           objInfo[id] = {
2565
                     }
2568
                     }
2566
                   }
2569
                   }
2567
 
2570
 
2571
+                if(arr.length > 0){
2572
+                  for(let i =0;i<arr.length;i++){
2573
+                    if(arr[i].drug!=null){
2574
+                      if(arr[i].drug.is_user == 2){
2575
+                        if(arr[i].prescribing_number_unit != arr[i].drug.max_unit && arr[i].prescribing_number_unit!=arr[i].drug.min_unit){
2576
+                          this.$message.error(arr[i].drug.drug_name + " " +arr[i].drug.dose + arr[i].drug.dose_unit + "*" + arr[i].drug.min_number + arr[i].drug.min_unit+"/"+arr[i].drug.max_unit +" "+ "总量单位不匹配,保存失败!")
2577
+                          isLoading = false
2578
+                          this.$emit('editKeepLoad', false)
2579
+                          return
2580
+                        }
2581
+                      }
2582
+                    }
2583
+                  }
2584
+                }
2585
+
2586
+
2587
+                if(arr_one.length > 0){
2588
+                  for(let i =0;i<arr_one.length;i++){
2589
+                    if(arr_one[i].drug!=null){
2590
+                      if(arr_one[i].drug.is_user == 2){
2591
+                        if(arr_one[i].prescribing_number_unit != arr_one[i].drug.max_unit && arr_one[i].prescribing_number_unit!=arr_one[i].drug.min_unit){
2592
+                          this.$message.error(arr_one[i].drug.drug_name + " " +arr_one[i].drug.dose + arr_one[i].drug.dose_unit + "*" + arr_one[i].drug.min_number + arr_one[i].drug.min_unit+"/"+arr_one[i].drug.max_unit +" "+ "总量单位不匹配,保存失败!")
2593
+                          isLoading = false
2594
+                          this.$emit('editKeepLoad', false)
2595
+                          return
2596
+                        }
2597
+                      }
2598
+                    }
2599
+                  }
2600
+                }
2601
+
2602
+                if(arr_Two.length > 0){
2603
+                  for(let i =0;i<arr_Two.length;i++){
2604
+                    if(arr_Two[i].drug!=null){
2605
+                      if(arr_Two[i].drug.is_user == 2){
2606
+                        if(arr_Two[i].prescribing_number_unit != arr_Two[i].drug.max_unit && arr_Two[i].prescribing_number_unit!=arr_Two[i].drug.min_unit){
2607
+                          this.$message.error(arr_Two[i].drug.drug_name + " " +arr_Two[i].drug.dose + arr_Two[i].drug.dose_unit + "*" + arr_Two[i].drug.min_number + arr_Two[i].drug.min_unit+"/"+arr_Two[i].drug.max_unit +" "+ "总量单位不匹配,保存失败!")
2608
+                          isLoading = false
2609
+                          this.$emit('editKeepLoad', false)
2610
+                          return
2611
+                        }
2612
+                      }
2613
+                    }
2614
+                  }
2615
+                }
2616
+
2568
 
2617
 
2569
               if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 9679){
2618
               if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 9679){
2570
                   var project_arr = []
2619
                   var project_arr = []

+ 2 - 2
src/xt_pages/management/components/ManageForm.vue 查看文件

16
               ></el-input>
16
               ></el-input>
17
             </el-form-item>
17
             </el-form-item>
18
           </el-col>
18
           </el-col>
19
-
19
+          
20
           <el-col :span="8">
20
           <el-col :span="8">
21
             <el-form-item label="设备类型:" required prop="device_type">
21
             <el-form-item label="设备类型:" required prop="device_type">
22
               <el-select
22
               <el-select
851
     padding: 0;
851
     padding: 0;
852
   }
852
   }
853
   .el-form-item__error {
853
   .el-form-item__error {
854
-    margin-left: 210px;
854
+    margin-left: 60px;
855
   }
855
   }
856
 }
856
 }
857
 .el-checkbox {
857
 .el-checkbox {

+ 61 - 112
src/xt_pages/management/components/RepairForm.vue 查看文件

12
           ></el-option>
12
           ></el-option>
13
         </el-select>
13
         </el-select>
14
       </el-col> -->
14
       </el-col> -->
15
-      <el-col :span="11">
15
+      <el-col :span="10">
16
         <span class="machineClass">日期查询:</span>
16
         <span class="machineClass">日期查询:</span>
17
         <el-date-picker
17
         <el-date-picker
18
           v-model="forms.start_time"
18
           v-model="forms.start_time"
52
           <el-button type="primary" @click="printCard">打印</el-button>
52
           <el-button type="primary" @click="printCard">打印</el-button>
53
       </el-col>
53
       </el-col>
54
     </el-row>
54
     </el-row>
55
-    <el-row>
56
 
55
 
57
       <el-table
56
       <el-table
58
         ref="multipleTable"
57
         ref="multipleTable"
81
 
80
 
82
         <el-table-column prop="date" label= "型号" width="80" align="center">
81
         <el-table-column prop="date" label= "型号" width="80" align="center">
83
           <template slot-scope="scope">
82
           <template slot-scope="scope">
84
-            <span v-if="getRepairName(scope.row.equitment_id) == 1">透析机</span> 
85
-            <span v-if="getRepairName(scope.row.equitment_id) == 2">水处理机</span> 
86
-            <span v-if="getRepairName(scope.row.equitment_id) == 3">其他</span> 
83
+            <span v-if="getRepairName(scope.row.equitment_id) == 1">透析机</span>
84
+            <span v-if="getRepairName(scope.row.equitment_id) == 2">水处理机</span>
85
+            <span v-if="getRepairName(scope.row.equitment_id) == 3">其他</span>
87
           </template>
86
           </template>
88
         </el-table-column>
87
         </el-table-column>
89
 
88
 
136
               {{ scope.row.reason }}
135
               {{ scope.row.reason }}
137
               </template>
136
               </template>
138
            </el-table-column>
137
            </el-table-column>
139
- 
140
-      
141
-        
138
+
139
+
140
+
142
         <el-table-column label="操作" align="center" min-width="150px">
141
         <el-table-column label="操作" align="center" min-width="150px">
143
           <template slot-scope="scope">
142
           <template slot-scope="scope">
144
             <el-tooltip
143
             <el-tooltip
333
             </el-tooltip>
332
             </el-tooltip>
334
           </template>
333
           </template>
335
         </el-table-column>
334
         </el-table-column>
336
-      </el-table> -->
335
+      </el-table>
337
       <el-pagination
336
       <el-pagination
338
         @size-change="handleSizeChange"
337
         @size-change="handleSizeChange"
339
         @current-change="handleCurrentChange"
338
         @current-change="handleCurrentChange"
346
       ></el-pagination>
345
       ></el-pagination>
347
     </el-row>
346
     </el-row>
348
 
347
 
349
-    <!-- 编辑维修记录 -->
348
+    <-- 编辑维修记录 -->
350
     <el-dialog
349
     <el-dialog
351
       title="编辑维修记录"
350
       title="编辑维修记录"
352
       :visible.sync="dialogVisible"
351
       :visible.sync="dialogVisible"
415
             </el-form-item>
414
             </el-form-item>
416
           </el-col>
415
           </el-col>
417
         </el-row>
416
         </el-row>
418
-        <el-row>
419
-          <el-col :span="24">
420
-              <el-form-item class="formItem" label="功能及附件检查:">
421
-                  <el-input
422
-                    type="textarea"
423
-                    :rows="2"
424
-                      placeholder="请输入内容"
425
-                      v-model="guaForm.function_accessories_inspection"
426
-                    style="width:85%">
427
-                  </el-input>
428
-              </el-form-item>
429
-            </el-col>
430
-        </el-row>
431
-        <el-row>
432
-        <el-col :span="24">
433
-            <el-form-item class="formItem" label="其他:">
434
-                <el-input
435
-                  type="textarea"
436
-                  :rows="2"
437
-                    placeholder="请输入内容"
438
-                    v-model="guaForm.other_information"
439
-                  style="width:85%">
440
-                </el-input>
441
-            </el-form-item>
442
-          </el-col>
443
-        </el-row>
444
         <el-row>
417
         <el-row>
445
           <el-col :span="24">
418
           <el-col :span="24">
446
             <el-form-item label="故障发生阶段">
419
             <el-form-item label="故障发生阶段">
471
         </el-row>
444
         </el-row>
472
         <el-row>
445
         <el-row>
473
           <el-col :span="8">
446
           <el-col :span="8">
474
-            <el-form-item label="故障现象:" required prop="fault_description">
447
+            <el-form-item label="故障描述:" required prop="fault_description">
475
               <el-input
448
               <el-input
476
                 type="textarea"
449
                 type="textarea"
477
                 :rows="2"
450
                 :rows="2"
482
             </el-form-item>
455
             </el-form-item>
483
           </el-col>
456
           </el-col>
484
           <el-col :span="8">
457
           <el-col :span="8">
485
-            <el-form-item label="维修内容:">
458
+            <el-form-item label="原因分析:">
486
               <el-input
459
               <el-input
487
                 type="textarea"
460
                 type="textarea"
488
                 :rows="2"
461
                 :rows="2"
493
             </el-form-item>
466
             </el-form-item>
494
           </el-col>
467
           </el-col>
495
           <el-col :span="8">
468
           <el-col :span="8">
496
-            <el-form-item label="维修结果:">
469
+            <el-form-item label="处理过程:">
497
               <el-input
470
               <el-input
498
                 type="textarea"
471
                 type="textarea"
499
                 :rows="2"
472
                 :rows="2"
543
         </el-row>
516
         </el-row>
544
         <el-row>
517
         <el-row>
545
           <el-col :span="20">
518
           <el-col :span="20">
546
-            <el-form-item label="备注:">
519
+            <el-form-item label="原因:">
547
               <el-input
520
               <el-input
548
                 type="textarea"
521
                 type="textarea"
549
                 :rows="2"
522
                 :rows="2"
554
             </el-form-item>
527
             </el-form-item>
555
           </el-col>
528
           </el-col>
556
         </el-row>
529
         </el-row>
557
-        <el-row>
558
-          <el-col :span="20">
559
-            <el-form-item label="维修者:">
560
-              <el-select v-model="guaForm.admin_user_id" placeholder="请选择" >
561
-                      <el-option
562
-                      v-for="item in docList"
563
-                      :key="item.admin_user_id"
564
-                      :label="item.user_name"
565
-                      :value="item.admin_user_id"
566
-                      style="width:185px">
567
-                      </el-option>
568
-              </el-select>
569
-            </el-form-item>
570
-          </el-col>
571
-        </el-row>
572
       </el-form>
530
       </el-form>
573
       <span slot="footer" class="dialog-footer">
531
       <span slot="footer" class="dialog-footer">
574
 <!--        <button @click="lili">调试</button>-->
532
 <!--        <button @click="lili">调试</button>-->
616
                 >
574
                 >
617
                  保养维护内容
575
                  保养维护内容
618
                 </td>
576
                 </td>
619
-              
577
+
620
                 <td
578
                 <td
621
                   :colspan="3"
579
                   :colspan="3"
622
                   style="text-align:center;width:60px;font-size:15px;"
580
                   style="text-align:center;width:60px;font-size:15px;"
630
                 >
588
                 >
631
                  维修者
589
                  维修者
632
                 </td>
590
                 </td>
633
-              
591
+
634
                 <td
592
                 <td
635
                   :rowspan="2"
593
                   :rowspan="2"
636
                   style="text-align:center;width:120px;font-size:15px;"
594
                   style="text-align:center;width:120px;font-size:15px;"
646
                 </td>
604
                 </td>
647
 
605
 
648
 
606
 
649
-               
650
-               
607
+
608
+
651
               </tr>
609
               </tr>
652
               <tr>
610
               <tr>
653
-              
611
+
654
                 <td style="text-align:center;font-size:15px;height:30px">
612
                 <td style="text-align:center;font-size:15px;height:30px">
655
                   功能及附件检查
613
                   功能及附件检查
656
                 </td>
614
                 </td>
659
                   其他
617
                   其他
660
                 </td>
618
                 </td>
661
 
619
 
662
-                 
620
+
663
                 <td style="text-align:center;font-size:15px;height:30px">
621
                 <td style="text-align:center;font-size:15px;height:30px">
664
                   故障现象
622
                   故障现象
665
                 </td>
623
                 </td>
671
                 <td style="text-align:center;font-size:15px;height:30px">
629
                 <td style="text-align:center;font-size:15px;height:30px">
672
                   维修结果
630
                   维修结果
673
                 </td>
631
                 </td>
674
-           
675
-               
676
-            
632
+
633
+
634
+
677
               </tr>
635
               </tr>
678
               <tr v-for="item in this.tableData" :key="item.id">
636
               <tr v-for="item in this.tableData" :key="item.id">
679
                 <td style="text-align:center;font-size:15px;height:30px">
637
                 <td style="text-align:center;font-size:15px;height:30px">
681
                 </td>
639
                 </td>
682
 
640
 
683
                 <td style="text-align:center;font-size:15px;height:30px">
641
                 <td style="text-align:center;font-size:15px;height:30px">
684
-                  <span v-if="getRepairName(item.equitment_id) == 1">透析机</span> 
685
-                  <span v-if="getRepairName(item.equitment_id) == 2">水处理机</span> 
686
-                  <span v-if="getRepairName(item.equitment_id) == 3">其他</span> 
642
+                  <span v-if="getRepairName(item.equitment_id) == 1">透析机</span>
643
+                  <span v-if="getRepairName(item.equitment_id) == 2">水处理机</span>
644
+                  <span v-if="getRepairName(item.equitment_id) == 3">其他</span>
687
                 </td>
645
                 </td>
688
-                
646
+
689
                 <td style="text-align:center;font-size:15px;height:30px">
647
                 <td style="text-align:center;font-size:15px;height:30px">
690
                   {{item.function_accessories_inspection }}
648
                   {{item.function_accessories_inspection }}
691
                 </td>
649
                 </td>
693
                 <td style="text-align:center;font-size:15px;height:30px">
651
                 <td style="text-align:center;font-size:15px;height:30px">
694
                   {{ item.other_information }}
652
                   {{ item.other_information }}
695
                 </td>
653
                 </td>
696
-                 
654
+
697
                 <td style="text-align:center;font-size:15px;height:30px">
655
                 <td style="text-align:center;font-size:15px;height:30px">
698
                   {{ item.fault_description }}
656
                   {{ item.fault_description }}
699
                 </td>
657
                 </td>
700
-                
658
+
701
                 <td style="text-align:center;font-size:15px;height:30px">
659
                 <td style="text-align:center;font-size:15px;height:30px">
702
                    {{item.cause_analysis }}
660
                    {{item.cause_analysis }}
703
                 </td>
661
                 </td>
710
                 <td style="text-align:center;font-size:15px;height:30px">
668
                 <td style="text-align:center;font-size:15px;height:30px">
711
                   {{ getName(item.admin_user_id) }}
669
                   {{ getName(item.admin_user_id) }}
712
                 </td>
670
                 </td>
713
-                
671
+
714
                 <td style="text-align:center;font-size:15px;height:30px">
672
                 <td style="text-align:center;font-size:15px;height:30px">
715
                   {{ getTime(item.guarantee_date) }}
673
                   {{ getTime(item.guarantee_date) }}
716
                 </td>
674
                 </td>
718
                 <td style="text-align:center;font-size:15px;height:30px">
676
                 <td style="text-align:center;font-size:15px;height:30px">
719
                   {{item.reason }}
677
                   {{item.reason }}
720
                 </td>
678
                 </td>
721
-             
679
+
722
               </tr>
680
               </tr>
723
             </table>
681
             </table>
724
           </div>
682
           </div>
745
   name: "RepairForm",
703
   name: "RepairForm",
746
   data() {
704
   data() {
747
     return {
705
     return {
748
-      nowTime: moment(new Date()).format("YYYY-MM-DD HH:MM:SS"),
749
       dialogVisible: false,
706
       dialogVisible: false,
750
       selectCulture: [],
707
       selectCulture: [],
751
       forms: {
708
       forms: {
770
         reason: "",
727
         reason: "",
771
         code_information: "",
728
         code_information: "",
772
         image_name: "",
729
         image_name: "",
773
-        admin_user_id:this.$store.getters.xt_user.user.id,
774
-        function_accessories_inspection:"",
775
-        other_information:"",
730
+        admin_user_id:"",
776
       },
731
       },
777
       isIndeterminate: false,
732
       isIndeterminate: false,
778
       checkAllStatus: false,
733
       checkAllStatus: false,
800
       limit: 10,
755
       limit: 10,
801
       page: 1,
756
       page: 1,
802
       total: 0,
757
       total: 0,
803
-      macherList:[],
804
-      docList:[],
805
       hiddenShow:false,
758
       hiddenShow:false,
759
+      nowTime: moment(new Date()).format("YYYY-MM-DD HH:MM:SS"),
760
+      docList:[],
761
+      macherList:[]
806
     };
762
     };
807
   },
763
   },
808
   methods: {
764
   methods: {
835
         if (response.data.state === 1) {
791
         if (response.data.state === 1) {
836
           var repair = response.data.data.repair;
792
           var repair = response.data.data.repair;
837
           console.log("repair是", repair);
793
           console.log("repair是", repair);
838
-          var macherList = response.data.data.macherList
839
-         
840
-          this.macherList = macherList
794
+          this.macherList = response.data.data.macherList
841
           this.docList = response.data.data.docList
795
           this.docList = response.data.data.docList
842
           // eslint-disable-next-line no-unused-vars
796
           // eslint-disable-next-line no-unused-vars
843
           var total = response.data.data.total;
797
           var total = response.data.data.total;
877
               repair[index].exclude = "未解决";
831
               repair[index].exclude = "未解决";
878
             }
832
             }
879
           }
833
           }
880
-          console.log("repair------",repair)
881
           this.tableData = repair;
834
           this.tableData = repair;
882
         }
835
         }
883
       });
836
       });
900
         if (response.data.state === 1) {
853
         if (response.data.state === 1) {
901
           var repair = response.data.data.repair;
854
           var repair = response.data.data.repair;
902
           console.log("repair", repair);
855
           console.log("repair", repair);
903
-          this.docList = response.data.data.docList
904
           this.guaForm.guarantee_date = uParseTime(
856
           this.guaForm.guarantee_date = uParseTime(
905
             repair.guarantee_date,
857
             repair.guarantee_date,
906
             "{y}-{m}-{d}"
858
             "{y}-{m}-{d}"
928
           this.guaForm.code_information = repair.code_information;
880
           this.guaForm.code_information = repair.code_information;
929
           this.guaForm.id = repair.id;
881
           this.guaForm.id = repair.id;
930
           this.filename = repair.image_name;
882
           this.filename = repair.image_name;
931
-          this.guaForm.admin_user_id = repair.admin_user_id
932
-          this.guaForm.function_accessories_inspection = repair.function_accessories_inspection
933
-          this.guaForm.other_information= repair.other_information
934
         }
883
         }
935
       });
884
       });
936
     },
885
     },
1137
         });
1086
         });
1138
       });
1087
       });
1139
     },
1088
     },
1140
-    getDeviceName(id){
1141
-      var device_name= ""
1089
+    getDeviceName(equimentid){
1090
+      var equitname = ""
1142
       for(let i=0;i<this.macherList.length;i++){
1091
       for(let i=0;i<this.macherList.length;i++){
1143
-        if(id == this.macherList[i].id){
1144
-           device_name = this.macherList[i].device_name
1092
+        if(equimentid == this.macherList[i].id){
1093
+           equitname = this.macherList[i].device_name
1145
         }
1094
         }
1146
       }
1095
       }
1147
-      return device_name
1096
+      return equitname
1148
     },
1097
     },
1149
-    getRepairName(id){
1150
-      var device_type= ""
1098
+    getRepairName(equimentid){
1099
+      var equitname = ""
1151
       for(let i=0;i<this.macherList.length;i++){
1100
       for(let i=0;i<this.macherList.length;i++){
1152
-        if(id == this.macherList[i].id){
1153
-          device_type = this.macherList[i].device_type
1101
+        if(equimentid == this.macherList[i].id){
1102
+           equitname = this.macherList[i].device_type
1154
         }
1103
         }
1155
       }
1104
       }
1156
-      return device_type
1105
+      return equitname
1157
     },
1106
     },
1158
     getName(admin_user_id){
1107
     getName(admin_user_id){
1159
-      var user_name = ""
1108
+      var user_name=  ""
1160
       for(let i=0;i<this.docList.length;i++){
1109
       for(let i=0;i<this.docList.length;i++){
1161
         if(admin_user_id == this.docList[i].admin_user_id){
1110
         if(admin_user_id == this.docList[i].admin_user_id){
1162
            user_name = this.docList[i].user_name
1111
            user_name = this.docList[i].user_name
1164
       }
1113
       }
1165
       return user_name
1114
       return user_name
1166
     },
1115
     },
1167
-    printCard() {
1168
-        this.hiddenShow = true;
1169
-        var ptime = Math.round(new Date().getTime() / 1000);
1170
-        this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
1116
+    printCard(){
1117
+      this.hiddenShow = true;
1118
+      var ptime = Math.round(new Date().getTime() / 1000);
1119
+      this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
1171
 
1120
 
1172
-        const style =
1173
-          "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0;font-size:15px } .print_main_content .order_title { text-align: center; font-size: 15px; line-height: 50px;} .print_main_content table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px;font-size:15px } .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px;font-size:15px } .td_proj_title { font-size: 15px; line-height: 25px;} .td_proj_content { font-size: 15px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 15px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj}";
1121
+      const style =
1122
+        "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0;font-size:15px } .print_main_content .order_title { text-align: center; font-size: 15px; line-height: 50px;} .print_main_content table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px;font-size:15px } .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px;font-size:15px } .td_proj_title { font-size: 15px; line-height: 25px;} .td_proj_content { font-size: 15px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 15px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj}";
1174
 
1123
 
1175
-        setTimeout(() => {
1176
-          printJS({
1177
-            printable: "print-card-info-one",
1178
-            type: "html",
1179
-            style: style,
1180
-            scanStyles: false
1181
-          });
1182
-        }, 1);
1183
-      },
1124
+      setTimeout(() => {
1125
+        printJS({
1126
+          printable: "print-card-info-one",
1127
+          type: "html",
1128
+          style: style,
1129
+          scanStyles: false
1130
+        });
1131
+      }, 1);
1132
+    }
1184
   },
1133
   },
1185
   created() {
1134
   created() {
1186
     this.getAllSubregion();
1135
     this.getAllSubregion();

+ 34 - 30
src/xt_pages/management/components/UserForm.vue 查看文件

362
                 value-format="yyyy-MM-dd HH:mm"
362
                 value-format="yyyy-MM-dd HH:mm"
363
                 placeholder="选择时间"
363
                 placeholder="选择时间"
364
                 v-model="userform.start_time"
364
                 v-model="userform.start_time"
365
-                style="width:185px"
365
+
366
               ></el-date-picker>
366
               ></el-date-picker>
367
             </el-form-item>
367
             </el-form-item>
368
           </el-col>
368
           </el-col>
374
                 value-format="yyyy-MM-dd HH:mm"
374
                 value-format="yyyy-MM-dd HH:mm"
375
                 placeholder="选择时间"
375
                 placeholder="选择时间"
376
                 v-model="userform.end_time"
376
                 v-model="userform.end_time"
377
-                style="width:185px"
378
               ></el-date-picker>
377
               ></el-date-picker>
379
             </el-form-item>
378
             </el-form-item>
380
           </el-col>
379
           </el-col>
634
                 value-format="yyyy-MM-dd HH:mm"
633
                 value-format="yyyy-MM-dd HH:mm"
635
                 placeholder="选择时间"
634
                 placeholder="选择时间"
636
                 v-model="userform.starttime"
635
                 v-model="userform.starttime"
637
-                style="width:185px"
636
+
638
               ></el-date-picker>
637
               ></el-date-picker>
639
             </el-form-item>
638
             </el-form-item>
640
           </el-col>
639
           </el-col>
646
                 value-format="yyyy-MM-dd HH:mm"
645
                 value-format="yyyy-MM-dd HH:mm"
647
                 placeholder="选择时间"
646
                 placeholder="选择时间"
648
                 v-model="userform.endtime"
647
                 v-model="userform.endtime"
649
-                style="width:185px"
648
+
650
               ></el-date-picker>
649
               ></el-date-picker>
651
             </el-form-item>
650
             </el-form-item>
652
           </el-col>
651
           </el-col>
800
               <tr>
799
               <tr>
801
                 <td
800
                 <td
802
                   :rowspan="2"
801
                   :rowspan="2"
803
-                  style="text-align:center;width:60px;font-size:15px;"
802
+                  style="text-align:center;min-width:40px; font-size:15px;"
804
                 >
803
                 >
805
                   机号
804
                   机号
806
                 </td>
805
                 </td>
807
                 <td
806
                 <td
808
                   :rowspan="2"
807
                   :rowspan="2"
809
-                  style="text-align:center;width:100px;font-size:15px"
808
+                  style="text-align:center;min-width:40px;font-size:15px"
810
                 >
809
                 >
811
                   日期
810
                   日期
812
                 </td>
811
                 </td>
813
                 <td
812
                 <td
814
                   :rowspan="2"
813
                   :rowspan="2"
815
-                  style="text-align:center;width:50px;font-size:15px"
814
+                  style="text-align:center;min-width:40px;font-size:15px"
816
                 >
815
                 >
817
                   班次
816
                   班次
818
                 </td>
817
                 </td>
819
                 <td
818
                 <td
820
                   :rowspan="2"
819
                   :rowspan="2"
821
-                  style="text-align:center;width:70px;font-size:15px"
820
+                  style="text-align:center;min-width:40px;font-size:15px"
822
                 >
821
                 >
823
                   患者
822
                   患者
824
                 </td>
823
                 </td>
825
                 <td
824
                 <td
826
                   :rowspan="2"
825
                   :rowspan="2"
827
-                  style="text-align:center;width:60px;font-size:15px"
826
+                  style="text-align:center;min-width:40px;font-size:15px"
828
                 >
827
                 >
829
                   透析方式
828
                   透析方式
830
                 </td>
829
                 </td>
831
                 <td
830
                 <td
832
                   :rowspan="2"
831
                   :rowspan="2"
833
-                  style="text-align:center;width:60px;font-size:15px"
832
+                  style="text-align:center;min-width:40px;font-size:15px"
834
                 >
833
                 >
835
                   使用次数
834
                   使用次数
836
                 </td>
835
                 </td>
842
                 </td>
841
                 </td>
843
                 <td
842
                 <td
844
                   :colspan="4"
843
                   :colspan="4"
845
-                  style="text-align:center;width:60px;font-size:15px"
844
+                  style="text-align:center;font-size:15px"
846
                 >
845
                 >
847
                   机表(床单元、床旁桌)消毒
846
                   机表(床单元、床旁桌)消毒
848
                 </td>
847
                 </td>
849
                 <td
848
                 <td
850
-                  :colspan="5"
851
-                  style="text-align:center;width:80px;font-size:15px"
849
+                  :colspan="6"
850
+                  style="text-align:center;font-size:15px"
852
                 >
851
                 >
853
                   液路消毒
852
                   液路消毒
854
                 </td>
853
                 </td>
855
                 <td
854
                 <td
856
                   :rowspan="2"
855
                   :rowspan="2"
857
-                  style="text-align:center;width:80px;font-size:15px"
856
+                  style="text-align:center;min-width:40px;font-size:15px"
858
                 >
857
                 >
859
                  透析机消毒液(更换)
858
                  透析机消毒液(更换)
860
                 </td>
859
                 </td>
878
                 </td>
877
                 </td>
879
               </tr>
878
               </tr>
880
               <tr>
879
               <tr>
881
-                <td style="text-align:center;width:70px;font-size:15px">
880
+                <td style="text-align:center;min-width:40px;font-size:15px">
882
                   消毒方式
881
                   消毒方式
883
                 </td>
882
                 </td>
884
-                <td style="text-align:center;width:50px;font-size:15px">
883
+                <td style="text-align:center;min-width:40px;font-size:15px">
885
                   消毒液
884
                   消毒液
886
                 </td>
885
                 </td>
887
-                <td style="text-align:center;width:70px;font-size:15px">
886
+                <td style="text-align:center;min-width:40px;font-size:15px">
888
                   消毒状态
887
                   消毒状态
889
                 </td>
888
                 </td>
890
-                <td style="text-align:center;width:95px;font-size:15px">
889
+                <td style="text-align:center;min-width:40px;font-size:15px">
891
                   消毒液浓度
890
                   消毒液浓度
892
                 </td>
891
                 </td>
893
-                <td style="text-align:center;width:70px;font-size:15px">
892
+                <td style="text-align:center;min-width:40px;font-size:15px">
894
                   消毒方式
893
                   消毒方式
895
                 </td>
894
                 </td>
896
-                <td style="text-align:center;width:50px;font-size:15px">
895
+                <td style="text-align:center;min-width:40px;font-size:15px">
897
                   消毒液
896
                   消毒液
898
                 </td>
897
                 </td>
899
-                <td style="text-align:center;width:70px;font-size:15px">
898
+                <td style="text-align:center;min-width:40px;font-size:15px">
899
+                  开始消毒时间
900
+                </td>
901
+                <td style="text-align:center;min-width:40px;font-size:15px">
900
                   消毒时长/min
902
                   消毒时长/min
901
                 </td>
903
                 </td>
902
-                <td style="text-align:center;width:70px;font-size:15px">
904
+                <td style="text-align:center;min-width:40px;font-size:15px">
903
                   消毒状态
905
                   消毒状态
904
                 </td>
906
                 </td>
905
-                <td style="text-align:center;width:70px;font-size:15px">
907
+                <td style="text-align:center;min-width:40px;font-size:15px">
906
                   消毒液残留
908
                   消毒液残留
907
                 </td>
909
                 </td>
908
               </tr>
910
               </tr>
946
                 <td style="text-align:center;font-size:15px;height:30px">
948
                 <td style="text-align:center;font-size:15px;height:30px">
947
                   {{ item.disinfectant }}
949
                   {{ item.disinfectant }}
948
                 </td>
950
                 </td>
951
+                <td style="text-align:center;font-size:15px;height:30px">
952
+                  {{ getTimesTwo(item.disinfec_startime) }}
953
+                </td>
954
+               
949
                 <td style="text-align:center;font-size:15px;height:30px">
955
                 <td style="text-align:center;font-size:15px;height:30px">
950
                   {{ item.long_time }}
956
                   {{ item.long_time }}
951
                 </td>
957
                 </td>
1555
       });
1561
       });
1556
     },
1562
     },
1557
     EditUser(id, patientid) {
1563
     EditUser(id, patientid) {
1558
-       console.log("hh2h333232332233232323322323",id)
1559
-       console.log("patient_id2323223323223322332323322323",patientid)
1560
       EditUser(id, patientid).then(response => {
1564
       EditUser(id, patientid).then(response => {
1561
         if (response.data.state === 1) {
1565
         if (response.data.state === 1) {
1562
           this.dialogVisible = true;
1566
           this.dialogVisible = true;
1568
            if(macher.user_total == ''){
1572
            if(macher.user_total == ''){
1569
              macher.user_total = 0
1573
              macher.user_total = 0
1570
            }
1574
            }
1571
-          var totals = count[0].Total + parseInt(macher.user_total)
1575
+          // var totals = count[0].Total + parseInt(macher.user_total)
1572
           this.userform.id = device.id;
1576
           this.userform.id = device.id;
1573
           this.userform.spling_date = uParseTime(
1577
           this.userform.spling_date = uParseTime(
1574
               device.date,
1578
               device.date,
1646
           if (device.disinfection === 0) {
1650
           if (device.disinfection === 0) {
1647
             this.userform.disinfection = "";
1651
             this.userform.disinfection = "";
1648
           }
1652
           }
1649
-          this.userform.user_total = totals.toString()
1653
+          this.userform.user_total = device.user_total.toString()
1650
         }
1654
         }
1651
       });
1655
       });
1652
     },
1656
     },
2507
           }else{
2511
           }else{
2508
             this.form.bed = ""
2512
             this.form.bed = ""
2509
             this.bedNumberTwo = []
2513
             this.bedNumberTwo = []
2514
+            this.getAllSubregion()
2510
 
2515
 
2511
           }
2516
           }
2512
-          
2517
+
2513
         }
2518
         }
2514
       });
2519
       });
2515
     },
2520
     },
2593
       this.getBedForm(newvalue);
2598
       this.getBedForm(newvalue);
2594
       this.value = newvalue;
2599
       this.value = newvalue;
2595
     }
2600
     }
2596
-
2597
   }
2601
   }
2598
 };
2602
 };
2599
 </script>
2603
 </script>
2635
     text-align: right;
2639
     text-align: right;
2636
   }
2640
   }
2637
   .el-input--prefix .el-input__inner {
2641
   .el-input--prefix .el-input__inner {
2638
-    padding-left: 15px;
2642
+    // padding-left: 15px;
2639
   }
2643
   }
2640
   .el-input--prefix .el-input__inner {
2644
   .el-input--prefix .el-input__inner {
2641
     padding-right: 15px;
2645
     padding-right: 15px;

+ 291 - 122
src/xt_pages/management/components/WaterForm.vue 查看文件

36
          </el-row>
36
          </el-row>
37
          <el-row>
37
          <el-row>
38
             <el-col :span="8">
38
             <el-col :span="8">
39
-                <el-form-item label="原水电导度(μs/cm):"   class="st" label-width="100px">
40
-                    <el-input  v-model="form.water_conductivity" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
41
-                    <!-- <el-input-number v-model="form.water_conductivity" :controls="false" :precision="2" ></el-input-number> -->
39
+                <el-form-item label="原水电导度(μs/cm):" prop="water_conductivity"  class="st" label-width="100px">
40
+                    <el-input  v-model="form.water_conductivity" style="width:100px"
41
+                        oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
42
+                    >
43
+                    </el-input>
44
+                    <!-- <el-input  v-model="form.water_conductivity" style="width:100px" oninput="value=value.replace(/[^\d+(.\d{1,2})?$]/g,'')" ></el-input> /[^\d^\.]/g,''-->
45
+                    <!-- <el-input  v-model="form.water_conductivity" style="width:100px" onkeyup="value=value.match(/^\d+(.\d{1,2})?$/g,'')" ></el-input> -->
46
+                    <!-- <el-input-number  auto-complete="off" v-model.number="form.water_conductivity" :precision="2" :controls="false"></el-input-number> -->
42
                 </el-form-item>
47
                 </el-form-item>
43
             </el-col>
48
             </el-col>
44
             <el-col :span="8">
49
             <el-col :span="8">
45
                 <el-form-item label="原水压力(Mpa):"  class="st">
50
                 <el-form-item label="原水压力(Mpa):"  class="st">
46
-                    <el-input  v-model="form.water_pressure" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
51
+                    <el-input  v-model="form.water_pressure" style="width:100px"
52
+                    oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
53
+                    >
54
+                    </el-input>
55
+                    <!-- <el-input-number  auto-complete="off" v-model.number="form.water_pressure" :precision="2" :controls="false"></el-input-number> -->
47
                 </el-form-item>
56
                 </el-form-item>
48
             </el-col>
57
             </el-col>
49
             <el-col :span="8">
58
             <el-col :span="8">
50
                 <el-form-item label="温度:"  class="st">
59
                 <el-form-item label="温度:"  class="st">
51
-                    <el-input  v-model="form.temperature" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
60
+                    <el-input  v-model="form.temperature" style="width:100px"
61
+                    oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
62
+                     ></el-input>
63
+                    <!-- <el-input-number  auto-complete="off" v-model.number="form.temperature" :precision="2" :controls="false"></el-input-number> -->
52
                 </el-form-item>
64
                 </el-form-item>
53
             </el-col>
65
             </el-col>
54
          </el-row>
66
          </el-row>
60
                 </el-form-item>
72
                 </el-form-item>
61
             </el-col>
73
             </el-col>
62
          </el-row>
74
          </el-row>
63
-         <el-row>
64
-            <span>反渗一级</span>
65
-         </el-row>
66
-         <el-row>
67
-            <el-col :span="8">
68
-                <el-form-item label="RO膜进水:"  class="st">
69
-                    <el-input  v-model="form.first_ro_membrane_water" type="number" style="width:100px"></el-input>
70
-                </el-form-item>
75
+         <el-row :gutter="20">
76
+            <el-col :span="4" style="text-align: center;">
77
+                <span >反渗</span>
71
             </el-col>
78
             </el-col>
72
-            <el-col :span="8">
73
-                <el-form-item label="RO膜浓水:"  class="st">
74
-                    <el-input  v-model="form.first_ro_film_thick_water" type="number" style="width:100px"></el-input>
75
-                </el-form-item>
79
+            <el-col :span="4">
80
+                <span >RO膜进水</span>
76
             </el-col>
81
             </el-col>
77
-            <el-col :span="8">
78
-                <el-form-item label="RO膜出水:"  class="st">
79
-                    <el-input  v-model="form.first_ro_membrane_effluent" type="number" style="width:100px"></el-input>
80
-                </el-form-item>
82
+            <el-col :span="4">
83
+                <span >RO膜浓水</span>
81
             </el-col>
84
             </el-col>
82
-         </el-row>
83
-         <el-row>
84
-            <el-col :span="8">
85
-                <el-form-item label="产水电导度(μs/cm):"  class="st">
86
-                    <el-input  v-model="form.first_production_of_water_conductivity" type="number" style="width:100px"></el-input>
87
-                </el-form-item>
85
+            <el-col :span="4">
86
+                <span >RO膜出水</span>
88
             </el-col>
87
             </el-col>
89
-            <el-col :span="8">
90
-                <el-form-item label="产水量(L/h):"  class="st">
91
-                    <el-input  v-model="form.first_water_yield" style="width:100px" type="number"></el-input>
92
-                </el-form-item>
88
+            <el-col :span="4">
89
+                <span >产水电导度(μs/cm)</span>
90
+            </el-col>
91
+            <el-col :span="4">
92
+                <span >产水量(L/h)</span>
93
             </el-col>
93
             </el-col>
94
-         
95
-         </el-row>
96
-         <el-row>
97
-            <span>反渗二级</span>
98
          </el-row>
94
          </el-row>
99
-         <el-row>
100
-            <el-col :span="8">
101
-                <el-form-item label="RO膜进水:"  class="st">
102
-                    <el-input  v-model="form.last_ro_membrane_water" type="number" style="width:100px"></el-input>
103
-                </el-form-item>
95
+         <el-row :gutter="20">
96
+            <el-col :span="4" style="text-align: center;">
97
+                <span>一级</span>
104
             </el-col>
98
             </el-col>
105
-            <el-col :span="8">
106
-                <el-form-item label="RO膜浓水:"  class="st">
107
-                    <el-input  v-model="form.last_ro_film_thick_water" type="number" style="width:100px"></el-input>
108
-                </el-form-item>
99
+            <el-col :span="4">
100
+                <el-input v-model="form.first_ro_membrane_water" style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
109
             </el-col>
101
             </el-col>
110
-            <el-col :span="8">
111
-                <el-form-item label="RO膜出水:"  class="st">
112
-                    <el-input  v-model="form.last_ro_membrane_effluent" type="number" style="width:100px"></el-input>
113
-                </el-form-item>
102
+            <el-col :span="4">
103
+                <el-input v-model="form.first_ro_film_thick_water" style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
104
+            </el-col>
105
+            <el-col :span="4">
106
+                <el-input v-model="form.first_ro_membrane_effluent" style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
107
+            </el-col>
108
+            <el-col :span="4">
109
+                <el-input v-model="form.first_production_of_water_conductivity" style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
110
+            </el-col>
111
+            <el-col :span="4">
112
+                <el-input v-model="form.first_water_yield" style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
114
             </el-col>
113
             </el-col>
115
          </el-row>
114
          </el-row>
116
-         <el-row>
117
-            <el-col :span="8">
118
-                <el-form-item label="产水电导度(μs/cm):"  class="st">
119
-                    <el-input  v-model="form.last_production_of_water_conductivity" type="number" style="width:100px"></el-input>
120
-                </el-form-item>
115
+         <el-row :gutter="20">
116
+            <el-col :span="4" style="text-align: center;">
117
+                <span>二级</span>
121
             </el-col>
118
             </el-col>
122
-            <el-col :span="8">
123
-                <el-form-item label="产水量(L/h):"  class="st">
124
-                    <el-input  v-model="form.last_water_yield" type="number" style="width:100px"></el-input>
125
-                </el-form-item>
119
+            <el-col :span="4">
120
+                <el-input v-model="form.last_ro_membrane_water"  style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
121
+            </el-col>
122
+            <el-col :span="4">
123
+                <el-input v-model="form.last_ro_film_thick_water"  style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
124
+            </el-col>
125
+            <el-col :span="4">
126
+                <el-input  v-model="form.last_ro_membrane_effluent"  style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
127
+            </el-col>
128
+            <el-col :span="4">
129
+                <el-input v-model="form.last_production_of_water_conductivity"  style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
130
+            </el-col>
131
+            <el-col :span="4">
132
+                <el-input v-model="form.last_water_yield"  style="width:100px"  oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
126
             </el-col>
133
             </el-col>
127
          </el-row>
134
          </el-row>
128
-
129
          <el-row>
135
          <el-row>
130
             <el-col :span="8">
136
             <el-col :span="8">
131
                 <el-form-item label="碳罐(MPa):"  class="st">
137
                 <el-form-item label="碳罐(MPa):"  class="st">
132
-                    <el-input  v-model="form.carbon_tank" type="number" style="width:100px"></el-input>
138
+                    <el-input  v-model="form.carbon_tank"  style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
133
                 </el-form-item>
139
                 </el-form-item>
134
             </el-col>
140
             </el-col>
135
             <el-col :span="8">
141
             <el-col :span="8">
136
                 <el-form-item label="砂罐(MPa):"  class="st">
142
                 <el-form-item label="砂罐(MPa):"  class="st">
137
-                    <el-input  v-model="form.snd_tank" type="number" style="width:100px"></el-input>
143
+                    <el-input  v-model="form.snd_tank"  style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
138
                 </el-form-item>
144
                 </el-form-item>
139
             </el-col>
145
             </el-col>
140
             <el-col :span="8">
146
             <el-col :span="8">
141
                 <el-form-item label="树脂罐(MPa):"  class="st">
147
                 <el-form-item label="树脂罐(MPa):"  class="st">
142
-                    <el-input  v-model="form.resin_tank" type="number" style="width:100px"></el-input>
148
+                    <el-input  v-model="form.resin_tank"  style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
143
                 </el-form-item>
149
                 </el-form-item>
144
             </el-col>
150
             </el-col>
145
          </el-row>
151
          </el-row>
146
          <el-row>
152
          <el-row>
147
             <el-col :span="8">
153
             <el-col :span="8">
148
                 <el-form-item label="精密过滤器(MPa):"  class="st">
154
                 <el-form-item label="精密过滤器(MPa):"  class="st">
149
-                    <el-input  v-model="form.ultrafilter" type="number" style="width:100px"></el-input>
155
+                    <el-input  v-model.number="form.ultrafilter"  style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
150
                 </el-form-item>
156
                 </el-form-item>
151
             </el-col>
157
             </el-col>
152
          </el-row>
158
          </el-row>
159
             <el-col :span="8">
165
             <el-col :span="8">
160
                 <el-form-item label="硬度监测(mg/l):"  class="st">
166
                 <el-form-item label="硬度监测(mg/l):"  class="st">
161
                     <el-input  v-model="form.hardness_monitoring" style="width:100px"
167
                     <el-input  v-model="form.hardness_monitoring" style="width:100px"
162
-                     oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
168
+                    oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
169
+                     ></el-input>
163
                 </el-form-item>
170
                 </el-form-item>
164
             </el-col>
171
             </el-col>
165
             <el-col :span="8">
172
             <el-col :span="8">
166
                 <el-form-item label="总氯检测(mg/l):"  class="st">
173
                 <el-form-item label="总氯检测(mg/l):"  class="st">
167
                     <el-input  v-model="form.total_chlorine_detection" style="width:100px"
174
                     <el-input  v-model="form.total_chlorine_detection" style="width:100px"
168
-                     oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
175
+                    oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
176
+                     ></el-input>
177
+
169
                 </el-form-item>
178
                 </el-form-item>
170
             </el-col>
179
             </el-col>
171
             <el-col :span="8">
180
             <el-col :span="8">
172
                 <el-form-item label="PH值检测:"  class="st">
181
                 <el-form-item label="PH值检测:"  class="st">
173
                     <el-input  v-model="form.ph_detection" style="width:100px"
182
                     <el-input  v-model="form.ph_detection" style="width:100px"
174
-                     oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
183
+                    oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
184
+                     ></el-input>
175
                 </el-form-item>
185
                 </el-form-item>
176
             </el-col>
186
             </el-col>
177
          </el-row>
187
          </el-row>
180
             <el-col :span="8">
190
             <el-col :span="8">
181
                 <el-form-item label="过氧乙酸浓度(mg/l):"  class="st">
191
                 <el-form-item label="过氧乙酸浓度(mg/l):"  class="st">
182
                     <el-input  v-model="form.concentration_of_peroxyacetic_acid" style="width:100px"
192
                     <el-input  v-model="form.concentration_of_peroxyacetic_acid" style="width:100px"
183
-                     oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
193
+                    oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
194
+                     ></el-input>
184
                 </el-form-item>
195
                 </el-form-item>
185
             </el-col>
196
             </el-col>
186
          </el-row>
197
          </el-row>
203
             </el-col>
214
             </el-col>
204
             <el-col :span="8">
215
             <el-col :span="8">
205
                 <el-form-item label="时长(h):"  class="st">
216
                 <el-form-item label="时长(h):"  class="st">
206
-                    <el-input  v-model="form.first_disinfection_time" type="number" style="width:100px"></el-input>
217
+                    <el-input  v-model="form.first_disinfection_time" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
207
                 </el-form-item>
218
                 </el-form-item>
208
             </el-col>
219
             </el-col>
209
          </el-row>
220
          </el-row>
226
             </el-col>
237
             </el-col>
227
             <el-col :span="8">
238
             <el-col :span="8">
228
                 <el-form-item label="时长(h):"  class="st">
239
                 <el-form-item label="时长(h):"  class="st">
229
-                    <el-input  v-model="form.last_disinfection_time" type="number" style="width:100px"></el-input>
240
+                    <el-input  v-model="form.last_disinfection_time" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
230
                 </el-form-item>
241
                 </el-form-item>
231
             </el-col>
242
             </el-col>
232
          </el-row>
243
          </el-row>
233
 
244
 
234
          <el-row>
245
          <el-row>
235
-          
246
+
236
             <el-col :span="8">
247
             <el-col :span="8">
237
                 <el-form-item label="过滤器更换(只):"  class="st">
248
                 <el-form-item label="过滤器更换(只):"  class="st">
238
-                    <el-input  v-model="form.filter_replacement" style="width:100px" 
239
-                    oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
249
+                    <el-input  v-model="form.filter_replacement" style="width:100px"
250
+                    oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
251
+                    ></el-input>
240
                 </el-form-item>
252
                 </el-form-item>
241
             </el-col>
253
             </el-col>
242
 
254
 
261
               </el-form-item>
273
               </el-form-item>
262
           </el-col>
274
           </el-col>
263
 
275
 
264
-        
276
+
265
         </el-row>
277
         </el-row>
266
-       
278
+
267
         </el-form>
279
         </el-form>
268
         <div style="float:right">
280
         <div style="float:right">
269
             <el-button type="primary" @click="saveWater('form')">保存</el-button>
281
             <el-button type="primary" @click="saveWater('form')">保存</el-button>
270
         </div>
282
         </div>
271
 
283
 
272
-      
284
+
273
     </div>
285
     </div>
274
 </template>
286
 </template>
275
 <script>
287
 <script>
302
               last_ro_membrane_effluent:"",
314
               last_ro_membrane_effluent:"",
303
               last_production_of_water_conductivity:"",//产水电导度
315
               last_production_of_water_conductivity:"",//产水电导度
304
               last_water_yield:"",//产水量
316
               last_water_yield:"",//产水量
305
-             
317
+
306
               carbon_tank:"",//碳罐
318
               carbon_tank:"",//碳罐
307
               snd_tank:"",//砂罐,
319
               snd_tank:"",//砂罐,
308
               resin_tank:"",//树脂罐
320
               resin_tank:"",//树脂罐
320
               remark:"",//备注
332
               remark:"",//备注
321
               filter_replacement:"",//过滤器更换
333
               filter_replacement:"",//过滤器更换
322
               admin_user_id:"",//记录人
334
               admin_user_id:"",//记录人
323
-              
335
+
324
             },
336
             },
325
             machineType:[
337
             machineType:[
326
-               {id:0,name:"全部"}, 
327
-               {id:1,name:"正常"}, 
328
-               {id:2,name:"故障"}, 
338
+               {id:0,name:"全部"},
339
+               {id:1,name:"正常"},
340
+               {id:2,name:"故障"},
329
             ],
341
             ],
330
             forcePumpList:[
342
             forcePumpList:[
331
               {id:0,name:"全部"},
343
               {id:0,name:"全部"},
335
             disinfectionType:[
347
             disinfectionType:[
336
             { id: 0, name: "请选择" },
348
             { id: 0, name: "请选择" },
337
             { id: 1, name: "热消毒" },
349
             { id: 1, name: "热消毒" },
338
-            { id: 2, name: "化学消毒" }   
350
+            { id: 2, name: "化学消毒" }
339
             ],
351
             ],
340
             checked:"",
352
             checked:"",
341
             rules: {
353
             rules: {
342
-             admin_user_id: [{ required: true, message: '请选择记录人' }],
354
+                admin_user_id: [{ required: true, message: '请选择记录人' }],
343
            },
355
            },
344
            nurseList:[],
356
            nurseList:[],
345
         }
357
         }
354
         if(this.form.machine_status!=""){
366
         if(this.form.machine_status!=""){
355
           this.form.machine_status = parseInt(this.form.machine_status)
367
           this.form.machine_status = parseInt(this.form.machine_status)
356
         }
368
         }
357
-      
358
-       
369
+
370
+
359
         if(this.form.reverse_osmosis_membrane_disinfection == true){
371
         if(this.form.reverse_osmosis_membrane_disinfection == true){
360
            this.form.reverse_osmosis_membrane_disinfection = 1
372
            this.form.reverse_osmosis_membrane_disinfection = 1
361
         }
373
         }
371
         if(this.form.water_conductivity!=""){
383
         if(this.form.water_conductivity!=""){
372
           this.form.water_conductivity = parseFloat(this.form.water_conductivity)== NaN ? 0:parseFloat(this.form.water_conductivity)
384
           this.form.water_conductivity = parseFloat(this.form.water_conductivity)== NaN ? 0:parseFloat(this.form.water_conductivity)
373
         }else{
385
         }else{
374
-           this.form.water_conductivity = 0 
386
+           this.form.water_conductivity = 0
375
         }
387
         }
376
-        
388
+
377
         if(this.form.water_pressure!=""){
389
         if(this.form.water_pressure!=""){
378
           this.form.water_pressure = parseFloat(this.form.water_pressure) == NaN ? 0:parseFloat(this.form.water_pressure)
390
           this.form.water_pressure = parseFloat(this.form.water_pressure) == NaN ? 0:parseFloat(this.form.water_pressure)
379
         }else{
391
         }else{
383
         if(this.form.temperature!=""){
395
         if(this.form.temperature!=""){
384
           this.form.temperature = parseFloat(this.form.temperature)== NaN ? 0:parseFloat(this.form.temperature)
396
           this.form.temperature = parseFloat(this.form.temperature)== NaN ? 0:parseFloat(this.form.temperature)
385
         }else{
397
         }else{
386
-          this.form.temperature = 0    
398
+          this.form.temperature = 0
387
         }
399
         }
388
-        
400
+
389
         if(this.form.force_pump_status!=""){
401
         if(this.form.force_pump_status!=""){
390
           this.form.force_pump_status = parseFloat(this.form.force_pump_status) ==  NaN ? 0: parseFloat(this.form.force_pump_status)
402
           this.form.force_pump_status = parseFloat(this.form.force_pump_status) ==  NaN ? 0: parseFloat(this.form.force_pump_status)
391
         }else{
403
         }else{
392
             this.form.force_pump_status = 0
404
             this.form.force_pump_status = 0
393
         }
405
         }
394
-        
406
+
395
         if(this.form.first_ro_membrane_water!=""){
407
         if(this.form.first_ro_membrane_water!=""){
396
           this.form.first_ro_membrane_water = parseFloat(this.form.first_ro_membrane_water) == NaN?0:parseFloat(this.form.first_ro_membrane_water)
408
           this.form.first_ro_membrane_water = parseFloat(this.form.first_ro_membrane_water) == NaN?0:parseFloat(this.form.first_ro_membrane_water)
397
         }else{
409
         }else{
403
         }else{
415
         }else{
404
           this.form.first_ro_film_thick_water = 0
416
           this.form.first_ro_film_thick_water = 0
405
         }
417
         }
406
-        
418
+
407
         if(this.form.first_ro_membrane_effluent!=""){
419
         if(this.form.first_ro_membrane_effluent!=""){
408
-          this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent) == NaN?0:parseFloat(this.form.first_ro_membrane_effluent) 
420
+          this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent) == NaN?0:parseFloat(this.form.first_ro_membrane_effluent)
409
         }else{
421
         }else{
410
-           this.form.first_ro_membrane_effluent = 0 
422
+           this.form.first_ro_membrane_effluent = 0
411
         }
423
         }
412
 
424
 
413
         if(this.form.first_production_of_water_conductivity!=""){
425
         if(this.form.first_production_of_water_conductivity!=""){
415
         }else{
427
         }else{
416
           this.form.first_production_of_water_conductivity = 0
428
           this.form.first_production_of_water_conductivity = 0
417
         }
429
         }
418
-        
430
+
419
         if(this.form.first_water_yield !=""){
431
         if(this.form.first_water_yield !=""){
420
-           this.form.first_water_yield = parseFloat(this.form.first_water_yield) == NaN?0:parseFloat(this.form.first_water_yield)  
432
+           this.form.first_water_yield = parseFloat(this.form.first_water_yield) == NaN?0:parseFloat(this.form.first_water_yield)
421
         }else{
433
         }else{
422
             this.form.first_water_yield =0
434
             this.form.first_water_yield =0
423
         }
435
         }
424
-       
436
+
425
         if(this.form.last_ro_membrane_water!=""){
437
         if(this.form.last_ro_membrane_water!=""){
426
-          this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water) ==NaN?0:parseFloat(this.form.last_ro_membrane_water)  
438
+          this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water) ==NaN?0:parseFloat(this.form.last_ro_membrane_water)
427
         }else{
439
         }else{
428
           this.form.last_ro_membrane_water = 0
440
           this.form.last_ro_membrane_water = 0
429
         }
441
         }
430
-      
442
+
431
         if(this.form.last_ro_membrane_effluent!=""){
443
         if(this.form.last_ro_membrane_effluent!=""){
432
           this.form.last_ro_membrane_effluent = parseFloat(this.form.last_ro_membrane_effluent) == NaN?0:parseFloat(this.form.last_ro_membrane_effluent)
444
           this.form.last_ro_membrane_effluent = parseFloat(this.form.last_ro_membrane_effluent) == NaN?0:parseFloat(this.form.last_ro_membrane_effluent)
433
         }else{
445
         }else{
434
           this.form.last_ro_membrane_effluent = 0
446
           this.form.last_ro_membrane_effluent = 0
435
         }
447
         }
436
-      
448
+
437
         if(this.form.last_ro_film_thick_water!=""){
449
         if(this.form.last_ro_film_thick_water!=""){
438
             this.form.last_ro_film_thick_water = parseFloat(this.form.last_ro_film_thick_water) == NaN?0:parseFloat(this.form.last_ro_film_thick_water)
450
             this.form.last_ro_film_thick_water = parseFloat(this.form.last_ro_film_thick_water) == NaN?0:parseFloat(this.form.last_ro_film_thick_water)
439
         }else{
451
         }else{
440
           this.form.last_ro_film_thick_water = 0
452
           this.form.last_ro_film_thick_water = 0
441
         }
453
         }
442
-   
454
+
443
         if( this.form.last_production_of_water_conductivity!=""){
455
         if( this.form.last_production_of_water_conductivity!=""){
444
             this.form.last_production_of_water_conductivity = parseFloat(this.form.last_production_of_water_conductivity) == NaN?0:parseFloat(this.form.last_production_of_water_conductivity)
456
             this.form.last_production_of_water_conductivity = parseFloat(this.form.last_production_of_water_conductivity) == NaN?0:parseFloat(this.form.last_production_of_water_conductivity)
445
         }else{
457
         }else{
446
             this.form.last_production_of_water_conductivity =0
458
             this.form.last_production_of_water_conductivity =0
447
         }
459
         }
448
-       
460
+
449
         if(this.form.last_water_yield!=""){
461
         if(this.form.last_water_yield!=""){
450
             this.form.last_water_yield = parseFloat(this.form.last_water_yield)==NaN?0: parseFloat(this.form.last_water_yield)
462
             this.form.last_water_yield = parseFloat(this.form.last_water_yield)==NaN?0: parseFloat(this.form.last_water_yield)
451
         }else{
463
         }else{
457
         }else{
469
         }else{
458
             this.form.carbon_tank = 0
470
             this.form.carbon_tank = 0
459
         }
471
         }
460
-        
472
+
461
         if( this.form.snd_tank!=""){
473
         if( this.form.snd_tank!=""){
462
             this.form.snd_tank = parseFloat(this.form.snd_tank) == NaN?0:parseFloat(this.form.snd_tank)
474
             this.form.snd_tank = parseFloat(this.form.snd_tank) == NaN?0:parseFloat(this.form.snd_tank)
463
         }else{
475
         }else{
464
             this.form.snd_tank = 0
476
             this.form.snd_tank = 0
465
         }
477
         }
466
-         
478
+
467
         if(this.form.resin_tank!=""){
479
         if(this.form.resin_tank!=""){
468
             this.form.resin_tank= parseFloat(this.form.resin_tank) ==NaN?0:parseFloat(this.form.resin_tank)
480
             this.form.resin_tank= parseFloat(this.form.resin_tank) ==NaN?0:parseFloat(this.form.resin_tank)
469
         }else{
481
         }else{
470
             this.form.resin_tank= 0
482
             this.form.resin_tank= 0
471
         }
483
         }
472
-      
484
+
473
         if( this.form.ultrafilter!=""){
485
         if( this.form.ultrafilter!=""){
474
             this.form.ultrafilter = parseFloat(this.form.ultrafilter)== NaN?0:parseFloat(this.form.ultrafilter)
486
             this.form.ultrafilter = parseFloat(this.form.ultrafilter)== NaN?0:parseFloat(this.form.ultrafilter)
475
         }else{
487
         }else{
476
           this.form.ultrafilter = 0
488
           this.form.ultrafilter = 0
477
         }
489
         }
478
-        
490
+
479
         if(this.form.hardness_monitoring !=""){
491
         if(this.form.hardness_monitoring !=""){
480
             this.form.hardness_monitoring = parseFloat(this.form.hardness_monitoring) ==NaN?0: parseFloat(this.form.hardness_monitoring)
492
             this.form.hardness_monitoring = parseFloat(this.form.hardness_monitoring) ==NaN?0: parseFloat(this.form.hardness_monitoring)
481
         }else{
493
         }else{
487
         }else{
499
         }else{
488
             this.form.total_chlorine_detection = 0
500
             this.form.total_chlorine_detection = 0
489
         }
501
         }
490
-        
502
+
491
         if( this.form.ph_detection!=""){
503
         if( this.form.ph_detection!=""){
492
             this.form.ph_detection = parseFloat(this.form.ph_detection) == NaN?0:parseFloat(this.form.ph_detection)
504
             this.form.ph_detection = parseFloat(this.form.ph_detection) == NaN?0:parseFloat(this.form.ph_detection)
493
         }else{
505
         }else{
495
         }
507
         }
496
 
508
 
497
         if(this.form.concentration_of_peroxyacetic_acid!="" ){
509
         if(this.form.concentration_of_peroxyacetic_acid!="" ){
498
-            this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid) == NaN?0: parseFloat(this.form.concentration_of_peroxyacetic_acid)   
510
+            this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid) == NaN?0: parseFloat(this.form.concentration_of_peroxyacetic_acid)
499
         }else{
511
         }else{
500
             this.form.concentration_of_peroxyacetic_acid = 0
512
             this.form.concentration_of_peroxyacetic_acid = 0
501
         }
513
         }
511
         }else{
523
         }else{
512
             this.form.first_disinfection_method = 0
524
             this.form.first_disinfection_method = 0
513
         }
525
         }
514
-      
515
-       
526
+
527
+
516
         if(this.form.last_disinfection_method !=""){
528
         if(this.form.last_disinfection_method !=""){
517
            this.form.last_disinfection_method = parseFloat(this.form.last_disinfection_method) == NaN?0:parseFloat(this.form.last_disinfection_method)
529
            this.form.last_disinfection_method = parseFloat(this.form.last_disinfection_method) == NaN?0:parseFloat(this.form.last_disinfection_method)
518
         }else{
530
         }else{
519
             this.form.last_disinfection_method = 0
531
             this.form.last_disinfection_method = 0
520
         }
532
         }
521
-       
533
+
522
         if(this.form.first_disinfection_time !=""){
534
         if(this.form.first_disinfection_time !=""){
523
           this.form.first_disinfection_time = parseFloat(this.form.first_disinfection_time) == NaN?0:parseFloat(this.form.first_disinfection_time)
535
           this.form.first_disinfection_time = parseFloat(this.form.first_disinfection_time) == NaN?0:parseFloat(this.form.first_disinfection_time)
524
         }else{
536
         }else{
525
             this.form.first_disinfection_time = 0
537
             this.form.first_disinfection_time = 0
526
         }
538
         }
527
-        
539
+
528
         if( this.form.last_disinfection_time!=""){
540
         if( this.form.last_disinfection_time!=""){
529
             this.form.last_disinfection_time = parseFloat(this.form.last_disinfection_time) == NaN?0:parseFloat(this.form.last_disinfection_time)
541
             this.form.last_disinfection_time = parseFloat(this.form.last_disinfection_time) == NaN?0:parseFloat(this.form.last_disinfection_time)
530
         }else{
542
         }else{
531
-            this.form.last_disinfection_time = 0  
543
+            this.form.last_disinfection_time = 0
532
         }
544
         }
533
-      
545
+
534
         if(this.form.filter_replacement!=""){
546
         if(this.form.filter_replacement!=""){
535
             this.form.filter_replacement = parseFloat(this.form.filter_replacement) == NaN?0:parseFloat(this.form.filter_replacement)
547
             this.form.filter_replacement = parseFloat(this.form.filter_replacement) == NaN?0:parseFloat(this.form.filter_replacement)
536
         }else{
548
         }else{
542
         }else{
554
         }else{
543
             this.form.admin_user_id =0
555
             this.form.admin_user_id =0
544
         }
556
         }
545
-        
557
+
546
         if(this.form.disinfection_of_water_pipeline !=""){
558
         if(this.form.disinfection_of_water_pipeline !=""){
547
             this.form.disinfection_of_water_pipeline = parseFloat(this.form.disinfection_of_water_pipeline) == NaN?0:parseFloat(this.form.disinfection_of_water_pipeline)
559
             this.form.disinfection_of_water_pipeline = parseFloat(this.form.disinfection_of_water_pipeline) == NaN?0:parseFloat(this.form.disinfection_of_water_pipeline)
548
         }else{
560
         }else{
549
             this.form.disinfection_of_water_pipeline =0
561
             this.form.disinfection_of_water_pipeline =0
550
         }
562
         }
551
-      
552
-       
563
+
564
+
553
         console.log("233223232323",this.form)
565
         console.log("233223232323",this.form)
554
          this.$refs[formName].validate((valid) => {
566
          this.$refs[formName].validate((valid) => {
555
           if (valid) {
567
           if (valid) {
558
                 var deviceWater =  response.data.data.deviceWater
570
                 var deviceWater =  response.data.data.deviceWater
559
                 console.log("保存成功!",deviceWater)
571
                 console.log("保存成功!",deviceWater)
560
                 this.$message.success("保存成功!")
572
                 this.$message.success("保存成功!")
573
+                console.log("2333333333333333333333333w",this.form.water_conductivity)
574
+                if(this.form.water_conductivity == 0){
575
+                   this.form.water_conductivity = ""
576
+                }
577
+                if(this.form.fault_description == 0){
578
+                   this.form.fault_description = ""
579
+                }
580
+
581
+                if(this.form.water_conductivity == 0){
582
+                   this.form.water_conductivity = ""
583
+                }
584
+
585
+                if(this.form.water_pressure == 0){
586
+                  this.form.water_pressure = ""
587
+                }
588
+
589
+                if(this.form.temperature == 0){
590
+                   this.form.temperature = ""
591
+                }
592
+
593
+                if(this.form.first_ro_membrane_water == 0){
594
+                   this.form.first_ro_membrane_water = ""
595
+                }
596
+
597
+                if(this.form.first_ro_film_thick_water ==0 ){
598
+                   this.form.first_ro_film_thick_water = ""
599
+                }
600
+
601
+                if(this.form.first_ro_membrane_effluent == 0){
602
+                   this.form.first_ro_membrane_effluent=""
603
+                }
604
+
605
+                if(this.form.first_production_of_water_conductivity == 0){
606
+                   this.form.first_production_of_water_conductivity = ""
607
+                }
608
+
609
+                if(this.form.first_water_yield == 0){
610
+                   this.form.first_water_yield = ""
611
+                }
612
+
613
+                if(this.form.last_ro_membrane_water == 0){
614
+                  this.form.last_ro_membrane_water= ""
615
+                }
616
+
617
+                if(this.form.last_ro_film_thick_water== 0){
618
+                   this.form.last_ro_film_thick_water = ""
619
+                }
620
+
621
+                if(this.form.last_ro_membrane_effluent == 0){
622
+                  this.form.last_ro_membrane_effluent = ""
623
+                }
624
+
625
+                if(this.form.last_production_of_water_conductivity == 0){
626
+                  this.form.last_production_of_water_conductivity = ""
627
+                }
628
+
629
+                if(this.form.last_water_yield  == 0){
630
+                  this.form.last_water_yield = ""
631
+                }
561
 
632
 
633
+                if(this.form.carbon_tank == 0){
634
+                   this.form.carbon_tank = ""
635
+                }
636
+
637
+                if(this.form.snd_tank == 0){
638
+                  this.form.snd_tank = ""
639
+                }
640
+
641
+                if(this.form.resin_tank == 0){
642
+                  this.form.resin_tank= ""
643
+                }
644
+
645
+                if(this.form.ultrafilter == 0){
646
+                   this.form.ultrafilter= ""
647
+                }
648
+
649
+                if(this.form.hardness_monitoring  ==0){
650
+                    this.form.hardness_monitoring = ""
651
+                }
652
+
653
+                if(this.form.total_chlorine_detection == 0){
654
+                  this.form.total_chlorine_detection= ""
655
+                }
656
+                if(this.form.concentration_of_peroxyacetic_acid == 0){
657
+                  this.form.concentration_of_peroxyacetic_acid = ""
658
+                }
659
+
660
+                if(this.form.reverse_osmosis_membrane_disinfection ==0){
661
+                  this.form.reverse_osmosis_membrane_disinfection = ""
662
+                }
663
+
664
+                if(this.form.disinfection_of_water_pipeline == 0){
665
+                  this.form.disinfection_of_water_pipeline= ""
666
+                }
667
+
668
+                if(this.form.first_disinfection_method == 0){
669
+                    this.form.first_disinfection_method = ""
670
+                }
671
+
672
+                if(this.form.last_disinfection_method  == 0){
673
+                    this.form.last_disinfection_method = ""
674
+                }
675
+
676
+                if(this.form.first_disinfection_time == 0){
677
+                  this.form.first_disinfection_time = ""
678
+                }
679
+
680
+                if(this.form.last_disinfection_time == 0){
681
+                  this.form.last_disinfection_time = ""
682
+                }
683
+
684
+                if(this.form.remark == 0){
685
+                  this.form.remark = ""
686
+                }
687
+
688
+                if(this.form.filter_replacement == 0){
689
+                    this.form.filter_replacement = ""
690
+                }
691
+
692
+                if(this.form.admin_user_id == 0){
693
+                   this.form.admin_user_id = ""
694
+                }
695
+
696
+
697
+
698
+
699
+                // this.$parent.toParent()
700
+
701
+             }else{
562
                 this.form.fault_description = ""
702
                 this.form.fault_description = ""
563
                 this.form.water_conductivity = ""
703
                 this.form.water_conductivity = ""
564
                 this.form.water_pressure = ""
704
                 this.form.water_pressure = ""
600
              var doctorList = response.data.data.list
740
              var doctorList = response.data.data.list
601
              console.log("dcotorlist",doctorList)
741
              console.log("dcotorlist",doctorList)
602
              for(let i=0;i<doctorList.length;i++){
742
              for(let i=0;i<doctorList.length;i++){
603
-              if(doctorList[i].user_type == 3){
604
-                 this.nurseList.push(doctorList[i])
605
-              }
743
+            //   if(doctorList[i].user_type == 3){
744
+            //      this.nurseList.push(doctorList[i])
745
+            //   }
746
+               this.nurseList.push(doctorList[i])
606
              }
747
              }
607
-
748
+             console.log("nurseLisrt===============",this.nurseList)
608
            }
749
            }
609
          })
750
          })
610
-       }
751
+       },
752
+    //    limitInput (e) {
753
+    //     e.target.value = e.target.value.replace(/(^\s*)|(\s*$)/g, "");
754
+    //     const reg = /[^\d.]/g;
755
+
756
+    //     // 只能是数字和小数点,不能是其他输入
757
+    //     e.target.value = e.target.value.replace(reg, "");
758
+
759
+    //     // 保证第一位只能是数字,不能是点
760
+    //     e.target.value = e.target.value.replace(/^\./g, "");
761
+    //     // 小数只能出现1位
762
+    //     e.target.value = e.target.value
763
+    //       .replace(".", "$#$")
764
+    //       .replace(/\./g, "")
765
+    //       .replace("$#$", ".");
766
+    //     // 小数点后面保留2位
767
+    //     e.target.value = e.target.value.replace(
768
+    //       /^(\-)*(\d+)\.(\d\d).*$/,
769
+    //       "$1$2.$3"
770
+    //     );
771
+    //     }
611
     },
772
     },
612
     created(){
773
     created(){
613
-      
774
+       this.form.admin_user_id = this.$store.getters.xt_user.user.id
775
+    //    this.form.admin_user_id = 829
614
        this.getAllDoctorList()
776
        this.getAllDoctorList()
777
+    },
778
+    mounted(){
779
+
615
     }
780
     }
616
  }
781
  }
782
+
617
 </script>
783
 </script>
618
-<style >
784
+<style scoped>
785
+.el-row {
786
+    margin-bottom: 20px;
787
+}
619
 .newMain .el-form-item__label {
788
 .newMain .el-form-item__label {
620
     width: 110px !important;
789
     width: 110px !important;
621
 }
790
 }
622
-</style>
791
+</style>

+ 230 - 63
src/xt_pages/management/components/WaterFormList.vue 查看文件

5
           <span class="machineClass">日期查询:</span>
5
           <span class="machineClass">日期查询:</span>
6
           <el-date-picker
6
           <el-date-picker
7
             v-model="form.start_time"
7
             v-model="form.start_time"
8
+            @change="changeStartime"
8
             prefix-icon="none"
9
             prefix-icon="none"
9
             type="date"
10
             type="date"
10
             placeholder="请选择"
11
             placeholder="请选择"
14
           ></el-date-picker
15
           ></el-date-picker
15
           >-
16
           >-
16
           <el-date-picker
17
           <el-date-picker
18
+           @change="changeEndtime"
17
             v-model="form.end_time"
19
             v-model="form.end_time"
18
             prefix-icon="none"
20
             prefix-icon="none"
19
             type="date"
21
             type="date"
141
               </template>
143
               </template>
142
          </el-table-column>
144
          </el-table-column>
143
 
145
 
144
-         <el-table-column label="静谧过滤器(MPa)" align="center" min-width="110px">
146
+         <el-table-column label="精密过滤器(MPa)" align="center" min-width="110px">
145
               <template slot-scope="scope">
147
               <template slot-scope="scope">
146
                 {{ scope.row.ultrafilter?scope.row.ultrafilter:"" }}
148
                 {{ scope.row.ultrafilter?scope.row.ultrafilter:"" }}
147
               </template>
149
               </template>
588
                  :rowspan="2"
590
                  :rowspan="2"
589
                   style="text-align:center;width:60px;font-size:15px"
591
                   style="text-align:center;width:60px;font-size:15px"
590
                 >
592
                 >
591
-                  静谧过滤器(MPa)
593
+                  精密过滤器(MPa)
592
                 </td>
594
                 </td>
593
 
595
 
594
                 <td
596
                 <td
879
         }
881
         }
880
       },
882
       },
881
       methods:{
883
       methods:{
884
+        changeStartime(){
885
+         this.tableData = []
886
+         this.getlist()
887
+        },
888
+        changeEndtime(){
889
+         this.tableData = []
890
+         this.getlist()
891
+        },
882
          getlist(){
892
          getlist(){
883
            var params = {
893
            var params = {
884
              start_time:this.form.start_time,
894
              start_time:this.form.start_time,
1018
             this.form.id = detail.id
1028
             this.form.id = detail.id
1019
             this.form.record_date = this.getTime(detail.record_date)
1029
             this.form.record_date = this.getTime(detail.record_date)
1020
             this.form.machine_status = detail.machine_status.toString()
1030
             this.form.machine_status = detail.machine_status.toString()
1021
-            this.form.fault_description = detail.fault_description
1022
-            this.form.water_pressure= detail.water_pressure
1023
-            this.form.water_conductivity = detail.water_conductivity
1024
-            this.form.temperature = detail.temperature
1031
+            this.form.fault_description = detail.fault_description?detail.fault_description:""
1032
+            this.form.water_pressure= detail.water_pressure? detail.water_pressure:""
1033
+            this.form.water_conductivity = detail.water_conductivity?detail.water_conductivity:""
1034
+            this.form.temperature = detail.temperature?detail.temperature:""
1025
             this.form.force_pump_status = detail.force_pump_status.toString()
1035
             this.form.force_pump_status = detail.force_pump_status.toString()
1026
-            this.form.first_ro_membrane_water = detail.first_ro_membrane_water
1027
-            this.form.first_ro_film_thick_water = detail.first_ro_film_thick_water
1028
-            this.form.first_ro_membrane_effluent = detail.first_ro_membrane_effluent
1029
-            this.form.first_production_of_water_conductivity = detail.first_production_of_water_conductivity
1030
-            this.form.first_water_yield = detail.first_water_yield
1031
-            this.form.last_ro_membrane_water = detail.last_ro_membrane_water
1032
-            this.form.last_ro_membrane_effluent  =detail.last_ro_membrane_effluent
1033
-            this.form.last_ro_film_thick_water = detail.last_ro_film_thick_water
1034
-            this.form.last_production_of_water_conductivity = detail.last_production_of_water_conductivity
1035
-            this.form.last_water_yield= detail.last_water_yield
1036
-            this.form.carbon_tank = detail.carbon_tank
1037
-            this.form.snd_tank = detail.snd_tank
1038
-            this.form.resin_tank = detail.resin_tank
1039
-            this.form.ultrafilter = detail.ultrafilter
1040
-            this.form.hardness_monitoring = detail.hardness_monitoring
1041
-            this.form.total_chlorine_detection= detail.total_chlorine_detection
1042
-            this.form.ph_detection = detail.ph_detection
1043
-            this.form.concentration_of_peroxyacetic_acid = detail.concentration_of_peroxyacetic_acid
1036
+            this.form.first_ro_membrane_water = detail.first_ro_membrane_water?detail.first_ro_film_thick_water:""
1037
+            this.form.first_ro_film_thick_water = detail.first_ro_film_thick_water?detail.first_ro_film_thick_water:""
1038
+            this.form.first_ro_membrane_effluent = detail.first_ro_membrane_effluent?detail.first_ro_membrane_effluent:""
1039
+            this.form.first_production_of_water_conductivity = detail.first_production_of_water_conductivity?detail.first_production_of_water_conductivity:""
1040
+            this.form.first_water_yield = detail.first_water_yield?detail.first_water_yield:""
1041
+            this.form.last_ro_membrane_water = detail.last_ro_membrane_water?detail.last_ro_membrane_water:""
1042
+            this.form.last_ro_membrane_effluent  = detail.last_ro_membrane_effluent?detail.last_ro_membrane_effluent:""
1043
+            this.form.last_ro_film_thick_water = detail.last_ro_film_thick_water?detail.last_ro_film_thick_water:""
1044
+            this.form.last_production_of_water_conductivity = detail.last_production_of_water_conductivity? detail.last_production_of_water_conductivity:""
1045
+            this.form.last_water_yield= detail.last_water_yield?detail.last_water_yield:""
1046
+            this.form.carbon_tank = detail.carbon_tank?detail.carbon_tank:""
1047
+            this.form.snd_tank = detail.snd_tank?detail.snd_tank:""
1048
+            this.form.resin_tank = detail.resin_tank?detail.resin_tank:""
1049
+            this.form.ultrafilter = detail.ultrafilter?detail.ultrafilter:""
1050
+            this.form.hardness_monitoring = detail.hardness_monitoring?detail.hardness_monitoring:""
1051
+            this.form.total_chlorine_detection= detail.total_chlorine_detection?detail.total_chlorine_detection:""
1052
+            this.form.ph_detection = detail.ph_detection?detail.ph_detection:""
1053
+            this.form.concentration_of_peroxyacetic_acid = detail.concentration_of_peroxyacetic_acid?detail.concentration_of_peroxyacetic_acid:""
1044
             if(detail.reverse_osmosis_membrane_disinfection == 1){
1054
             if(detail.reverse_osmosis_membrane_disinfection == 1){
1045
               this.form.reverse_osmosis_membrane_disinfection  = true
1055
               this.form.reverse_osmosis_membrane_disinfection  = true
1046
             }else{
1056
             }else{
1052
             }else{
1062
             }else{
1053
               this.form.disinfection_of_water_pipeline = false
1063
               this.form.disinfection_of_water_pipeline = false
1054
             }
1064
             }
1055
-            this.form.first_disinfection_method = detail.first_disinfection_method
1056
-            this.form.last_disinfection_method = detail.last_disinfection_method
1057
-            this.form.first_disinfection_time = detail.first_disinfection_time
1058
-            this.form.last_disinfection_time = detail.last_disinfection_time
1059
-            this.form.remark = detail.remark
1060
-            this.form.filter_replacement = detail.filter_replacement
1065
+            this.form.first_disinfection_method = detail.first_disinfection_method?detail.first_disinfection_method:""
1066
+            this.form.last_disinfection_method = detail.last_disinfection_method?detail.last_disinfection_method:""
1067
+            this.form.first_disinfection_time = detail.first_disinfection_time?detail.first_disinfection_time:""
1068
+            this.form.last_disinfection_time = detail.last_disinfection_time?detail.last_disinfection_time:""
1069
+            this.form.remark = detail.remark? detail.remark:""
1070
+            this.form.filter_replacement = detail.filter_replacement?detail.filter_replacement:""
1061
             this.form.admin_user_id = detail.admin_user_id
1071
             this.form.admin_user_id = detail.admin_user_id
1062
             var adminRole = response.data.data.adminRole
1072
             var adminRole = response.data.data.adminRole
1063
             for(let i=0;i<adminRole.length;i++){
1073
             for(let i=0;i<adminRole.length;i++){
1073
 
1083
 
1074
       UpdateDilaysisWater(formName){
1084
       UpdateDilaysisWater(formName){
1075
         console.log("form",this.form,this.equimentid)
1085
         console.log("form",this.form,this.equimentid)
1076
-        this.form.force_pump_status = parseInt(this.form.force_pump_status)
1077
-        this.form.machine_status = parseInt(this.form.machine_status)
1086
+        if(this.form.force_pump_status!=""){
1087
+          this.form.force_pump_status = parseInt(this.form.force_pump_status)
1088
+        }
1089
+        if(this.form.machine_status!=""){
1090
+          this.form.machine_status = parseInt(this.form.machine_status)
1091
+        }
1092
+      
1093
+       
1078
         if(this.form.reverse_osmosis_membrane_disinfection == true){
1094
         if(this.form.reverse_osmosis_membrane_disinfection == true){
1079
            this.form.reverse_osmosis_membrane_disinfection = 1
1095
            this.form.reverse_osmosis_membrane_disinfection = 1
1080
         }
1096
         }
1087
         if(this.form.disinfection_of_water_pipeline == false){
1103
         if(this.form.disinfection_of_water_pipeline == false){
1088
           this.form.disinfection_of_water_pipeline = 2
1104
           this.form.disinfection_of_water_pipeline = 2
1089
         }
1105
         }
1106
+        if(this.form.water_conductivity!=""){
1107
+          this.form.water_conductivity = parseFloat(this.form.water_conductivity)== NaN ? 0:parseFloat(this.form.water_conductivity)
1108
+        }else{
1109
+           this.form.water_conductivity = 0 
1110
+        }
1111
+        
1112
+        if(this.form.water_pressure!=""){
1113
+          this.form.water_pressure = parseFloat(this.form.water_pressure) == NaN ? 0:parseFloat(this.form.water_pressure)
1114
+        }else{
1115
+            this.form.water_pressure=  0
1116
+        }
1117
+
1118
+        if(this.form.temperature!=""){
1119
+          this.form.temperature = parseFloat(this.form.temperature)== NaN ? 0:parseFloat(this.form.temperature)
1120
+        }else{
1121
+          this.form.temperature = 0    
1122
+        }
1123
+        
1124
+        if(this.form.force_pump_status!=""){
1125
+          this.form.force_pump_status = parseFloat(this.form.force_pump_status) ==  NaN ? 0: parseFloat(this.form.force_pump_status)
1126
+        }else{
1127
+            this.form.force_pump_status = 0
1128
+        }
1129
+        
1130
+        if(this.form.first_ro_membrane_water!=""){
1131
+          this.form.first_ro_membrane_water = parseFloat(this.form.first_ro_membrane_water) == NaN?0:parseFloat(this.form.first_ro_membrane_water)
1132
+        }else{
1133
+          this.form.first_ro_membrane_water = 0
1134
+        }
1135
+
1136
+        if(this.form.first_ro_film_thick_water!=""){
1137
+          this.form.first_ro_film_thick_water = parseFloat(this.form.first_ro_film_thick_water) ==NaN?0:parseFloat(this.form.first_ro_film_thick_water)
1138
+        }else{
1139
+          this.form.first_ro_film_thick_water = 0
1140
+        }
1141
+        
1142
+        if(this.form.first_ro_membrane_effluent!=""){
1143
+          this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent) == NaN?0:parseFloat(this.form.first_ro_membrane_effluent) 
1144
+        }else{
1145
+           this.form.first_ro_membrane_effluent = 0 
1146
+        }
1147
+
1148
+        if(this.form.first_production_of_water_conductivity!=""){
1149
+          this.form.first_production_of_water_conductivity = parseFloat(this.form.first_production_of_water_conductivity) == NaN?0: parseFloat(this.form.first_production_of_water_conductivity)
1150
+        }else{
1151
+          this.form.first_production_of_water_conductivity = 0
1152
+        }
1153
+        
1154
+        if(this.form.first_water_yield !=""){
1155
+           this.form.first_water_yield = parseFloat(this.form.first_water_yield) == NaN?0:parseFloat(this.form.first_water_yield)  
1156
+        }else{
1157
+            this.form.first_water_yield =0
1158
+        }
1159
+       
1160
+        if(this.form.last_ro_membrane_water!=""){
1161
+          this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water) ==NaN?0:parseFloat(this.form.last_ro_membrane_water)  
1162
+        }else{
1163
+          this.form.last_ro_membrane_water = 0
1164
+        }
1165
+      
1166
+        if(this.form.last_ro_membrane_effluent!=""){
1167
+          this.form.last_ro_membrane_effluent = parseFloat(this.form.last_ro_membrane_effluent) == NaN?0:parseFloat(this.form.last_ro_membrane_effluent)
1168
+        }else{
1169
+          this.form.last_ro_membrane_effluent = 0
1170
+        }
1171
+      
1172
+        if(this.form.last_ro_film_thick_water!=""){
1173
+            this.form.last_ro_film_thick_water = parseFloat(this.form.last_ro_film_thick_water) == NaN?0:parseFloat(this.form.last_ro_film_thick_water)
1174
+        }else{
1175
+          this.form.last_ro_film_thick_water = 0
1176
+        }
1177
+   
1178
+        if( this.form.last_production_of_water_conductivity!=""){
1179
+            this.form.last_production_of_water_conductivity = parseFloat(this.form.last_production_of_water_conductivity) == NaN?0:parseFloat(this.form.last_production_of_water_conductivity)
1180
+        }else{
1181
+            this.form.last_production_of_water_conductivity =0
1182
+        }
1183
+       
1184
+        if(this.form.last_water_yield!=""){
1185
+            this.form.last_water_yield = parseFloat(this.form.last_water_yield)==NaN?0: parseFloat(this.form.last_water_yield)
1186
+        }else{
1187
+            this.form.last_water_yield = 0
1188
+        }
1090
 
1189
 
1091
-        this.form.water_conductivity = parseFloat(this.form.water_conductivity)
1092
-        this.form.water_pressure = parseFloat(this.form.water_pressure)
1093
-        this.form.temperature = parseFloat(this.form.temperature)
1094
-        this.form.force_pump_status = parseFloat(this.form.force_pump_status)
1095
-        this.form.first_ro_membrane_water = parseFloat(this.form.first_ro_membrane_water)
1096
-        this.form.first_ro_film_thick_water = parseFloat(this.form.first_ro_film_thick_water)
1097
-        this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent)
1098
-        this.form.first_production_of_water_conductivity = parseFloat(this.form.first_production_of_water_conductivity)
1099
-        this.form.first_water_yield = parseFloat(this.form.first_water_yield)
1100
-        this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water)
1101
-        this.form.last_ro_membrane_effluent = parseFloat(this.form.last_ro_membrane_effluent)
1102
-        this.form.last_ro_film_thick_water = parseFloat(this.form.last_ro_film_thick_water)
1103
-        this.form.last_production_of_water_conductivity = parseFloat(this.form.last_production_of_water_conductivity)
1104
-        this.form.last_water_yield = parseFloat(this.form.last_water_yield)
1105
-        this.form.carbon_tank = parseFloat(this.form.carbon_tank)
1106
-        this.form.snd_tank = parseFloat(this.form.snd_tank)
1107
-        this.form.resin_tank= parseFloat(this.form.resin_tank)
1108
-        this.form.ultrafilter = parseFloat(this.form.ultrafilter)
1109
-        this.form.hardness_monitoring = parseFloat(this.form.hardness_monitoring)
1110
-        this.form.total_chlorine_detection = parseFloat(this.form.total_chlorine_detection)
1111
-        this.form.ph_detection = parseFloat(this.form.ph_detection)
1112
-        this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid)
1113
-        this.form.reverse_osmosis_membrane_disinfection= parseFloat(this.form.reverse_osmosis_membrane_disinfection)
1114
-        this.form.first_disinfection_method = parseFloat(this.form.first_disinfection_method)
1115
-        this.form.last_disinfection_method = parseFloat(this.form.last_disinfection_method)
1116
-        this.form.first_disinfection_time = parseFloat(this.form.first_disinfection_time)
1117
-        this.form.last_disinfection_time = parseFloat(this.form.last_disinfection_time)
1118
-        this.form.filter_replacement = parseFloat(this.form.filter_replacement)
1119
-        this.form.admin_user_id = parseFloat(this.form.admin_user_id)
1120
-        this.form.disinfection_of_water_pipeline = parseFloat(this.form.disinfection_of_water_pipeline)
1190
+        if(this.form.carbon_tank!=""){
1191
+            this.form.carbon_tank = parseFloat(this.form.carbon_tank) == NaN?0:parseFloat(this.form.carbon_tank)
1192
+        }else{
1193
+            this.form.carbon_tank = 0
1194
+        }
1195
+        
1196
+        if( this.form.snd_tank!=""){
1197
+            this.form.snd_tank = parseFloat(this.form.snd_tank) == NaN?0:parseFloat(this.form.snd_tank)
1198
+        }else{
1199
+            this.form.snd_tank = 0
1200
+        }
1201
+         
1202
+        if(this.form.resin_tank!=""){
1203
+            this.form.resin_tank= parseFloat(this.form.resin_tank) ==NaN?0:parseFloat(this.form.resin_tank)
1204
+        }else{
1205
+            this.form.resin_tank= 0
1206
+        }
1207
+      
1208
+        if( this.form.ultrafilter!=""){
1209
+            this.form.ultrafilter = parseFloat(this.form.ultrafilter)== NaN?0:parseFloat(this.form.ultrafilter)
1210
+        }else{
1211
+          this.form.ultrafilter = 0
1212
+        }
1213
+        
1214
+        if(this.form.hardness_monitoring !=""){
1215
+            this.form.hardness_monitoring = parseFloat(this.form.hardness_monitoring) ==NaN?0: parseFloat(this.form.hardness_monitoring)
1216
+        }else{
1217
+           this.form.hardness_monitoring= 0
1218
+        }
1219
+
1220
+        if( this.form.total_chlorine_detection!=""){
1221
+            this.form.total_chlorine_detection = parseFloat(this.form.total_chlorine_detection)==NaN?0: parseFloat(this.form.total_chlorine_detection)
1222
+        }else{
1223
+            this.form.total_chlorine_detection = 0
1224
+        }
1225
+        
1226
+        if( this.form.ph_detection!=""){
1227
+            this.form.ph_detection = parseFloat(this.form.ph_detection) == NaN?0:parseFloat(this.form.ph_detection)
1228
+        }else{
1229
+            this.form.ph_detection = 0
1230
+        }
1231
+
1232
+        if(this.form.concentration_of_peroxyacetic_acid!="" ){
1233
+            this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid) == NaN?0: parseFloat(this.form.concentration_of_peroxyacetic_acid)   
1234
+        }else{
1235
+            this.form.concentration_of_peroxyacetic_acid = 0
1236
+        }
1237
+
1238
+        if( this.form.reverse_osmosis_membrane_disinfection!=""){
1239
+            this.form.reverse_osmosis_membrane_disinfection= parseFloat(this.form.reverse_osmosis_membrane_disinfection) == NaN?0:parseFloat(this.form.reverse_osmosis_membrane_disinfection)
1240
+        }else{
1241
+            this.form.reverse_osmosis_membrane_disinfection=  0
1242
+        }
1243
+
1244
+        if(this.form.first_disinfection_method !=""){
1245
+            this.form.first_disinfection_method = parseFloat(this.form.first_disinfection_method) == NaN?0:parseFloat(this.form.first_disinfection_method)
1246
+        }else{
1247
+            this.form.first_disinfection_method = 0
1248
+        }
1249
+      
1250
+       
1251
+        if(this.form.last_disinfection_method !=""){
1252
+           this.form.last_disinfection_method = parseFloat(this.form.last_disinfection_method) == NaN?0:parseFloat(this.form.last_disinfection_method)
1253
+        }else{
1254
+            this.form.last_disinfection_method = 0
1255
+        }
1256
+       
1257
+        if(this.form.first_disinfection_time !=""){
1258
+          this.form.first_disinfection_time = parseFloat(this.form.first_disinfection_time) == NaN?0:parseFloat(this.form.first_disinfection_time)
1259
+        }else{
1260
+            this.form.first_disinfection_time = 0
1261
+        }
1262
+        
1263
+        if( this.form.last_disinfection_time!=""){
1264
+            this.form.last_disinfection_time = parseFloat(this.form.last_disinfection_time) == NaN?0:parseFloat(this.form.last_disinfection_time)
1265
+        }else{
1266
+            this.form.last_disinfection_time = 0  
1267
+        }
1268
+      
1269
+        if(this.form.filter_replacement!=""){
1270
+            this.form.filter_replacement = parseFloat(this.form.filter_replacement) == NaN?0:parseFloat(this.form.filter_replacement)
1271
+        }else{
1272
+            this.form.filter_replacement= 0
1273
+        }
1274
+
1275
+        if( this.form.admin_user_id != ""){
1276
+            this.form.admin_user_id = parseFloat(this.form.admin_user_id) == NaN?0:parseFloat(this.form.admin_user_id)
1277
+        }else{
1278
+            this.form.admin_user_id =0
1279
+        }
1280
+        
1281
+        if(this.form.disinfection_of_water_pipeline !=""){
1282
+            this.form.disinfection_of_water_pipeline = parseFloat(this.form.disinfection_of_water_pipeline) == NaN?0:parseFloat(this.form.disinfection_of_water_pipeline)
1283
+        }else{
1284
+            this.form.disinfection_of_water_pipeline =0
1285
+        }
1286
+      
1121
          this.$refs[formName].validate((valid) => {
1287
          this.$refs[formName].validate((valid) => {
1122
           if (valid) {
1288
           if (valid) {
1123
             UpdateDilaysisWater(this.form,this.equimentid).then(response=>{
1289
             UpdateDilaysisWater(this.form,this.equimentid).then(response=>{
1148
             }
1314
             }
1149
             import('@/vendor/Export2Excel').then(excel => {
1315
             import('@/vendor/Export2Excel').then(excel => {
1150
 
1316
 
1151
-              const multiHeader = [['序号', '日期', '原水参数' , '', '','', '一级反渗', '', '二级反渗' , '', '碳罐(MPa)','砂罐(MPa)', '树脂罐(MPa)','静谧过滤器(MPa)','水质监测','','','','消毒','','过滤器更换','记录人' ]]
1317
+              const multiHeader = [['序号', '日期', '原水参数' , '', '','', '一级反渗', '', '二级反渗' , '', '碳罐(MPa)','砂罐(MPa)', '树脂罐(MPa)','精密过滤器(MPa)','水质监测','','','','消毒','','过滤器更换','记录人' ]]
1152
               const header = ['', '', '原水电导度', '原水压力', '温度','加压泵', '产水电导度', '产水量', '产水电导度', '产水量', '','','','','硬度(mg/l)','总氯(mg/l)','PH值','过氧乙酸(mg/l)','反渗膜消毒','输水管道消毒','','',]
1318
               const header = ['', '', '原水电导度', '原水压力', '温度','加压泵', '产水电导度', '产水量', '产水电导度', '产水量', '','','','','硬度(mg/l)','总氯(mg/l)','PH值','过氧乙酸(mg/l)','反渗膜消毒','输水管道消毒','','',]
1153
               const merges = ['A1:A2', 'B1:B2', 'C1:F1','G1:H1','I1:J1','K1:K2','L1:L2','M1:M2','N1:N2','O1:R1','S1:T1','U1:U2','V1:V2']
1319
               const merges = ['A1:A2', 'B1:B2', 'C1:F1','G1:H1','I1:J1','K1:K2','L1:L2','M1:M2','N1:N2','O1:R1','S1:T1','U1:U2','V1:V2']
1154
               const filterVal = ['index','record_date','water_conductivity','water_pressure','temperature','force_pump_status','first_ro_membrane_effluent','first_water_yield','last_production_of_water_conductivity','last_water_yield','carbon_tank','snd_tank','resin_tank','ultrafilter','hardness_monitoring','ph_detection','total_chlorine_detection','concentration_of_peroxyacetic_acid','reverse_osmosis_membrane_disinfection_name','disinfection_of_water_pipeline_name','filter_replacement','user_name']
1320
               const filterVal = ['index','record_date','water_conductivity','water_pressure','temperature','force_pump_status','first_ro_membrane_effluent','first_water_yield','last_production_of_water_conductivity','last_water_yield','carbon_tank','snd_tank','resin_tank','ultrafilter','hardness_monitoring','ph_detection','total_chlorine_detection','concentration_of_peroxyacetic_acid','reverse_osmosis_membrane_disinfection_name','disinfection_of_water_pipeline_name','filter_replacement','user_name']
1172
         },
1338
         },
1173
       },
1339
       },
1174
       created(){
1340
       created(){
1341
+        console.log("list+++++++++++++++++++++++")
1175
         this.getlist()
1342
         this.getlist()
1176
       }
1343
       }
1177
     }
1344
     }

+ 154 - 103
src/xt_pages/management/home.vue 查看文件

893
                                         </el-table-column>
893
                                         </el-table-column>
894
                                         <el-table-column label="床单位更换" align="center" min-width="100px" >
894
                                         <el-table-column label="床单位更换" align="center" min-width="100px" >
895
                                                 <template slot-scope="scope">
895
                                                 <template slot-scope="scope">
896
-                                                  
896
+
897
                                                    <span v-if="scope.row.bed_way ==0">/</span>
897
                                                    <span v-if="scope.row.bed_way ==0">/</span>
898
                                                    <span v-if="scope.row.bed_way ==1">床单</span>
898
                                                    <span v-if="scope.row.bed_way ==1">床单</span>
899
                                                    <span v-if="scope.row.bed_way ==2">被套</span>
899
                                                    <span v-if="scope.row.bed_way ==2">被套</span>
1368
                           </el-tab-pane>
1368
                           </el-tab-pane>
1369
 
1369
 
1370
                            <el-tab-pane label="使用登记列表" name="second" >
1370
                            <el-tab-pane label="使用登记列表" name="second" >
1371
-                             <user-form ref="userForm" :userdata="userdata" v-if="device_type == 1"></user-form>
1372
-                             <water-form-list ref="waterFormList" v-if="device_type == 2" :equimentid="equimentid"></water-form-list>
1371
+                             <user-form ref="childFive" :userdata="userdata" v-if="device_type == 1"></user-form>
1372
+                             <water-form-list ref="childSix" v-if="device_type == 2" :equimentid="equimentid"></water-form-list>
1373
                            </el-tab-pane>
1373
                            </el-tab-pane>
1374
                        </el-tabs>
1374
                        </el-tabs>
1375
                      </div>
1375
                      </div>
1382
                       <div v-show="zhiShow">
1382
                       <div v-show="zhiShow">
1383
                        <el-tabs type="border-card" v-model="activeNameSix" @tab-click="handleClick">
1383
                        <el-tabs type="border-card" v-model="activeNameSix" @tab-click="handleClick">
1384
                          <el-tab-pane label="新增质量控制" name="first">
1384
                          <el-tab-pane label="新增质量控制" name="first">
1385
-  
1385
+
1386
                            <span style="margin-bottom: 20px;display: block;">细菌培养</span>
1386
                            <span style="margin-bottom: 20px;display: block;">细菌培养</span>
1387
                            <el-form :model="qualityForm" ref="qualityForm" :rules="qualitRules">
1387
                            <el-form :model="qualityForm" ref="qualityForm" :rules="qualitRules">
1388
                              <el-row>
1388
                              <el-row>
1579
                                     </el-date-picker>
1579
                                     </el-date-picker>
1580
                                   </el-form-item>
1580
                                   </el-form-item>
1581
                                 </el-col>
1581
                                 </el-col>
1582
-                               
1582
+
1583
                                 <el-col :span="8">
1583
                                 <el-col :span="8">
1584
                                   <el-form-item label="顺序号:" required prop="sort">
1584
                                   <el-form-item label="顺序号:" required prop="sort">
1585
                                      <el-input style="width:150px" v-model="qualityFormTwo.sort" ></el-input>
1585
                                      <el-input style="width:150px" v-model="qualityFormTwo.sort" ></el-input>
1632
                               </el-row>
1632
                               </el-row>
1633
                             </el-form>
1633
                             </el-form>
1634
                             <el-divider></el-divider>
1634
                             <el-divider></el-divider>
1635
-                           
1636
 
1635
 
1637
-                          
1636
+
1637
+
1638
                           <div v-if="device_type == 1">
1638
                           <div v-if="device_type == 1">
1639
                            <span style="margin-bottom: 20px;display: block;">透析液离子浓度检测</span>
1639
                            <span style="margin-bottom: 20px;display: block;">透析液离子浓度检测</span>
1640
                             <el-form ref="qualityFormThree" :model="qualityFormThree" :rules="ruleThree">
1640
                             <el-form ref="qualityFormThree" :model="qualityFormThree" :rules="ruleThree">
1689
                                         </el-date-picker>
1689
                                         </el-date-picker>
1690
                                     </el-form-item>
1690
                                     </el-form-item>
1691
                                 </el-col>
1691
                                 </el-col>
1692
-                                
1692
+
1693
                               </el-row>
1693
                               </el-row>
1694
-                            
1694
+
1695
                               <el-row>
1695
                               <el-row>
1696
                                 <el-col :span="8">
1696
                                 <el-col :span="8">
1697
                                   <!-- <span>Na<sup>+</sup></span> -->
1697
                                   <!-- <span>Na<sup>+</sup></span> -->
1791
 
1791
 
1792
 
1792
 
1793
 
1793
 
1794
-                           
1794
+
1795
                             <el-divider></el-divider>
1795
                             <el-divider></el-divider>
1796
-                         </div>     
1797
-                             
1798
-                        
1796
+                         </div>
1797
+
1798
+
1799
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
1799
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
1800
                             <el-form ref="qualityFormFour" :model="qualityFormFour" :rules="diaRules">
1800
                             <el-form ref="qualityFormFour" :model="qualityFormFour" :rules="diaRules">
1801
                               <el-row>
1801
                               <el-row>
1866
                                     </el-date-picker>
1866
                                     </el-date-picker>
1867
                                   </el-form-item>
1867
                                   </el-form-item>
1868
                                 </el-col>
1868
                                 </el-col>
1869
-                               
1869
+
1870
                                 <el-col :span="8">
1870
                                 <el-col :span="8">
1871
                                   <el-form-item label="顺序号:" required prop="sort">
1871
                                   <el-form-item label="顺序号:" required prop="sort">
1872
                                      <el-input style="width:150px" v-model="qualityFormFour.sort" ></el-input>
1872
                                      <el-input style="width:150px" v-model="qualityFormFour.sort" ></el-input>
1993
                                     </el-date-picker>
1993
                                     </el-date-picker>
1994
                                   </el-form-item>
1994
                                   </el-form-item>
1995
                                 </el-col>
1995
                                 </el-col>
1996
-                               
1996
+
1997
                                 <el-col :span="8">
1997
                                 <el-col :span="8">
1998
                                   <el-form-item label="顺序号:" required prop="sort">
1998
                                   <el-form-item label="顺序号:" required prop="sort">
1999
                                      <el-input style="width:150px" v-model="qualityFormFive.sort" ></el-input>
1999
                                      <el-input style="width:150px" v-model="qualityFormFive.sort" ></el-input>
2046
                               </el-row>
2046
                               </el-row>
2047
                             </el-form>
2047
                             </el-form>
2048
                             <el-divider></el-divider>
2048
                             <el-divider></el-divider>
2049
-                            
2049
+
2050
 
2050
 
2051
 
2051
 
2052
 
2052
 
2120
                                       </el-date-picker>
2120
                                       </el-date-picker>
2121
                                     </el-form-item>
2121
                                     </el-form-item>
2122
                                   </el-col>
2122
                                   </el-col>
2123
-                                
2123
+
2124
                                   <el-col :span="8">
2124
                                   <el-col :span="8">
2125
                                     <el-form-item label="顺序号:" required prop="sort">
2125
                                     <el-form-item label="顺序号:" required prop="sort">
2126
                                       <el-input style="width:150px" v-model="qualityFormSix.sort" ></el-input>
2126
                                       <el-input style="width:150px" v-model="qualityFormSix.sort" ></el-input>
2174
                               </el-form>
2174
                               </el-form>
2175
                             <el-divider></el-divider>
2175
                             <el-divider></el-divider>
2176
 
2176
 
2177
-                           
2178
-                           
2177
+
2178
+
2179
                             <span style="margin-bottom: 20px;display: block;">PH值检测</span>
2179
                             <span style="margin-bottom: 20px;display: block;">PH值检测</span>
2180
                             <el-form ref="qualityFormSeven" :model="qualityFormSeven" :rules="diaRules">
2180
                             <el-form ref="qualityFormSeven" :model="qualityFormSeven" :rules="diaRules">
2181
                               <el-row>
2181
                               <el-row>
2246
                                     </el-date-picker>
2246
                                     </el-date-picker>
2247
                                   </el-form-item>
2247
                                   </el-form-item>
2248
                                 </el-col>
2248
                                 </el-col>
2249
-                               
2249
+
2250
                                 <el-col :span="8">
2250
                                 <el-col :span="8">
2251
                                   <el-form-item label="顺序号:" required prop="sort">
2251
                                   <el-form-item label="顺序号:" required prop="sort">
2252
                                      <el-input style="width:150px" v-model="qualityFormSeven.sort" ></el-input>
2252
                                      <el-input style="width:150px" v-model="qualityFormSeven.sort" ></el-input>
2302
 
2302
 
2303
 
2303
 
2304
 
2304
 
2305
-                          
2305
+
2306
 
2306
 
2307
                          </el-tab-pane>
2307
                          </el-tab-pane>
2308
 
2308
 
2316
                           暂无数据
2316
                           暂无数据
2317
                         </div>
2317
                         </div>
2318
                    </el-tab-pane>
2318
                    </el-tab-pane>
2319
-                   
2319
+
2320
                     <el-tab-pane label="维修维护" name="five">
2320
                     <el-tab-pane label="维修维护" name="five">
2321
                        <el-tabs type="border-card" v-model="activeNameFive" @tab-click="handleClick">
2321
                        <el-tabs type="border-card" v-model="activeNameFive" @tab-click="handleClick">
2322
                          <el-tab-pane label="新增维修维护" name="first">
2322
                          <el-tab-pane label="新增维修维护" name="first">
2351
                              <el-row>
2351
                              <el-row>
2352
                                  <el-col :span="8">
2352
                                  <el-col :span="8">
2353
                                   <el-form-item label="到达时间:">
2353
                                   <el-form-item label="到达时间:">
2354
-                                   
2354
+
2355
                                          <el-date-picker
2355
                                          <el-date-picker
2356
                                           type="datetime"
2356
                                           type="datetime"
2357
                                           format="yyyy-MM-dd HH:mm"
2357
                                           format="yyyy-MM-dd HH:mm"
2848
           device_name: [{ required: true, message: '请填写序列号' }],
2848
           device_name: [{ required: true, message: '请填写序列号' }],
2849
           devicetype: [{ required: true, message: '请填写设备类型' }],
2849
           devicetype: [{ required: true, message: '请填写设备类型' }],
2850
           unit_type: [{ required: true, message: '请填写设备型号' }],
2850
           unit_type: [{ required: true, message: '请填写设备型号' }],
2851
-        
2851
+
2852
         },
2852
         },
2853
         qualitRules: {
2853
         qualitRules: {
2854
           detection_unit: [{ required: true, message: '请填写检测单位' }],
2854
           detection_unit: [{ required: true, message: '请填写检测单位' }],
2868
         },
2868
         },
2869
         repirRules: {
2869
         repirRules: {
2870
           guarantee_date: [{ required: true, message: '请填写保修日期' }],
2870
           guarantee_date: [{ required: true, message: '请填写保修日期' }],
2871
-          fault_description: [{ required: true, message: '请填写故障描述' }]
2871
+          fault_description: [{ required: true, message: '请填写故障描述', trigger: ['blur', 'change']}]
2872
         },
2872
         },
2873
         ruleThree: {
2873
         ruleThree: {
2874
           detection_unit: [{ required: true, message: '请填写检测单位' }],
2874
           detection_unit: [{ required: true, message: '请填写检测单位' }],
2885
           patient_name: [{ required: true, message: '请填写患者', trigger: ['blur', 'change'] }],
2885
           patient_name: [{ required: true, message: '请填写患者', trigger: ['blur', 'change'] }],
2886
           disinfect_type: [{ required: true, message: '请填写消毒方式' }],
2886
           disinfect_type: [{ required: true, message: '请填写消毒方式' }],
2887
           disinfectant_type: [{ required: true, message: '请填写消毒液' }],
2887
           disinfectant_type: [{ required: true, message: '请填写消毒液' }],
2888
-          disinfection: [{ required: true, message: '请填写消毒状态' }],
2888
+          disinfection: [{ required: true, message: '请填写消毒状态', trigger: ['blur','change'] }],
2889
           fluid_path: [{ required: true, message: '请填写消毒方式' }],
2889
           fluid_path: [{ required: true, message: '请填写消毒方式' }],
2890
           disinfectant: [{ required: true, message: '请填写消毒液' }],
2890
           disinfectant: [{ required: true, message: '请填写消毒液' }],
2891
-          disinfection_status: [{ required: true, message: '消毒状态' }],
2891
+          disinfection_status: [{ required: true, message: '请填写消毒状态', trigger: ['blur','change'] }],
2892
           sign_name: [{ required: true, message: '请填写签名', trigger: ['blur','change'] }],
2892
           sign_name: [{ required: true, message: '请填写签名', trigger: ['blur','change'] }],
2893
           classtype: [{ required: true, message: '请填写班次', trigger: ['blur','change']  }],
2893
           classtype: [{ required: true, message: '请填写班次', trigger: ['blur','change']  }],
2894
           reporting_date:[{required:true,message:"请填写出报告日期"}]
2894
           reporting_date:[{required:true,message:"请填写出报告日期"}]
3093
           { id:29, name:"PE"},
3093
           { id:29, name:"PE"},
3094
         ],
3094
         ],
3095
         disinfection: [
3095
         disinfection: [
3096
-          { id: 0, name: '请选择' },
3096
+          // { id: 0, name: '请选择' },
3097
           { id: 1, name: '已消毒' },
3097
           { id: 1, name: '已消毒' },
3098
           { id: 2, name: '未消毒' },
3098
           { id: 2, name: '未消毒' },
3099
           { id: 3, name: '消毒未完成' }
3099
           { id: 3, name: '消毒未完成' }
3252
           imageName: '',
3252
           imageName: '',
3253
           function_accessories_inspection:"",
3253
           function_accessories_inspection:"",
3254
           other_information:'',
3254
           other_information:'',
3255
+          admin_user_id:this.$store.getters.xt_user.user.id,
3255
         },
3256
         },
3256
 
3257
 
3257
         filename: '',
3258
         filename: '',
3382
         this.getAllMachine()
3383
         this.getAllMachine()
3383
       },
3384
       },
3384
       changeDeviceId(val) {
3385
       changeDeviceId(val) {
3386
+       
3385
         if (val === 1) {
3387
         if (val === 1) {
3386
           this.zoneDisabled = false
3388
           this.zoneDisabled = false
3387
         } else {
3389
         } else {
3388
           this.zoneDisabled = true
3390
           this.zoneDisabled = true
3389
         }
3391
         }
3392
+        if(val == 0){
3393
+          this.zoneDisabled = false
3394
+        }
3390
         this.forms.device_type = val
3395
         this.forms.device_type = val
3391
         this.getAllMachine()
3396
         this.getAllMachine()
3392
       },
3397
       },
3415
               }
3420
               }
3416
 
3421
 
3417
             }
3422
             }
3418
-            
3423
+
3419
           }
3424
           }
3420
         })
3425
         })
3421
       },
3426
       },
3423
         this.tabIndex = index
3428
         this.tabIndex = index
3424
       },
3429
       },
3425
       handleCurrentChange(val) {
3430
       handleCurrentChange(val) {
3426
-       console.log("val232323232323------",val)
3431
+        console.log("val3223323223",val)
3427
         // 通过设备型号区分质量控制
3432
         // 通过设备型号区分质量控制
3428
         this.device_type = val.device_type
3433
         this.device_type = val.device_type
3429
         this.unitType = val.unit_type
3434
         this.unitType = val.unit_type
3441
         this.GetUserTotalCount(val.bed_id)
3446
         this.GetUserTotalCount(val.bed_id)
3442
         this.getTimeBeteen(val.id)
3447
         this.getTimeBeteen(val.id)
3443
         this.getData(val.bed_id)
3448
         this.getData(val.bed_id)
3449
+        if(val.device_type == 2){
3450
+          this.$refs.childSix.getlist()
3451
+        }
3452
+       
3453
+      },
3454
+      toParent(){
3455
+        console.log("处方23322332")
3456
+        this.$refs.childSix.getlist()
3444
       },
3457
       },
3445
       getAutoData(id) {
3458
       getAutoData(id) {
3446
         getAutoData(id).then(response => {
3459
         getAutoData(id).then(response => {
3454
           if (response.data.state === 1) {
3467
           if (response.data.state === 1) {
3455
             var addmacher = response.data.data.addmacher
3468
             var addmacher = response.data.data.addmacher
3456
             var warning = response.data.data.warning
3469
             var warning = response.data.data.warning
3457
-          
3470
+
3458
             var time = this.getTimestamp(this.userform.date) - warning.stime
3471
             var time = this.getTimestamp(this.userform.date) - warning.stime
3459
             var germ = response.data.data.germ
3472
             var germ = response.data.data.germ
3460
-          
3473
+
3461
             var timetwo = this.getTimestamp(this.userform.date) - germ.stime
3474
             var timetwo = this.getTimestamp(this.userform.date) - germ.stime
3462
-           
3475
+
3463
             var clean = response.data.data.clean
3476
             var clean = response.data.data.clean
3464
             var timethree = this.getTimestamp(this.userform.date) - clean.stime
3477
             var timethree = this.getTimestamp(this.userform.date) - clean.stime
3465
             var number = response.data.data.number
3478
             var number = response.data.data.number
3466
-          
3479
+
3467
             this.Number = number
3480
             this.Number = number
3468
             if (addmacher.device_type === 1) {
3481
             if (addmacher.device_type === 1) {
3469
               this.sShow = false
3482
               this.sShow = false
3504
             var zone = response.data.data.zone
3517
             var zone = response.data.data.zone
3505
 
3518
 
3506
             const arr1 = []
3519
             const arr1 = []
3507
-          
3520
+
3508
             for (let index = 0; index < mode.length; index++) {
3521
             for (let index = 0; index < mode.length; index++) {
3509
               if (mode[index].treate_mode === 1) {
3522
               if (mode[index].treate_mode === 1) {
3510
                 mode[index] = 'HD'
3523
                 mode[index] = 'HD'
3593
             this.form.machine_status = addmacher.machine_status
3606
             this.form.machine_status = addmacher.machine_status
3594
             this.form.user_total = addmacher.user_total
3607
             this.form.user_total = addmacher.user_total
3595
             this.form.remarks = addmacher.remarks
3608
             this.form.remarks = addmacher.remarks
3596
-           
3609
+
3597
             if (addmacher.rubbish_date !== 0) {
3610
             if (addmacher.rubbish_date !== 0) {
3598
               this.form.rubbish_date = uParseTime(addmacher.rubbish_date, '{y}-{m}-{d}')
3611
               this.form.rubbish_date = uParseTime(addmacher.rubbish_date, '{y}-{m}-{d}')
3599
             }
3612
             }
3700
         var bed_numberss = parseInt(bed_numbers)
3713
         var bed_numberss = parseInt(bed_numbers)
3701
         this.form.bed_number = bed_numberss
3714
         this.form.bed_number = bed_numberss
3702
         this.$refs[formName].validate(valid => {
3715
         this.$refs[formName].validate(valid => {
3703
-          UpdateMachineInfo(this.form).then(response => {         
3716
+          UpdateMachineInfo(this.form).then(response => {
3704
             if (response.data.state === 1) {
3717
             if (response.data.state === 1) {
3705
-              var addmacher = response.data.data.addmacher         
3706
-              this.$message.success('修改成功')           
3718
+              var addmacher = response.data.data.addmacher
3719
+              this.$message.success('修改成功')
3707
               for (let i = 0; i < this.tableDatatwo.length; i++) {
3720
               for (let i = 0; i < this.tableDatatwo.length; i++) {
3708
                 if (this.tableDatatwo[i].id == addmacher.id) {
3721
                 if (this.tableDatatwo[i].id == addmacher.id) {
3709
                   for (let j = 0; j < this.deviceMode.length; j++) {
3722
                   for (let j = 0; j < this.deviceMode.length; j++) {
3710
                     if (this.deviceMode[j].id === parseInt(addmacher.unit_type)) {
3723
                     if (this.deviceMode[j].id === parseInt(addmacher.unit_type)) {
3711
                       addmacher.device_mode = this.deviceMode[j].device_mode
3724
                       addmacher.device_mode = this.deviceMode[j].device_mode
3712
-                    
3725
+
3713
                     }
3726
                     }
3714
                   }
3727
                   }
3715
 
3728
 
4370
             }
4383
             }
4371
             this.userform.date = uParseTime(patients.schedule_date, '{y}-{m}-{d}')
4384
             this.userform.date = uParseTime(patients.schedule_date, '{y}-{m}-{d}')
4372
             this.userform.patient_name = patients.name
4385
             this.userform.patient_name = patients.name
4373
-            this.userform.patient_id = patients.patient_id 
4386
+            this.userform.patient_id = patients.patient_id
4374
             var zone = response.data.data.zone
4387
             var zone = response.data.data.zone
4375
             this.userform.zone = zone.id
4388
             this.userform.zone = zone.id
4376
             var number = response.data.data.number
4389
             var number = response.data.data.number
4479
         }
4492
         }
4480
 
4493
 
4481
         // eslint-disable-next-line eqeqeq
4494
         // eslint-disable-next-line eqeqeq
4482
-        if (this.userform.start_time == '') {
4483
-          this.userform.start_time = '0'
4484
-        }
4485
-        // eslint-disable-next-line eqeqeq
4486
-        if (this.userform.end_time == '') {
4487
-          this.userform.end_time = '0'
4488
-        }
4495
+        // if (this.userform.start_time == '') {
4496
+        //   this.userform.start_time = '0'
4497
+        // }
4498
+        // // eslint-disable-next-line eqeqeq
4499
+        // if (this.userform.end_time == '') {
4500
+        //   this.userform.end_time = '0'
4501
+        // }
4489
 
4502
 
4490
-        // eslint-disable-next-line eqeqeq
4491
-        if (this.userform.starttime == '') {
4492
-          this.userform.starttime = '0'
4493
-        }
4494
-        // eslint-disable-next-line eqeqeq
4495
-        if (this.userform.endtime == '') {
4496
-          this.userform.endtime = '0'
4497
-        }
4503
+        // // eslint-disable-next-line eqeqeq
4504
+        // if (this.userform.starttime == '') {
4505
+        //   this.userform.starttime = '0'
4506
+        // }
4507
+        // // eslint-disable-next-line eqeqeq
4508
+        // if (this.userform.endtime == '') {
4509
+        //   this.userform.endtime = '0'
4510
+        // }
4498
 
4511
 
4499
         if (this.userform.hyperfiltratio === '') {
4512
         if (this.userform.hyperfiltratio === '') {
4500
           this.userform.hyperfiltratio = 0
4513
           this.userform.hyperfiltratio = 0
4519
         this.userform.user_total = parseInt(this.userform.user_total)
4532
         this.userform.user_total = parseInt(this.userform.user_total)
4520
 
4533
 
4521
         console.log("user_form",this.userform)
4534
         console.log("user_form",this.userform)
4522
-      
4535
+
4523
         this.$refs[formName].validate((valid) => {
4536
         this.$refs[formName].validate((valid) => {
4524
           if (valid) {
4537
           if (valid) {
4525
             SaveInformation(this.equimentid, this.userform).then(response => {
4538
             SaveInformation(this.equimentid, this.userform).then(response => {
4581
             this.userform.patient_id = information.patient_id
4594
             this.userform.patient_id = information.patient_id
4582
             this.userform.contagion = information.contagion
4595
             this.userform.contagion = information.contagion
4583
             this.userform.dialysis_mode = information.dialysis_mode
4596
             this.userform.dialysis_mode = information.dialysis_mode
4584
-            this.userform.start_time = this.updateTimes(information.start_time)
4585
-            this.userform.end_time = this.updateTimes(information.end_time)
4597
+            if(information.start_time > 0){
4598
+              this.userform.start_time = this.updateTimes(information.start_time)
4599
+            }else{
4600
+              this.userform.start_time =  ""
4601
+            }
4602
+            if(information.end_time >0){
4603
+              this.userform.end_time = this.updateTimes(information.end_time)
4604
+            }else{
4605
+              this.userform.end_time = ""
4606
+            }
4607
+          
4608
+           
4586
             // this.userform.end_time = uParseTime(information.end_time, '{y}-{m}-{d} {h}:{i}')
4609
             // this.userform.end_time = uParseTime(information.end_time, '{y}-{m}-{d} {h}:{i}')
4587
             if (information.hyperfiltratio === '') {
4610
             if (information.hyperfiltratio === '') {
4588
               this.userform.hyperfiltratio = dislysis.actual_ultrafiltration
4611
               this.userform.hyperfiltratio = dislysis.actual_ultrafiltration
4611
             this.userform.fault_description = information.fault_description
4634
             this.userform.fault_description = information.fault_description
4612
             this.userform.code_information = information.code_information
4635
             this.userform.code_information = information.code_information
4613
             this.userform.disinfect_type = information.disinfect_type
4636
             this.userform.disinfect_type = information.disinfect_type
4614
-            this.userform.disinfection = information.disinfection
4637
+            if(information.disinfection == 0){
4638
+              this.userform.disinfection = ""
4639
+            }else{
4640
+              this.userform.disinfection = information.disinfection
4641
+            }
4642
+           
4615
             this.userform.machine_run = information.machine_run
4643
             this.userform.machine_run = information.machine_run
4616
             this.userform.fluid_path = information.fluid_path
4644
             this.userform.fluid_path = information.fluid_path
4617
             this.userform.disinfectant = information.disinfectant
4645
             this.userform.disinfectant = information.disinfectant
4618
-            this.userform.disinfection_status = information.disinfection_status
4646
+            if(information.disinfection_status == 0){
4647
+               this.userform.disinfection_status = ""
4648
+            }else{
4649
+              this.userform.disinfection_status = information.disinfection_status
4650
+            }
4651
+           
4619
             this.userform.disinfection_residue = information.disinfection_residue
4652
             this.userform.disinfection_residue = information.disinfection_residue
4620
             this.userform.longtime = information.long_time
4653
             this.userform.longtime = information.long_time
4621
-            this.userform.starttime = this.updateTimes(information.disinfec_startime)
4622
-            this.userform.endtime = this.updateTimes(information.disinfec_endtime)
4654
+            if(information.disinfec_startime >0){
4655
+              this.userform.starttime = this.updateTimes(information.disinfec_startime)
4656
+            }else{
4657
+              this.userform.starttime= ""
4658
+            }
4659
+
4660
+            if(information.disinfec_endtime >0){
4661
+              this.userform.endtime = this.updateTimes(information.disinfec_endtime)
4662
+            }else{
4663
+              this.userform.endtime = ""
4664
+            }
4665
+           
4666
+           
4623
 
4667
 
4624
             if (information.dialysis_checked === 1) {
4668
             if (information.dialysis_checked === 1) {
4625
               this.userform.dialysis_checked = true
4669
               this.userform.dialysis_checked = true
4699
         var samplinglocationa = this.qualityForm.sampling_locationa
4743
         var samplinglocationa = this.qualityForm.sampling_locationa
4700
         var samplinglocationas = parseInt(samplinglocationa)
4744
         var samplinglocationas = parseInt(samplinglocationa)
4701
         this.qualityForm.sampling_locationa = samplinglocationas
4745
         this.qualityForm.sampling_locationa = samplinglocationas
4702
-        
4746
+
4703
         //  if(this.qualityForm.pass_examination!=''){
4747
         //  if(this.qualityForm.pass_examination!=''){
4704
         //    this.qualityForm.pass_examination = parseInt(this.qualityForm.pass_examination)
4748
         //    this.qualityForm.pass_examination = parseInt(this.qualityForm.pass_examination)
4705
         //  }
4749
         //  }
4706
          if(this.qualityForm.modifications!=''){
4750
          if(this.qualityForm.modifications!=''){
4707
            this.qualityForm.modifications = parseInt(this.qualityForm.modifications)
4751
            this.qualityForm.modifications = parseInt(this.qualityForm.modifications)
4708
          }
4752
          }
4709
-       
4753
+
4710
         console.log("3333333",this.qualityForm)
4754
         console.log("3333333",this.qualityForm)
4711
-       
4755
+
4712
         this.$refs[formName].validate(response => {
4756
         this.$refs[formName].validate(response => {
4713
           SaveBacteria(this.equimentid, this.qualityForm).then(response => {
4757
           SaveBacteria(this.equimentid, this.qualityForm).then(response => {
4714
             if (response.data.state === 1) {
4758
             if (response.data.state === 1) {
4736
         this.qualityForm.detection_result = ''
4780
         this.qualityForm.detection_result = ''
4737
       },
4781
       },
4738
       SaveLincomycin(formName) {
4782
       SaveLincomycin(formName) {
4739
-       
4783
+
4740
         this.$refs[formName].validate((valid) => {
4784
         this.$refs[formName].validate((valid) => {
4741
           if (this.qualityFormTwo.specimenb === '') {
4785
           if (this.qualityFormTwo.specimenb === '') {
4742
             this.qualityFormTwo.specimenb = 0
4786
             this.qualityFormTwo.specimenb = 0
4752
           var sampling = this.qualityFormTwo.sampling_locationb
4796
           var sampling = this.qualityFormTwo.sampling_locationb
4753
           var samplings = parseInt(sampling)
4797
           var samplings = parseInt(sampling)
4754
           this.qualityFormTwo.sampling_locationb = samplings
4798
           this.qualityFormTwo.sampling_locationb = samplings
4755
-           
4756
-       
4799
+
4800
+
4757
           if(this.qualityFormTwo.modifications!=''){
4801
           if(this.qualityFormTwo.modifications!=''){
4758
             this.qualityFormTwo.modifications = parseInt(this.qualityFormTwo.modifications)
4802
             this.qualityFormTwo.modifications = parseInt(this.qualityFormTwo.modifications)
4759
           }
4803
           }
4760
-       
4761
-      
4804
+
4805
+
4762
           if (valid) {
4806
           if (valid) {
4763
             SaveLincomycin(this.equimentid, this.qualityFormTwo).then(response => {
4807
             SaveLincomycin(this.equimentid, this.qualityFormTwo).then(response => {
4764
               if (response.data.state === 1) {
4808
               if (response.data.state === 1) {
4770
                 this.qualityFormTwo.concentrateb_nod = ''
4814
                 this.qualityFormTwo.concentrateb_nod = ''
4771
                 this.qualityFormTwo.sampling_locationb = ''
4815
                 this.qualityFormTwo.sampling_locationb = ''
4772
                 this.qualityFormTwo.detection_resultb = ''
4816
                 this.qualityFormTwo.detection_resultb = ''
4773
-               
4774
-              
4817
+
4818
+
4775
                 this.$refs.mychild.getAllQulityInfo()
4819
                 this.$refs.mychild.getAllQulityInfo()
4776
               }
4820
               }
4777
             })
4821
             })
4790
       SaveQualityControl(formName) {
4834
       SaveQualityControl(formName) {
4791
         this.$refs[formName].validate((valid) => {
4835
         this.$refs[formName].validate((valid) => {
4792
           if (valid) {
4836
           if (valid) {
4793
-             
4837
+
4794
               if(this.qualityFormThree.modifications!=''){
4838
               if(this.qualityFormThree.modifications!=''){
4795
                 this.qualityFormThree.modifications = parseInt(this.qualityFormThree.modifications)
4839
                 this.qualityFormThree.modifications = parseInt(this.qualityFormThree.modifications)
4796
               }
4840
               }
4797
-            
4841
+
4798
             SaveQualityControl(this.equimentid, this.qualityFormThree).then(response => {
4842
             SaveQualityControl(this.equimentid, this.qualityFormThree).then(response => {
4799
               if (response.data.state === 1) {
4843
               if (response.data.state === 1) {
4800
                 var ion = response.data.data.ion
4844
                 var ion = response.data.data.ion
4953
                 this.guaForm.exclude = 0
4997
                 this.guaForm.exclude = 0
4954
                 this.guaForm.images = ''
4998
                 this.guaForm.images = ''
4955
                 this.guaForm.treatment_process = ''
4999
                 this.guaForm.treatment_process = ''
5000
+                this.guaForm.function_accessories_inspection= ""
5001
+                this.guaForm.other_information= ""
4956
                 this.classShow = false
5002
                 this.classShow = false
4957
                 this.guaForm.imageName = ''
5003
                 this.guaForm.imageName = ''
4958
               }
5004
               }
5042
             var deviceInformation = response.data.data.deviceInformation
5088
             var deviceInformation = response.data.data.deviceInformation
5043
             var timetwo = this.getTimestamp(this.userform.date) - deviceInformation.stime
5089
             var timetwo = this.getTimestamp(this.userform.date) - deviceInformation.stime
5044
             var clean = response.data.data.clean
5090
             var clean = response.data.data.clean
5045
-          
5091
+
5046
           }
5092
           }
5047
         })
5093
         })
5048
       },
5094
       },
5145
          GetUserTotalCount(bedid).then(response=>{
5191
          GetUserTotalCount(bedid).then(response=>{
5146
             if(response.data.state == 1){
5192
             if(response.data.state == 1){
5147
               var count =  response.data.data.count
5193
               var count =  response.data.data.count
5148
-              var addmacher = response.data.data.addmacher 
5194
+              var addmacher = response.data.data.addmacher
5149
               if(addmacher.user_total == ''){
5195
               if(addmacher.user_total == ''){
5150
                   addmacher.user_total = 0
5196
                   addmacher.user_total = 0
5151
-              }   
5197
+              }
5152
               // this.userform.user_total = count[0].Total + parseInt(addmacher.user_total)
5198
               // this.userform.user_total = count[0].Total + parseInt(addmacher.user_total)
5153
             }
5199
             }
5154
          })
5200
          })
5171
           var sampling = this.qualityFormFour.sampling_locationb
5217
           var sampling = this.qualityFormFour.sampling_locationb
5172
           var samplings = parseInt(sampling)
5218
           var samplings = parseInt(sampling)
5173
           this.qualityFormFour.sampling_locationb = samplings
5219
           this.qualityFormFour.sampling_locationb = samplings
5174
-           
5175
-        
5220
+
5221
+
5176
           if(this.qualityFormFour.modifications!=''){
5222
           if(this.qualityFormFour.modifications!=''){
5177
             this.qualityFormFour.modifications = parseInt(this.qualityFormFour.modifications)
5223
             this.qualityFormFour.modifications = parseInt(this.qualityFormFour.modifications)
5178
           }
5224
           }
5179
-       
5225
+
5180
           if (valid) {
5226
           if (valid) {
5181
             saveOxygenates(this.equimentid, this.qualityFormFour).then(response => {
5227
             saveOxygenates(this.equimentid, this.qualityFormFour).then(response => {
5182
               if (response.data.state === 1) {
5228
               if (response.data.state === 1) {
5187
                 this.qualityFormFour.concentrate_noc = ''
5233
                 this.qualityFormFour.concentrate_noc = ''
5188
                 this.qualityFormFour.concentrateb_nod = ''
5234
                 this.qualityFormFour.concentrateb_nod = ''
5189
                 this.qualityFormFour.sampling_locationb = ''
5235
                 this.qualityFormFour.sampling_locationb = ''
5190
-             
5236
+
5191
                 this.qualityFormFour.detection_resultb = ''
5237
                 this.qualityFormFour.detection_resultb = ''
5192
-                
5193
-              
5238
+
5239
+
5194
                 this.$refs.mychild.getAllQulityInfo()
5240
                 this.$refs.mychild.getAllQulityInfo()
5195
               }
5241
               }
5196
             })
5242
             })
5215
           var sampling = this.qualityFormFive.sampling_locationb
5261
           var sampling = this.qualityFormFive.sampling_locationb
5216
           var samplings = parseInt(sampling)
5262
           var samplings = parseInt(sampling)
5217
           this.qualityFormFive.sampling_locationb = samplings
5263
           this.qualityFormFive.sampling_locationb = samplings
5218
-           
5219
-        
5264
+
5265
+
5220
           if(this.qualityFormFive.modifications!=''){
5266
           if(this.qualityFormFive.modifications!=''){
5221
             this.qualityFormFive.modifications = parseInt(this.qualityFormFive.modifications)
5267
             this.qualityFormFive.modifications = parseInt(this.qualityFormFive.modifications)
5222
           }
5268
           }
5223
-       
5269
+
5224
           if (valid) {
5270
           if (valid) {
5225
             saveHardWater(this.equimentid, this.qualityFormFive).then(response => {
5271
             saveHardWater(this.equimentid, this.qualityFormFive).then(response => {
5226
               if (response.data.state === 1) {
5272
               if (response.data.state === 1) {
5232
                 this.qualityFormFive.concentrateb_nod = ''
5278
                 this.qualityFormFive.concentrateb_nod = ''
5233
                 this.qualityFormFive.sampling_locationb = ''
5279
                 this.qualityFormFive.sampling_locationb = ''
5234
                 this.qualityFormFive.detection_resultb = ''
5280
                 this.qualityFormFive.detection_resultb = ''
5235
-               
5236
-              
5281
+
5282
+
5237
                 this.$refs.mychild.getAllQulityInfo()
5283
                 this.$refs.mychild.getAllQulityInfo()
5238
               }
5284
               }
5239
             })
5285
             })
5258
           var sampling = this.qualityFormSix.sampling_locationb
5304
           var sampling = this.qualityFormSix.sampling_locationb
5259
           var samplings = parseInt(sampling)
5305
           var samplings = parseInt(sampling)
5260
           this.qualityFormSix.sampling_locationb = samplings
5306
           this.qualityFormSix.sampling_locationb = samplings
5261
-           
5262
-       
5307
+
5308
+
5263
           if(this.qualityFormSix.modifications!=''){
5309
           if(this.qualityFormSix.modifications!=''){
5264
             this.qualityFormSix.modifications = parseInt(this.qualityFormSix.modifications)
5310
             this.qualityFormSix.modifications = parseInt(this.qualityFormSix.modifications)
5265
           }
5311
           }
5266
-       
5312
+
5267
           if (valid) {
5313
           if (valid) {
5268
             saveWater(this.equimentid, this.qualityFormSix).then(response => {
5314
             saveWater(this.equimentid, this.qualityFormSix).then(response => {
5269
               if (response.data.state === 1) {
5315
               if (response.data.state === 1) {
5275
                 this.qualityFormSix.concentrateb_nod = ''
5321
                 this.qualityFormSix.concentrateb_nod = ''
5276
                 this.qualityFormSix.sampling_locationb = ''
5322
                 this.qualityFormSix.sampling_locationb = ''
5277
                 this.qualityFormSix.detection_resultb = ''
5323
                 this.qualityFormSix.detection_resultb = ''
5278
-             
5279
-              
5324
+
5325
+
5280
                 this.$refs.child.getAllQulityInfo()
5326
                 this.$refs.child.getAllQulityInfo()
5281
               }else{
5327
               }else{
5282
                 this.qualityFormSix.pass_examination = "1"
5328
                 this.qualityFormSix.pass_examination = "1"
5303
           var sampling = this.qualityFormSeven.sampling_locationb
5349
           var sampling = this.qualityFormSeven.sampling_locationb
5304
           var samplings = parseInt(sampling)
5350
           var samplings = parseInt(sampling)
5305
           this.qualityFormSeven.sampling_locationb = samplings
5351
           this.qualityFormSeven.sampling_locationb = samplings
5306
-           
5307
-       
5352
+
5353
+
5308
           if(this.qualityFormSeven.modifications!=''){
5354
           if(this.qualityFormSeven.modifications!=''){
5309
             this.qualityFormSeven.modifications = parseInt(this.qualityFormSeven.modifications)
5355
             this.qualityFormSeven.modifications = parseInt(this.qualityFormSeven.modifications)
5310
           }
5356
           }
5311
-       
5357
+
5312
           if (valid) {
5358
           if (valid) {
5313
             saveDevicePH(this.equimentid, this.qualityFormSeven).then(response => {
5359
             saveDevicePH(this.equimentid, this.qualityFormSeven).then(response => {
5314
               if (response.data.state === 1) {
5360
               if (response.data.state === 1) {
5320
                 this.qualityFormSeven.concentrateb_nod = ''
5366
                 this.qualityFormSeven.concentrateb_nod = ''
5321
                 this.qualityFormSeven.sampling_locationb = ''
5367
                 this.qualityFormSeven.sampling_locationb = ''
5322
                 this.qualityFormSeven.detection_resultb = ''
5368
                 this.qualityFormSeven.detection_resultb = ''
5323
-              
5324
-              
5369
+
5370
+
5325
                 this.$refs.mychild.getAllQulityInfo()
5371
                 this.$refs.mychild.getAllQulityInfo()
5326
               }
5372
               }
5327
             })
5373
             })
5343
       this.getAllpatient()
5389
       this.getAllpatient()
5344
       this.getAllMode()
5390
       this.getAllMode()
5345
       this.GetUserTotalCount(bedid)
5391
       this.GetUserTotalCount(bedid)
5346
-      
5392
+
5347
 
5393
 
5348
   }
5394
   }
5349
   }
5395
   }
5408
        margin-bottom: 10px;
5454
        margin-bottom: 10px;
5409
     margin-left: 82%
5455
     margin-left: 82%
5410
   }
5456
   }
5457
+  .el-form-item__error {
5458
+    margin-left: 130px;
5459
+    
5460
+  }
5411
 
5461
 
5412
 </style>
5462
 </style>
5413
 <style lang="scss">
5463
 <style lang="scss">
5464
+    .el-form-item__error {
5465
+      left:103px !important;
5466
+    }
5414
    .a{
5467
    .a{
5415
      margin-bottom: 10px;
5468
      margin-bottom: 10px;
5416
       margin-top: 6px;
5469
       margin-top: 6px;
5453
   //   width: 130px;
5506
   //   width: 130px;
5454
   //   font-size: 14px;
5507
   //   font-size: 14px;
5455
   // }
5508
   // }
5456
-  .el-form-item__error {
5457
-    margin-left: 130px;
5458
-  }
5509
+  
5459
 
5510
 
5460
  .el-upload-list__item-name {
5511
  .el-upload-list__item-name {
5461
     color: #606266;
5512
     color: #606266;

+ 2 - 7
src/xt_pages/outpatientCharges/components/registerDialog.vue 查看文件

262
           cost: '',
262
           cost: '',
263
           phone: '',
263
           phone: '',
264
           social_type: ''
264
           social_type: ''
265
-        }, 
265
+        },
266
         IDCardTypes: [{
266
         IDCardTypes: [{
267
           value: 1,
267
           value: 1,
268
           label: '社保卡'
268
           label: '社保卡'
739
       hide: function () {
739
       hide: function () {
740
         this.visibility = false
740
         this.visibility = false
741
         this.$refs['formValue'].resetFields()
741
         this.$refs['formValue'].resetFields()
742
-      },
743
-       cancel: function(formName) {
742
+      }, cancel: function(formName) {
744
         this.$emit('cancel', this.getValue())
743
         this.$emit('cancel', this.getValue())
745
-        this.visibility=false
746
         this.$refs['formValue'].resetFields()
744
         this.$refs['formValue'].resetFields()
747
       },
745
       },
748
       confirm: function(formName) {
746
       confirm: function(formName) {
751
             let value = {}
749
             let value = {}
752
             value = this.getValue()
750
             value = this.getValue()
753
             this.$emit('confirm', value)
751
             this.$emit('confirm', value)
754
-            this.visibility=false
755
-            this.$refs['formValue'].resetFields()
756
-            this.$parent.loadingone=false
757
           }
752
           }
758
         })
753
         })
759
       },
754
       },

+ 61 - 30
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

122
 
122
 
123
 
123
 
124
 
124
 
125
-            <el-button  size="small"  v-if="(org_id == 0 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2)  || (org_id == 10138 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2) || (org_id == 10278 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2)"
125
+            <el-button  size="small"  v-if="(org_id == 10138 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2) || (org_id == 10278 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2)"
126
                        @click="openZF(1)"
126
                        @click="openZF(1)"
127
                        type="primary">自费门诊就医上传(4205)
127
                        type="primary">自费门诊就医上传(4205)
128
             </el-button>
128
             </el-button>
129
 
129
 
130
-            <el-button  size="small" v-if="(org_id == 0 && this.order.is_upload_success == 0 && this.order.order_status == 2)  || (org_id == 10138  && this.order.is_upload_success == 0 && this.order.order_status == 2) || (org_id == 10278  && this.order.is_upload_success == 0 && this.order.order_status == 2) "
130
+            <el-button  size="small" v-if="(org_id == 10138  && this.order.is_upload_success == 0 && this.order.order_status == 2) || (org_id == 10278  && this.order.is_upload_success == 0 && this.order.order_status == 2) "
131
                         @click="openZF(2)"
131
                         @click="openZF(2)"
132
                         type="primary">自费上传确认(4203)
132
                         type="primary">自费上传确认(4203)
133
             </el-button>
133
             </el-button>
854
         </div>
854
         </div>
855
       </div>
855
       </div>
856
     </div>
856
     </div>
857
+    <el-dialog
858
+      title="发票号码"
859
+      :visible.sync="fapiaoCodeDialogVisible"
860
+      width="30%"
861
+    >
862
+      <el-input placeholder="请输入发票号码" v-model="fapiao_code"></el-input>
863
+
864
+      <span slot="footer" class="dialog-footer">
865
+                <el-button @click="fapiaoCodeDialogVisible = false">取 消</el-button>
866
+                <el-button type="primary" @click="comfirmFaPiaoCode">确 定</el-button>
867
+             </span>
868
+    </el-dialog>
869
+
857
     <el-dialog
870
     <el-dialog
858
         title="提示"
871
         title="提示"
859
         :visible.sync="dialogVisible"
872
         :visible.sync="dialogVisible"
1005
   },
1018
   },
1006
   data() {
1019
   data() {
1007
     return {
1020
     return {
1021
+      fapiaoCodeDialogVisible:false,
1022
+      fapiao_code:"",
1008
       monthChargePatientTableData: [],
1023
       monthChargePatientTableData: [],
1009
       invoiceVisible: false,
1024
       invoiceVisible: false,
1010
       invoiceParams: null,
1025
       invoiceParams: null,
1218
     this.getPatientList()
1233
     this.getPatientList()
1219
   },
1234
   },
1220
   methods: {
1235
   methods: {
1236
+    comfirmFaPiaoCode(){
1237
+      var  that = this
1238
+      let params = {
1239
+        'order_id': this.order.id,
1240
+        'admin_user_id': this.$store.getters.xt_user.user.id,
1241
+        'fapiao_code':this.fapiao_code,
1242
+      }
1243
+      axios.get('http://127.0.0.1:9532/api/4205', {
1244
+        params: params
1245
+      }).then(function(response) {
1246
+        if (response.data.state == 0) {
1247
+          that.$message.error(response.data.msg)
1248
+          that.fapiaoCodeDialogVisible = false
1249
+          return false
1250
+        } else {
1251
+          that.fapiaoCodeDialogVisible = false
1252
+          if (response.data.data.failed_code == -10) {
1253
+            that.$confirm(response.data.data.msg, '医保错误信息', {
1254
+              confirmButtonText: '确 定',
1255
+              type: 'warning'
1256
+            }).then(() => {
1257
+
1258
+            }).catch(() => {
1259
+
1260
+            })
1261
+
1262
+          } else {
1263
+            that.$message({ message: '上传成功', type: 'success', duration: 5000 })
1264
+            that.order.is_upload_diagnose = 1
1265
+          }
1266
+
1267
+        }
1268
+      })
1269
+        .catch(function(error) {
1270
+
1271
+        })
1272
+
1273
+
1274
+    },
1221
     fetchAllAdminUsers() {
1275
     fetchAllAdminUsers() {
1222
       fetchAllAdminUsers().then(response => {
1276
       fetchAllAdminUsers().then(response => {
1223
         if (response.data.state == 1) {
1277
         if (response.data.state == 1) {
3021
 
3075
 
3022
       }
3076
       }
3023
     },openZF(index){
3077
     },openZF(index){
3078
+
3079
+
3024
       var  that = this
3080
       var  that = this
3025
       let params = {
3081
       let params = {
3026
         'order_id': this.order.id,
3082
         'order_id': this.order.id,
3029
       }
3085
       }
3030
       switch (index){
3086
       switch (index){
3031
         case 1:
3087
         case 1:
3032
-          axios.get('http://127.0.0.1:9532/api/4205', {
3033
-            params: params
3034
-          }).then(function(response) {
3035
-            if (response.data.state == 0) {
3036
-              that.$message.error(response.data.msg)
3037
-
3038
-              return false
3039
-            } else {
3040
-              if (response.data.data.failed_code == -10) {
3041
-                that.$confirm(response.data.data.msg, '医保错误信息', {
3042
-                  confirmButtonText: '确 定',
3043
-                  type: 'warning'
3044
-                }).then(() => {
3045
-
3046
-                }).catch(() => {
3047
-                })
3048
-
3049
-              } else {
3050
-                that.$message({ message: '上传成功', type: 'success', duration: 5000 })
3051
-                that.changeRadioAndPatient(2)
3052
-              }
3053
-
3054
-            }
3055
-          })
3056
-            .catch(function(error) {
3057
-
3058
-            })
3088
+          this.fapiaoCodeDialogVisible = true
3059
           break
3089
           break
3060
         case 2:
3090
         case 2:
3061
 
3091
 
3078
 
3108
 
3079
               } else {
3109
               } else {
3080
                 that.$message({ message: '确认成功', type: 'success', duration: 5000 })
3110
                 that.$message({ message: '确认成功', type: 'success', duration: 5000 })
3081
-                that.changeRadioAndPatient(2)
3111
+                // that.changeRadioAndPatient(2)
3112
+                that.order.is_upload_success = 1
3082
               }
3113
               }
3083
 
3114
 
3084
             }
3115
             }

+ 418 - 418
src/xt_pages/outpatientCharges/statementTemplate/printFour.vue 查看文件

1
 <template>
1
 <template>
2
-    <div>
3
-        <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print">
4
-            <div v-for='(i,pageIndex) in pageArr.length' :key="pageIndex">
5
-                <div class="printTitle">血液透析中心医药费收据及收费项目清单</div>
6
-                <div class="infoMain">
7
-                    <div class="infoP">医院(药店)编号:{{info.org_code}}</div>
8
-                    <div class="infoP">名称:{{info.org_name}}</div>
9
-                    <div class="infoP">医生工号:{{info.doctor_code}}</div>
10
-                    <div class="infoP">门诊流水号:{{info.number}}</div>
11
-                    <div class="infoP">科别: {{info.department}}</div>
12
-                    <div class="infoP">处方单据号:{{info.order_number}}</div>
13
-                    <div class="infoP">姓名:{{info.patient.name}}</div>
14
-                    <div class="infoP">医疗账号:{{info.health_card_no}}</div>
15
-                    <div class="infoP">医疗类别:</div>
16
-                </div>
17
-                <div class="chargeBox">
18
-                    <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
19
-                        <div class="chargeUl" style="width:20%;">
20
-                            <p style="width:50%;border-right:1px solid #000;">费用类型</p>
21
-                            <p style="width:50%;border-right:1px solid #000;">金额</p>
22
-                        </div>
23
-                        <div class="chargeUl" style="width:80%;">
24
-                            <p style="width:40%;border-right:1px solid #000;">明细名称</p>
25
-                            <p style="width:15%;border-right:1px solid #000;">规格</p>
26
-                            <p style="width:15%;border-right:1px solid #000;">数量</p>
27
-                            <p style="width:15%;border-right:1px solid #000;">单价</p>
28
-                            <p style="width:15%;">金额</p>
29
-                        </div>
30
-                    </div>
31
-                    <div style="display:flex;justify-content: space-between;">
32
-                        <div style="width:20%;">
33
-                            <div class="chargeUl" v-if="info.bed_cost_total > 0">
34
-                                <p style="width:50%;">床位费</p>
35
-                                <p style="width:50%;">{{info.bed_cost_total?info.bed_cost_total:0}}元</p>
36
-                            </div>
37
-                            <div class="chargeUl" v-if="info.operation_cost_total > 0">
38
-                                <p style="width:50%;">手术费</p>
39
-                                <p style="width:50%;">{{info.operation_cost_total?info.operation_cost_total:0}}元</p>
40
-                            </div>
41
-                            <div class="chargeUl" v-if="info.other_cost_total > 0">
42
-                                <p style="width:50%;">其他费</p>
43
-                                <p style="width:50%;">{{info.other_cost_total?info.other_cost_total:0}}元</p>
44
-                            </div>
45
-                            <div class="chargeUl" v-if="info.material_cost_total > 0">
46
-                                <p style="width:50%;">材料费</p>
47
-                                <p style="width:50%;">{{info.material_cost_total?info.material_cost_total:0}}元</p>
48
-                            </div>
49
-                            <div class="chargeUl" v-if="info.western_medicine_cost_total > 0">
50
-                                <p style="width:50%;">西药费</p>
51
-                                <p style="width:50%;">{{info.western_medicine_cost_total?info.western_medicine_cost_total:0}}元</p>
52
-                            </div>
53
-                            <div class="chargeUl" v-if="info.chinese_traditional_medicine_cost_total > 0">
54
-                                <p style="width:50%;">中成费</p>
55
-                                <p style="width:50%;">{{info.chinese_traditional_medicine_cost_total?info.chinese_traditional_medicine_cost_total:0}}元</p>
56
-                            </div>
57
-                            <div class="chargeUl" v-if="info.check_cost_total > 0">
58
-                                <p style="width:50%;">检查费</p>
59
-                                <p style="width:50%;">{{info.check_cost_total?info.check_cost_total:0}}元</p>
60
-                            </div>
61
-                            <div class="chargeUl" v-if="info.laboratory_cost_total > 0">
62
-                                <p style="width:50%;">化验费</p>
63
-                                <p style="width:50%;">{{info.laboratory_cost_total?info.laboratory_cost_total:0}}元</p>
64
-                            </div>
65
-                            <div class="chargeUl" v-if="info.treat_cost_total > 0">
66
-                                <p style="width:50%;">治疗费</p>
67
-                                <p style="width:50%;">{{info.treat_cost_total?info.treat_cost_total:0}}元</p>
68
-                            </div>
69
-                            <div class="chargeUl" style="border-top:1px solid #000;">
70
-                                <p style="width:50%;">费用合计</p>
71
-                                <p style="width:50%;">{{info.medfee_sumamt?info.medfee_sumamt:0}}元</p>
72
-                            </div>
73
-                            <div class="chargeUl" style="border-top:1px solid #000;">
74
-                                <p style="width:50%;">记账支付</p>
75
-                                <p style="width:50%;">{{info.hifp_pay?info.hifp_pay:0}}元</p>
76
-                            </div>
77
-                            <div class="chargeUl" style="border-top:1px solid #000;">
78
-                                <p style="width:50%;">个人账号</p>
79
-                                <p style="width:50%;">{{info.acct_pay?info.acct_pay:0}}元</p>
80
-                            </div>
81
-                            <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
82
-                                <p style="width:50%;">现金支付</p>
83
-                                <p style="width:50%;">{{info.psn_pay?info.psn_pay:0}}元</p>
84
-                            </div>
85
-                        </div>
86
-                        <div style="width:80%;max-height:500px;">
87
-                            <div style="display:flex;" v-for="(item,i) in info.order_infos.slice(pageIndex * 13,(pageIndex * 13) + pageArr[pageIndex])" :key="i">
88
-                                <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
89
-                                    <p class="chargeP">
90
-                                        <span v-if='item.type == 1'>{{item.advice.advice_name}}</span>
91
-                                        <span v-if='item.project.type == 2'>{{item.project.project.project_name}}</span>
92
-                                        <span v-if='item.project.type == 3'>{{item.project.good_info.specification_name}}</span>
93
-                                    </p>
94
-                                </div>
95
-                                <div style="border-right:1px solid #000;width:15%;text-align:center;">
96
-                                    <p class="chargeP">
97
-                                        <span v-if='item.type == 1'>{{ item.advice.drug.dose + item.advice.drug.dose_unit + "*" +item.advice.drug.min_number + item.advice.drug.min_unit +"/" + item.advice.drug.max_unit}}</span>
98
-                                        <span v-if='item.project.type == 2'>{{item.project.project.unit}}</span>
99
-                                        <span v-if='item.project.type == 3'>{{item.project.unit}}</span>
100
-                                    </p>
101
-                                </div>
102
-                                <div style="border-right:1px solid #000;width:15%;text-align:center;">
103
-                                    <p class="chargeP">
104
-                                      <span v-if='item.type == 1'>{{item.cnt}}{{item.advice.prescribing_number_unit}}</span>
105
-                                      <span v-if='item.project.type == 2'>{{item.cnt}}{{item.project.project.unit}}</span>
106
-                                      <span v-if='item.project.type == 3'>{{item.cnt}}{{item.project.unit}}</span>
107
-                                    </p>
108
-                                </div>
109
-                                <div style="border-right:1px solid #000;width:15%;text-align:center;">
110
-                                    <p class="chargeP">
111
-                                        <span>{{item.pric}}元</span>
112
-                                    </p>
113
-                                </div>
114
-                                <div style="width:15%;text-align:center;">
115
-                                    <p class="chargeP">
116
-                                        <span>{{(item.cnt * item.pric).toFixed(2)}}元</span>
117
-                                    </p>
118
-                                </div>
119
-                            </div>
120
-                        </div>
121
-                    </div>
122
-
123
-                </div>
124
-                <div class="moneyBox">
125
-                    <p>实收金:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</p>
126
-                    <p>记账前金额:{{0.00}}元</p>
127
-                    <p>扣款金额:{{0.00}}元</p>
128
-                    <p>记账后金额:{{info.balc}}元</p>
129
-                    <p>找赎金:{{0.00}}元</p>
130
-                </div>
131
-                <div class="actionBar">
132
-                    <div>收费员:{{info.charge_admin.user_name}}</div>
133
-                    <div>日期:{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</div>
134
-                </div>
135
-            </div>
136
-
137
-        </div>
138
-        <div v-else id='prescription-print' class="prescription-print">
2
+  <div>
3
+      <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print">
139
           <div v-for='(i,pageIndex) in pageArr.length' :key="pageIndex">
4
           <div v-for='(i,pageIndex) in pageArr.length' :key="pageIndex">
140
               <div class="printTitle">血液透析中心医药费收据及收费项目清单</div>
5
               <div class="printTitle">血液透析中心医药费收据及收费项目清单</div>
141
               <div class="infoMain">
6
               <div class="infoMain">
142
-                  <div class="infoP">医院(药店)编号:{{balanceAccounts.org_config.code}}</div>
143
-                  <div class="infoP">名称:{{balanceAccounts.org_config.org_name}}</div>
144
-                  <div class="infoP">医生工号:</div>
145
-                  <div class="infoP">门诊流水号:{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</div>
146
-                  <div class="infoP">科别: {{balanceAccounts.order.department_name ? balanceAccounts.order.department_name : ''}}</div>
147
-                  <div class="infoP">处方单据号:{{balanceAccounts.order.number ? balanceAccounts.order.number : ''}}</div>
148
-                  <div class="infoP">姓名:{{balanceAccounts.patient ? balanceAccounts.patient.name : ''}}</div>
149
-                  <div class="infoP">医疗账号:</div>
150
-                  <div class="infoP">医疗类别:自费</div>
7
+                  <div class="infoP">医院(药店)编号:{{info.org_code}}</div>
8
+                  <div class="infoP">名称:{{info.org_name}}</div>
9
+                  <div class="infoP">医生工号:{{info.doctor_code}}</div>
10
+                  <div class="infoP">门诊流水号:{{info.number}}</div>
11
+                  <div class="infoP">科别: {{info.department}}</div>
12
+                  <div class="infoP">处方单据号:{{info.order_number}}</div>
13
+                  <div class="infoP">姓名:{{info.patient.name}}</div>
14
+                  <div class="infoP">医疗账号:{{info.health_card_no}}</div>
15
+                  <div class="infoP">医疗类别:</div>
151
               </div>
16
               </div>
152
               <div class="chargeBox">
17
               <div class="chargeBox">
153
                   <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
18
                   <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
165
                   </div>
30
                   </div>
166
                   <div style="display:flex;justify-content: space-between;">
31
                   <div style="display:flex;justify-content: space-between;">
167
                       <div style="width:20%;">
32
                       <div style="width:20%;">
168
-                          <div class="chargeUl" v-for="(item,i) in balanceAccounts.new_detail_list" :key="i">
169
-                              <p style="width:50%;">
170
-                                <span v-if="item.type == 1">药品费</span>
171
-                                <span v-if="item.type == 2">治疗费</span>
172
-                                <span v-if="item.type == 3">耗材费</span>
173
-                              </p>
174
-                              <p style="width:50%;">{{item.total?item.total:0}}元</p>
33
+                          <div class="chargeUl" v-if="info.bed_cost_total > 0">
34
+                              <p style="width:50%;">床位费</p>
35
+                              <p style="width:50%;">{{info.bed_cost_total?info.bed_cost_total:0}}元</p>
36
+                          </div>
37
+                          <div class="chargeUl" v-if="info.operation_cost_total > 0">
38
+                              <p style="width:50%;">手术费</p>
39
+                              <p style="width:50%;">{{info.operation_cost_total?info.operation_cost_total:0}}元</p>
40
+                          </div>
41
+                          <div class="chargeUl" v-if="info.other_cost_total > 0">
42
+                              <p style="width:50%;">其他费</p>
43
+                              <p style="width:50%;">{{info.other_cost_total?info.other_cost_total:0}}元</p>
44
+                          </div>
45
+                          <div class="chargeUl" v-if="info.material_cost_total > 0">
46
+                              <p style="width:50%;">材料费</p>
47
+                              <p style="width:50%;">{{info.material_cost_total?info.material_cost_total:0}}元</p>
48
+                          </div>
49
+                          <div class="chargeUl" v-if="info.western_medicine_cost_total > 0">
50
+                              <p style="width:50%;">西药费</p>
51
+                              <p style="width:50%;">{{info.western_medicine_cost_total?info.western_medicine_cost_total:0}}元</p>
52
+                          </div>
53
+                          <div class="chargeUl" v-if="info.chinese_traditional_medicine_cost_total > 0">
54
+                              <p style="width:50%;">中成费</p>
55
+                              <p style="width:50%;">{{info.chinese_traditional_medicine_cost_total?info.chinese_traditional_medicine_cost_total:0}}元</p>
56
+                          </div>
57
+                          <div class="chargeUl" v-if="info.check_cost_total > 0">
58
+                              <p style="width:50%;">检查费</p>
59
+                              <p style="width:50%;">{{info.check_cost_total?info.check_cost_total:0}}元</p>
60
+                          </div>
61
+                          <div class="chargeUl" v-if="info.laboratory_cost_total > 0">
62
+                              <p style="width:50%;">化验费</p>
63
+                              <p style="width:50%;">{{info.laboratory_cost_total?info.laboratory_cost_total:0}}元</p>
64
+                          </div>
65
+                          <div class="chargeUl" v-if="info.treat_cost_total > 0">
66
+                              <p style="width:50%;">治疗费</p>
67
+                              <p style="width:50%;">{{info.treat_cost_total?info.treat_cost_total:0}}元</p>
175
                           </div>
68
                           </div>
176
                           <div class="chargeUl" style="border-top:1px solid #000;">
69
                           <div class="chargeUl" style="border-top:1px solid #000;">
177
                               <p style="width:50%;">费用合计</p>
70
                               <p style="width:50%;">费用合计</p>
178
-                              <p style="width:50%;">{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
71
+                              <p style="width:50%;">{{info.medfee_sumamt?info.medfee_sumamt:0}}元</p>
179
                           </div>
72
                           </div>
180
                           <div class="chargeUl" style="border-top:1px solid #000;">
73
                           <div class="chargeUl" style="border-top:1px solid #000;">
181
                               <p style="width:50%;">记账支付</p>
74
                               <p style="width:50%;">记账支付</p>
182
-                              <p style="width:50%;">0元</p>
75
+                              <p style="width:50%;">{{info.hifp_pay?info.hifp_pay:0}}元</p>
183
                           </div>
76
                           </div>
184
                           <div class="chargeUl" style="border-top:1px solid #000;">
77
                           <div class="chargeUl" style="border-top:1px solid #000;">
185
                               <p style="width:50%;">个人账号</p>
78
                               <p style="width:50%;">个人账号</p>
186
-                              <p style="width:50%;">0元</p>
79
+                              <p style="width:50%;">{{info.acct_pay?info.acct_pay:0}}元</p>
187
                           </div>
80
                           </div>
188
                           <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
81
                           <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
189
                               <p style="width:50%;">现金支付</p>
82
                               <p style="width:50%;">现金支付</p>
190
-                              <p style="width:50%;">{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
83
+                              <p style="width:50%;">{{info.psn_pay?info.psn_pay:0}}元</p>
191
                           </div>
84
                           </div>
192
                       </div>
85
                       </div>
193
                       <div style="width:80%;max-height:500px;">
86
                       <div style="width:80%;max-height:500px;">
194
-                          <div style="display:flex;" v-for="(item,i) in balanceAccounts.order_info.slice(pageIndex * 13,(pageIndex * 13) + pageArr[pageIndex])" :key="i">
87
+                          <div style="display:flex;" v-for="(item,i) in info.order_infos.slice(pageIndex * 13,(pageIndex * 13) + pageArr[pageIndex])" :key="i">
195
                               <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
88
                               <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
196
                                   <p class="chargeP">
89
                                   <p class="chargeP">
197
-                                      <span v-if='item.advice_id > 0'>{{item.advice.advice_name}}</span>
90
+                                      <span v-if='item.type == 1'>{{item.advice.advice_name}}</span>
198
                                       <span v-if='item.project.type == 2'>{{item.project.project.project_name}}</span>
91
                                       <span v-if='item.project.type == 2'>{{item.project.project.project_name}}</span>
199
                                       <span v-if='item.project.type == 3'>{{item.project.good_info.specification_name}}</span>
92
                                       <span v-if='item.project.type == 3'>{{item.project.good_info.specification_name}}</span>
200
                                   </p>
93
                                   </p>
201
                               </div>
94
                               </div>
202
                               <div style="border-right:1px solid #000;width:15%;text-align:center;">
95
                               <div style="border-right:1px solid #000;width:15%;text-align:center;">
203
                                   <p class="chargeP">
96
                                   <p class="chargeP">
204
-                                      <span v-if='item.advice_id > 0'>{{item.advice.drug.dose + item.advice.drug.dose_unit + "*" +item.advice.drug.min_number + item.advice.drug.min_unit +"/" + item.advice.drug.max_unit}}</span>
97
+                                      <span v-if='item.type == 1'>{{ item.advice.drug.dose + item.advice.drug.dose_unit + "*" +item.advice.drug.min_number + item.advice.drug.min_unit +"/" + item.advice.drug.max_unit}}</span>
205
                                       <span v-if='item.project.type == 2'>{{item.project.project.unit}}</span>
98
                                       <span v-if='item.project.type == 2'>{{item.project.project.unit}}</span>
206
                                       <span v-if='item.project.type == 3'>{{item.project.unit}}</span>
99
                                       <span v-if='item.project.type == 3'>{{item.project.unit}}</span>
207
                                   </p>
100
                                   </p>
208
                               </div>
101
                               </div>
209
                               <div style="border-right:1px solid #000;width:15%;text-align:center;">
102
                               <div style="border-right:1px solid #000;width:15%;text-align:center;">
210
                                   <p class="chargeP">
103
                                   <p class="chargeP">
211
-                                      <span>{{item.cnt}}次</span>
104
+                                    <span v-if='item.type == 1'>{{item.cnt}}{{item.advice.prescribing_number_unit}}</span>
105
+                                    <span v-if='item.project.type == 2'>{{item.cnt}}{{item.project.project.unit}}</span>
106
+                                    <span v-if='item.project.type == 3'>{{item.cnt}}{{item.project.unit}}</span>
212
                                   </p>
107
                                   </p>
213
                               </div>
108
                               </div>
214
                               <div style="border-right:1px solid #000;width:15%;text-align:center;">
109
                               <div style="border-right:1px solid #000;width:15%;text-align:center;">
227
 
122
 
228
               </div>
123
               </div>
229
               <div class="moneyBox">
124
               <div class="moneyBox">
230
-                  <p>实收金:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
125
+                  <p>实收金:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</p>
231
                   <p>记账前金额:{{0.00}}元</p>
126
                   <p>记账前金额:{{0.00}}元</p>
232
                   <p>扣款金额:{{0.00}}元</p>
127
                   <p>扣款金额:{{0.00}}元</p>
233
-                  <p>记账后金额:{{0.00}}元</p>
128
+                  <p>记账后金额:{{info.balc}}元</p>
234
                   <p>找赎金:{{0.00}}元</p>
129
                   <p>找赎金:{{0.00}}元</p>
235
               </div>
130
               </div>
236
               <div class="actionBar">
131
               <div class="actionBar">
237
-                  <div>收费员:{{balanceAccounts.current_admin.user_name}}</div>
238
-                  <div>日期:{{getTime(balanceAccounts.order.settle_accounts_date,"{y}-{m}-{d}")?getTime(balanceAccounts.order.settle_accounts_date,"{y}-{m}-{d}"):""}}</div>
132
+                  <div>收费员:{{info.charge_admin.user_name}}</div>
133
+                  <div>日期:{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</div>
239
               </div>
134
               </div>
240
           </div>
135
           </div>
241
 
136
 
137
+      </div>
138
+      <div v-else id='prescription-print' class="prescription-print">
139
+        <div v-for='(i,pageIndex) in pageArr.length' :key="pageIndex">
140
+            <div class="printTitle">血液透析中心医药费收据及收费项目清单</div>
141
+            <div class="infoMain">
142
+                <div class="infoP">医院(药店)编号:{{balanceAccounts.org_config.code}}</div>
143
+                <div class="infoP">名称:{{balanceAccounts.org_config.org_name}}</div>
144
+                <div class="infoP">医生工号:</div>
145
+                <div class="infoP">门诊流水号:{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</div>
146
+                <div class="infoP">科别: {{balanceAccounts.order.department_name ? balanceAccounts.order.department_name : ''}}</div>
147
+                <div class="infoP">处方单据号:{{balanceAccounts.order.number ? balanceAccounts.order.number : ''}}</div>
148
+                <div class="infoP">姓名:{{balanceAccounts.patient ? balanceAccounts.patient.name : ''}}</div>
149
+                <div class="infoP">医疗账号:</div>
150
+                <div class="infoP">医疗类别:自费</div>
151
+            </div>
152
+            <div class="chargeBox">
153
+                <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
154
+                    <div class="chargeUl" style="width:20%;">
155
+                        <p style="width:50%;border-right:1px solid #000;">费用类型</p>
156
+                        <p style="width:50%;border-right:1px solid #000;">金额</p>
157
+                    </div>
158
+                    <div class="chargeUl" style="width:80%;">
159
+                        <p style="width:40%;border-right:1px solid #000;">明细名称</p>
160
+                        <p style="width:15%;border-right:1px solid #000;">规格</p>
161
+                        <p style="width:15%;border-right:1px solid #000;">数量</p>
162
+                        <p style="width:15%;border-right:1px solid #000;">单价</p>
163
+                        <p style="width:15%;">金额</p>
164
+                    </div>
165
+                </div>
166
+                <div style="display:flex;justify-content: space-between;">
167
+                    <div style="width:20%;">
168
+                        <div class="chargeUl" v-for="(item,i) in balanceAccounts.new_detail_list" :key="i">
169
+                            <p style="width:50%;">
170
+                              <span v-if="item.type == 1">药品费</span>
171
+                              <span v-if="item.type == 2">治疗费</span>
172
+                              <span v-if="item.type == 3">耗材费</span>
173
+                            </p>
174
+                            <p style="width:50%;">{{item.total?item.total:0}}元</p>
175
+                        </div>
176
+                        <div class="chargeUl" style="border-top:1px solid #000;">
177
+                            <p style="width:50%;">费用合计</p>
178
+                            <p style="width:50%;">{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
179
+                        </div>
180
+                        <div class="chargeUl" style="border-top:1px solid #000;">
181
+                            <p style="width:50%;">记账支付</p>
182
+                            <p style="width:50%;">0元</p>
183
+                        </div>
184
+                        <div class="chargeUl" style="border-top:1px solid #000;">
185
+                            <p style="width:50%;">个人账号</p>
186
+                            <p style="width:50%;">0元</p>
187
+                        </div>
188
+                        <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
189
+                            <p style="width:50%;">现金支付</p>
190
+                            <p style="width:50%;">{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
191
+                        </div>
192
+                    </div>
193
+                    <div style="width:80%;max-height:500px;">
194
+                        <div style="display:flex;" v-for="(item,i) in balanceAccounts.order_info.slice(pageIndex * 13,(pageIndex * 13) + pageArr[pageIndex])" :key="i">
195
+                            <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
196
+                                <p class="chargeP">
197
+                                    <span v-if='item.advice_id > 0'>{{item.advice.advice_name}}</span>
198
+                                    <span v-if='item.project.type == 2'>{{item.project.project.project_name}}</span>
199
+                                    <span v-if='item.project.type == 3'>{{item.project.good_info.specification_name}}</span>
200
+                                </p>
201
+                            </div>
202
+                            <div style="border-right:1px solid #000;width:15%;text-align:center;">
203
+                                <p class="chargeP">
204
+                                    <span v-if='item.advice_id > 0'>{{ item.advice.drug.dose + item.advice.drug.dose_unit + "*" +item.advice.drug.min_number + item.advice.drug.min_unit +"/" + item.advice.drug.max_unit}}</span>
205
+                                    <span v-if='item.project.type == 2'>{{item.project.project.unit}}</span>
206
+                                    <span v-if='item.project.type == 3'>{{item.project.unit}}</span>
207
+                                </p>
208
+                            </div>
209
+                            <div style="border-right:1px solid #000;width:15%;text-align:center;">
210
+                                <p class="chargeP">
211
+                                    <span>{{item.cnt}}次</span>
212
+                                </p>
213
+                            </div>
214
+                            <div style="border-right:1px solid #000;width:15%;text-align:center;">
215
+                                <p class="chargeP">
216
+                                    <span>{{item.pric}}元</span>
217
+                                </p>
218
+                            </div>
219
+                            <div style="width:15%;text-align:center;">
220
+                                <p class="chargeP">
221
+                                    <span>{{(item.cnt * item.pric).toFixed(2)}}元</span>
222
+                                </p>
223
+                            </div>
224
+                        </div>
225
+                    </div>
226
+                </div>
227
+
228
+            </div>
229
+            <div class="moneyBox">
230
+                <p>实收金:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
231
+                <p>记账前金额:{{0.00}}元</p>
232
+                <p>扣款金额:{{0.00}}元</p>
233
+                <p>记账后金额:{{0.00}}元</p>
234
+                <p>找赎金:{{0.00}}元</p>
235
+            </div>
236
+            <div class="actionBar">
237
+                <div>收费员:{{balanceAccounts.current_admin.user_name}}</div>
238
+                <div>日期:{{getTime(balanceAccounts.order.settle_accounts_date,"{y}-{m}-{d}")?getTime(balanceAccounts.order.settle_accounts_date,"{y}-{m}-{d}"):""}}</div>
239
+            </div>
242
         </div>
240
         </div>
243
-    </div>
241
+
242
+      </div>
243
+  </div>
244
 
244
 
245
 </template>
245
 </template>
246
 <script>
246
 <script>
247
-  import axios from 'axios'
248
-  import { getChargePrint } from '@/api/project/project'
249
-  import { uParseTime } from '@/utils/tools'
250
-
251
-  export default {
252
-    data() {
253
-      return {
254
-        list: {},
255
-        prescription: [],
256
-        patient: {},
257
-        orgname: '',
258
-
259
-        result: {},
260
-        org_code: '',
261
-        patient_name: '',
262
-        doctor_code: '',
263
-        doctor_name: '',
264
-
265
-        name_arr: [],
266
-        spec_arr: [],
267
-        count_arr: [],
268
-        price_arr: [],
269
-        total_arr: [],
270
-
271
-        page:1,
272
-        pageArr:[],
247
+import axios from 'axios'
248
+import { getChargePrint } from '@/api/project/project'
249
+import { uParseTime } from '@/utils/tools'
250
+
251
+export default {
252
+  data() {
253
+    return {
254
+      list: {},
255
+      prescription: [],
256
+      patient: {},
257
+      orgname: '',
258
+
259
+      result: {},
260
+      org_code: '',
261
+      patient_name: '',
262
+      doctor_code: '',
263
+      doctor_name: '',
264
+
265
+      name_arr: [],
266
+      spec_arr: [],
267
+      count_arr: [],
268
+      price_arr: [],
269
+      total_arr: [],
270
+
271
+      page:1,
272
+      pageArr:[],
273
 
273
 
274
-      }
275
-    },
276
-    props: {
277
-      paramsObj: Object,
278
-      info: Object,
279
-      balanceAccounts:Object
280
-    },
281
-    methods: {
282
-      getItemName(number) {
283
-        switch (number) {
284
-          case '01':
285
-            return '床位费'
286
-            break
287
-          case '02':
288
-            return '西药费'
289
-
290
-            break
291
-          case '03':
292
-            return '中药费'
293
-
294
-            break
295
-          case '04':
296
-            return '中成药费'
297
-
298
-            break
299
-          case '05':
300
-            return '中草药费'
301
-
302
-            break
303
-          case '06':
304
-            return '检查费'
305
-
306
-            break
307
-          case '07':
308
-            return '治疗费'
309
-
310
-            break
311
-          case '08':
312
-            return '放射费'
313
-
314
-            break
315
-          case '09':
316
-            return '手术费'
317
-
318
-            break
319
-          case '10':
320
-            return '化验费'
321
-
322
-            break
323
-          case '11':
324
-            return '输血费'
325
-
326
-            break
327
-          case '12':
328
-            return '输氧费'
329
-
330
-            break
331
-          case '13':
332
-            return '其它费'
333
-
334
-            break
335
-          case '14':
336
-            return '麻醉费'
337
-
338
-            break
339
-          case '15':
340
-            return '材料费'
341
-
342
-            break
343
-          case '16':
344
-            return '特殊检查费'
345
-
346
-            break
347
-          case '17':
348
-            return '特殊治疗费'
349
-
350
-            break
351
-          case '18':
352
-            return '诊疗费(诊查费)'
353
-
354
-            break
355
-          case '19':
356
-            return '护理费'
357
-
358
-            break
359
-          case '20':
360
-            return '诊金'
361
-
362
-            break
363
-          case '21':
364
-            return '检查费(CT)'
365
-
366
-            break
367
-          case '22':
368
-            return '检查费(MRT)'
369
-
370
-            break
371
-          case '23':
372
-            return '检查费(其他)'
373
-
374
-            break
375
-          case '24':
376
-            return '特需服务费'
377
-
378
-            break
379
-          case '25':
380
-            return '杂费'
381
-
382
-            break
383
-          case '26':
384
-            return '挂号费'
385
-            break
274
+    }
275
+  },
276
+  props: {
277
+    paramsObj: Object,
278
+    info: Object,
279
+    balanceAccounts:Object
280
+  },
281
+  methods: {
282
+    getItemName(number) {
283
+      switch (number) {
284
+        case '01':
285
+          return '床位费'
286
+          break
287
+        case '02':
288
+          return '西药费'
289
+
290
+          break
291
+        case '03':
292
+          return '中药费'
293
+
294
+          break
295
+        case '04':
296
+          return '中成药费'
297
+
298
+          break
299
+        case '05':
300
+          return '中草药费'
301
+
302
+          break
303
+        case '06':
304
+          return '检查费'
305
+
306
+          break
307
+        case '07':
308
+          return '治疗费'
309
+
310
+          break
311
+        case '08':
312
+          return '放射费'
313
+
314
+          break
315
+        case '09':
316
+          return '手术费'
317
+
318
+          break
319
+        case '10':
320
+          return '化验费'
321
+
322
+          break
323
+        case '11':
324
+          return '输血费'
325
+
326
+          break
327
+        case '12':
328
+          return '输氧费'
329
+
330
+          break
331
+        case '13':
332
+          return '其它费'
333
+
334
+          break
335
+        case '14':
336
+          return '麻醉费'
337
+
338
+          break
339
+        case '15':
340
+          return '材料费'
341
+
342
+          break
343
+        case '16':
344
+          return '特殊检查费'
345
+
346
+          break
347
+        case '17':
348
+          return '特殊治疗费'
349
+
350
+          break
351
+        case '18':
352
+          return '诊疗费(诊查费)'
353
+
354
+          break
355
+        case '19':
356
+          return '护理费'
357
+
358
+          break
359
+        case '20':
360
+          return '诊金'
361
+
362
+          break
363
+        case '21':
364
+          return '检查费(CT)'
365
+
366
+          break
367
+        case '22':
368
+          return '检查费(MRT)'
369
+
370
+          break
371
+        case '23':
372
+          return '检查费(其他)'
373
+
374
+          break
375
+        case '24':
376
+          return '特需服务费'
377
+
378
+          break
379
+        case '25':
380
+          return '杂费'
381
+
382
+          break
383
+        case '26':
384
+          return '挂号费'
385
+          break
386
 
386
 
387
-        }
387
+      }
388
 
388
 
389
-      },
390
-      getPage(){
391
-        if(this.paramsObj.balance_accounts_type != 2){
392
-          this.page = 1
393
-          this.pageArr = []
394
-          if(this.info.order_infos.length <= 13){
395
-              this.page = 1
396
-              this.pageArr.push(this.info.order_infos.length)
397
-              console.log('this.pageArr',this.pageArr)
398
-          }else if(this.info.order_infos.length > 13){
399
-              this.page = parseInt(this.info.order_infos.length / 13)
400
-              let num = this.info.order_infos.length % 13
401
-              for (var i=0;i<this.page;i++){
402
-                  this.pageArr.push(13)
403
-              }
404
-              if(num != 0){
405
-                  this.pageArr.push(num)
406
-              }
407
-          }
408
-        }else{
409
-          this.page = 1
410
-          this.pageArr = []
411
-          if(this.balanceAccounts.order_info.length <= 13){
412
-              this.page = 1
413
-              this.pageArr.push(this.balanceAccounts.order_info.length)
414
-              console.log('this.pageArr',this.pageArr)
415
-          }else if(this.balanceAccounts.order_info.length > 13){
416
-              this.page = parseInt(this.balanceAccounts.order_info.length / 13)
417
-              let num = this.balanceAccounts.order_info.length % 13
418
-              for (var i=0;i<this.page;i++){
419
-                  this.pageArr.push(13)
420
-              }
421
-              if(num != 0){
422
-                  this.pageArr.push(num)
423
-              }
424
-          }
389
+    },
390
+    getPage(){
391
+      if(this.paramsObj.balance_accounts_type != 2){
392
+        this.page = 1
393
+        this.pageArr = []
394
+        if(this.info.order_infos.length <= 13){
395
+            this.page = 1
396
+            this.pageArr.push(this.info.order_infos.length)
397
+            console.log('this.pageArr',this.pageArr)
398
+        }else if(this.info.order_infos.length > 13){
399
+            this.page = parseInt(this.info.order_infos.length / 13)
400
+            let num = this.info.order_infos.length % 13
401
+            for (var i=0;i<this.page;i++){
402
+                this.pageArr.push(13)
403
+            }
404
+            if(num != 0){
405
+                this.pageArr.push(num)
406
+            }
425
         }
407
         }
426
-
427
-      },
428
-      getTime(value, temp) {
429
-        if (value != undefined) {
430
-          return uParseTime(value, temp)
408
+      }else{
409
+        this.page = 1
410
+        this.pageArr = []
411
+        if(this.balanceAccounts.order_info.length <= 13){
412
+            this.page = 1
413
+            this.pageArr.push(this.balanceAccounts.order_info.length)
414
+            console.log('this.pageArr',this.pageArr)
415
+        }else if(this.balanceAccounts.order_info.length > 13){
416
+            this.page = parseInt(this.balanceAccounts.order_info.length / 13)
417
+            let num = this.balanceAccounts.order_info.length % 13
418
+            for (var i=0;i<this.page;i++){
419
+                this.pageArr.push(13)
420
+            }
421
+            if(num != 0){
422
+                this.pageArr.push(num)
423
+            }
431
         }
424
         }
432
-        return ''
433
       }
425
       }
434
-    },
435
-    created() {
436
-
437
 
426
 
438
     },
427
     },
439
-    watch:{
440
-      info: {
441
-        handler(newVal) {
442
-            this.getPage()
443
-        },
444
-        deep: true,
445
-      },
446
-      balanceAccounts(){
447
-        this.getPage()
448
-      },
449
-      deep: true
428
+    getTime(value, temp) {
429
+      if (value != undefined) {
430
+        return uParseTime(value, temp)
431
+      }
432
+      return ''
450
     }
433
     }
434
+  },
435
+  created() {
436
+
451
 
437
 
438
+  },
439
+  watch:{
440
+    info: {
441
+      handler(newVal) {
442
+          this.getPage()
443
+      },
444
+      deep: true,
445
+    },
446
+    balanceAccounts(){
447
+      this.getPage()
448
+    },
449
+    deep: true
452
   }
450
   }
451
+
452
+}
453
 </script>
453
 </script>
454
 
454
 
455
 
455
 
456
 <style lang="scss" scoped>
456
 <style lang="scss" scoped>
457
-    .prescription-print {
458
-        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
459
-        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
460
-        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
461
-        margin-bottom: 20px;
462
-        padding: 20px 10px;
463
-    }
457
+  .prescription-print {
458
+      -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
459
+      -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
460
+      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
461
+      margin-bottom: 20px;
462
+      padding: 20px 10px;
463
+  }
464
 
464
 
465
-    .printTitle {
466
-        font-size: 22px;
467
-        text-align: center;
468
-        font-weight: bold;
469
-    }
465
+  .printTitle {
466
+      font-size: 22px;
467
+      text-align: center;
468
+      font-weight: bold;
469
+  }
470
 
470
 
471
-    .infoMain {
472
-        display: flex;
473
-        flex-wrap: wrap;
474
-        padding: 0 10px;
475
-        margin-top: 10px;
476
-    }
471
+  .infoMain {
472
+      display: flex;
473
+      flex-wrap: wrap;
474
+      padding: 0 10px;
475
+      margin-top: 10px;
476
+  }
477
 
477
 
478
-    .infoMain .infoP {
479
-        width: 33%;
480
-        line-height: 24px;
481
-    }
478
+  .infoMain .infoP {
479
+      width: 33%;
480
+      line-height: 24px;
481
+  }
482
 
482
 
483
-    .chargeBox {
484
-        border: 1px solid #000;
485
-    }
483
+  .chargeBox {
484
+      border: 1px solid #000;
485
+  }
486
 
486
 
487
-    .chargeUl {
488
-        display: flex;
489
-        justify-content: space-between;
490
-        text-align: center;
491
-    }
487
+  .chargeUl {
488
+      display: flex;
489
+      justify-content: space-between;
490
+      text-align: center;
491
+  }
492
 
492
 
493
-    .chargeUl p {
494
-        height: 40px;
495
-        line-height: 40px;
496
-    }
493
+  .chargeUl p {
494
+      height: 40px;
495
+      line-height: 40px;
496
+  }
497
 
497
 
498
-    .chargeP {
499
-        height: 40px;
500
-        line-height: 40px;
501
-    }
498
+  .chargeP {
499
+      height: 40px;
500
+      line-height: 40px;
501
+  }
502
 
502
 
503
-    .moneyBox {
504
-        display: flex;
505
-        justify-content: space-between;
506
-        padding: 0 10px;
507
-        background: #eee;
508
-        height: 40px;
509
-        align-items: center;
510
-        border: 1px solid #000;
511
-        border-top: none
512
-    }
503
+  .moneyBox {
504
+      display: flex;
505
+      justify-content: space-between;
506
+      padding: 0 10px;
507
+      background: #eee;
508
+      height: 40px;
509
+      align-items: center;
510
+      border: 1px solid #000;
511
+      border-top: none
512
+  }
513
 
513
 
514
-    .actionBar {
515
-        display: flex;
516
-        justify-content: space-between;
517
-        line-height: 24px;
518
-        padding: 0 10px;
519
-    }
514
+  .actionBar {
515
+      display: flex;
516
+      justify-content: space-between;
517
+      line-height: 24px;
518
+      padding: 0 10px;
519
+  }
520
 
520
 
521
-    .actionBar div {
522
-        width: 150px;
523
-    }
521
+  .actionBar div {
522
+      width: 150px;
523
+  }
524
 </style>
524
 </style>

+ 348 - 348
src/xt_pages/outpatientCharges/statementTemplate/printTen.vue 查看文件

1
 <template>
1
 <template>
2
-    <div  id="statement-print" class="statement-print"
3
-         style="position: relative;">
4
-      <div class="print-content">
5
-        <div class="print-title">
6
-          <h1 style="text-align: center;">江西省医疗保障定点机构医疗费用结算单</h1>
7
-        </div>
2
+  <div  id="statement-print" class="statement-print"
3
+       style="position: relative;">
4
+    <div class="print-content">
5
+      <div class="print-title">
6
+        <h1 style="text-align: center;">江西省医疗保障定点机构医疗费用结算单</h1>
7
+      </div>
8
 
8
 
9
-        <div class="print-tab" style="margin: 0px auto; text-align: center;">
10
-          <div class="hospital" style="margin:0px 112px ;width: 70%;">
11
-            <!-- style="display: inline-block;margin: 10px 80px 10px 0px ;" -->
12
-            <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
13
-                          <span>医疗机构名称:</span>
14
-                          <span>{{info.fixmedins_name}}</span>
15
-                      </span>
16
-            <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
17
-                          <span>医疗机构编码:</span>
18
-                          <span>{{info.fixmedins_code}}</span>
19
-                      </span>
20
-            <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
21
-                          <span>医院等级:</span>
22
-                          <span  v-if="info.hosp_lv == '1'">三级特等</span>
23
-                          <span  v-else-if="info.hosp_lv == '2'">三级甲等</span>
24
-                          <span v-else-if="info.hosp_lv == '3'">三级乙等</span>
25
-                          <span v-else-if="info.hosp_lv == '4'">三级丙等</span>
26
-                          <span v-else-if="info.hosp_lv == '5'">二级甲等</span>
27
-                          <span v-else-if="info.hosp_lv == '6'">二级乙等</span>
28
-                          <span v-else-if="info.hosp_lv == '7'">二级丙等</span>
29
-                          <span  v-else-if="info.hosp_lv == '8'">一级甲等</span>
30
-                          <span v-else-if="info.hosp_lv == '9'">一级乙等</span>
31
-                          <span v-else-if="info.hosp_lv == '10'">一级丙等</span>
32
-                          <span  v-else-if="info.hosp_lv == '11'">无等级</span>
33
-                          <span  v-else></span>
34
-            </span>
35
-          </div>
36
-          <table class="jiesuan" style="border-collapse: collapse;margin: auto;">
37
-            <tr>
38
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">姓名</td>
39
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.psn_name}}</td>
40
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">性别</td>
41
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.gend == '1'">男</td>
42
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.gend == '2'">女</td>
43
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
44
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">人员类别</td>
45
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.psn_type == '11'">在职</td>
46
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1101'">职工在职</td>
47
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1102'">公务员在职</td>
48
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
49
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
50
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '12'">退休人员</td>
51
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1201'">职工退休</td>
52
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1202'">公务员退休</td>
53
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
54
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
55
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '13'">离休</td>
56
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1300'">离休人员</td>
57
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
58
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '14'">居民(未成年)</td>
59
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1401'">新生儿</td>
60
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
61
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1403'">中小学生</td>
62
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1404'">大学生</td>
63
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
64
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '15'">居民(成年)</td>
65
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
66
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
67
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '16'">居民(老年)</td>
68
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
69
-            </tr>
70
-            <tr>
71
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">身份证号码</td>
72
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.certno}}</td>
73
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">参保险种</td>
74
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '310'">职工基本医疗保险</td>
75
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '320'">公务员医疗补助</td>
76
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '330'">大额医疗费用补助</td>
77
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '340'">离休人员医疗保障</td>
78
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
79
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
80
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '510'">生育保险</td>
81
-
82
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗类别</td>
83
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '11'">普通门诊</td>
84
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '12'">门诊挂号</td>
85
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '13'">急诊</td>
86
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '14'">门诊特殊病</td>
87
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '15'">门诊统筹</td>
88
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '16'">门诊慢性病</td>
89
-              <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '21'">普通住院</td>
90
-
91
-            </tr>
92
-            <tr>
93
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">结算ID</td>
94
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_id}}</td>
95
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">住院号</td>
96
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.number}}</td>
97
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">住院天数</td>
98
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{getDay(info.begndate,info.enddate)}}</td>
99
-            </tr>
100
-            <tr>
101
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">科室</td>
102
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{'血透'}}</td>
103
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">床号</td>
104
-              <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
105
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">参保区划</td>
106
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.insu_optins}}</td>
107
-            </tr>
108
-            <tr>
109
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">入院日期</td>
110
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.begndate ? info.begndate.split(' ')[0] : ''}}</td>
111
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">出院日期</td>
112
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.enddate ? info.enddate.split(' ')[0] : ''}}</td>
113
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">结算日期</td>
114
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
115
-            </tr>
116
-            <tr>
117
-              <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用分类情况</td>
118
-            </tr>
119
-            <tr>
120
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">项目名称</td>
121
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">总金额</td>
122
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">符合政策范围</td>
123
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">先行自付</td>
124
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">超限价</td>
125
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">自费</td>
126
-            </tr>
127
-            <tr v-if="info.bed_cost_total > 0">
128
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">床位费</td>
129
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_total}}</td>
130
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedInscpTotal}}</td>
131
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_part_self_total}}</td>
132
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_self_total}}</td>
133
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedSelfTotal}}</td>
134
-
135
-            </tr>
136
-
137
-            <tr v-if="info.operation_cost_total > 0">
138
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">手术费</td>
139
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_total}}</td>
140
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationInscpTotal}}</td>
141
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_part_self_total}}</td>
142
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_self_total}}</td>
143
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationSelfTotal}}</td>
144
-
145
-            </tr>
146
-
147
-            <tr v-if="info.check_cost_total > 0">
148
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">检查费</td>
149
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_total}}</td>
150
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkInscpTotal}}</td>
151
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_part_self_total}}</td>
152
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_self_total}}</td>
153
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkSelfTotal}}</td>
154
-
155
-            </tr>
156
-
157
-            <tr v-if="info.treat_cost_total > 0">
158
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">治疗费</td>
159
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_total}}</td>
160
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatInscpTotal}}</td>
161
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_part_self_total}}</td>
162
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_self_total}}</td>
163
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatSelfTotal}}</td>
164
-
165
-            </tr>
166
-
167
-            <tr v-if="info.treat_cost_total > 0">
168
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">化验费</td>
169
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_total}}</td>
170
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratoryInscpTotal}}</td>
171
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_part_self_total}}</td>
172
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_self_total}}</td>
173
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratorySelfTotal}}</td>
174
-
175
-            </tr>
176
-
177
-
178
-            <tr v-if="info.western_medicine_cost_total > 0">
179
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">西药费</td>
180
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_total}}</td>
181
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineInscpTotal}}</td>
182
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_part_self_total}}</td>
183
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_self_total}}</td>
184
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineSelfTotal}}</td>
185
-
186
-            </tr>
187
-
188
-            <tr v-if="info.material_cost_total > 0">
189
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">材料费</td>
190
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_total}}</td>
191
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialInscpTotal}}</td>
192
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_part_self_total}}</td>
193
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_self_total}}</td>
194
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialSelfTotal}}</td>
195
-
196
-            </tr>
197
-            <tr v-if="info.other_cost_total > 0">
198
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">其他费</td>
199
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_total}}</td>
200
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherInscpTotal}}</td>
201
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_part_self_total}}</td>
202
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_self_total}}</td>
203
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherSelfTotal}}</td>
204
-            </tr>
205
-
206
-            <tr v-if="info.chinese_traditional_medicine_cost_total > 0">
207
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">中成药</td>
208
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_total}}</td>
209
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalInscpTotal}}</td>
210
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_part_self_total}}</td>
211
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
212
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalSelfTotal}}</td>
213
-            </tr>
214
-
215
-            <tr>
216
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">金额合计</td>
217
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_total) +
218
-                parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
219
-                parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
220
-                parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
221
-                parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
222
-              </td>
223
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedInscpTotal) +
224
-                parseFloat(info.operationInscpTotal) + parseFloat(info.checkInscpTotal) +
225
-                parseFloat(info.treatInscpTotal) + parseFloat(info.laboratoryInscpTotal) +
226
-                parseFloat(info.westernMedicineInscpTotal) + parseFloat(info.materialInscpTotal) +
227
-                parseFloat(info.otherInscpTotal) + parseFloat(info.chineseTraditionalInscpTotal)).toFixed(2) }}
228
-              </td>
229
-
230
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_part_self_total) +
231
-                parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
232
-                parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
233
-                parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
234
-                parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
235
-                parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
236
-              </td>
237
-
238
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_self_total )+
239
-                parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
240
-                parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
241
-                parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
242
-                parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
243
-              </td>
244
-
245
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedSelfTotal) +
246
-                parseFloat(info.operationSelfTotal) + parseFloat(info.checkSelfTotal) +
247
-                parseFloat(info.treatSelfTotal) + parseFloat(info.laboratorySelfTotal) +
248
-                parseFloat(info.westernMedicineSelfTotal) + parseFloat(info.materialSelfTotal) +
249
-                parseFloat(info.otherSelfTotal) + parseFloat(info.chineseTraditionalSelfTotal)).toFixed(2) }}
250
-              </td>
251
-
252
-            </tr>
253
-
254
-            <tr>
255
-              <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用结算情况</td>
256
-            </tr>
257
-            <tr>
258
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">费用总额</td>
259
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.medfee_sumamt}}</td>
260
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">统筹基金支付</td>
261
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.hifp_pay}}</td>
262
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">大病保险支付</td>
263
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.hifmi_pay}}</td>
264
-            </tr>
265
-            <tr>
266
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗救助支付</td>
267
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.maf_pay}}</td>
268
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">公务员补充支付</td>
269
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.cvlserv_pay}}</td>
270
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">离休保健专项</td>
271
-              <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
272
-            </tr>
273
-            <tr>
274
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">个人账户支付</td>
275
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.acct_pay}}</td>
276
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">个人现金支付</td>
277
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.psn_cash_pay}}</td>
278
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">其他基金支付</td>
279
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.oth_pay}}</td>
280
-            </tr>
281
-            <tr>
282
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">起付线</td>
283
-              <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.act_pay_dedc}}</td>
284
-              <td style="border: 1px solid gray;width: 150px;height: 30px;">医院垫付金额</td>
285
-              <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.hosp_part_amt}}</td>
286
-            </tr>
287
-          </table>
288
-          <div style="width: 51%; margin: 5px 100px; text-align: center;">
289
-           <span style="display: inline-block;"> 备注:其它包含军转、财政、慈善、其他商报等支付来源</span>
290
-          </div>
9
+      <div class="print-tab" style="margin: 0px auto; text-align: center;">
10
+        <div class="hospital" style="margin:0px 112px ;width: 70%;">
11
+          <!-- style="display: inline-block;margin: 10px 80px 10px 0px ;" -->
12
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
13
+                        <span>医疗机构名称:</span>
14
+                        <span>{{info.fixmedins_name}}</span>
15
+                    </span>
16
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
17
+                        <span>医疗机构编码:</span>
18
+                        <span>{{info.fixmedins_code}}</span>
19
+                    </span>
20
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
21
+                        <span>医院等级:</span>
22
+                        <span  v-if="info.hosp_lv == '1'">三级特等</span>
23
+                        <span  v-else-if="info.hosp_lv == '2'">三级甲等</span>
24
+                        <span v-else-if="info.hosp_lv == '3'">三级乙等</span>
25
+                        <span v-else-if="info.hosp_lv == '4'">三级丙等</span>
26
+                        <span v-else-if="info.hosp_lv == '5'">二级甲等</span>
27
+                        <span v-else-if="info.hosp_lv == '6'">二级乙等</span>
28
+                        <span v-else-if="info.hosp_lv == '7'">二级丙等</span>
29
+                        <span  v-else-if="info.hosp_lv == '8'">一级甲等</span>
30
+                        <span v-else-if="info.hosp_lv == '9'">一级乙等</span>
31
+                        <span v-else-if="info.hosp_lv == '10'">一级丙等</span>
32
+                        <span  v-else-if="info.hosp_lv == '11'">无等级</span>
33
+                        <span  v-else></span>
34
+          </span>
35
+        </div>
36
+        <table class="jiesuan" style="border-collapse: collapse;margin: auto;">
37
+          <tr>
38
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">姓名</td>
39
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.psn_name}}</td>
40
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">性别</td>
41
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.gend == '1'">男</td>
42
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.gend == '2'">女</td>
43
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
44
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">人员类别</td>
45
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.psn_type == '11'">在职</td>
46
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1101'">职工在职</td>
47
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1102'">公务员在职</td>
48
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
49
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
50
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '12'">退休人员</td>
51
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1201'">职工退休</td>
52
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1202'">公务员退休</td>
53
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
54
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
55
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '13'">离休</td>
56
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1300'">离休人员</td>
57
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
58
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '14'">居民(未成年)</td>
59
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1401'">新生儿</td>
60
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
61
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1403'">中小学生</td>
62
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1404'">大学生</td>
63
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
64
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '15'">居民(成年)</td>
65
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
66
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
67
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '16'">居民(老年)</td>
68
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
69
+          </tr>
70
+          <tr>
71
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">身份证号码</td>
72
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.certno}}</td>
73
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">参保险种</td>
74
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '310'">职工基本医疗保险</td>
75
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '320'">公务员医疗补助</td>
76
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '330'">大额医疗费用补助</td>
77
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '340'">离休人员医疗保障</td>
78
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
79
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
80
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '510'">生育保险</td>
81
+
82
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗类别</td>
83
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '11'">普通门诊</td>
84
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '12'">门诊挂号</td>
85
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '13'">急诊</td>
86
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '14'">门诊特殊病</td>
87
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '15'">门诊统筹</td>
88
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '16'">门诊慢性病</td>
89
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '21'">普通住院</td>
90
+
91
+          </tr>
92
+          <tr>
93
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">结算ID</td>
94
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_id}}</td>
95
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">住院号</td>
96
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.number}}</td>
97
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">住院天数</td>
98
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{getDay(info.begndate,info.enddate)}}</td>
99
+          </tr>
100
+          <tr>
101
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">科室</td>
102
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{'血透'}}</td>
103
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">床号</td>
104
+            <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
105
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">参保区划</td>
106
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.insu_optins}}</td>
107
+          </tr>
108
+          <tr>
109
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">入院日期</td>
110
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.begndate ? info.begndate.split(' ')[0] : ''}}</td>
111
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">出院日期</td>
112
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.enddate ? info.enddate.split(' ')[0] : ''}}</td>
113
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">结算日期</td>
114
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
115
+          </tr>
116
+          <tr>
117
+            <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用分类情况</td>
118
+          </tr>
119
+          <tr>
120
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">项目名称</td>
121
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">总金额</td>
122
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">符合政策范围</td>
123
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">先行自付</td>
124
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">超限价</td>
125
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">自费</td>
126
+          </tr>
127
+          <tr v-if="info.bed_cost_total > 0">
128
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">床位费</td>
129
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_total}}</td>
130
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedInscpTotal}}</td>
131
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_part_self_total}}</td>
132
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_self_total}}</td>
133
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedSelfTotal}}</td>
134
+
135
+          </tr>
136
+
137
+          <tr v-if="info.operation_cost_total > 0">
138
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">手术费</td>
139
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_total}}</td>
140
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationInscpTotal}}</td>
141
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_part_self_total}}</td>
142
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_self_total}}</td>
143
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationSelfTotal}}</td>
144
+
145
+          </tr>
146
+
147
+          <tr v-if="info.check_cost_total > 0">
148
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">检查费</td>
149
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_total}}</td>
150
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkInscpTotal}}</td>
151
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_part_self_total}}</td>
152
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_self_total}}</td>
153
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkSelfTotal}}</td>
154
+
155
+          </tr>
156
+
157
+          <tr v-if="info.treat_cost_total > 0">
158
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">治疗费</td>
159
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_total}}</td>
160
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatInscpTotal}}</td>
161
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_part_self_total}}</td>
162
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_self_total}}</td>
163
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatSelfTotal}}</td>
164
+
165
+          </tr>
166
+
167
+          <tr v-if="info.treat_cost_total > 0">
168
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">化验费</td>
169
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_total}}</td>
170
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratoryInscpTotal}}</td>
171
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_part_self_total}}</td>
172
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_self_total}}</td>
173
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratorySelfTotal}}</td>
174
+
175
+          </tr>
176
+
177
+
178
+          <tr v-if="info.western_medicine_cost_total > 0">
179
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">西药费</td>
180
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_total}}</td>
181
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineInscpTotal}}</td>
182
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_part_self_total}}</td>
183
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_self_total}}</td>
184
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineSelfTotal}}</td>
185
+
186
+          </tr>
187
+
188
+          <tr v-if="info.material_cost_total > 0">
189
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">材料费</td>
190
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_total}}</td>
191
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialInscpTotal}}</td>
192
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_part_self_total}}</td>
193
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_self_total}}</td>
194
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialSelfTotal}}</td>
195
+
196
+          </tr>
197
+          <tr v-if="info.other_cost_total > 0">
198
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">其他费</td>
199
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_total}}</td>
200
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherInscpTotal}}</td>
201
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_part_self_total}}</td>
202
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_self_total}}</td>
203
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherSelfTotal}}</td>
204
+          </tr>
205
+
206
+          <tr v-if="info.chinese_traditional_medicine_cost_total > 0">
207
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">中成药</td>
208
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_total}}</td>
209
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalInscpTotal}}</td>
210
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_part_self_total}}</td>
211
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
212
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalSelfTotal}}</td>
213
+          </tr>
214
+
215
+          <tr>
216
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">金额合计</td>
217
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_total) +
218
+              parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
219
+              parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
220
+              parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
221
+              parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
222
+            </td>
223
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedInscpTotal) +
224
+              parseFloat(info.operationInscpTotal) + parseFloat(info.checkInscpTotal) +
225
+              parseFloat(info.treatInscpTotal) + parseFloat(info.laboratoryInscpTotal) +
226
+              parseFloat(info.westernMedicineInscpTotal) + parseFloat(info.materialInscpTotal) +
227
+              parseFloat(info.otherInscpTotal) + parseFloat(info.chineseTraditionalInscpTotal)).toFixed(2) }}
228
+            </td>
229
+
230
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_part_self_total) +
231
+              parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
232
+              parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
233
+              parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
234
+              parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
235
+              parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
236
+            </td>
237
+
238
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_self_total )+
239
+              parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
240
+              parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
241
+              parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
242
+              parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
243
+            </td>
244
+
245
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedSelfTotal) +
246
+              parseFloat(info.operationSelfTotal) + parseFloat(info.checkSelfTotal) +
247
+              parseFloat(info.treatSelfTotal) + parseFloat(info.laboratorySelfTotal) +
248
+              parseFloat(info.westernMedicineSelfTotal) + parseFloat(info.materialSelfTotal) +
249
+              parseFloat(info.otherSelfTotal) + parseFloat(info.chineseTraditionalSelfTotal)).toFixed(2) }}
250
+            </td>
251
+
252
+          </tr>
253
+
254
+          <tr>
255
+            <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用结算情况</td>
256
+          </tr>
257
+          <tr>
258
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">费用总额</td>
259
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.medfee_sumamt}}</td>
260
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">统筹基金支付</td>
261
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.hifp_pay}}</td>
262
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">大病保险支付</td>
263
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.hifmi_pay}}</td>
264
+          </tr>
265
+          <tr>
266
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗救助支付</td>
267
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.maf_pay}}</td>
268
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">公务员补充支付</td>
269
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.cvlserv_pay}}</td>
270
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">离休保健专项</td>
271
+            <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
272
+          </tr>
273
+          <tr>
274
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">个人账户支付</td>
275
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.acct_pay}}</td>
276
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">个人现金支付</td>
277
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.psn_cash_pay}}</td>
278
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">其他基金支付</td>
279
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.oth_pay}}</td>
280
+          </tr>
281
+          <tr>
282
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">起付线</td>
283
+            <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.act_pay_dedc}}</td>
284
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医院垫付金额</td>
285
+            <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.new_order.hosp_part_amt}}</td>
286
+          </tr>
287
+        </table>
288
+        <div style="width: 51%; margin: 5px 100px; text-align: center;">
289
+         <span style="display: inline-block;"> 备注:其它包含军转、财政、慈善、其他商报等支付来源</span>
291
         </div>
290
         </div>
292
       </div>
291
       </div>
293
-
294
     </div>
292
     </div>
293
+
294
+  </div>
295
 </template>
295
 </template>
296
 <script>
296
 <script>
297
 import { getChargePrint } from '@/api/project/project'
297
 import { getChargePrint } from '@/api/project/project'
298
 import { uParseTime } from '@/utils/tools'
298
 import { uParseTime } from '@/utils/tools'
299
 
299
 
300
 export default {
300
 export default {
301
-  data() {
302
-    return {
303
-      list: {},
304
-      prescription: [],
305
-      patient: {},
306
-      orgname: '',
307
-
308
-      result: {},
309
-      org_code: '',
310
-      patient_name: '',
311
-      doctor_code: '',
312
-      doctor_name: '',
313
-
314
-      name_arr: [],
315
-      spec_arr: [],
316
-      count_arr: [],
317
-      price_arr: [],
318
-      total_arr: []
301
+data() {
302
+  return {
303
+    list: {},
304
+    prescription: [],
305
+    patient: {},
306
+    orgname: '',
307
+
308
+    result: {},
309
+    org_code: '',
310
+    patient_name: '',
311
+    doctor_code: '',
312
+    doctor_name: '',
313
+
314
+    name_arr: [],
315
+    spec_arr: [],
316
+    count_arr: [],
317
+    price_arr: [],
318
+    total_arr: []
319
 
319
 
320
+  }
321
+},
322
+props: {
323
+  paramsObj: Object,
324
+  info: {
325
+    type: Object,
326
+    default: function() {
327
+      return {}
320
     }
328
     }
321
   },
329
   },
322
-  props: {
323
-    paramsObj: Object,
324
-    info: {
325
-      type: Object,
326
-      default: function() {
327
-        return {}
328
-      }
329
-    },
330
-    balanceAccounts: Object
331
-  },
332
-  methods: {
333
-    getDay(dateString1,dateString2){
334
-      var  startDate = Date.parse(dateString1);
335
-      var  endDate = Date.parse(dateString2);
336
-      if (startDate>endDate){
337
-        return 0;
338
-      }
339
-      if (startDate==endDate){
340
-        return 1;
341
-      }
342
-      var days=(endDate - startDate)/(1*24*60*60*1000);
343
-      return  days;
344
-    },
345
-    getTime(value, temp) {
346
-      if (value != undefined) {
347
-        return uParseTime(value, temp)
348
-      }
349
-      return ''
330
+  balanceAccounts: Object
331
+},
332
+methods: {
333
+  getDay(dateString1,dateString2){
334
+    var  startDate = Date.parse(dateString1);
335
+    var  endDate = Date.parse(dateString2);
336
+    if (startDate>endDate){
337
+      return 0;
338
+    }
339
+    if (startDate==endDate){
340
+      return 1;
350
     }
341
     }
342
+    var days=(endDate - startDate)/(1*24*60*60*1000);
343
+    return  days;
351
   },
344
   },
352
-  mounted() {
345
+  getTime(value, temp) {
346
+    if (value != undefined) {
347
+      return uParseTime(value, temp)
348
+    }
349
+    return ''
350
+  }
351
+},
352
+mounted() {
353
 
353
 
354
 
354
 
355
-  },
356
-  watch: {
357
-    paramsObj: {//深度监听,可监听到对象、数组的变化
358
-      handler(val, oldVal) {
355
+},
356
+watch: {
357
+  paramsObj: {//深度监听,可监听到对象、数组的变化
358
+    handler(val, oldVal) {
359
 
359
 
360
 
360
 
361
-      },
362
-      deep: true
363
-    }
361
+    },
362
+    deep: true
364
   }
363
   }
365
 }
364
 }
365
+}
366
 </script>
366
 </script>
367
 
367
 
368
 
368
 
369
 <style lang="scss" scoped>
369
 <style lang="scss" scoped>
370
 .prescription-print {
370
 .prescription-print {
371
-  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
372
-  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
373
-  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
374
-  margin-bottom: 20px;
375
-  padding: 20px 10px;
371
+-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
372
+-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
373
+box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
374
+margin-bottom: 20px;
375
+padding: 20px 10px;
376
 }
376
 }
377
 
377
 
378
 </style>
378
 </style>

+ 57 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

2431
               if (num == 0) {
2431
               if (num == 0) {
2432
                 var arr = []//新增处方
2432
                 var arr = []//新增处方
2433
                 var arr_one = []
2433
                 var arr_one = []
2434
+                var arr_Two = []
2434
 
2435
 
2435
                 console.log("ooo233323233232323232",this.prescriptions)
2436
                 console.log("ooo233323233232323232",this.prescriptions)
2436
 
2437
 
2444
                     if(arr.length > 0){
2445
                     if(arr.length > 0){
2445
                       let objInfo = {};
2446
                       let objInfo = {};
2446
                       arr.forEach((item, index) => {
2447
                       arr.forEach((item, index) => {
2448
+                      
2447
                       let { id } = item.id;
2449
                       let { id } = item.id;
2448
                       if (!objInfo[id]) {
2450
                       if (!objInfo[id]) {
2449
                           objInfo[id] = {
2451
                           objInfo[id] = {
2504
                         }
2506
                         }
2505
                       }
2507
                       }
2506
                       console.log("newArr",newArr )
2508
                       console.log("newArr",newArr )
2507
-                    }
2509
+                    }  
2508
                   }
2510
                   }
2511
+                  
2509
 
2512
 
2510
                   if(this.prescriptions[i].id > 0){ //修改处方
2513
                   if(this.prescriptions[i].id > 0){ //修改处方
2511
 
2514
 
2513
                        if(this.prescriptions[i].advices[j].advice_id == 0){ //新增列
2516
                        if(this.prescriptions[i].advices[j].advice_id == 0){ //新增列
2514
                          arr_one.push(this.prescriptions[i].advices[j])
2517
                          arr_one.push(this.prescriptions[i].advices[j])
2515
                        }
2518
                        }
2519
+                       if(this.prescriptions[i].advices[j].advice_id >0){
2520
+                         arr_Two.push(this.prescriptions[i].advices[j])
2521
+                       }
2516
                      }
2522
                      }
2517
-                     console.log("ara23322323233232",arr)
2523
+                     console.log("编辑处方",arr_one)
2518
                      if(arr_one.length > 0){
2524
                      if(arr_one.length > 0){
2525
+
2519
                       let objInfo = {};
2526
                       let objInfo = {};
2520
                       arr_one.forEach((item, index) => {
2527
                       arr_one.forEach((item, index) => {
2528
+                     
2521
                       let { id } = item.id;
2529
                       let { id } = item.id;
2522
                       if (!objInfo[id]) {
2530
                       if (!objInfo[id]) {
2523
                           objInfo[id] = {
2531
                           objInfo[id] = {
2569
                     }
2577
                     }
2570
                   }
2578
                   }
2571
                 }
2579
                 }
2580
+                 
2581
+               
2582
+                if(arr.length > 0){
2583
+                  for(let i =0;i<arr.length;i++){
2584
+                    if(arr[i].drug!=null){
2585
+                      if(arr[i].drug.is_user == 2){
2586
+                        if(arr[i].prescribing_number_unit != arr[i].drug.max_unit && arr[i].prescribing_number_unit!=arr[i].drug.min_unit){
2587
+                          this.$message.error(arr[i].drug.drug_name + " " +arr[i].drug.dose + arr[i].drug.dose_unit + "*" + arr[i].drug.min_number + arr[i].drug.min_unit+"/"+arr[i].drug.max_unit +" "+ "总量单位不统一,保存失败!")
2588
+                          isLoading = false
2589
+                          this.$emit('editKeepLoad', false)
2590
+                          return
2591
+                        }
2592
+                      }
2593
+                    }
2594
+                  }
2595
+                }
2596
+
2597
+
2598
+                if(arr_one.length > 0){
2599
+                  for(let i =0;i<arr_one.length;i++){
2600
+                    if(arr_one[i].drug!=null){
2601
+                      if(arr_one[i].drug.is_user == 2){
2602
+                        if(arr_one[i].prescribing_number_unit != arr_one[i].drug.max_unit && arr_one[i].prescribing_number_unit!=arr_one[i].drug.min_unit){
2603
+                          this.$message.error(arr_one[i].drug.drug_name + " " +arr_one[i].drug.dose + arr_one[i].drug.dose_unit + "*" + arr_one[i].drug.min_number + arr_one[i].drug.min_unit+"/"+arr_one[i].drug.max_unit +" "+ "总量单位不匹配,保存失败!")
2604
+                          isLoading = false
2605
+                          this.$emit('editKeepLoad', false)
2606
+                          return
2607
+                        }
2608
+                      }
2609
+                    }
2610
+                  }
2611
+                }
2612
+
2613
+                if(arr_Two.length > 0){
2614
+                  for(let i =0;i<arr_Two.length;i++){
2615
+                    if(arr_Two[i].drug!=null){
2616
+                      if(arr_Two[i].drug.is_user == 2){
2617
+                        if(arr_Two[i].prescribing_number_unit != arr_Two[i].drug.max_unit && arr_Two[i].prescribing_number_unit!=arr_Two[i].drug.min_unit){
2618
+                          this.$message.error(arr_Two[i].drug.drug_name + " " +arr_Two[i].drug.dose + arr_Two[i].drug.dose_unit + "*" + arr_Two[i].drug.min_number + arr_Two[i].drug.min_unit+"/"+arr_Two[i].drug.max_unit +" "+ "总量单位不匹配,保存失败!")
2619
+                          isLoading = false
2620
+                          this.$emit('editKeepLoad', false)
2621
+                          return
2622
+                        }
2623
+                      }
2624
+                    }
2625
+                  }
2626
+                }
2572
 
2627
 
2573
                if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 9679){
2628
                if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 9679){
2574
                   var project_arr = []
2629
                   var project_arr = []

文件差異過大導致無法顯示
+ 1112 - 0
src/xt_pages/user/Physicalexamination.vue


+ 606 - 7
src/xt_pages/user/courseOfDisease.vue 查看文件

37
         </div>
37
         </div>
38
         <div class="record">
38
         <div class="record">
39
           <el-row :gutter="15">
39
           <el-row :gutter="15">
40
-            <el-col :span="10">
40
+            <el-col :span="9">
41
               <el-table :header-cell-style="{
41
               <el-table :header-cell-style="{
42
                   backgroundColor: 'rgb(245, 247, 250)',
42
                   backgroundColor: 'rgb(245, 247, 250)',
43
                   color: '#606266'
43
                   color: '#606266'
48
                         :row-class-name="tableRow"
48
                         :row-class-name="tableRow"
49
                         @row-click="onRowClick"
49
                         @row-click="onRowClick"
50
               >
50
               >
51
-                <el-table-column type="selection" width="40" align="center"></el-table-column>
51
+                <el-table-column
52
+                  type="selection"
53
+                  width="55">
54
+                </el-table-column>
52
                 <el-table-column label="病程标题" align="center">
55
                 <el-table-column label="病程标题" align="center">
53
                   <template slot-scope="scope">
56
                   <template slot-scope="scope">
54
                     {{ scope.row.title}}
57
                     {{ scope.row.title}}
66
                 </el-table-column>
69
                 </el-table-column>
67
               </el-table>
70
               </el-table>
68
             </el-col>
71
             </el-col>
69
-            <el-col :span="14">
72
+            <el-col :span="15">
70
               <div class="record_content_panel">
73
               <div class="record_content_panel">
71
                 <div style="background-color:rgb(245, 247, 250)" class="title">病程内容</div>
74
                 <div style="background-color:rgb(245, 247, 250)" class="title">病程内容</div>
75
+                <!--v-html="current_select_record.content"-->
72
                 <div class="content">
76
                 <div class="content">
73
-                  <span v-if="current_select_record" v-html="current_select_record.content">{{current_select_record.content }}</span>
77
+                  <span v-if="current_select_record" >{{current_select_record.content }}</span>
74
                   <span v-else></span>
78
                   <span v-else></span>
75
                 </div>
79
                 </div>
80
+                <!-- <el-form>
81
+                  <el-row style="margin-top: 20px;">
82
+                    <el-col :span="6" style="margin-left: 20px;">
83
+                      <el-form-item label="日期:">
84
+                        <el-date-picker
85
+                          v-model="start_time"
86
+                          type="date"
87
+                          placeholder="选择日期"
88
+                          style="width: 145px;">
89
+                        </el-date-picker>
90
+                      </el-form-item>
91
+                    </el-col>
92
+                    <el-col :span="6" >
93
+                      <el-form-item label="医生:">
94
+
95
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 145px;">
96
+                          <el-option
97
+                            v-for="item in options"
98
+                            :key="item.value"
99
+                            :label="item.label"
100
+                            :value="item.value">
101
+                          </el-option>
102
+                        </el-select>
103
+                      </el-form-item>
104
+                    </el-col>
105
+                  </el-row>
106
+
107
+                  <el-row >
108
+                    <el-col :span="5" style="margin-left: 20px;">
109
+                      <el-form-item label="T:">
110
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 65px;"></el-input>
111
+                        <span >ºC</span>
112
+                      </el-form-item>
113
+                    </el-col>
114
+                    <el-col :span="5" >
115
+                      <el-form-item label="P:">
116
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 65px;"></el-input>
117
+                        <span >次/分</span>
118
+                      </el-form-item>
119
+                    </el-col>
120
+                    <el-col :span="5" >
121
+                      <el-form-item label="R:">
122
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 65px;"></el-input>
123
+                        <span >次/分</span>
124
+                      </el-form-item>
125
+                    </el-col>
126
+                    <el-col :span="8" >
127
+                      <el-form-item label="BP:">
128
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 65px;"></el-input>
129
+                        <span >/</span>
130
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 65px;"></el-input>
131
+                        <span >mmHg</span>
132
+                      </el-form-item>
133
+                    </el-col>
134
+                  </el-row>
135
+
136
+                  <el-row >
137
+                    <el-col :span="6" style="margin-left: 20px;">
138
+                      <el-form-item label="贫血容貌:">
139
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 90px;">
140
+                          <el-option
141
+                            v-for="item in options"
142
+                            :key="item.value"
143
+                            :label="item.label"
144
+                            :value="item.value">
145
+                          </el-option>
146
+                        </el-select>
147
+                      </el-form-item>
148
+
149
+                    </el-col>
150
+                    <el-col :span="5" >
151
+                      <el-form-item label="体位:">
152
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 90px;">
153
+                          <el-option
154
+                            v-for="item in options"
155
+                            :key="item.value"
156
+                            :label="item.label"
157
+                            :value="item.value">
158
+                          </el-option>
159
+                        </el-select>
160
+                      </el-form-item>
161
+                    </el-col>
162
+                    <el-col :span="5" >
163
+                      <el-form-item label="浮肿:">
164
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 90px;">
165
+                          <el-option
166
+                            v-for="item in options"
167
+                            :key="item.value"
168
+                            :label="item.label"
169
+                            :value="item.value">
170
+                          </el-option>
171
+                        </el-select>
172
+                      </el-form-item>
173
+
174
+                    </el-col>
175
+                    <el-col :span="7" >
176
+                      <el-form-item label="出血点/瘀斑/血肿:">
177
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 90px;">
178
+                          <el-option
179
+                            v-for="item in options"
180
+                            :key="item.value"
181
+                            :label="item.label"
182
+                            :value="item.value">
183
+                          </el-option>
184
+                        </el-select>
185
+                      </el-form-item>
186
+
187
+                    </el-col>
188
+                  </el-row>
189
+
190
+                  <el-row >
191
+                    <el-col :span="6" style="margin-left: 20px;">
192
+                      <el-form-item label="发育:">
193
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 90px;">
194
+                          <el-option
195
+                            v-for="item in options"
196
+                            :key="item.value"
197
+                            :label="item.label"
198
+                            :value="item.value">
199
+                          </el-option>
200
+                        </el-select>
201
+                      </el-form-item>
202
+
203
+                    </el-col>
204
+                    <el-col :span="5" >
205
+                      <el-form-item label="营养:">
206
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 90px;">
207
+                          <el-option
208
+                            v-for="item in options"
209
+                            :key="item.value"
210
+                            :label="item.label"
211
+                            :value="item.value">
212
+                          </el-option>
213
+                        </el-select>
214
+                      </el-form-item>
215
+                    </el-col>
216
+                    <el-col :span="5" >
217
+                      <el-form-item label="神志:">
218
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 90px;">
219
+                          <el-option
220
+                            v-for="item in options"
221
+                            :key="item.value"
222
+                            :label="item.label"
223
+                            :value="item.value">
224
+                          </el-option>
225
+                        </el-select>
226
+                      </el-form-item>
227
+                    </el-col>
228
+                  </el-row>
229
+
230
+                  <el-row>
231
+                    <el-col style="text-align: center;">
232
+                      <span style="">-------------------------------------------------------------------------------</span>
233
+                      <span style="color: aqua;">皮肤黏膜</span>
234
+                      <span style="">-------------------------------------------------------------------------------</span>
235
+                    </el-col>
236
+                  </el-row>
237
+
238
+                  <el-row >
239
+                    <el-col :span="6" style="margin-left: 20px;">
240
+                      <el-form-item label="皮肤黏膜:">
241
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
242
+                          <el-option
243
+                            v-for="item in options"
244
+                            :key="item.value"
245
+                            :label="item.label"
246
+                            :value="item.value">
247
+                          </el-option>
248
+                        </el-select>
249
+                      </el-form-item>
250
+
251
+                    </el-col>
252
+                    <el-col :span="5" >
253
+                      <el-form-item label="部位:">
254
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
255
+                      </el-form-item>
256
+                    </el-col>
257
+                    <el-col :span="5" >
258
+                      <el-form-item label="程度:">
259
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
260
+                      </el-form-item>
261
+
262
+                    </el-col>
263
+                    <el-col :span="7" >
264
+                      <el-form-item label="皮下出血点:">
265
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
266
+                          <el-option
267
+                            v-for="item in options"
268
+                            :key="item.value"
269
+                            :label="item.label"
270
+                            :value="item.value">
271
+                          </el-option>
272
+                        </el-select>
273
+                      </el-form-item>
274
+                    </el-col>
275
+                  </el-row>
276
+
277
+                  <el-row >
278
+                    <el-col :span="6" style="margin-left: 20px;">
279
+                      <el-form-item label="紫癜:">
280
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
281
+                          <el-option
282
+                            v-for="item in options"
283
+                            :key="item.value"
284
+                            :label="item.label"
285
+                            :value="item.value">
286
+                          </el-option>
287
+                        </el-select>
288
+                      </el-form-item>
289
+
290
+                    </el-col>
291
+                    <el-col :span="6" >
292
+                      <el-form-item label="皮肤温度:">
293
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
294
+                          <el-option
295
+                            v-for="item in options"
296
+                            :key="item.value"
297
+                            :label="item.label"
298
+                            :value="item.value">
299
+                          </el-option>
300
+                        </el-select>
301
+                      </el-form-item>
302
+                    </el-col>
303
+                    <el-col :span="9" >
304
+                      <el-form-item label="其它:">
305
+                        <el-input type="textarea" v-model="input" placeholder="请输入内容" style="width: 210px;"></el-input>
306
+                      </el-form-item>
307
+                    </el-col>
308
+                  </el-row>
309
+
310
+                  <el-row>
311
+                    <el-col style="text-align: center;">
312
+                      <span style="">-------------------------------------------------------------------------------</span>
313
+                      <span style="color: aqua;">淋巴结</span>
314
+                      <span style="">-------------------------------------------------------------------------------</span>
315
+                    </el-col>
316
+                  </el-row>
317
+
318
+                  <el-row >
319
+                    <el-col :span="8"  style="margin-left: 20px;">
320
+                      <el-form-item label="浅表淋巴肿大:">
321
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
322
+                          <el-option
323
+                            v-for="item in options"
324
+                            :key="item.value"
325
+                            :label="item.label"
326
+                            :value="item.value">
327
+                          </el-option>
328
+                        </el-select>
329
+                      </el-form-item>
330
+                    </el-col>
331
+                    <el-col :span="12" >
332
+                      <el-form-item label="其它:">
333
+                        <el-input type="textarea" v-model="input" placeholder="请输入内容" style="width: 210px;"></el-input>
334
+                      </el-form-item>
335
+                    </el-col>
336
+                  </el-row>
337
+
338
+                  <el-row>
339
+                    <el-col style="text-align: center;">
340
+                      <span style="">-------------------------------------------------------------------------------</span>
341
+                      <span style="color: aqua;">头部</span>
342
+                      <span style="">-------------------------------------------------------------------------------</span>
343
+                    </el-col>
344
+                  </el-row>
345
+
346
+                  <el-row >
347
+                    <el-col :span="6" style="margin-left: 20px;">
348
+                      <el-form-item label="眼睑:">
349
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
350
+                          <el-option
351
+                            v-for="item in options"
352
+                            :key="item.value"
353
+                            :label="item.label"
354
+                            :value="item.value">
355
+                          </el-option>
356
+                        </el-select>
357
+                      </el-form-item>
358
+
359
+                    </el-col>
360
+                    <el-col :span="6" >
361
+                      <el-form-item label="瞳孔(等大等圆):">
362
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
363
+                          <el-option
364
+                            v-for="item in options"
365
+                            :key="item.value"
366
+                            :label="item.label"
367
+                            :value="item.value">
368
+                          </el-option>
369
+                        </el-select>
370
+                      </el-form-item>
371
+
372
+                    </el-col>
373
+                    <el-col :span="5" >
374
+                      <el-form-item label="左(mm):">
375
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
376
+                      </el-form-item>
377
+
378
+                    </el-col>
379
+                    <el-col :span="5" >
380
+                      <el-form-item label="右(mm):">
381
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
382
+                      </el-form-item>
383
+                    </el-col>
384
+                  </el-row>
385
+
386
+                  <el-row >
387
+                    <el-col :span="6" style="margin-left: 20px;">
388
+                      <el-form-item label="对光反射:">
389
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
390
+                      </el-form-item>
391
+
392
+                    </el-col>
393
+                    <el-col :span="6" >
394
+                      <el-form-item label="扁桃体:">
395
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
396
+                      </el-form-item>
397
+                    </el-col>
398
+                    <el-col :span="9" >
399
+                      <el-form-item label="咽部:">
400
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
401
+                      </el-form-item>
402
+                    </el-col>
403
+                  </el-row>
404
+
405
+                  <el-row>
406
+                    <el-col style="margin-left: 20px;">
407
+                      <el-form-item label="其它:">
408
+                        <el-input type="textarea" v-model="input" placeholder="请输入内容" style="width: 300px;"></el-input>
409
+                      </el-form-item>
410
+                    </el-col>
411
+                  </el-row>
412
+
413
+
414
+                  <el-row>
415
+                    <el-col style="text-align: center;">
416
+                      <span style="">-------------------------------------------------------------------------------</span>
417
+                      <span style="color: aqua;">肺脏</span>
418
+                      <span style="">-------------------------------------------------------------------------------</span>
419
+                    </el-col>
420
+                  </el-row>
421
+
422
+                  <el-row >
423
+                    <el-col :span="7" style="margin-left: 20px;">
424
+                      <el-form-item label="呼吸音:">
425
+                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>
426
+                      </el-form-item>
427
+
428
+                    </el-col>
429
+                    <el-col :span="6" >
430
+                      <el-form-item label="胸膜摩擦音:">
431
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
432
+                          <el-option
433
+                            v-for="item in options"
434
+                            :key="item.value"
435
+                            :label="item.label"
436
+                            :value="item.value">
437
+                          </el-option>
438
+                        </el-select>
439
+                      </el-form-item>
440
+
441
+                    </el-col>
442
+                    <el-col :span="5" >
443
+                      <el-form-item label="部位:">
444
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
445
+                          <el-option
446
+                            v-for="item in options"
447
+                            :key="item.value"
448
+                            :label="item.label"
449
+                            :value="item.value">
450
+                          </el-option>
451
+                        </el-select>
452
+                      </el-form-item>
453
+
454
+                    </el-col>
455
+                    <el-col :span="5" >
456
+                      <el-form-item label="啰音:">
457
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
458
+                          <el-option
459
+                            v-for="item in options"
460
+                            :key="item.value"
461
+                            :label="item.label"
462
+                            :value="item.value">
463
+                          </el-option>
464
+                        </el-select>
465
+                      </el-form-item>
466
+                    </el-col>
467
+                  </el-row>
468
+
469
+                  <el-row>
470
+                      <el-col style="margin-left: 20px;">
471
+                      <el-form-item label="描述:">
472
+                        <el-input type="textarea" v-model="input" placeholder="请输入内容" style="width: 300px;"></el-input>
473
+                      </el-form-item>
474
+                    </el-col>
475
+                  </el-row>
476
+
477
+                   <el-row>
478
+                    <el-col style="text-align: center;">
479
+                      <span style="">-------------------------------------------------------------------------------</span>
480
+                      <span style="color: aqua;">心脏</span>
481
+                      <span style="">-------------------------------------------------------------------------------</span>
482
+                    </el-col>
483
+                  </el-row>
484
+
485
+                  <el-row >
486
+                    <el-col :span="6" style="margin-left: 20px;">
487
+                      <el-form-item label="心脏大小:">
488
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
489
+                          <el-option
490
+                            v-for="item in options"
491
+                            :key="item.value"
492
+                            :label="item.label"
493
+                            :value="item.value">
494
+                          </el-option>
495
+                        </el-select>
496
+                      </el-form-item>
497
+
498
+                    </el-col>
499
+                    <el-col :span="6" >
500
+                      <el-form-item label="心律:">
501
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
502
+                          <el-option
503
+                            v-for="item in options"
504
+                            :key="item.value"
505
+                            :label="item.label"
506
+                            :value="item.value">
507
+                          </el-option>
508
+                        </el-select>
509
+                      </el-form-item>
510
+
511
+                    </el-col>
512
+                    <el-col :span="6" >
513
+                      <el-form-item label="心包摩擦声:">
514
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
515
+                          <el-option
516
+                            v-for="item in options"
517
+                            :key="item.value"
518
+                            :label="item.label"
519
+                            :value="item.value">
520
+                          </el-option>
521
+                        </el-select>
522
+                      </el-form-item>
523
+                    </el-col>
524
+                  </el-row>
525
+
526
+                  <el-row >
527
+                    <el-col :span="6" style="margin-left: 20px;">
528
+                      <el-form-item label="杂音:">
529
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
530
+                          <el-option
531
+                            v-for="item in options"
532
+                            :key="item.value"
533
+                            :label="item.label"
534
+                            :value="item.value">
535
+                          </el-option>
536
+                        </el-select>
537
+                      </el-form-item>
538
+                    </el-col>
539
+                    <el-col :span="6" >
540
+                      <el-form-item label="附加音:">
541
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
542
+                          <el-option
543
+                            v-for="item in options"
544
+                            :key="item.value"
545
+                            :label="item.label"
546
+                            :value="item.value">
547
+                          </el-option>
548
+                        </el-select>
549
+                      </el-form-item>
550
+                    </el-col>
551
+                  </el-row>
552
+                  <el-row>
553
+                      <el-col style="margin-left: 20px;">
554
+                      <el-form-item label="描述:">
555
+                        <el-input type="textarea" v-model="input" placeholder="请输入内容" style="width: 300px;"></el-input>
556
+                      </el-form-item>
557
+                    </el-col>
558
+                  </el-row>
559
+
560
+
561
+                  <el-row>
562
+                    <el-col style="text-align: center;">
563
+                      <span style="">-------------------------------------------------------------------------------</span>
564
+                      <span style="color: aqua;">腹部</span>
565
+                      <span style="">-------------------------------------------------------------------------------</span>
566
+                    </el-col>
567
+                  </el-row>
568
+
569
+                  <el-row >
570
+                    <el-col :span="6" style="margin-left: 20px;">
571
+                      <el-form-item label="腹水征:">
572
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
573
+                          <el-option
574
+                            v-for="item in options"
575
+                            :key="item.value"
576
+                            :label="item.label"
577
+                            :value="item.value">
578
+                          </el-option>
579
+                        </el-select>
580
+                      </el-form-item>
581
+                    </el-col>
582
+                    <el-col :span="12" >
583
+                      <el-form-item label="肝颈静脉返流征:">
584
+                        <el-input type="textarea" v-model="input" placeholder="请输入内容" style="width: 300px;"></el-input>
585
+                      </el-form-item>
586
+                    </el-col>
587
+                  </el-row>
588
+
589
+                  <el-row >
590
+                    <el-col :span="10" style="margin-left: 20px;">
591
+                      <el-form-item label="肝脏:">
592
+                        <span>压痛</span>
593
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
594
+                          <el-option
595
+                            v-for="item in options"
596
+                            :key="item.value"
597
+                            :label="item.label"
598
+                            :value="item.value">
599
+                          </el-option>
600
+                        </el-select>
601
+                        <span>叩痛</span>
602
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
603
+                          <el-option
604
+                            v-for="item in options"
605
+                            :key="item.value"
606
+                            :label="item.label"
607
+                            :value="item.value">
608
+                          </el-option>
609
+                        </el-select>
610
+                      </el-form-item>
611
+                    </el-col>
612
+                    <el-col :span="10" >
613
+                      <el-form-item label="脾脏:">
614
+                        <span>压痛</span>
615
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
616
+                          <el-option
617
+                            v-for="item in options"
618
+                            :key="item.value"
619
+                            :label="item.label"
620
+                            :value="item.value">
621
+                          </el-option>
622
+                        </el-select>
623
+                        <span>叩痛</span>
624
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
625
+                          <el-option
626
+                            v-for="item in options"
627
+                            :key="item.value"
628
+                            :label="item.label"
629
+                            :value="item.value">
630
+                          </el-option>
631
+                        </el-select>
632
+                      </el-form-item>
633
+                    </el-col>
634
+                  </el-row>
635
+
636
+                  <el-row >
637
+                    <el-col :span="10" style="margin-left: 20px;">
638
+                      <el-form-item label="肾脏:">
639
+                        <span>压痛</span>
640
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
641
+                          <el-option
642
+                            v-for="item in options"
643
+                            :key="item.value"
644
+                            :label="item.label"
645
+                            :value="item.value">
646
+                          </el-option>
647
+                        </el-select>
648
+                        <span>叩痛</span>
649
+                        <el-select v-model="doctor" placeholder="请选择" style="width: 100px;">
650
+                          <el-option
651
+                            v-for="item in options"
652
+                            :key="item.value"
653
+                            :label="item.label"
654
+                            :value="item.value">
655
+                          </el-option>
656
+                        </el-select>
657
+                      </el-form-item>
658
+                    </el-col>
659
+                  </el-row>
660
+
661
+                  <el-row>
662
+                      <el-col style="margin-left: 20px;">
663
+                      <el-form-item label="描述:">
664
+                        <el-input type="textarea" autosize v-model="input" placeholder="请输入内容" style="width: 300px;"></el-input>
665
+                      </el-form-item>
666
+                    </el-col>
667
+                  </el-row>
668
+
669
+                  <div style="background-color:aquamarine" class="title">其他</div>
670
+                  <div>
671
+                    双下肢无水肿
672
+                  </div>
673
+                </el-form> -->
674
+
76
               </div>
675
               </div>
77
             </el-col>
676
             </el-col>
78
           </el-row>
677
           </el-row>
339
           return
938
           return
340
         }
939
         }
341
         this.uploading_new_record = true
940
         this.uploading_new_record = true
342
-        
941
+
343
         createCourseOfDiseaseRecord(this.patient_id, this.new_content, this.course_of_disease_time, this.title).then(rs => {
942
         createCourseOfDiseaseRecord(this.patient_id, this.new_content, this.course_of_disease_time, this.title).then(rs => {
344
           this.uploading_new_record = false
943
           this.uploading_new_record = false
345
           var resp = rs.data
944
           var resp = rs.data
369
       },
968
       },
370
 
969
 
371
       didSelectionChange: function(selectRows) {
970
       didSelectionChange: function(selectRows) {
372
-       
971
+
373
         var arr = []
972
         var arr = []
374
         for(let i=0;i<selectRows.length;i++){
973
         for(let i=0;i<selectRows.length;i++){
375
            arr.push(selectRows[i].id)
974
            arr.push(selectRows[i].id)
376
         }
975
         }
377
-        var newArr = arr.join(',') 
976
+        var newArr = arr.join(',')
378
         this.ids = newArr
977
         this.ids = newArr
379
         console.log("select23322332",this.ids)
978
         console.log("select23322332",this.ids)
380
         this.selectingRows = selectRows
979
         this.selectingRows = selectRows

+ 5 - 0
src/xt_pages/user/doctorAdvice.vue 查看文件

4415
       // this.sameRowArr = sameRowArr;
4415
       // this.sameRowArr = sameRowArr;
4416
     },
4416
     },
4417
     mergeSpan({ row, column, rowIndex, columnIndex }) {
4417
     mergeSpan({ row, column, rowIndex, columnIndex }) {
4418
+     
4418
       if (columnIndex === 0 || columnIndex === 1 || columnIndex === 2) {
4419
       if (columnIndex === 0 || columnIndex === 1 || columnIndex === 2) {
4419
         const _row = this.tempArr[rowIndex];
4420
         const _row = this.tempArr[rowIndex];
4420
         const _col = _row > 0 ? 1 : 0;
4421
         const _col = _row > 0 ? 1 : 0;
4422
+        console.log("_row--------------",_row)
4423
+        console.log("_col",_col)
4421
         return {
4424
         return {
4422
           rowspan: _row,
4425
           rowspan: _row,
4423
           colspan: _col
4426
           colspan: _col
4778
       },
4781
       },
4779
   },
4782
   },
4780
   watch: {
4783
   watch: {
4784
+
4781
     adviceTableData: function() {
4785
     adviceTableData: function() {
4786
+      console.log("hhahahhahah",this.adviceTableData)
4782
       this.handleSpanTempArr();
4787
       this.handleSpanTempArr();
4783
     },
4788
     },
4784
     "selectedTemp.list": function() {
4789
     "selectedTemp.list": function() {

+ 1 - 1
src/xt_pages/user/firstDiseasePrint.vue 查看文件

71
                   {{getDoctor(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))}}
71
                   {{getDoctor(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))}}
72
                   </span>
72
                   </span>
73
                   <span v-else>
73
                   <span v-else>
74
-                    <img style="height:30px;" :src="setAdminUserES(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))" alt="" srcset="">
74
+                    <img style="height:50px;" :src="setAdminUserES(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))" alt="" srcset="">
75
                   </span>
75
                   </span>
76
               </div>
76
               </div>
77
           </div>
77
           </div>

+ 1 - 1
src/xt_pages/user/hospitalSummaryPrint.vue 查看文件

273
                   {{getDoctor(hosDetail.doctor)}} 
273
                   {{getDoctor(hosDetail.doctor)}} 
274
              </span>
274
              </span>
275
               <span v-else>
275
               <span v-else>
276
-                <img style="height:30px;" :src="setAdminUserES(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor)" alt="" srcset="">
276
+                <img style="height:50px;" :src="setAdminUserES(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor)" alt="" srcset="">
277
               </span>
277
               </span>
278
               </span>
278
               </span>
279
             </td>
279
             </td>

+ 1 - 1
src/xt_pages/user/patientInfo.vue 查看文件

12
 
12
 
13
 export default {
13
 export default {
14
    name: 'editForm',
14
    name: 'editForm',
15
-  components: { PatientDetail, PatientSidebar },
15
+  components: { PatientDetail, PatientSidebar},
16
   data() {
16
   data() {
17
     return {
17
     return {
18
       patientID: 0,
18
       patientID: 0,

+ 4 - 5
src/xt_pages/user/rescueRecord.vue 查看文件

68
                 @current-change="didChangeCurrentRecord"
68
                 @current-change="didChangeCurrentRecord"
69
                 @selection-change="didSelectionChange"
69
                 @selection-change="didSelectionChange"
70
               >
70
               >
71
-                <el-table-column
72
-                  type="selection"
73
-                  width="40"
74
-                  align="center"
75
-                ></el-table-column>
71
+              <el-table-column
72
+                type="selection"
73
+                width="55">
74
+              </el-table-column>
76
                 <el-table-column label="记录时间" align="center">
75
                 <el-table-column label="记录时间" align="center">
77
                   <template slot-scope="scope">
76
                   <template slot-scope="scope">
78
                     {{ recordTime(scope.row.record_time) }}
77
                     {{ recordTime(scope.row.record_time) }}

+ 2 - 2
src/xt_pages/workforce/components/nextTableWeeks.vue 查看文件

665
     },
665
     },
666
     signPrint() {
666
     signPrint() {
667
         
667
         
668
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 0){
668
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
669
          var zone = this.zone
669
          var zone = this.zone
670
           var newArr = []
670
           var newArr = []
671
           for(let i=0;i<this.zoneList.length;i++){
671
           for(let i=0;i<this.zoneList.length;i++){
683
             path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
683
             path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
684
           })
684
           })
685
           }
685
           }
686
-        if(this.org_id!=9671 && this.org_id!=9675 && this.org_id!=10340 && this.org_id!=0){
686
+        if(this.org_id!=9671 && this.org_id!=9675 && this.org_id!=10340){
687
           var zone = this.zone
687
           var zone = this.zone
688
         var newArr = []
688
         var newArr = []
689
         for(let i=0;i<this.zoneList.length;i++){
689
         for(let i=0;i<this.zoneList.length;i++){

+ 11 - 3
src/xt_pages/workforce/remind_print_setting.vue 查看文件

121
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">干体重:{{main_collection.assessmentbefor.dry_weight}}</div>
121
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">干体重:{{main_collection.assessmentbefor.dry_weight}}</div>
122
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">透前体重:{{main_collection.assessmentbefor.weight_before}}</div>
122
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">透前体重:{{main_collection.assessmentbefor.weight_before}}</div>
123
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">体重增加:{{(main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.dry_weight).toFixed(2)}}</div>
123
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">体重增加:{{(main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.dry_weight).toFixed(2)}}</div>
124
-                <div>用法:静脉注射</div>
124
+                <div v-if="org_id!=10278">用法:静脉注射</div>
125
                 <!-- 透析器灌流器 -->
125
                 <!-- 透析器灌流器 -->
126
                
126
                
127
                  <div>
127
                  <div>
138
                 </div>
138
                 </div>
139
                 
139
                 
140
                
140
                
141
-                <div v-if="org_id!=10440&&org_id!=0">打印时间:{{currentDate}}</div>
141
+                <div v-if="org_id!=10440">打印时间:
142
+                     {{getTime(main_collection.schedule_date)}}   
143
+                     <span v-if="main_collection.schedule_week ==1">星期一</span>
144
+                     <span v-if="main_collection.schedule_week ==2">星期二</span>
145
+                     <span v-if="main_collection.schedule_week ==3">星期三</span>
146
+                     <span v-if="main_collection.schedule_week ==4">星期四</span>
147
+                     <span v-if="main_collection.schedule_week ==5">星期五</span>
148
+                     <span v-if="main_collection.schedule_week ==6">星期六</span>
149
+                     <span v-if="main_collection.schedule_week ==7">星期日</span></div>
142
               </div>
150
               </div>
143
 
151
 
144
               <div class="signPrint" style="font-size:16px;" v-else>
152
               <div class="signPrint" style="font-size:16px;" v-else>
326
      this.org_id = this.$store.getters.xt_user.org.id
334
      this.org_id = this.$store.getters.xt_user.org.id
327
      console.log("机构ID",this.org_id)
335
      console.log("机构ID",this.org_id)
328
      this.currentDate = this.getCurrentDate()
336
      this.currentDate = this.getCurrentDate()
329
-
337
+     console.log("打印时间----------------------------",this.currentDate)
330
     this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
338
     this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
331
     this.modeOptions = this.$store.getters.treatment_mode
339
     this.modeOptions = this.$store.getters.treatment_mode
332
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
340
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit