seimin 4 miesięcy temu
rodzic
commit
f423669723
2 zmienionych plików z 13 dodań i 9 usunięć
  1. 1 1
      proxy.conf.json
  2. 12 8
      src/app/views/fuwutai/fuwutai.component.ts

+ 1 - 1
proxy.conf.json

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "/service": {
3
-		"target": "http://192.168.3.108",
3
+		"target": "http://192.168.4.105",
4 4
     "logLevel": "debug",
5 5
     "changeOrigin": true,
6 6
     "pathRewrite": {

+ 12 - 8
src/app/views/fuwutai/fuwutai.component.ts

@@ -3901,16 +3901,20 @@ export class FuwutaiComponent implements OnInit {
3901 3901
           }
3902 3902
         }
3903 3903
       });
3904
-
3905
-      this.mainService.getTaskTypeCountRemarkList({
3906
-        hosId: this.checkedHos,
3907
-      }).subscribe((data) => {
3908
-        if (data["status"] == 200){
3909
-          this.countRemarkList = data.data || [];
3910
-        }
3911
-      })
3904
+      this.getTaskTypeCountRemarkList();
3912 3905
     }
3913 3906
   }
3907
+  // 查类型
3908
+  getTaskTypeCountRemarkList(){
3909
+    this.mainService.getTaskTypeCountRemarkList({
3910
+        hosId: this.checkedHos,
3911
+        typeValues: 'other,specimen,ordinary',
3912
+    }).subscribe((data) => {
3913
+      if (data["status"] == 200){
3914
+        this.countRemarkList = data.data || [];
3915
+      }
3916
+    })
3917
+  }
3914 3918
   // 终点科室选中
3915 3919
   endDeptZyChange() {
3916 3920
     if (!this.applyDept || !this.endDeptZy) {