Browse Source

医护管理

XMLWAN 4 years ago
parent
commit
868391e264

+ 7 - 15
src/xt_pages/qcd/treatmentControlAnalysis/components/TimePersonal.vue View File

84
           </el-table-column>
84
           </el-table-column>
85
           <el-table-column prop="mode_id" label="透析模式">
85
           <el-table-column prop="mode_id" label="透析模式">
86
               <template slot-scope="scope">
86
               <template slot-scope="scope">
87
-                <span>{{ scope.row.mode_id.join("、") }}</span>
87
+                <span>{{ scope.row.mode_id.join("、")}}</span>
88
               </template>
88
               </template>
89
            </el-table-column>
89
            </el-table-column>
90
           <el-table-column prop="address" label="透析总次数" width="140">
90
           <el-table-column prop="address" label="透析总次数" width="140">
192
       getDialysisList(this.listQuery.start_time,this.listQuery.end_time,this.listQuery.page,this.listQuery.limit).then(response=>{
192
       getDialysisList(this.listQuery.start_time,this.listQuery.end_time,this.listQuery.page,this.listQuery.limit).then(response=>{
193
          if(response.data.state === 1){
193
          if(response.data.state === 1){
194
           var list = response.data.data.list
194
           var list = response.data.data.list
195
-          // console.log("list",list)
195
+          console.log("00999999999",list)
196
           var totallist  =  response.data.data.totallist
196
           var totallist  =  response.data.data.totallist
197
-          //  console.log("totallist",totallist)
198
           this.total = totallist  
197
           this.total = totallist  
199
           var prescriptionList = response.data.data.prescriptionList
198
           var prescriptionList = response.data.data.prescriptionList
200
-          // console.log("prescriptionList",prescriptionList)
199
+          console.log("透析处方=======",prescriptionList)
201
           this.getModeId(prescriptionList)
200
           this.getModeId(prescriptionList)
202
           var count = response.data.data.count
201
           var count = response.data.data.count
203
-          // console.log("count",count)
202
+          console.log("count",count)
204
           this.DialysisCount = count
203
           this.DialysisCount = count
205
-          // for(let i=0;i<count.length;i++){
206
-          //  for(let j=0;j<prescriptionList.length;j++){
207
-          //    if(count[i].patient_id == prescriptionList[j].patient_id){
208
-          //         prescriptionList[j].count = count[i].Count
209
-          //    }
210
-          //  }
211
-          // }
212
-          // console.log("prescriptionList",prescriptionList)
213
           let dataInfo = {}
204
           let dataInfo = {}
214
           list.forEach((item, index) => {
205
           list.forEach((item, index) => {
215
             let { patient_id } = item
206
             let { patient_id } = item
234
               }
225
               }
235
             }
226
             }
236
           })
227
           })
237
-        //  console.log("list---",list)
228
+          console.log("list---=============",list)
238
           this.DialysisData = list
229
           this.DialysisData = list
239
          }
230
          }
240
       })
231
       })
388
           }
379
           }
389
         })
380
         })
390
       },
381
       },
391
-   handleSelect(val) {
382
+    handleSelect(val) {
392
         // console.log("val",val)
383
         // console.log("val",val)
393
         this.listQuery.search = val.name
384
         this.listQuery.search = val.name
394
         this.patient_id = val.id
385
         this.patient_id = val.id
395
         this.onSearch()
386
         this.onSearch()
396
       },
387
       },
388
+    
397
   },
389
   },
398
   created(){
390
   created(){
399
     var nowDate = new Date();
391
     var nowDate = new Date();