Browse Source

患者编码与住院号

seimin 2 years ago
parent
commit
35e88ece99
2 changed files with 6 additions and 6 deletions
  1. 5 5
      pages/inspectList/inspectList.vue
  2. 1 1
      pages/scanning_ins/scanning_ins.vue

+ 5 - 5
pages/inspectList/inspectList.vue

@@ -458,9 +458,9 @@
458
           };
458
           };
459
         }
459
         }
460
         // url传递过来的住院号
460
         // url传递过来的住院号
461
-        if (this.currenDept.residenceNo) {
462
-          this.searchlist.keyWord = this.currenDept.residenceNo;
463
-          this.currenDept.residenceNo = "";
461
+        if (this.currenDept.patientCode) {
462
+          this.searchlist.keyWord = this.currenDept.patientCode;
463
+          this.currenDept.patientCode = "";
464
         }
464
         }
465
         if (this.searchlist.keyWord) {
465
         if (this.searchlist.keyWord) {
466
           postData.inspect.keyWord = this.searchlist.keyWord;
466
           postData.inspect.keyWord = this.searchlist.keyWord;
@@ -545,11 +545,11 @@
545
         let {
545
         let {
546
           id,
546
           id,
547
           dept,
547
           dept,
548
-          residenceNo
548
+          patientCode
549
         } = options;
549
         } = options;
550
         this.currenDept.id = id;
550
         this.currenDept.id = id;
551
         this.currenDept.dept = dept;
551
         this.currenDept.dept = dept;
552
-        this.currenDept.residenceNo = residenceNo;
552
+        this.currenDept.patientCode = patientCode;
553
       } else if (patientCurrentDept) {
553
       } else if (patientCurrentDept) {
554
         this.currenDept.id = patientCurrentDept.id;
554
         this.currenDept.id = patientCurrentDept.id;
555
         this.currenDept.dept = patientCurrentDept.dept;
555
         this.currenDept.dept = patientCurrentDept.dept;

+ 1 - 1
pages/scanning_ins/scanning_ins.vue

@@ -591,7 +591,7 @@
591
       // 查看检查
591
       // 查看检查
592
       getInspectList() {
592
       getInspectList() {
593
         uni.navigateTo({
593
         uni.navigateTo({
594
-          url: `../inspectList/inspectList?id=${this.infoDATA.department.id}&dept=${this.infoDATA.department.dept}&residenceNo=${this.infoDATA.residenceNo}`,
594
+          url: `../inspectList/inspectList?id=${this.infoDATA.department.id}&dept=${this.infoDATA.department.dept}&patientCode=${this.infoDATA.patientCode}`,
595
         });
595
         });
596
       },
596
       },
597
       // 通知
597
       // 通知