XMLWAN 4 years ago
parent
commit
3dc893d0a4

+ 1 - 0
src/xt_pages/data/components/addDrugs.vue View File

@@ -590,6 +590,7 @@
590 590
         this.form.prescription_mark = ""
591 591
         this.form.record_date = ""
592 592
         this.form.drug_remark = ""
593
+       
593 594
         this.visible = false
594 595
       },
595 596
       getValue: function() {

+ 5 - 0
src/xt_pages/data/components/consumables.vue View File

@@ -107,6 +107,11 @@
107 107
         <template slot-scope="scope">
108 108
           {{ scope.row.retail_price }}
109 109
         </template>
110
+      </el-table-column>
111
+       <el-table-column label="社保目录编码" width="110" align="center">
112
+        <template slot-scope="scope">
113
+          {{ scope.row.social_security_directory_code }}
114
+        </template>
110 115
       </el-table-column>
111 116
       <el-table-column label="状态" width="60" align="center">
112 117
         <template slot-scope="scope">

+ 39 - 2
src/xt_pages/data/components/drugs.vue View File

@@ -304,7 +304,10 @@
304 304
           is_charge_predict: '',//是否收费预估项
305 305
           is_statistics_work: '',//是否统计工作量
306 306
           is_charge_use: '',//是否收费常用项
307
-          drug_code: ''
307
+          drug_code: '',
308
+          social_security_directory_code:'',
309
+          is_mark:'',
310
+          prescription_mark:'',
308 311
 
309 312
         },
310 313
 
@@ -452,6 +455,7 @@
452 455
               this.$message.error(response.data.msg)
453 456
               return false
454 457
             } else {
458
+              console.log("数据", response.data.data.drug)
455 459
               for (let key in response.data.data.drug) {
456 460
                 this.formValue[key] = response.data.data.drug[key]
457 461
               }
@@ -527,7 +531,40 @@
527 531
               }
528 532
 
529 533
               this.formValue.record_date = this.getTime(this.formValue.record_date)
530
-
534
+               
535
+              if(this.formValue.drug_category == 0){
536
+                  this.formValue.drug_category = ""
537
+              } 
538
+              if(this.formValue.drug_control == 0){
539
+                  this.formValue.drug_control = ""
540
+              }
541
+              if(this.formValue.pharmacology_category == 0){
542
+                 this.formValue.pharmacology_category = ""
543
+              }
544
+              if(this.formValue.statistics_category == 0){
545
+                this.formValue.statistics_category = ""
546
+              }
547
+              if(this.formValue.pinyin == 0){
548
+                 this.formValue.pinyin = ""
549
+              }
550
+              if(this.formValue.wubi == 0){
551
+                this.formValue.wubi = ""
552
+              }
553
+              if(this.formValue.last_price == 0){
554
+                  this.formValue.last_price = ""
555
+              }
556
+              if(this.formValue.retail_price == 0){
557
+                this.formValue.retail_price = ""
558
+              }
559
+              if(this.formValue.social_security_directory_code == 0){
560
+                 this.formValue.social_security_directory_code = ""
561
+              }
562
+              if(this.formValue.is_mark == 0){
563
+                 this.formValue.is_mark = ""
564
+              }  
565
+              if(this.formValue.prescription_mark == 0){
566
+                  this.formValue.prescription_mark = ""
567
+              }
531 568
               this.$refs.addDrugs.show(id, this.formValue)
532 569
 
533 570
             }

+ 9 - 2
src/xt_pages/data/components/editProject.vue View File

@@ -393,15 +393,22 @@ export default {
393 393
               this.form.execution_frequency = projecDetail.execution_frequency
394 394
               this.form.number_days = projecDetail.number_days
395 395
               this.form.total = projecDetail.total
396
-              if(projecDetail.category == 0){
396
+            
397
+              this.form.category = projecDetail.category
398
+               if(projecDetail.category == 0){
397 399
                 this.form.category = ""
398 400
               }
399
-              this.form.category = projecDetail.category
400 401
               if(projecDetail.specail_project == 0){
401 402
                 this.form.specail_project = ""
402 403
               }
403 404
               this.form.specail_project = projecDetail.specail_project
405
+              if(projecDetail.specail_project == 0){
406
+                 this.form.specail_project = ""
407
+              }
404 408
               this.form.social_security_directory_code = projecDetail.social_security_directory_code
409
+              if(projecDetail.social_security_directory_code == 0){
410
+                this.form.social_security_directory_code = ""
411
+              }
405 412
               this.form.record_date = this.getTime(projecDetail.record_date)
406 413
             }
407 414
          })

