seimin 3 years ago
parent
commit
f7ee05cedd
1 changed files with 31 additions and 7 deletions
  1. 31 7
      src/app/views/hushijiandan/hushijiandan.component.ts

+ 31 - 7
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -929,6 +929,9 @@ export class HushijiandanComponent implements OnInit {
929
           this.goodsLis = [];
929
           this.goodsLis = [];
930
           this.getOrderList();
930
           this.getOrderList();
931
           this.getDeptTaskType();
931
           this.getDeptTaskType();
932
+        } else if (data.status == 100042) {
933
+          this.showPromptModal("创建", false, data.msg);
934
+          this.getPatient(this.tabSearchCont);
932
         } else if (data.status == 1000033) {
935
         } else if (data.status == 1000033) {
933
           //重复建单那策略
936
           //重复建单那策略
934
           this.repeatMsg = data.msg;
937
           this.repeatMsg = data.msg;
@@ -936,7 +939,7 @@ export class HushijiandanComponent implements OnInit {
936
             this.confirmPostData,
939
             this.confirmPostData,
937
             "accompany5",
940
             "accompany5",
938
             this.confirmYuyue
941
             this.confirmYuyue
939
-          ); //yeye
942
+          );
940
         } else {
943
         } else {
941
           this.showPromptModal("创建", false, data.msg);
944
           this.showPromptModal("创建", false, data.msg);
942
         }
945
         }
