Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 1 year ago
parent
commit
ef4c356836

+ 8 - 0
src/api/patient.js View File

759
     method:"get",
759
     method:"get",
760
     params:params
760
     params:params
761
   })
761
   })
762
+}
763
+
764
+export function getPatientAllagic(id,params){
765
+  return request({
766
+    url:"/api/patient/getpatientallagic?id="+id,
767
+    method:"get",
768
+    params:params
769
+  })
762
 }
770
 }

+ 80 - 7
src/xt_pages/user/components/PatientDetail.vue View File

365
                 </el-form-item>
365
                 </el-form-item>
366
               </el-col>
366
               </el-col>
367
 
367
 
368
+
369
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
370
+                <el-form-item
371
+                  label="流转地: "
372
+                >
373
+                <el-select v-model="form.patient_address" placeholder="请选择">
374
+                    <el-option
375
+                      v-for="item in liuAddresslist"
376
+                      :key="item.id"
377
+                      :label="item.name"
378
+                      :value="item.name">
379
+                    </el-option>
380
+                 </el-select>
381
+                </el-form-item>
382
+              </el-col>
383
+           
384
+
368
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
385
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
369
                 <el-form-item
386
                 <el-form-item
370
-                  label="患者去向时间 : "
387
+                  label="流转开始时间 : "
371
                 >
388
                 >
372
                 <el-date-picker
389
                 <el-date-picker
373
                   size="small"
390
                   size="small"
374
-                  disabled
375
                   v-model="form.patient_start_time"
391
                   v-model="form.patient_start_time"
376
                   prefix-icon="el-icon-date"
392
                   prefix-icon="el-icon-date"
377
                   :editable="false"
393
                   :editable="false"
386
                 </el-form-item>
402
                 </el-form-item>
387
               </el-col>
403
               </el-col>
388
 
404
 
405
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
406
+                <el-form-item
407
+                  label="流转结束时间 : "
408
+                >
409
+                <el-date-picker
410
+                  size="small"
411
+                  v-model="form.patient_end_time"
412
+                  prefix-icon="el-icon-date"
413
+                  :editable="false"
414
+                  style="width: 150px;"
415
+                  type="date"
416
+                  placeholder="选择日期时间"
417
+                  align="right"
418
+                  format="yyyy-MM-dd"
419
+                  value-format="yyyy-MM-dd"
420
+                  @change="startTimeChange"
421
+                 ></el-date-picker>
422
+                </el-form-item>
423
+              </el-col> 
424
+
389
                 <el-col :span="8" style="margin-bottom: 20px;">
425
                 <el-col :span="8" style="margin-bottom: 20px;">
390
                 <el-form-item
426
                 <el-form-item
391
                   label="备注 : "
427
                   label="备注 : "
443
                 </el-checkbox-group>
479
                 </el-checkbox-group>
444
               </el-form-item>
480
               </el-form-item>
445
 
481
 
482
+              <el-col :span="24">
483
+                 <el-form-item label="传染病细分:" v-if="form.is_infectious == '2'">
484
+                    <el-input v-model="form.infectious_remark"></el-input>
485
+                 </el-form-item>
486
+              </el-col>
487
+
446
               <el-form-item label="疑难内瘘:">
488
               <el-form-item label="疑难内瘘:">
447
                 <el-radio-group v-model="form.troble_shoot" disabled>
489
                 <el-radio-group v-model="form.troble_shoot" disabled>
448
                   <el-radio :label="1">是</el-radio>
490
                   <el-radio :label="1">是</el-radio>
766
               </el-form-item>
808
               </el-form-item>
767
             </el-col>
809
             </el-col>
768
           </el-row>
810
           </el-row>
811
+          <el-row :gutter="24">
812
+            <el-col :span="24">
813
+              <el-form-item label="过敏史 : " prop="past_history">
814
+                <el-input
815
+                  type="textarea"
816
+                  :rows="3"
817
+                  v-model="form.allergic_history"
818
+                  resize="none"
819
+                  placeholder=""
820
+                ></el-input>
821
+              </el-form-item>
822
+            </el-col>
823
+          </el-row>
769
           <el-row :gutter="24">
824
           <el-row :gutter="24">
770
             <el-col :span="24">
825
             <el-col :span="24">
