Kaynağa Gözat

518合并代码

XMLWAN 2 yıl önce
ebeveyn
işleme
dbfebcb697

+ 6 - 13
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Dosyayı Görüntüle

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

+ 1 - 1
src/xt_pages/dialysis/details/dialysisMonitoring.vue Dosyayı Görüntüle

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

+ 2 - 2
src/xt_pages/hospitalStation/components/deskRecord.vue Dosyayı Görüntüle

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

+ 8 - 7
src/xt_pages/hospitalStation/components/dialysisIndex.vue Dosyayı Görüntüle

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

+ 7 - 8
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue Dosyayı Görüntüle

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

+ 7 - 2
src/xt_pages/outpatientDoctorStation/components/dialysisIndex.vue Dosyayı Görüntüle

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