@@ -1302,7 +1305,8 @@ export class HushijiandanComponent implements OnInit {
1302
             that.getOrderList();
1305
             that.getOrderList();
1303
             that.getDeptTaskType();
1306
             that.getDeptTaskType();
1304
           } else if (data.status == 100042) {
1307
           } else if (data.status == 100042) {
1305
-            that.showPromptModal("创建", true, data.msg);
1308
+            that.showPromptModal("创建", false, data.msg);
1309
+            this.getPatient(this.tabSearchCont);
1306
           } else if (data.status == 1000033) {
1310
           } else if (data.status == 1000033) {
1307
             //重复建单那策略
1311
             //重复建单那策略
1308
             this.repeatMsg = data.msg;
1312
             this.repeatMsg = data.msg;
@@ -1347,7 +1351,8 @@ export class HushijiandanComponent implements OnInit {
1347
             this.getOrderList();
1351
             this.getOrderList();
1348
             this.getDeptTaskType();
1352
             this.getDeptTaskType();
1349
           } else if (data.status == 100042) {
1353
           } else if (data.status == 100042) {
1350
-            this.showPromptModal("创建", true, data.msg);
1354
+            this.showPromptModal("创建", false, data.msg);
1355
+            this.getPatient(this.tabSearchCont);
1351
           } else if (data.status == 1000033) {
1356
           } else if (data.status == 1000033) {
1352
             //重复建单那策略
1357
             //重复建单那策略
1353
             this.repeatMsg = data.msg;
1358
             this.repeatMsg = data.msg;
@@ -1378,6 +1383,9 @@ export class HushijiandanComponent implements OnInit {
1378
             this.goodsLis = [];
1383
             this.goodsLis = [];
1379
             this.getOrderList();
1384
             this.getOrderList();
1380
             this.getDeptTaskType();
1385
             this.getDeptTaskType();
1386
+          } else if (data.status == 100042) {
1387
+            this.showPromptModal("创建", false, data.msg);
1388
+            this.getPatient(this.tabSearchCont);
1381
           } else if (data.status == 1000033) {
1389
           } else if (data.status == 1000033) {
1382
             //重复建单那策略
1390
             //重复建单那策略
1383
             this.repeatMsg = data.msg;
1391
             this.repeatMsg = data.msg;
@@ -1419,7 +1427,8 @@ export class HushijiandanComponent implements OnInit {
1419
             this.getOrderList();
1427
             this.getOrderList();
1420
             this.getDeptTaskType();
1428
             this.getDeptTaskType();
1421
           } else if (data.status == 100042) {
1429
           } else if (data.status == 100042) {
1422
-            this.showPromptModal("创建", true, data.msg);
1430
+            this.showPromptModal("创建", false, data.msg);
1431
+            this.getPatient(this.tabSearchCont);
1423
           } else if (data.status == 1000033) {
1432
           } else if (data.status == 1000033) {
1424
             //重复建单那策略
1433
             //重复建单那策略
1425
             this.repeatMsg = data.msg;
1434
             this.repeatMsg = data.msg;
@@ -1450,6 +1459,9 @@ export class HushijiandanComponent implements OnInit {
1450
             this.goodsLis = [];
1459
             this.goodsLis = [];
1451
             this.getOrderList();
1460
             this.getOrderList();
1452
             this.getDeptTaskType();
1461
             this.getDeptTaskType();
1462
+          } else if (data.status == 100042) {
1463
+            this.showPromptModal("创建", false, data.msg);
1464
+            this.getPatient(this.tabSearchCont);
1453
           } else if (data.status == 1000033) {
1465
           } else if (data.status == 1000033) {
1454
             //重复建单那策略
1466
             //重复建单那策略
1455
             this.repeatMsg = data.msg;
1467
             this.repeatMsg = data.msg;
@@ -2057,7 +2069,8 @@ export class HushijiandanComponent implements OnInit {
2057
             this.getOrderList();
2069
             this.getOrderList();
2058
             this.getDeptTaskType();
2070
             this.getDeptTaskType();
2059
           } else if (data.status == 100042) {
2071
           } else if (data.status == 100042) {
2060
-            this.showPromptModal("创建", true, data.msg);
2072
+            this.showPromptModal("创建", false, data.msg);
2073
+            this.getPatient(this.tabSearchCont);
2061
           } else {
2074
           } else {
2062
             this.showPromptModal("创建", false, data.msg);
2075
             this.showPromptModal("创建", false, data.msg);
2063
           }
2076
           }
@@ -2069,7 +2082,8 @@ export class HushijiandanComponent implements OnInit {
2069
             this.getOrderList();
2082
             this.getOrderList();
2070
             this.getDeptTaskType();
2083
             this.getDeptTaskType();
2071
           } else if (data.status == 100042) {
2084
           } else if (data.status == 100042) {
2072
-            this.showPromptModal("创建", true, data.msg);
2085
+            this.showPromptModal("创建", false, data.msg);
2086
+            this.getPatient(this.tabSearchCont);
2073
           } else {
2087
           } else {
2074
             this.showPromptModal("创建", false, data.msg);
2088
             this.showPromptModal("创建", false, data.msg);
2075
           }
2089
           }
@@ -2080,6 +2094,9 @@ export class HushijiandanComponent implements OnInit {
2080
             this.goodsLis = [];
2094
             this.goodsLis = [];
2081
             this.getOrderList();
2095
             this.getOrderList();
2082
             this.getDeptTaskType();
2096
             this.getDeptTaskType();
2097
+          } else if (data.status == 100042) {
2098
+            this.showPromptModal("创建", false, data.msg);
2099
+            this.getPatient(this.tabSearchCont);
2083
           } else {
2100
           } else {
2084
             this.showPromptModal("创建", false, data.msg);
2101
             this.showPromptModal("创建", false, data.msg);
2085
           }
2102
           }
@@ -2091,7 +2108,8 @@ export class HushijiandanComponent implements OnInit {
2091
             this.getOrderList();
2108
             this.getOrderList();
2092
             this.getDeptTaskType();
2109
             this.getDeptTaskType();
2093
           } else if (data.status == 100042) {
2110
           } else if (data.status == 100042) {
2094
-            this.showPromptModal("创建", true, data.msg);
2111
+            this.showPromptModal("创建", false, data.msg);
2112
+            this.getPatient(this.tabSearchCont);
2095
           } else {
2113
           } else {
2096
             this.showPromptModal("创建", false, data.msg);
2114
             this.showPromptModal("创建", false, data.msg);
2097
           }
2115
           }
@@ -2102,6 +2120,9 @@ export class HushijiandanComponent implements OnInit {
2102
             this.goodsLis = [];
2120
             this.goodsLis = [];
2103
             this.getOrderList();
2121
             this.getOrderList();
2104
             this.getDeptTaskType();
2122
             this.getDeptTaskType();
2123
+          } else if (data.status == 100042) {
2124
+            this.showPromptModal("创建", false, data.msg);
2125
+            this.getPatient(this.tabSearchCont);
2105
           } else {
2126
           } else {
2106
             this.showPromptModal("创建", false, data.msg);
2127
             this.showPromptModal("创建", false, data.msg);
2107
           }
2128
           }
@@ -2112,6 +2133,9 @@ export class HushijiandanComponent implements OnInit {
2112
             this.goodsLis = [];
2133
             this.goodsLis = [];
2113
             this.getOrderList();
2134
             this.getOrderList();
2114
             this.getDeptTaskType();
2135
             this.getDeptTaskType();
2136
+          } else if (data.status == 100042) {
2137
+            this.showPromptModal("创建", false, data.msg);
2138
+            this.getPatient(this.tabSearchCont);
2115
           } else {
2139
           } else {
2116
             this.showPromptModal("创建", false, data.msg);
2140
             this.showPromptModal("创建", false, data.msg);
2117
           }
2141
           }