771
               <el-form-item label="体格检查">
826
               <el-form-item label="体格检查">
1081
                 </tr>
1136
                 </tr>
1082
                 <tr>
1137
                 <tr>
1083
                   <td>
1138
                   <td>
1084
-                    <div class="td_proj_title" v-if="org_id !=10278 && org_id!=10138 && org_id!=0">传<br />染<br />病</div>
1085
-                    <div class="td_proj_title" v-if="org_id==10138 || org_id == 10278 || org_id == 0">过<br />敏<br />史</div>
1139
+                    <div class="td_proj_title">过敏史</div>
1140
+                    <!-- <div class="td_proj_title" v-if="org_id !=10278 && org_id!=10138 && org_id!=0">传<br />染<br />病</div>
1141
+                    <div class="td_proj_title" v-if="org_id==10138 || org_id == 10278 || org_id == 0">过<br />敏<br />史</div> -->
1086
                   </td>
1142
                   </td>
1087
                   <td colspan="7">
1143
                   <td colspan="7">
1088
                     <div class="td_proj_content td_align_left">
1144
                     <div class="td_proj_content td_align_left">
1089
-                      {{ patientPrint.contagions }}
1145
+                      {{ patientPrint.allergic_history }}
1090
                     </div>
1146
                     </div>
1091
                   </td>
1147
                   </td>
1092
                 </tr>
1148
                 </tr>
1294
   record_number:"",
1350
   record_number:"",
1295
   patient_source:"",
1351
   patient_source:"",
1296
   patient_start_time:"",
1352
   patient_start_time:"",
1353
+  patient_end_time:"",
1354
+  patient_address:"",
1355
+  infectious_remark:"",
1356
+  allergic_history:"",
1297
 };
1357
 };
1298
 
1358
 
1299
 export default {
1359
 export default {
1315
         {value:1,label:"门诊"},
1375
         {value:1,label:"门诊"},
1316
         {value:2,label:"住院"},
1376
         {value:2,label:"住院"},
1317
         {value:3,label:"请假"},
1377
         {value:3,label:"请假"},
1318
-        {value:4,label:"备注"}
1378
+        {value:4,label:"流转"}
1319
       ],
1379
       ],
1320
       generic_info_fold: true,
1380
       generic_info_fold: true,
1321
       treat_info_fold: true,
1381
       treat_info_fold: true,
1399
         { id: 2, name: "否" },
1459
         { id: 2, name: "否" },
1400
       ],
1460
       ],
1401
       operators:[],
1461
       operators:[],
1462
+      liuAddresslist:[],
1402
     };
1463
     };
1403
   },
1464
   },
1404
   computed: {
1465
   computed: {
1410
     },
1471
     },
1411
   },
1472
   },
1412
   created() {
1473
   created() {
1474
+    this.liuAddresslist = getDataConfig('hemodialysis', 'liu_address')
1475
+    console.log("liuAddresslist",this.liuAddresslist)
1413
     this.org_id = this.$store.getters.xt_user.org.id;
1476
     this.org_id = this.$store.getters.xt_user.org.id;
1414
     this.form.doctor = this.$store.getters.xt_user.user.id
1477
     this.form.doctor = this.$store.getters.xt_user.user.id
1415
     console.log("owowow",this.$store.getters.xt_user.user.id)
1478
     console.log("owowow",this.$store.getters.xt_user.user.id)
1643
                 "{y}-{m}-{d}"
1706
                 "{y}-{m}-{d}"
1644
               );
1707
               );
1645
             }
1708
             }
1709
+
1710
+            if (patietInfo.patient_end_time != 0) {
1711
+              this.form.patient_end_time = uParseTime(
1712
+                patietInfo.patient_end_time,
1713
+                "{y}-{m}-{d}"
1714
+              );
1715
+            }
1716
+            this.form.patient_address = patietInfo.patient_address
1717
+            this.form.allergic_history = patietInfo.allergic_history
1718
+            this.form.infectious_remark = patietInfo.infectious_remark
1646
             // this.form.initial = patietInfo.initial_dialysis + "";
1719
             // this.form.initial = patietInfo.initial_dialysis + "";
1647
             // this.form.dialysisTotal = patietInfo.total_dialysis + "";
1720
             // this.form.dialysisTotal = patietInfo.total_dialysis + "";
