yq1 1 ano atrás
pai
commit
87ab942713

+ 12 - 0
src/router/modules/dialysis.js Ver arquivo

350
       is_menu: false,
350
       is_menu: false,
351
       noCache: true
351
       noCache: true
352
     },
352
     },
353
+    // 透析记录2
354
+    {
355
+      path: '/dialysis/details/indexs',
356
+      component: () => import('@/xt_pages/dialysis/details/indexs'),
357
+      name: 'details',
358
+      meta: {
359
+        title: 'details'
360
+      },
361
+      hidden: true,
362
+      is_menu: false,
363
+      noCache: true
364
+    },
353
 
365
 
354
     {
366
     {
355
       path: '/dialysis/print/batch',
367
       path: '/dialysis/print/batch',

+ 8 - 4
src/xt_pages/outpatientDoctorStation/components/dialysishistory.vue Ver arquivo

300
 
300
 
301
     },
301
     },
302
     rowclick(event){
302
     rowclick(event){
303
-      this.patient_id = event.patient_id
304
-      this.dialysis_date = parseTime(event.dialysis_date, '{y}-{m}-{d}')
305
-      this.drawer =true
306
-      this.dialysisShow =true
303
+      this.$router.push({
304
+        path: "/dialysis/details/indexs",
305
+        query: { patient_id: event.patient_id, date: event.dialysis_date }
306
+      });
307
+      // this.patient_id = event.patient_id
308
+      // this.dialysis_date = parseTime(event.dialysis_date, '{y}-{m}-{d}')
309
+      // this.drawer =true
310
+      // this.dialysisShow =true
307
     },
311
     },
308
     clickCurrent(){
312
     clickCurrent(){
309
 
313
 

+ 2 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Ver arquivo

111
             <el-tab-pane label="透析记录" name="透析记录">
111
             <el-tab-pane label="透析记录" name="透析记录">
112
             </el-tab-pane>
112
             </el-tab-pane>
113
             <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
113
             <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
114
-            <!-- <el-tab-pane label="透析历史" name="透析历史"></el-tab-pane> -->
114
+            <el-tab-pane label="透析历史" name="透析历史"></el-tab-pane>
115
 
115
 
116
           </el-tabs>
116
           </el-tabs>
117
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
117
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
191
         <dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'
191
         <dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'
192
                         :dialysisShow="dialysisShow"></dialysis-index>
192
                         :dialysisShow="dialysisShow"></dialysis-index>
193
 
193
 
194
-        <!-- <dialysishistory v-if="titleType == '透析历史'" :patientid='patientid'></dialysishistory> -->
194
+        <dialysishistory v-if="titleType == '透析历史'" :patientid='patientid'></dialysishistory>
195
       </div>
195
       </div>
196
 
196
 
197
     </div>
197
     </div>

+ 7 - 8
src/xt_pages/user/dialysisRecord.vue Ver arquivo

418
           </div> -->
418
           </div> -->
419
 
419
 
420
 
420
 
421
-          <dialysisIndextwo :record_date="dialysis_date" :patientid='patient_id' :dialysisShow="dialysisShow" :dialysis_date="dialysis_date"></dialysisIndextwo>
421
+          <!-- <dialysisIndextwo :record_date="dialysis_date" :patientid='patient_id' :dialysisShow="dialysisShow" :dialysis_date="dialysis_date"></dialysisIndextwo> -->
422
         </div>
422
         </div>
423
 
423
 
424
       </el-drawer>
424
       </el-drawer>
432
 import { uParseTime } from "@/utils/tools";
432
 import { uParseTime } from "@/utils/tools";
433
 import { parseTime } from '@/utils'
433
 import { parseTime } from '@/utils'
434
 import { fetchAllDoctorAndNurse } from "@/api/doctor";
434
 import { fetchAllDoctorAndNurse } from "@/api/doctor";
435
-import dialysisIndextwo from '../outpatientDoctorStation/components/dialysisIndextwo'
436
 import print from "print-js";
435
 import print from "print-js";
437
 
436
 
438
 export default {
437
 export default {
478
   },
477
   },
479
   components: {
478
   components: {
480
     PatientSidebar,
479
     PatientSidebar,
481
-    dialysisIndextwo
482
   },
480
   },
483
   methods: {
481
   methods: {
484
     getTime(record){
482
     getTime(record){
682
       }, 1);
680
       }, 1);
683
     },
681
     },
684
     clickCurrent(val) {
682
     clickCurrent(val) {
685
-      
683
+
686
       this.patient_id = val.patient_id
684
       this.patient_id = val.patient_id
687
       this.dialysis_date = val.dialysis_date
685
       this.dialysis_date = val.dialysis_date
688
     },
686
     },
689
     rowclick(val){
687
     rowclick(val){
688
+      // console.log('kkkkkkk',val.dialysis_date);
690
       this.$router.push({
689
       this.$router.push({
691
-        path: "/dialysis/details",
690
+        path: "/dialysis/details/indexs",
692
         query: { patient_id: val.patient_id, date: val.dialysis_date }
691
         query: { patient_id: val.patient_id, date: val.dialysis_date }
693
       });
692
       });
694
       // console.log('kkkkkkk',event);
693
       // console.log('kkkkkkk',event);
695
-      // this.patient_id = event.patient_id
696
-      // this.dialysis_date = parseTime(event.dialysis_date, '{y}-{m}-{d}')
694
+      // this.patient_id = val.patient_id
695
+      // this.dialysis_date = parseTime(val.dialysis_date, '{y}-{m}-{d}')
697
       // this.drawer =true
696
       // this.drawer =true
698
       // this.dialysisShow =true
697
       // this.dialysisShow =true
699
     },
698
     },
700
     exportList(){
699
     exportList(){
701
       import('@/vendor/Export2Excel').then(excel => {
700
       import('@/vendor/Export2Excel').then(excel => {
702
-       
701
+
703
          if(this.recordData!=null && this.recordData.length > 0){
702
          if(this.recordData!=null && this.recordData.length > 0){
704
           for(let i=0;i<this.recordData.length;i++){
703
           for(let i=0;i<this.recordData.length;i++){
705
             this.recordData[i].dialysis_date_one = this.getTimeOne(this.recordData[i].dialysis_date)
704
             this.recordData[i].dialysis_date_one = this.getTimeOne(this.recordData[i].dialysis_date)