Pārlūkot izejas kodu

万能交接工单详情修改

seimin 1 gadu atpakaļ
vecāks
revīzija
38ae695a1f

+ 2 - 2
proxy.conf.json

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "/service": {
3
-    "target": "http://weixintest16.ngser.dashitech.com",
3
+    "target": "http://192.168.4.241",
4 4
     "logLevel": "debug",
5 5
     "changeOrigin": true,
6 6
     "pathRewrite": {
@@ -8,7 +8,7 @@
8 8
     }
9 9
   },
10 10
   "/file": {
11
-    "target": "http://weixintest16.ngser.dashitech.com",
11
+    "target": "http://192.168.3.108",
12 12
     "logLevel": "debug",
13 13
     "changeOrigin": true,
14 14
     "pathRewrite": {

src/app/share/detail-blood/detail-blood.component.html → src/app/share/detail-ordinary/detail-ordinary.component.html


src/app/share/detail-blood/detail-blood.component.less → src/app/share/detail-ordinary/detail-ordinary.component.less


+ 4 - 4
src/app/share/detail-blood/detail-blood.component.ts

@@ -7,11 +7,11 @@ import { ToolService } from "src/app/services/tool.service";
7 7
 import { OverlayScrollbarsComponent } from 'overlayscrollbars-ngx';
8 8
 
9 9
 @Component({
10
-  selector: "app-detail-blood",
11
-  templateUrl: "./detail-blood.component.html",
12
-  styleUrls: ["./detail-blood.component.less"],
10
+  selector: "app-detail-ordinary",
11
+  templateUrl: "./detail-ordinary.component.html",
12
+  styleUrls: ["./detail-ordinary.component.less"],
13 13
 })
14
-export class DetailBloodComponent implements OnInit {
14
+export class DetailOrdinaryComponent implements OnInit {
15 15
   @ViewChild("osComponentRef1", {
16 16
     read: OverlayScrollbarsComponent,
17 17
     static: false,

+ 2 - 2
src/app/share/order-detail/order-detail.component.html

@@ -830,12 +830,12 @@
830 830
         </div>
831 831
       </div>
832 832
     </overlay-scrollbars>
833
-    <!-- 万能交接服务-血制品工单信息 -->
833
+    <!-- 万能交接服务 -->
834 834
     <overlay-scrollbars
835 835
     #osComponentRef9
836 836
     style="height: 90%; flex: 1"
837 837
     *ngIf="
838
-      tabType == 1 && orderInfo.taskType.associationType.value == 'ordinary' && orderInfo.taskType.ordinaryField.value == 'blood'
838
+      tabType == 1 && orderInfo.taskType.associationType.value == 'ordinary'
839 839
     "
840 840
   >
841 841
     <div class="content orders">

+ 4 - 4
src/app/share/share.module.ts

@@ -39,13 +39,13 @@ import { SpePromptModalComponent } from './spe-prompt-modal/spe-prompt-modal.com
39 39
 import { OrderPromptModalComponent } from './order-prompt-modal/order-prompt-modal.component';
40 40
 import { BusinessDataDetailModalComponent } from './businessData-detail-modal/businessData-detail-modal.component';
41 41
 import { RelationTransDetailModalComponent } from './relationTrans-detail-modal/relationTrans-detail-modal.component';
42
-import { DetailBloodComponent } from './detail-blood/detail-blood.component';
42
+import { DetailOrdinaryComponent } from './detail-ordinary/detail-ordinary.component';
43 43
 import { BloodHistoryPromptModalComponent } from './blood-history-prompt-modal/blood-history-prompt-modal.component';
44 44
 
45 45
 @NgModule({
46 46
   declarations: [
47 47
     DetailSampleComponent,
48
-    DetailBloodComponent,
48
+    DetailOrdinaryComponent,
49 49
     DetailPatientsComponent,
50 50
     DetailDrugComponent,
51 51
     DetailOthersComponent,
@@ -80,7 +80,7 @@ import { BloodHistoryPromptModalComponent } from './blood-history-prompt-modal/b
80 80
     OrderPromptModalComponent,
81 81
     BusinessDataDetailModalComponent,
82 82
     RelationTransDetailModalComponent,
83
-    DetailBloodComponent,
83
+    DetailOrdinaryComponent,
84 84
     BloodHistoryPromptModalComponent,
85 85
   ],
86 86
   imports: [
@@ -95,7 +95,7 @@ import { BloodHistoryPromptModalComponent } from './blood-history-prompt-modal/b
95 95
   ],
96 96
   exports: [
97 97
     DetailSampleComponent,
98
-    DetailBloodComponent,
98
+    DetailOrdinaryComponent,
99 99
     DetailPatientsComponent,
100 100
     DetailDrugComponent,
101 101
     DetailOthersComponent,

+ 4 - 4
src/app/views/fuwutai/fuwutai-routing.module.ts

@@ -6,7 +6,7 @@ import { DetailDrugComponent } from '../../share/detail-drug/detail-drug.compone
6 6
 import { DetailOthersComponent } from '../../share/detail-others/detail-others.component';
7 7
 import { AllocationWorkerComponent } from '../../share/allocation-worker/allocation-worker.component';
8 8
 import { FuwutaiComponent } from './fuwutai.component';
9
-import { DetailBloodComponent } from 'src/app/share/detail-blood/detail-blood.component';
9
+import { DetailOrdinaryComponent } from 'src/app/share/detail-ordinary/detail-ordinary.component';
10 10
 
11 11
 
12 12
 const routes: Routes = [
@@ -20,9 +20,9 @@ const routes: Routes = [
20 20
         component: DetailSampleComponent
21 21
       },
22 22
       {
23
-        // 工单详情-万能交接服务-血制品
24
-        path: 'detailBlood/:id',
25
-        component: DetailBloodComponent
23
+        // 工单详情-万能交接服务
24
+        path: 'detailOrdinary/:id',
25
+        component: DetailOrdinaryComponent
26 26
       },
27 27
       {
28 28
         // 工单详情-送患者

+ 3 - 3
src/app/views/fuwutai/fuwutai.component.ts

@@ -1107,9 +1107,9 @@ export class FuwutaiComponent implements OnInit {
1107 1107
     } else if (data.taskType.associationType.value == 'drugsBag' || data.taskType.associationType.value == 'jPBag') {
1108 1108
       // 药品配送/静配
1109 1109
       this.router.navigateByUrl("dispatchingDesk/detailDrug/" + data.id);
1110
-    } else if (data.taskType.associationType.value == 'ordinary' && data.taskType.ordinaryField.value == 'blood') {
1111
-      // 万能交接服务&&血制品
1112
-      this.router.navigateByUrl("dispatchingDesk/detailBlood/" + data.id);
1110
+    } else if (data.taskType.associationType.value == 'ordinary') {
1111
+      // 万能交接服务
1112
+      this.router.navigateByUrl("dispatchingDesk/detailOrdinary/" + data.id);
1113 1113
     } else {
1114 1114
       // 其他
1115 1115
       this.router.navigateByUrl("dispatchingDesk/detailOthers/" + data.id);

+ 4 - 4
src/app/views/hushijiandan/hushijiandan-routing.module.ts

@@ -7,7 +7,7 @@ import { DetailDrugComponent } from '../../share/detail-drug/detail-drug.compone
7 7
 import { DetailOthersComponent } from '../../share/detail-others/detail-others.component';
8 8
 import { AllocationWorkerComponent } from '../../share/allocation-worker/allocation-worker.component';
9 9
 import { DetailBxComponent } from 'src/app/share/detail-bx/detail-bx.component';
10
-import { DetailBloodComponent } from 'src/app/share/detail-blood/detail-blood.component';
10
+import { DetailOrdinaryComponent } from 'src/app/share/detail-ordinary/detail-ordinary.component';
11 11
 
12 12
 
13 13
 const routes: Routes = [
@@ -21,9 +21,9 @@ const routes: Routes = [
21 21
         component: DetailSampleComponent
22 22
       },
23 23
       {
24
-        // 工单详情-万能交接服务-血制品
25
-        path: 'detailBlood/:id',
26
-        component: DetailBloodComponent
24
+        // 工单详情-万能交接服务
25
+        path: 'detailOrdinary/:id',
26
+        component: DetailOrdinaryComponent
27 27
       },
28 28
       {
29 29
         // 工单详情-送患者

+ 3 - 3
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -4004,9 +4004,9 @@ export class HushijiandanComponent implements OnInit {
4004 4004
     } else if (data.taskType.associationType.value == 'drugsBag' || data.taskType.associationType.value == 'jPBag') {
4005 4005
       // 药品配送/静配
4006 4006
       this.router.navigateByUrl("nurse/detailDrug/" + data.id);
4007
-    } else if (data.taskType.associationType.value == 'ordinary' && data.taskType.ordinaryField.value == 'blood') {
4008
-      // 万能交接服务&&血制品
4009
-      this.router.navigateByUrl("nurse/detailBlood/" + data.id);
4007
+    } else if (data.taskType.associationType.value == 'ordinary') {
4008
+      // 万能交接服务
4009
+      this.router.navigateByUrl("nurse/detailOrdinary/" + data.id);
4010 4010
     } else {
4011 4011
       // 其他
4012 4012
       this.router.navigateByUrl("nurse/detailOthers/" + data.id);