|
@@ -1,5 +1,5 @@
|
1
|
import { Component, OnInit, ViewChild } from "@angular/core";
|
1
|
import { Component, OnInit, ViewChild } from "@angular/core";
|
2
|
-import { ActivatedRoute, Router } from "@angular/router";
|
|
|
|
|
2
|
+import { ActivatedRoute } from "@angular/router";
|
3
|
import { MainService } from "../../services/main.service";
|
3
|
import { MainService } from "../../services/main.service";
|
4
|
import { OverlayScrollbarsComponent } from "overlayscrollbars-ngx";
|
4
|
import { OverlayScrollbarsComponent } from "overlayscrollbars-ngx";
|
5
|
import { FormBuilder, FormGroup } from "@angular/forms";
|
5
|
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
@@ -387,6 +387,7 @@ export class TaskTypeManagementComponent implements OnInit {
|
387
|
// 获取所有院区
|
387
|
// 获取所有院区
|
388
|
getAllHospital() {
|
388
|
getAllHospital() {
|
389
|
this.hosId = this.tool.getCurrentHospital().id;
|
389
|
this.hosId = this.tool.getCurrentHospital().id;
|
|
|
390
|
+ this.hosName = this.tool.getCurrentHospital().hosName;
|
390
|
this.onSearch("");
|
391
|
this.onSearch("");
|
391
|
}
|
392
|
}
|
392
|
// 获取所有关联类型
|
393
|
// 获取所有关联类型
|
|
@@ -600,7 +601,6 @@ export class TaskTypeManagementComponent implements OnInit {
|
600
|
};
|
601
|
};
|
601
|
this.taskData.taskType["id"] = data.id;
|
602
|
this.taskData.taskType["id"] = data.id;
|
602
|
this.taskName = data.taskName;
|
603
|
this.taskName = data.taskName;
|
603
|
- this.hosName = data.hosId.hosName;
|
|
|
604
|
this.association.id = data.associationType.id + "";
|
604
|
this.association.id = data.associationType.id + "";
|
605
|
this.association.value = data.associationType.value;
|
605
|
this.association.value = data.associationType.value;
|
606
|
if (data.deptIds) {
|
606
|
if (data.deptIds) {
|