Browse Source

518合并代码

XMLWAN 2 years ago
parent
commit
dbfebcb697

+ 6 - 13
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -703,7 +703,6 @@ export default {
703 703
             id:this.groupForm.id,
704 704
          
705 705
           };
706
-          console.log("hhhhh",this.drug_id,this.nameForm.way)
707 706
           var adviceNames = [];
708 707
           for (const index in this.groupForm.adviceNames) {
709 708
             adviceNames.unshift(this.groupForm.adviceNames[index]);
@@ -714,8 +713,6 @@ export default {
714 713
           submitForm.adviceNames = adviceNames;
715 714
           let mode = "1";
716 715
           
717
-          console.log("88888888",submitForm)
718
-          console.log("99999",this.medicals)
719 716
           if(this.private_drug_config != null&& this.private_drug_config.drug_start == 1){
720 717
                
721 718
              for(let index=0;index<submitForm.adviceNames.length;index++){
@@ -730,7 +727,6 @@ export default {
730 727
                    }
731 728
                    if(submitForm.adviceNames[index].children.length == 0){
732 729
                      if(submitForm.adviceNames[index].drug_id == this.medicals[i].drug_name_id){
733
-                       console.log("进来了没有")
734 730
                         submitForm.adviceNames[index].way = 2
735 731
                         submitForm.adviceNames[index].drug_name_id = this.medicals[i].drug_name_id
736 732
                     }
@@ -739,7 +735,6 @@ export default {
739 735
                 }
740 736
              }
741 737
           }
742
-          console.log("2222",submitForm)
743 738
          
744 739
           CreateGroupAdvice(this.patientID, 0, submitForm, mode).then(
745 740
             response => {
@@ -995,6 +990,7 @@ export default {
995 990
       this.nameFormTitle = "添加子药内容";
996 991
     },
997 992
     openGroupAdvice(isEdit) {
993
+      console.log("hhhahhdhahdhahddhhdhdhh",this.groupSelectRow)
998 994
       this.isChild = false;
999 995
       if (isEdit) {
1000 996
         if (this.groupSelectRow === null) {
@@ -1069,11 +1065,7 @@ export default {
1069 1065
     },
1070 1066
     selectAdvice(selection, row) {
1071 1067
      
1072
-     console.log("row",row)
1073
-
1074
-      var adviceArray = this.adviceTemplateMaps[this.selectedTemp.id]
1075
-        .DoctorAdviceTemplate;
1076
-      console.log(adviceArray);
1068
+      var adviceArray = this.adviceTemplateMaps[this.selectedTemp.id].DoctorAdviceTemplate;
1077 1069
       for (let y = 0; y < adviceArray.length; y++) {
1078 1070
         adviceArray[y].selection = false;
1079 1071
       }
@@ -1157,7 +1149,7 @@ export default {
1157 1149
       }
1158 1150
     },
1159 1151
     templateTableChange(currentRow, oldCurrentRow) {
1160
-      console.log("params -----",currentRow)
1152
+     
1161 1153
       this.selectedTemp = { id: 0, name: "", org_id: 0, list: [], rows: [] };
1162 1154
       if (currentRow == null) {
1163 1155
         return false;
@@ -1577,6 +1569,7 @@ export default {
1577 1569
             var medicalList = response.data.data.private_drug_list
1578 1570
             console.log("medicallist",medicalList)
1579 1571
             var base_drug_list = response.data.data.base_drug_list
1572
+            console.log("base_drug_list23233232322323",base_drug_list)
1580 1573
             var base_drug_cofig = response.data.data.base_drug_config
1581 1574
             var private_drug_cofig = response.data.data.private_drug_config
1582 1575
        
@@ -1674,7 +1667,7 @@ export default {
1674 1667
      
1675 1668
     },
1676 1669
     changeDrugDesc(name) {
1677
-        console.log("hhhhhhhhhh",this.drugSpec)
1670
+       
1678 1671
         this.current_drug_spec = name
1679 1672
         for (let i = 0; i < this.drugSpec.length; i++) {
1680 1673
           if (this.drugSpec[i].drug_spec == name) {
@@ -1702,7 +1695,7 @@ export default {
1702 1695
       },
1703 1696
 
1704 1697
      querySearch(queryString, cb) {
1705
-        console.log('queryString',queryString)
1698
+        
1706 1699
         var restaurants = this.all_drug;
1707 1700
         restaurants.map(item => {
1708 1701
           item.value = item.drug_name

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

@@ -33,7 +33,7 @@
33 33
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
34 34
           <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
35 35
           <th v-if="isShow('累计血容量')" width="92px">累计血容量(ml)</th>
36
-          <th v-if="isShow('血容量')" width="92px">血容量(ml)</th>
36
+          <th v-if="isShow('血容量')" width="92px">血容量(L)</th>
37 37
           <th v-if="isShow('血温监测')" width="92px">血温监测</th>
38 38
           <th v-if="isShow('尿素监测')" width="92px">尿素监测</th>
39 39
           <th v-if="isShow('血浓量')" width="92px">血浓量</th>

+ 2 - 2
src/xt_pages/hospitalStation/components/deskRecord.vue View File

@@ -53,7 +53,7 @@
53 53
       <el-form-item label="药物过敏史: " prop="name">
54 54
         <el-input v-model="allergic_history" placeholder="药物过敏史"></el-input>
55 55
       </el-form-item>
56
-<!-- 
56
+
57 57
   <el-form-item label="初始透析日期: " prop="name">
58 58
          <el-date-picker
59 59
           :disabled="true"
@@ -97,7 +97,7 @@
97 97
 
98 98
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
99 99
         <el-input v-model="lab_apparatus" placeholder="实验室及器械检查"></el-input>
100
-      </el-form-item> -->
100
+      </el-form-item>
101 101
 
102 102
     </el-form>
103 103
     <div class="mainTitle">体格信息:</div>

+ 8 - 7
src/xt_pages/hospitalStation/components/dialysisIndex.vue View File

@@ -62,6 +62,7 @@
62 62
           :lastAssessment="lastAssessment"
63 63
           :stockType="stockType"
64 64
           :mode_id="mode_id"
65
+          :is_advice_open="is_advice_open"
65 66
         >
66 67
         </nav-igation>
67 68
 
@@ -256,7 +257,7 @@ export default {
256 257
       config: {},
257 258
 
258 259
       his_is_open:0,
259
-
260
+      is_advice_open:0,
260 261
       lastPredialysisEvaluation: { id: 0 },
261 262
       lastMonitorRecord: { id: 0 },
262 263
       lastAssessmentAfterDislysis: { id: 0 },
@@ -584,7 +585,7 @@ export default {
584 585
           var schedual = resp.data.schedual // 患者排班信息
585 586
 
586 587
           var prescription = resp.data.prescription // 透析处方
587
-          console.log("投产出大发大发233232323232233232",prescription)
588
+         
588 589
           if (prescription != null) {
589 590
             if (prescription.body_fluid == -2) {
590 591
               prescription.body_fluid = 0
@@ -732,18 +733,18 @@ export default {
732 733
           var his_doctor_advices = resp.data.his_advices
733 734
 
734 735
           this.his_is_open = resp.data.is_open_config.is_open
735
-          console.log(this.his_is_open)
736
-
736
+          
737
+          this.is_advice_open = resp.data.is_advice_open.is_advice_open
738
+          console.log("is_advice_open23223323232322323",this.is_advice_open)
737 739
 
738 740
 
739 741
           var stockType =  resp.data.stockType
740 742
           this.stockType = stockType
741
-          console.log("stockTYPW",stockType)
743
+          
742 744
 
743 745
           var prepare = resp.data.prepare
744 746
           this.preparestock = prepare
745
-          console.log("prepare222222",prepare)
746
-
747
+        
747 748
           for (let i = 0; i <  this.doctor_advices.length; i++){
748 749
             this.doctor_advices[i]['origin'] = 1
749 750
           }

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

@@ -54,7 +54,7 @@
54 54
         <el-input v-model="allergic_history" placeholder="药物过敏史"></el-input>
55 55
       </el-form-item>
56 56
      
57
-      <!-- <el-form-item label="初始透析日期: " prop="name">
57
+      <el-form-item label="初始透析日期: " prop="name">
58 58
          <el-date-picker
59 59
           :disabled="true"
60 60
           style="width:100%;"
@@ -73,7 +73,6 @@
73 73
       </el-form-item>
74 74
       
75 75
   
76
-
77 76
       <el-form-item label="确诊肾衰日期: " prop="name">
78 77
          <el-date-picker
79 78
           style="width:100%;"
@@ -95,27 +94,27 @@
95 94
 
96 95
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
97 96
         <el-input v-model="lab_apparatus" placeholder="实验室及器械检查"></el-input>
98
-      </el-form-item> -->
97
+      </el-form-item>
99 98
 
100 99
     </el-form>
101 100
     <div class="mainTitle">体格信息:</div>
102 101
     <el-form class="physiqueForm" :model="case_history" ref="form" label-width="80px">
103 102
       <el-form-item label="体温:" prop="temperature">
104
-        <el-input v-model="case_history.temperature" placeholder=""></el-input>
103
+        <el-input v-model="case_history.temperature" placeholder="体温"></el-input>
105 104
         <span>℃</span>
106 105
       </el-form-item>
107 106
       <el-form-item label="脉搏: " prop="pulse">
108
-        <el-input v-model="case_history.pulse" placeholder=""></el-input>
107
+        <el-input v-model="case_history.pulse" placeholder="脉搏"></el-input>
109 108
         (次/分)
110 109
       </el-form-item>
111 110
       <el-form-item label="呼吸: " prop="breathing">
112
-        <el-input v-model="case_history.breathing" placeholder=""></el-input>
111
+        <el-input v-model="case_history.breathing" placeholder="呼吸"></el-input>
113 112
         (次/分)
114 113
       </el-form-item>
115 114
       <el-form-item label="血压:" prop="name">
116
-        <el-input v-model="case_history.sbp" placeholder=""></el-input>
115
+        <el-input v-model="case_history.sbp" placeholder="血压" style="width:50px"></el-input>
117 116
         /
118
-        <el-input v-model="case_history.dbp" placeholder=""></el-input>
117
+        <el-input v-model="case_history.dbp" placeholder="血压" style="width:50px"></el-input>
119 118
         mmHg
120 119
       </el-form-item>
121 120
     </el-form>

+ 7 - 2
src/xt_pages/outpatientDoctorStation/components/dialysisIndex.vue View File

@@ -59,6 +59,7 @@
59 59
           @assessmentAfterDislysis="assessmentAfterDislysisFunc"
60 60
           :system_prescribe="system_prescribe"
61 61
           :his_is_open="his_is_open"
62
+          :is_advice_open="is_advice_open"
62 63
           :lastAssessment="lastAssessment"
63 64
           :stockType="stockType"
64 65
           :mode_id="mode_id"
@@ -256,7 +257,7 @@ export default {
256 257
       config: {},
257 258
 
258 259
       his_is_open:0,
259
-
260
+      is_advice_open:0,
260 261
       lastPredialysisEvaluation: { id: 0 },
261 262
       lastMonitorRecord: { id: 0 },
262 263
       lastAssessmentAfterDislysis: { id: 0 },
@@ -550,6 +551,9 @@ export default {
550 551
               if(this.his_is_open == 1){
551 552
                 this.is_open = 0
552 553
               }
554
+              if(this.is_advice_open == 1){
555
+               this.is_open =1
556
+              }
553 557
               this.longAdvices = totalAdvice
554 558
               this.waitUploadAdvices = waitUploadAdvices
555 559
               break
@@ -740,7 +744,8 @@ export default {
740 744
 
741 745
           this.his_is_open = resp.data.is_open_config.is_open
742 746
           console.log(this.his_is_open)
743
-
747
+           
748
+          this.is_advice_open = resp.data.is_advice_open.is_advice_open
744 749
 
745 750
 
746 751
           var stockType =  resp.data.stockType