소스 검색

标本配送终点检验方式增加标本数字交接

seimin 1 년 전
부모
커밋
2a5d57257f
3개의 변경된 파일10개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 1
      proxy.conf.json
  2. 8 4
      src/app/views/task-type-management/task-type-management.component.ts
  3. 1 1
      src/main.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.241",
4 4
     "logLevel": "debug",
5 5
     "changeOrigin": true,
6 6
     "pathRewrite": {

+ 8 - 4
src/app/views/task-type-management/task-type-management.component.ts

@@ -1996,10 +1996,14 @@ export class TaskTypeManagementComponent implements OnInit {
1996 1996
       this.jyfsType = "drugsBag_end_method";
1997 1997
     }
1998 1998
     //标本type
1999
-    if (
2000
-      this.association.value == "specimen" ||
2001
-      this.association.value == "specimenPlan"
2002
-    ) {
1999
+    if (this.association.value == "specimen") {
2000
+      if(this.carryingCourses[this.indexs].nodeId.value == 'start'){
2001
+        this.jyfsType = "specimen_method";
2002
+      } else if(this.carryingCourses[this.indexs].nodeId.value == 'finish'){
2003
+        this.jyfsType = "specimen_end_method";
2004
+      }
2005
+    }
2006
+    if (this.association.value == "specimenPlan") {
2003 2007
       this.jyfsType = "specimen_method";
2004 2008
     }
2005 2009
     //患者陪检type

+ 1 - 1
src/main.ts

@@ -8,7 +8,7 @@ if (environment.production) {
8 8
   enableProdMode();
9 9
   if (window) {
10 10
     window.console.log = function () { };
11
-    console.info('v2.4.51');
11
+    console.info('v2.4.52');
12 12
   }
13 13
 }
14 14
 platformBrowserDynamic().bootstrapModule(AppModule)