1648
             // this.form.assessment = patietInfo.evaluate;
1721
             // this.form.assessment = patietInfo.evaluate;
1976
               this.patientPrint.hospital_first_dialysis_date = "";
2049
               this.patientPrint.hospital_first_dialysis_date = "";
1977
             }
2050
             }
1978
 
2051
 
1979
-          
2052
+           
1980
 
2053
 
1981
             this.checkIdCardNo();
2054
             this.checkIdCardNo();
1982
           } else {
2055
           } else {

+ 24 - 12
src/xt_pages/user/components/PatientForm.vue View File

412
            
412
            
413
 
413
 
414
             
414
             
415
-              <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
415
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
416
                 <el-form-item
416
                 <el-form-item
417
-                  label="流转地: "
417
+                  label="流转地: "
418
                 >
418
                 >
419
                 <el-select v-model="form.patient_address" placeholder="请选择">
419
                 <el-select v-model="form.patient_address" placeholder="请选择">
420
                     <el-option
420
                     <el-option
425
                     </el-option>
425
                     </el-option>
426
                  </el-select>
426
                  </el-select>
427
                 </el-form-item>
427
                 </el-form-item>
428
-              </el-col> -->
428
+              </el-col>
429
            
429
            
430
  
430
  
431
              
431
              
449
                 </el-form-item>
449
                 </el-form-item>
450
               </el-col>
450
               </el-col>
451
 
451
 
452
-              <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
452
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
453
                 <el-form-item
453
                 <el-form-item
454
                   label="流转结束时间 : "
454
                   label="流转结束时间 : "
455
                 >
455
                 >
467
                   @change="startTimeChange"
467
                   @change="startTimeChange"
468
                  ></el-date-picker>
468
                  ></el-date-picker>
469
                 </el-form-item>
469
                 </el-form-item>
470
-              </el-col> -->
470
+              </el-col> 
471
            
471
            
472
              
472
              
473
 
473
 
528
 
528
 
529
               </el-col>
529
               </el-col>
530
 
530
 
531
-              <!-- <el-col :span="24">
531
+              <el-col :span="24">
532
                  <el-form-item label="传染病细分:" v-if="form.is_infectious == '2'">
532
                  <el-form-item label="传染病细分:" v-if="form.is_infectious == '2'">
533
                     <el-input v-model="form.infectious_remark"></el-input>
533
                     <el-input v-model="form.infectious_remark"></el-input>
534
                  </el-form-item>
534
                  </el-form-item>
535
-              </el-col> -->
535
+              </el-col>
536
 
536
 
537
               <el-col :span="8">
537
               <el-col :span="8">
538
                 <el-form-item label="疑难内瘘 : " prop="contagions">
538
                 <el-form-item label="疑难内瘘 : " prop="contagions">
896
               </el-form-item>
896
               </el-form-item>
897
             </el-col>
897
             </el-col>
898
           </el-row>
898
           </el-row>
899
-          <!-- <el-row :gutter="24">
899
+          <el-row :gutter="24">
900
             <el-col :span="24">
900
             <el-col :span="24">
901
               <el-form-item label="过敏史 : " prop="past_history">
901
               <el-form-item label="过敏史 : " prop="past_history">
902
                 <el-input
902
                 <el-input
908
                 ></el-input>
908
                 ></el-input>
909
               </el-form-item>
909
               </el-form-item>
910
             </el-col>
910
             </el-col>
911
-          </el-row> -->
911
+          </el-row>
912
           <el-row :gutter="24">
912
           <el-row :gutter="24">
913
             <el-col :span="24">
913
             <el-col :span="24">
914
               <el-form-item label="体格检查">
914
               <el-form-item label="体格检查">
1514
     }
1514
     }
1515
   },
1515
   },
1516
   created() {
1516
   created() {
1517
-  // this.liuAddresslist = getDataConfig('hemodialysis', 'liu_address')
1518
-  // console.log("liuAddresslist",this.liuAddresslist)
1517
+    this.liuAddresslist = getDataConfig('hemodialysis', 'liu_address')
1518
+    console.log("liuAddresslist",this.liuAddresslist)
1519
    this.fetchAllAdminUsers();
1519
    this.fetchAllAdminUsers();
1520
  
1520
  
1521
 
1521
 
1892
               this.form.gender = patietInfo.gender;
1892
               this.form.gender = patietInfo.gender;
1893
             }
1893
             }