+ 12 - 2
src/xt_pages/data/components/project.vue View File

@@ -52,6 +52,16 @@
52 52
                 <template  slot-scope="scope">
53 53
                     {{scope.row.project_name}}
54 54
                 </template>
55
+            </el-table-column>
56
+             <el-table-column prop="date" label="单价" align="center">
57
+                <template  slot-scope="scope">
58
+                    {{scope.row.price}}
59
+                </template>
60
+            </el-table-column>
61
+            <el-table-column prop="date" label="单位" align="center">
62
+                <template  slot-scope="scope">
63
+                    {{scope.row.unit}}
64
+                </template>
55 65
             </el-table-column>
56 66
             <el-table-column prop="date" label="费用类别" align="center">
57 67
                   <template  slot-scope="scope">
@@ -216,7 +226,7 @@ export default {
216 226
                console.log('projectlist',projecList)
217 227
                this.tableData = projecList
218 228
                var total = response.data.data.total
219
-               console.log("total-----",total)
229
+               console.log("total",total)
220 230
                this.total = total
221 231
              }
222 232
           })  
@@ -305,7 +315,7 @@ export default {
305 315
           ids.push(this.selectDrug[index].id);
306 316
           idMap[this.selectDrug[index].id] = this.selectDrug[index].id;
307 317
         }
308
-        console.log('ids222222222',ids)
318
+       
309 319
         var idss = ids.join(',')
310 320
         let params = {
311 321
           ids:idss,

+ 3 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1248,7 +1248,7 @@
1248 1248
           'hemodialysis',
1249 1249
           'blood'
1250 1250
         )
1251
-        console.log("抽血-----",this.bloods)
1251
+      
1252 1252
       //  dialyzerPerfusionApparatus.map(item => {
1253 1253
       //    item.name = item.name.toUpperCase()
1254 1254
       //  })
@@ -1290,6 +1290,7 @@
1290 1290
         } else {
1291 1291
 
1292 1292
           if (schedual.mode_id == 2 ||schedual.mode_id == 5 ||schedual.mode_id == 12) {
1293
+            
1293 1294
             this.zhiShow = true
1294 1295
             this.huShow = true
1295 1296
             this.totalShow = true
@@ -1631,6 +1632,7 @@
1631 1632
         // 入口
1632 1633
         var pre = pre
1633 1634
         console.log("香锅2222222",this.dialysisPrescription)
1635
+     
1634 1636
         this.dialysisPrescription.mode_id = this.$route.query.mode_id
1635 1637
         if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12) {
1636 1638
           this.zhiShow = true

+ 1 - 1
src/xt_pages/dialysis/details/index.vue View File

@@ -979,7 +979,7 @@ export default {
979 979
         if (resp.state == 1) {
980 980
           var patient = resp.data.patient // 患者信息
981 981
           var schedual = resp.data.schedual // 患者排班信息
982
-
982
+          console.log("排班22222222222",schedual)
983 983
           var prescription = resp.data.prescription // 透析处方
984 984
           if (prescription != null) {
985 985
             if (prescription.body_fluid == -2) {

+ 7 - 3
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue View File

@@ -51,7 +51,7 @@
51 51
         <el-input v-model="patientInfo.home_address" placeholder="" :disabled="true"></el-input>
52 52
       </el-form-item>
53 53
       <el-form-item label="过敏史: " prop="name">
54
-        <el-input v-model="patientInfo.home_address" placeholder=""></el-input>
54
+        <el-input v-model="allergic_history" placeholder=""></el-input>
55 55
       </el-form-item>
56 56
     </el-form>
57 57
     <div class="mainTitle">体格信息:</div>
@@ -313,6 +313,7 @@
313 313
         valueSeven:'',
314 314
         diagnoses:[],
315 315
         sick:[],
316
+        allergic_history:"",
316 317
       }
317 318
     },
318 319
     methods: {
@@ -363,9 +364,10 @@
363 364
             "doctor_advice":this.case_history.doctor_advice,
364 365
             "remark":this.case_history.remark,
365 366
             "sick":this.case_history.sick,
366
-            "diagnose":this.case_history.diagnose
367
+            "diagnose":this.case_history.diagnose,
368
+            "allergic_history":this.allergic_history
367 369
           }
368
-
370
+          console.log("prams222",params)
369 371
           createCaseHistory(params).then(response => {
370 372
             if (response.data.state == 0) {
371 373
               this.$message.error("患者病历已存在")
@@ -400,6 +402,7 @@
400 402
                 this.case_history.remark = templatedetail.remark
401 403
                 this.case_history.sick = templatedetail.sick
402 404
                 this.case_history.diagnose = templatedetail.diagnose
405
+                // this.allergic_history = templatedetail.allergic_history
403 406
               }
404 407
           })
405 408
         },
@@ -566,6 +569,7 @@
566 569
         if(this.case_history.diagnose == 0){
567 570
            this.case_history.diagnose = ""
568 571
         }
572
+        // this.allergic_history = this.case_history.allergic_history
569 573
         
570 574
       }
571 575
     }

+ 10 - 6
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -897,6 +897,7 @@
897 897
       },
