seimin 6 mēneši atpakaļ
vecāks
revīzija
568c29b3a6

+ 1 - 1
src/app/components/incidentManagement/incident-handle/incident-handle.component.html

@@ -1,6 +1,6 @@
1 1
 <div class="modal display_flex justify-content_flex-center align-items_center" *ngIf="incidentData">
2 2
   <div class="modalBody">
3
-    <div class="title">详细处理<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
3
+    <div class="title">{{itsmSimpleHandle.value == 1 ? '简单处理' : '详细处理'}}<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
4 4
     <div class="content">
5 5
       <overlay-scrollbars #osComponentRef1 class="detail">
6 6
         <app-incident-handle-repair [incidentData]="incidentData"></app-incident-handle-repair>

+ 4 - 2
src/app/components/order-scope/order-scope.component.ts

@@ -127,8 +127,10 @@ export class OrderScopeComponent implements OnInit {
127 127
     hosTaskTypes = {}; //当前权限下所有院区对应的任务类型
128 128
     hosGroups = {}; //当前权限下所有院区对应的人员分组
129 129
     getOrderScope() {
130
-      this.hosList = this.user.infoPermission.hospitals.filter(v => !this.tool.isDuty(v));
131
-      this.taskTypes = this.user.infoPermission.taskTypes;
130
+      let hospitals = this.user.infoPermission.hospitals || []
131
+      this.hosList = hospitals.filter(v => !this.tool.isDuty(v));
132
+      this.taskTypes = this.user.infoPermission.taskTypes || [];
133
+      let userGroups = this.user.infoPermission.groups || [];
132 134
       this.userGroups = this.user.infoPermission.groups.filter(v => v.type !== 3);
133 135
       this.hosList.forEach((e) => {
134 136
         let arrT = [],