1894
             this.form.birth = uParseTime(patietInfo.birthday, "{y}-{m}-{d}");
1894
             this.form.birth = uParseTime(patietInfo.birthday, "{y}-{m}-{d}");
1895
-            console.log("中共232323232322323我-------------",this.form.birth)
1895
+           
1896
             this.form.nation = patietInfo.nation;
1896
             this.form.nation = patietInfo.nation;
1897
             this.form.native_place = patietInfo.native_place;
1897
             this.form.native_place = patietInfo.native_place;
1898
             this.form.height = patietInfo.height + "";
1898
             this.form.height = patietInfo.height + "";
2066
                 "{y}-{m}-{d}"
2066
                 "{y}-{m}-{d}"
2067
               );
2067
               );
2068
             }
2068
             }
2069
+
2070
+            if (patietInfo.patient_end_time != 0) {
2071
+              this.form.patient_end_time = uParseTime(
2072
+                patietInfo.patient_end_time,
2073
+                "{y}-{m}-{d}"
2074
+              );
2075
+            }
2076
+            this.form.patient_address = patietInfo.patient_address
2077
+            this.form.allergic_history = patietInfo.allergic_history
2078
+            this.form.infectious_remark = patietInfo.infectious_remark
2079
+
2080
+
2069
             this.checkIdCardNo();
2081
             this.checkIdCardNo();
2070
           } else {
2082
           } else {
2071
             this.$notify.error({
2083
             this.$notify.error({

+ 45 - 27
src/xt_pages/user/dialysisSolution.vue View File

1244
       },
1244
       },
1245
 
1245
 
1246
       'addPlan.dialysis_duration': function() {
1246
       'addPlan.dialysis_duration': function() {
1247
-
1248
-        this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
1249
-          this.addPlan.anticoagulant_shouji,
1250
-          this.addPlan.dialysis_duration,
1251
-          this.addPlan.anticoagulant_weichi
1252
-        )
1247
+        
1248
+        if(this.addPlan.id == 0){
1249
+            this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
1250
+            this.addPlan.anticoagulant_shouji,
1251
+            this.addPlan.dialysis_duration,
1252
+            this.addPlan.anticoagulant_weichi
1253
+          )
1254
+        }
1255
+      
1253
       },
1256
       },
1254
       'addPlan.anticoagulant_shouji': function() {
1257
       'addPlan.anticoagulant_shouji': function() {
1255
-
1256
-        this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
1257
-          this.addPlan.anticoagulant_shouji,
1258
-          this.addPlan.dialysis_duration,
1259
-          this.addPlan.anticoagulant_weichi
1260
-        )
1261
-
1262
-        if(this.$store.getters.xt_user.template_info.template_id == 41 && this.addPlan.anticoagulant == 2 ){
1263
-          this.addPlan.anticoagulant_zongliang = ""
1264
-          this.addPlan.anticoagulant_zongliang = parseInt(this.addPlan.anticoagulant_shouji) + parseInt(this.addPlan.anticoagulant_weichi)
1258
+      
1259
+         if(this.addPlan.id == 0){
1260
+            this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
1261
+            this.addPlan.anticoagulant_shouji,
1262
+            this.addPlan.dialysis_duration,
1263
+            this.addPlan.anticoagulant_weichi
1264
+          )
1265
+         }
1266
+     
1267
+       
1268
+        if(this.addPlan.id == 0){
1269
+          if(this.$store.getters.xt_user.template_info.template_id == 41 && this.addPlan.anticoagulant == 2 ){
1270
+            this.addPlan.anticoagulant_zongliang = ""
1271
+            this.addPlan.anticoagulant_zongliang = parseInt(this.addPlan.anticoagulant_shouji) + parseInt(this.addPlan.anticoagulant_weichi)
1272
+         }
1265
         }
1273
         }
1274
+      
1266
 
1275
 
1267
       },
1276
       },