898 898
 
899 899
       choosePatient(val) {
900
+        
900 901
         var nowDate = new Date()
901 902
         var nowYear = nowDate.getFullYear()
902 903
         var nowMonth = nowDate.getMonth() + 1
@@ -965,12 +966,12 @@
965 966
                 return false
966 967
               } else {
967 968
 
968
-
969 969
                 this.prescriptions = []
970 970
                 this.patientInfo = response.data.data.xt_info
971 971
                 this.hisPatientInfo = response.data.data.his_info
972 972
                 this.case_history = response.data.data.case_history
973
-                var case_history = response.data.data.case_history
973
+                // var case_history = response.data.data.case_history
974
+                // console.log("礼拜2222222222",this.case_history)
974 975
                 var month_prescriptions = response.data.data.month_prescriptions
975 976
                 this.setMonthPrescription(month_prescriptions)
976 977
                 this.doctors = response.data.data.doctors
@@ -1143,9 +1144,9 @@
1143 1144
               this.patientInfo = response.data.data.xt_info
1144 1145
               this.hisPatientInfo = response.data.data.his_info
1145 1146
               this.case_history = response.data.data.case_history
1146
-              var case_history = response.data.data.case_history
1147
-
1148
-              this.case_history = case_history
1147
+              // var case_history = response.data.data.case_history
1148
+              // console.log("礼拜2223332222222",this.case_history)
1149
+              // this.case_history = case_history
1149 1150
               this.info = response.data.data.info
1150 1151
               this.doctors = response.data.data.doctors
1151 1152
               this.department = response.data.data.department
@@ -1363,7 +1364,10 @@
1363 1364
           if (response.data.state == 1) {
1364 1365
             this.centerDialogVisible = true
1365 1366
             var list = response.data.data.list
1366
-           
1367
+            console.log("list2222222",list)
1368
+            for(let i=0;i<list.length;i++){
1369
+              list[i].prescription_number = list[i].prescription_number + i
1370
+            }
1367 1371
             this.tableData = list
1368 1372
           }
1369 1373
         })

+ 10 - 1
src/xt_pages/role/components/AdminInfoForm.vue View File

@@ -776,6 +776,9 @@
776 776
                    this.form.prescription_qualification_identification = ""
777 777
                 }
778 778
                 this.form.identification_outpatients = admin.identification_outpatients
779
+                if(admin.identification_outpatients == 0){
780
+                   this.form.identification_outpatients = ""
781
+                }
779 782
                 this.form.start_time = this.getTime(admin.start_time)
780 783
                 this.form.medical_range_code = admin.medical_range_code
781 784
                 if(admin.medical_range_code == 0){
@@ -796,11 +799,14 @@
796 799
                     this.form.doctor_level = ""
797 800
                 }
798 801
                 this.form.doctor_type_job = admin.doctor_type_job
802
+                if(admin.doctor_type_job == 0){
803
+                   this.form.doctor_type_job = ""
804
+                }
799 805
                 this.form.doctor_number = admin.doctor_number
800 806
                 this.form.is_active = admin.is_active
801 807
                 console.log("2222222",this.form.is_active)
802 808
                 if(admin.is_active == 0){
803
-                   admin.is_active = ""
809
+                   this.form.is_active = ""
804 810
                 }
805 811
                 this.form.active_status = admin.active_status
806 812
                 if(admin.active_status == 0){
@@ -1076,6 +1082,9 @@
1076 1082
         }
1077 1083
       },
1078 1084
        getTime(val) {
1085
+         if(val < 0){
1086
+           return ""
1087
+         }
1079 1088
          if(val == ""){
1080 1089
           return ""
1081 1090
          }else {