seimin 1 year ago
parent
commit
1b1c625be5

+ 8 - 3
src/app/views/task-type-management/task-type-management.component.ts

@@ -623,8 +623,10 @@ export class TaskTypeManagementComponent implements OnInit {
623 623
     };
624 624
     this.taskData.taskType["id"] = data.id;
625 625
     this.taskName = data.taskName;
626
-    this.association.id = data.associationType.id + "";
627
-    this.association.value = data.associationType.value;
626
+    this.association = {
627
+      id: data.associationType.id + "",
628
+      value: data.associationType.value,
629
+    };
628 630
     this.getType();
629 631
     this.departments = [];
630 632
     this.mapOfCheckedId = {};
@@ -1209,7 +1211,10 @@ export class TaskTypeManagementComponent implements OnInit {
1209 1211
     this.departmentIds = "";
1210 1212
     this.departmentTypeIds = "";
1211 1213
     this.taskName = ""; //任务名称
1212
-    this.association.id = null; //关联类型
1214
+    this.association = {
1215
+      id: null,
1216
+      value: "",
1217
+    }; //关联类型
1213 1218
     this.getAllGoods(); //获取携带设备
1214 1219
     this.getAllScheduleClass(); //获取班次列表
1215 1220
     this.allowUrgent = "1"; //是否加急