1268
       'addPlan.anticoagulant_weichi': function() {
1277
       'addPlan.anticoagulant_weichi': function() {
1269
-        this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1270
-          1,
1271
-          this.addPlan.anticoagulant_shouji,
1272
-          this.addPlan.dialysis_duration,
1273
-          this.addPlan.anticoagulant_weichi
1274
-        )
1275
 
1278
 
1276
-        if(this.$store.getters.xt_user.template_info.template_id == 41 && this.addPlan.anticoagulant == 2 ){
1277
-          this.addPlan.anticoagulant_zongliang = ""
1278
-          this.addPlan.anticoagulant_zongliang = parseInt(this.addPlan.anticoagulant_shouji) + parseInt(this.addPlan.anticoagulant_weichi)
1279
-        }
1279
+        if(this.addPlan.id == 0){
1280
+            this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1281
+            1,
1282
+            this.addPlan.anticoagulant_shouji,
1283
+            this.addPlan.dialysis_duration,
1284
+            this.addPlan.anticoagulant_weichi
1285
+         )
1286
+        }
1287
+      
1288
+        
1289
+        if(this.addPlan.id == 0){
1290
+          if(this.$store.getters.xt_user.template_info.template_id == 41 && this.addPlan.anticoagulant == 2 ){
1291
+            this.addPlan.anticoagulant_zongliang = ""
1292
+            this.addPlan.anticoagulant_zongliang = parseInt(this.addPlan.anticoagulant_shouji) + parseInt(this.addPlan.anticoagulant_weichi)
1293
+         }
1294
+        }
1295
+      
1280
       }
1296
       }
1281
     },
1297
     },
1282
 
1298
 
1831
         this.getDialysisSolutionDetailList()
1847
         this.getDialysisSolutionDetailList()
1832
       },
1848
       },
1833
       openEdit(index, row) {
1849
       openEdit(index, row) {
1834
-       
1850
+        console.log("rowsoososososso",row)
1835
         this.current_index = index
1851
         this.current_index = index
1836
         this.addPlan.id = row.id
1852
         this.addPlan.id = row.id
1837
         this.addPlan.mode = row.mode_id
1853
         this.addPlan.mode = row.mode_id
2014
 
2030
 
2015
         this.addPlan.amylaceum = row.amylaceum
2031
         this.addPlan.amylaceum = row.amylaceum
2016
         this.addPlan.chaptalization = row.chaptalization
2032
         this.addPlan.chaptalization = row.chaptalization
2033
+
2034
+
2017
       },
2035
       },
