28169 1 年間 前
コミット
4e6ef87fa9

+ 11 - 3
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue ファイルの表示

22
                       value-format="yyyy-MM-dd"
22
                       value-format="yyyy-MM-dd"
23
                       placeholder="选择日期时间" align="right"
23
                       placeholder="选择日期时间" align="right"
24
                      :picker-options="pickerOptions"></el-date-picker>
24
                      :picker-options="pickerOptions"></el-date-picker>
25
-      <el-input size="small" style="width: 180px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
25
+      <el-input size="small" style="width: 100px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
26
                 class="filter-item" v-model="query.keywords"/>
26
                 class="filter-item" v-model="query.keywords"/>
27
-      <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
27
+      <el-button size="small" class="filter-item" type="primary" placeholder="请输入患者姓名" icon="el-icon-search" @click="search">搜索</el-button>&nbsp;&nbsp;
28
+
29
+      <!-- <el-input size="small" style="width: 100px;" @keyup.enter.native='searchAction' v-model.trim="search_input"
30
+                class="filter-item" v-model="query.keyword"/>
31
+      <el-button size="small" class="filter-item" type="primary" placeholder="请输入药品名称" icon="el-icon-search" @click="searchOne">搜索2</el-button> -->
28
     </div>
32
     </div>
29
     <div class="cell clearfix" style="justify-content: space-between;">
33
     <div class="cell clearfix" style="justify-content: space-between;">
30
       <div style="display:flex;">
34
       <div style="display:flex;">
209
           page:1,
213
           page:1,
210
           limit:10,
214
           limit:10,
211
           keywords:"",
215
           keywords:"",
216
+          keyword:"",
212
           good_type:0,
217
           good_type:0,
213
           ids:"",
218
           ids:"",
214
         },
219
         },
593
         this.query.page = 1
598
         this.query.page = 1
594
         this.getlist()
599
         this.getlist()
595
       },
600
       },
601
+      searchOne() {
602
+        this.getlist()
603
+      },
596
 
604
 
597
       exportList(){
605
       exportList(){
598
         import('@/vendor/Export2Excel').then(excel => { 
606
         import('@/vendor/Export2Excel').then(excel => { 
812
         return week;
820
         return week;
813
       },
821
       },
814
       toBiaoqian(){
822
       toBiaoqian(){
815
-        this.$router.push({path:"/dialysis/hisLongSignPrint?selected_date="+this.selected_date+"&schedule_type="+this.query.schedule_type+"&partition_id="+this.query.partition_id})
823
+        this.$router.push({path:"/dialysis/hisLongSignPrint?selected_date="+this.selected_date+"&schedule_type="+this.query.schedule_type+"&partition_id="+this.query.partition_id+"&ids="+this.ids+"&keywords="+this.query.keywords})
816
       }
824
       }
817
     }
825
     }
818
   }
826
   }

+ 1 - 0
src/xt_pages/dialysis/details/consumable/dialysisDrugPrint.vue ファイルの表示

120
           partition_id:this.$route.query.partition_id,
120
           partition_id:this.$route.query.partition_id,
121
           ids:this.$route.query.ids,
121
           ids:this.$route.query.ids,
122
          }
122
          }
