csx 4 gadus atpakaļ
vecāks
revīzija
9f45c46fca

+ 10 - 11
src/xt_pages/user/components/PatientForm.vue Parādīt failu

@@ -615,14 +615,13 @@
615 615
     contact_name:'',
616 616
 
617 617
 
618
-
619 618
     formItem:[
620 619
       { id: 0,
621 620
         item: "",
622 621
         item_id: 104,
623
-        item_name: "甲型肝抗体测定(Anti-HAV:各种免疫方法)",
622
+        item_name: "丙型肝炎病毒核心抗体(AntiHCV)",
624 623
         project_id: 14,
625
-        project_name: "甲肝乙肝丙肝梅毒HIV",
624
+        project_name: "传染病检查",
626 625
         range_type: 2,
627 626
         select_options: ["阴性", "阳性", "弱阳性"],
628 627
         unit: "",
@@ -631,9 +630,9 @@
631 630
       { id: 0,
632 631
         item: "",
633 632
         item_id: 105,
634
-        item_name: "乙型肝炎表面抗原测定(HBsAg:酶标法)",
633
+        item_name: "乙型肝炎病毒表面抗原(HBsAg)",
635 634
         project_id: 14,
636
-        project_name: "甲肝乙肝丙肝梅毒HIV",
635
+        project_name: "传染病检查",
637 636
         range_type: 2,
638 637
         select_options: ["阴性", "阳性", "弱阳性"],
639 638
         unit: "",
@@ -644,7 +643,7 @@
644 643
         item_id: 106,
645 644
         item_name: "乙型肝炎表面抗体测定(Anti-HBs:酶标法)",
646 645
         project_id: 14,
647
-        project_name: "甲肝乙肝丙肝梅毒HIV",
646
+        project_name: "传染病检查",
648 647
         range_type: 2,
649 648
         select_options: ["阴性", "阳性", "弱阳性"],
650 649
         unit: "",
@@ -655,7 +654,7 @@
655 654
         item_id: 107,
656 655
         item_name: "乙型肝炎e抗原测定(HBeAg:酶标法)",
657 656
         project_id: 14,
658
-        project_name: "甲肝乙肝丙肝梅毒HIV",
657
+        project_name: "传染病检查",
659 658
         range_type: 2,
660 659
         select_options: ["阴性", "阳性", "弱阳性"],
661 660
         unit: "",
@@ -665,7 +664,7 @@
665 664
         item_id: 108,
666 665
         item_name: "乙型肝炎e抗体测定(Anti-Hbe:酶标法)",
667 666
         project_id: 14,
668
-        project_name: "甲肝乙肝丙肝梅毒HIV",
667
+        project_name: "传染病检查",
669 668
         range_type: 2,
670 669
         select_options: ["阴性", "阳性", "弱阳性"],
671 670
         unit: "",
@@ -675,7 +674,7 @@
675 674
         item_id: 109,
676 675
         item_name: "乙型肝炎核心抗体测定(Anti-HBc)",
677 676
         project_id: 14,
678
-        project_name: "甲肝乙肝丙肝梅毒HIV",
677
+        project_name: "传染病检查",
679 678
         range_type: 2,
680 679
         select_options: ["阴性", "阳性", "弱阳性"],
681 680
         unit: "",
@@ -685,7 +684,7 @@
685 684
         item_id: 110,
686 685
         item_name: "丙型肝炎抗体测定(Anti-HCV:定性)",
687 686
         project_id: 14,
688
-        project_name: "甲肝乙肝丙肝梅毒HIV",
687
+        project_name: "传染病检查",
689 688
         range_type: 2,
690 689
         select_options: ["阴性", "阳性", "弱阳性"],
691 690
         unit: "",
@@ -695,7 +694,7 @@
695 694
         item_id: 111,
696 695
         item_name: "人类免疫缺陷病毒抗体测定(Anti-HIV)",
697 696
         project_id: 14,
698
-        project_name: "甲肝乙肝丙肝梅毒HIV",
697
+        project_name: "传染病检查",
699 698
         range_type: 2,
700 699
         select_options: ["阴性", "阳性", "弱阳性"],
701 700
         unit: "",

+ 16 - 0
src/xt_pages/user/inspection.vue Parādīt failu

@@ -290,6 +290,8 @@ export default {
290 290
         });
291 291
       }
292 292
 
293
+      console.log( this.form.formItem)
294
+
293 295
       this.dialogFormVisible = true;
294 296
 
295 297
     },
@@ -339,6 +341,10 @@ export default {
339 341
           for( var index in this.form.formItem) {
340 342
             this.form.formItem[index].value = '' + this.form.formItem[index].value;
341 343
           }
344
+
345
+
346
+
347
+
342 348
           EditPatientInspection(this.patientID, this.form,this.form.remind_cycle).then(response=>{
343 349
             if (response.data.state==1) {
344 350
               this.$notify({
@@ -473,6 +479,14 @@ export default {
473 479
               this.resetForm(formName);
474 480
               this.dialogFormVisible = false;
475 481
 
482
+
483
+              this.queryParams.patient = this.patientID;
484
+              this.queryParams.project_id = this.project.project_id;
485
+              this.queryParams.page = 1;
486
+              this.total = 0;
487
+              this.fetchPatientInspections(this.queryParams);
488
+
489
+
476 490
             }else {
477 491
               this.$message.error(response.data.msg);
478 492
               return false;
@@ -577,6 +591,8 @@ export default {
577 591
               this.items.push(item);
578 592
             }
579 593
           }
594
+          console.log(this.items)
595
+
580 596
         }
581 597
       }).catch(v=>{});
582 598
       setTimeout(() => {