yq1 пре 1 година
родитељ
комит
87ab942713

+ 12 - 0
src/router/modules/dialysis.js Прегледај датотеку

@@ -350,6 +350,18 @@ export default {
350 350
       is_menu: false,
351 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 367
       path: '/dialysis/print/batch',

+ 8 - 4
src/xt_pages/outpatientDoctorStation/components/dialysishistory.vue Прегледај датотеку

@@ -300,10 +300,14 @@ export default{
300 300
 
301 301
     },
302 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 312
     clickCurrent(){
309 313
 

+ 2 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Прегледај датотеку

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

+ 7 - 8
src/xt_pages/user/dialysisRecord.vue Прегледај датотеку

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