123
+         console.log("HHAHDHAHHDAH",params)
123
         getDialysisAdviceTemplateList(params).then(response=>{
124
         getDialysisAdviceTemplateList(params).then(response=>{
124
           if(response.data.state == 1){
125
           if(response.data.state == 1){
125
           
126
           

+ 13 - 5
src/xt_pages/dialysis/details/consumable/dialysisGood.vue ファイルの表示

98
           :label="item.filed_name_cn"
98
           :label="item.filed_name_cn"
99
         >
99
         >
100
           <template slot-scope="scope">
100
           <template slot-scope="scope">
101
-            <span v-if="org_id !=10599">
101
+            <!-- <span v-if="org_id !=10599 && org_id!=10138 && org_id!=10278">
102
               {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}
102
               {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}
103
-            </span>
104
-            <span v-if="org_id==10599">
103
+            </span> -->
104
+            <span>
105
               <span v-if="scope.row.dialysis_prescription==null"> {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}</span>
105
               <span v-if="scope.row.dialysis_prescription==null"> {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}</span>
106
               <span v-if="scope.row.dialysis_prescription!=null"> {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_prescription)}}</span>
106
               <span v-if="scope.row.dialysis_prescription!=null"> {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_prescription)}}</span>
107
             </span>
107
             </span>
179
           :label="item.type_name"
179
           :label="item.type_name"
180
         >
180
         >
181
           <template slot-scope="scope">
181
           <template slot-scope="scope">
182
-             {{getStr(scope.row.typeList[index].id,scope.row.projectList,scope.row.patient_id)}}
182
+            <span v-if="scope.row.his_prescription_project.length>0"> {{getStr(scope.row.typeList[index].id,scope.row.his_prescription_project,scope.row.patient_id)}}</span>
183
+            <span v-if="scope.row.his_prescription_project.length==0">  {{getStr(scope.row.typeList[index].id,scope.row.projectList,scope.row.patient_id)}}</span>
184
+           
183
           </template>
185
           </template>
184
 
186
 
185
         </el-table-column>
187
         </el-table-column>
609
             this.list[i].name3 = this.list[i].patient.dialysis_no
611
             this.list[i].name3 = this.list[i].patient.dialysis_no
610
             if(this.typeList!=null && this.typeList.length > 0){
612
             if(this.typeList!=null && this.typeList.length > 0){
611
               for(let j=0;j<this.typeList.length;j++){
613
               for(let j=0;j<this.typeList.length;j++){
612
-                this.list[i]['name'+(j+4)] = this.getStr(this.list[i].typeList[j].id,this.list[i].projectList,this.list[i].patient_id)
614
+                if(this.list[i].his_prescription_project.length>0){
615
+                  this.list[i]['name'+(j+4)] = this.getStr(this.list[i].typeList[j].id,this.list[i].his_prescription_project,this.list[i].patient_id)
616
+                }
617
+                if(this.list[i].his_prescription_project.length == 0){
618
+                  this.list[i]['name'+(j+4)] = this.getStr(this.list[i].typeList[j].id,this.list[i].projectList,this.list[i].patient_id)
619
+                }
620
+              
613
               }
621
               }
614
             }
622
             }
615
 
623
 

+ 3 - 1
src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue ファイルの表示

74
                  <td>{{item.patient.name}}</td>
74
                  <td>{{item.patient.name}}</td>
75
                 <td>{{item.patient.dialysis_no}}</td>
75
                 <td>{{item.patient.dialysis_no}}</td>
76
                 <td v-for="(it,index) in typeList" :key="index">
76
                 <td v-for="(it,index) in typeList" :key="index">
77
-                  {{getStr(item.typeList[index].id,item.projectList,item.patient_id)}}
77
+                  <span v-if="item.his_prescription_project.length>0"> {{getStr(item.typeList[index].id,item.his_prescription_project,item.patient_id)}}</span>
78
+                  <span v-if="item.his_prescription_project.length==0">{{getStr(item.typeList[index].id,item.projectList,item.patient_id)}}</span>
79
+                 
78
                 </td>
80
                 </td>
79
                </tr>
81
                </tr>
80
               </tbody>
82
               </tbody>

+ 11 - 13
src/xt_pages/dialysis/details/dialog/computer_dialog.vue ファイルの表示

515
     this.org_id = this.$store.getters.xt_user.template_info.org_id;
515
     this.org_id = this.$store.getters.xt_user.template_info.org_id;
516
     this.patient_id = this.$route.query.patient_id;
516
     this.patient_id = this.$route.query.patient_id;
517
     this.schedule_date = this.$route.query.date;
517
     this.schedule_date = this.$route.query.date;
518
-    this.form.nurse_id =
519
-      this.dialysis_order.id == 0
520
-        ? this.$store.getters.xt_user.user.id
521
-        : this.dialysis_order.start_nurse;
522
-    this.form.puncture_nurse_id =
523
-      this.dialysis_order.id == 0
524
-        ? this.$store.getters.xt_user.user.id
525
-        : this.dialysis_order.puncture_nurse;
526
-    this.form.washpipe_nurse =
527
-      this.dialysis_order.id == 0
528
-        ? this.$store.getters.xt_user.user.id
529
-        : this.dialysis_order.washpipe_nurse;
518
+    this.form.nurse_id =this.dialysis_order.id == 0? this.$store.getters.xt_user.user.id: this.dialysis_order.start_nurse;
519
+    this.form.puncture_nurse_id =this.dialysis_order.id == 0? this.$store.getters.xt_user.user.id: this.dialysis_order.puncture_nurse;
520
+    this.form.washpipe_nurse =this.dialysis_order.id == 0? this.$store.getters.xt_user.user.id: this.dialysis_order.washpipe_nurse;
530
 
521
 
531
     if (this.form.puncture_nurse_id == 0) {
522
     if (this.form.puncture_nurse_id == 0) {
532
       this.form.puncture_nurse_id = this.$store.getters.xt_user.user.id;
523
       this.form.puncture_nurse_id = this.$store.getters.xt_user.user.id;
902
           console.log(this.dialysis_order);
893
           console.log(this.dialysis_order);
903
           this.loading = true;
894
           this.loading = true;
904
           let mode = "1";
895
           let mode = "1";
905
-          var blood_drawing = this.form.blood_drawing.toString();
896
+          if(this.form.blood_drawing!=undefined){
897
+            var blood_drawing = this.form.blood_drawing.toString();
898
+          }else{
899
+            blood_drawing = ""
900
+          }
901
+
902
+
903
+         
906
           console.log("质控护士", this.form.quality_nurse_id);
904
           console.log("质控护士", this.form.quality_nurse_id);
907
           console.log("this.form.nuclein_date", this.form.nuclein_date);
905
           console.log("this.form.nuclein_date", this.form.nuclein_date);
908
 
906
 

+ 24 - 3
src/xt_pages/dialysis/hisLongSignPrint.vue ファイルの表示

177
           page:this.$route.query.page,
177
           page:this.$route.query.page,
178
           limit:1000,
178
           limit:1000,
179
           keywords:"",
179
           keywords:"",
180
+          keyword:this.$route.query.keywords,
180
           good_type:0,
181
           good_type:0,
181
-          ids:"",
182
+          ids:this.$route.query.ids,
182
           
183
           
183
 
184
 
184
       }
185
       }
198
         var adviceList = response.data.data.adviceList
199
         var adviceList = response.data.data.adviceList
199
         this.adviceList = adviceList
200
         this.adviceList = adviceList
200
 
201
 
201
-        var longHisAdviceList = response.data.data.longHisAdviceList
202
-
203
 
202
 
204
         var tablelist = response.data.data.tablelist
203
         var tablelist = response.data.data.tablelist
205
         console.log("tablelsit",tablelist)
204
         console.log("tablelsit",tablelist)
240
                     }
239
                     }
241
                 }
240
                 }
242
              }
241
              }
242
+             console.log("寄哪里地方5555",this.$route.query.keywords)
243
+             if(this.$route.query.keywords!=""){
244
+                console.log("寄哪里地方",this.$route.query.keywords)
245
+               for(let i=0;i<list.length;i++){
246
+                 list[i].new_arr = []
247
+                 for(let j=0;j<list[i].his_advice_list.length;j++){
248
+                    console.log("iiiiii",list[i].his_advice_list[j].advice_name.indexOf(this.$route.query.keywords))
249
+                    if(list[i].his_advice_list[j].advice_name.indexOf(this.$route.query.keywords)!=-1){
250
+                       list[i].new_arr.push(list[i].his_advice_list[j])
251
+                    }
252
+                 }
253
+               }
254
+          }
255
+          if(list!=null && list.length>0){
256
+            for(let i=0;i<list.length;i++){
257
+                list[i].his_advice_list =[]
258
+                list[i].his_advice_list = list[i].new_arr 
259
+            }
260
+         }
243
         }
261
         }
262
+        
263
+       
264
+      
244
        
265
        
245
         console.log("list-------------",list)
266
         console.log("list-------------",list)
246
         this.list = list
267
         this.list = list