seimin il y a 1 an
Parent
commit
3314b6ccfe

+ 1 - 1
proxy.conf.json

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

+ 1 - 1
src/app/share/relationTrans-detail-modal/relationTrans-detail-modal.component.html

@@ -33,7 +33,7 @@
33 33
             <td>{{ data.extra5 || '' }}</td>
34 34
             <td>{{ data.extra1Time | date:"yyyy-MM-dd" }}<br>{{ data.extra1Time | date:"HH:mm:ss" }}</td>
35 35
             <td>{{ data.code || '' }}</td>
36
-            <td>{{ data.startDept || '' }}</td>
36
+            <td>{{ data.startDeptDTO ? (deptDisplay == 2 ? data.startDeptDTO.deptalias : data.startDeptDTO.dept) : '' }}</td>
37 37
           </tr>
38 38
         </tbody>
39 39
       </nz-table>

+ 4 - 0
src/app/share/relationTrans-detail-modal/relationTrans-detail-modal.component.ts

@@ -12,6 +12,7 @@ export class RelationTransDetailModalComponent implements OnInit {
12 12
   listOfDisplayData: any[] = [];
13 13
   mapOfCheckedId: { [key: string]: boolean } = {};
14 14
   isIndeterminate = false;
15
+  currentDept; //当前科室
15 16
 
16 17
   hosId;
17 18
   hsLoading = false;
@@ -24,6 +25,7 @@ export class RelationTransDetailModalComponent implements OnInit {
24 25
     specimenDesc: 0,
25 26
   }
26 27
   @Input() show: Boolean;
28
+  @Input() deptDisplay: string | number;
27 29
   @Input() otherBindConfigDto: any;
28 30
 
29 31
   @Output() closeModelHs = new EventEmitter<any>();//1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件
@@ -33,6 +35,7 @@ export class RelationTransDetailModalComponent implements OnInit {
33 35
 
34 36
   ngOnInit() {
35 37
     this.hosId = this.tool.getCurrentHospital().id;
38
+    this.currentDept = this.tool.getCurrentUserDept();
36 39
     this.tabType = 1;
37 40
     this.getOtherTransState();
38 41
   }
@@ -127,6 +130,7 @@ export class RelationTransDetailModalComponent implements OnInit {
127 130
         relationTrans: this.otherBindConfigDto.relationTrans,
128 131
         hosId: this.hosId,
129 132
         state: this.other_trans_state1,
133
+        startDept: this.currentDept.id,
130 134
       }
131 135
     }
132 136
     this.hsLoading = true;

+ 1 - 1
src/app/views/hushijiandan/hushijiandan.component.html

@@ -3812,4 +3812,4 @@
3812 3812
 (confirmDelEvent)="confirmLimitTime()" [content]="limitTimeInfo" confirmTxt="继续建单" [isShowConfirm]="isShowConfirm" [isShowConfirmInfo]="isShowConfirmInfo"></app-dialog-delete>
3813 3813
 
3814 3814
 <!-- 关联业务查看 -->
3815
-<app-relationTrans-detail-modal *ngIf="relationTransModalShow" [show]="relationTransModalShow" [otherBindConfigDto]="otherBindConfigDto" (closeModelHs)="closeModelRelationTrans($event)" (confirmModelHs)="confirmModelRelationTrans($event)"></app-relationTrans-detail-modal>
3815
+<app-relationTrans-detail-modal *ngIf="relationTransModalShow" [show]="relationTransModalShow" [otherBindConfigDto]="otherBindConfigDto" (closeModelHs)="closeModelRelationTrans($event)" (confirmModelHs)="confirmModelRelationTrans($event)" [deptDisplay]="deptDisplay"></app-relationTrans-detail-modal>