2018
       isShows(name) {
2036
       isShows(name) {
2019
         var filedList = store.getters.xt_user.fileds
2037
         var filedList = store.getters.xt_user.fileds

+ 64 - 8
src/xt_pages/user/patients.vue View File

461
             <el-tooltip
461
             <el-tooltip
462
               class="item"
462
               class="item"
463
               effect="dark"
463
               effect="dark"
464
-              content="预览"
464
+              content="流转记录"
465
               placement="top"
465
               placement="top"
466
             >
466
             >
467
               <el-button
467
               <el-button
468
                 type="danger"
468
                 type="danger"
469
                 icon="el-icon-tickets"
469
                 icon="el-icon-tickets"
470
                 size="small"
470
                 size="small"
471
-                @click="
472
-                  OpenView(scope.row.name, scope.row.dialysis_no, scope.row.id)
473
-                "
471
+                @click="toOpen(scope.row.id)"
474
               ></el-button>
472
               ></el-button>
475
             </el-tooltip>
473
             </el-tooltip>
476
 
474
 
631
           ></el-pagination>
629
           ></el-pagination>
632
     </el-dialog>
630
     </el-dialog>
633
 
631
 
632
+    <el-dialog
633
+        title="流转记录"
634
+        :visible.sync="patieintDialogVisible"
635
+        width="50%">
636
+        <span>
637
+          <el-table
638
+            :data="patientAllgicList"
639
+            border
640
+            style="width: 100%">
641
+            <el-table-column  prop="date" label="流转地"  width="180"  align="center">
642
+              <template  slot-scope="scope">
643
+                 {{ scope.row.patient_address }}
644
+
645
+              </template>
646
+            </el-table-column>
647
+            <el-table-column  prop="name" label="流转开始时间"  width="180"   align="center">
648
+              <template  slot-scope="scope"  >
649
+                 {{ getTime(scope.row.start_time) }}
650
+
651
+              </template>
652
+            </el-table-column>
653
+
654
+            <el-table-column  prop="name" label="开始流转结束时间"  width="180"   align="center">
655
+              <template  slot-scope="scope"  >
656
+                {{ getTime(scope.row.end_time) }}
657
+
658
+              </template>
659
+            </el-table-column>
660
+            <el-table-column  prop="address"  label="流转地址"   align="center">
661
+              <template  slot-scope="scope" >
662
+                {{ scope.row.patient_address }}
663
+              </template>
664
+            </el-table-column>
665
+
666
+            <el-table-column  prop="address"  label="备注"   align="center">
667
+              <template  slot-scope="scope">
668
+                {{ scope.row.remake }}
669
+              </template>
670
+            </el-table-column>
671
+          </el-table>
672
+
673
+        </span>
674
+        <span slot="footer" class="dialog-footer">
675
+          <el-button @click="patieintDialogVisible = false">取 消</el-button>
676
+        </span>
677
+    </el-dialog>
678
+
634
   </div>
679
   </div>
635
 </template>
680
 </template>
636
 
681
 
637
 <script>
682
 <script>
638
-  import { code, EditLapseto, fetchList, getMaxDialysisNo, OpenView, postExportPatients,GetRemind } from '@/api/patient'
683
+  import { code, EditLapseto, fetchList, getMaxDialysisNo, OpenView, postExportPatients,GetRemind,getPatientAllagic } from '@/api/patient'
639
   import { generateLog } from '@/api/config'
684
   import { generateLog } from '@/api/config'
640
   import QRCode from 'qrcodejs2'
685
   import QRCode from 'qrcodejs2'
641
   import Vue from 'vue'
686
   import Vue from 'vue'
673
         exportVisible:false,
718
         exportVisible:false,
674
         phoneVisible:false,
719
         phoneVisible:false,
675
         idCardNoVisible:false,
720
         idCardNoVisible:false,
721
+        patieintDialogVisible:false,
676
         wechatbindimg: '',
722
         wechatbindimg: '',
677
         isShow:true,
723
         isShow:true,
678
         active: true,
724
         active: true,
716
           {value:1,label:"门诊",source:1,lapeseto:1},
762
           {value:1,label:"门诊",source:1,lapeseto:1},
717
           {value:2,label:"住院",source:2,lapeseto:2},
763
           {value:2,label:"住院",source:2,lapeseto:2},
718
           {value:3,label:"请假",source:3,lapeseto:3},
764
           {value:3,label:"请假",source:3,lapeseto:3},
719
-          {value:4,label:"备注",source:4,lapeseto:4}
765
+          {value:4,label:"流转",source:4,lapeseto:4}
720
        ],
766
        ],
721
         lapsetoArr: [
767
         lapsetoArr: [
722
           { value: 0, label: '全部', source: 0, lapseto: 0 },
768
           { value: 0, label: '全部', source: 0, lapseto: 0 },
792
         gridData:[],
838
         gridData:[],
793
         totalOne: 0,
839
         totalOne: 0,
794
         page: 1,
840
         page: 1,
795
-        limit: 5
841
+        limit: 5,
842
+        patientAllgicList:[]
796
       }
843
       }
797
     },
844
     },
798
     created() {
845
     created() {
1385
             return false
1432
             return false
1386
           } else {
1433
           } else {
1387
             this.tableData = response.data.data.patients
1434
             this.tableData = response.data.data.patients
1388
-
1435
+            console.log("wowowowo",this.tableData)
1389
             this.pageTotal = this.tableData.length
1436
             this.pageTotal = this.tableData.length
1390
             this.total = response.data.data.total
1437
             this.total = response.data.data.total
1391
 
1438
 
1614
         return jsGetAge(birth, '-');
1661
         return jsGetAge(birth, '-');
1615
       }
1662
       }
1616
     },
1663
     },
1664
+    toOpen(id){
1665
+      getPatientAllagic(id).then(response=>{
1666
+        if(response.data.state == 1){
1667
+          var list =  response.data.data.list
1668
+          this.patieintDialogVisible=  true
1669
+          this.patientAllgicList = list
1670
+        }
1671
+      })
1672
+    }
1617
     }
1673
     }
1618
   }
1674
   }
1619
   Vue.prototype.$QRCode = function() {
1675
   Vue.prototype.$QRCode = function() {