|
@@ -2257,35 +2257,16 @@ export class TaskTypeManagementComponent implements OnInit {
|
2257
|
2257
|
getCourseList(sums) {
|
2258
|
2258
|
this.courseListData = [];
|
2259
|
2259
|
var that = this;
|
2260
|
|
- var data = {};
|
2261
|
|
- if (this.deptPcode || this.deptName || this.deptType) {
|
2262
|
|
- var data1 = {
|
2263
|
|
- department: {
|
2264
|
|
- hospital: {
|
2265
|
|
- id: this.hosId,
|
2266
|
|
- },
|
2267
|
|
- pcode: this.deptPcode,
|
2268
|
|
- dept: this.deptName,
|
2269
|
|
- type: {
|
2270
|
|
- id: this.deptType,
|
2271
|
|
- },
|
2272
|
|
- },
|
2273
|
|
- idx: this.pageIndex - 1,
|
2274
|
|
- sum: sums,
|
2275
|
|
- };
|
2276
|
|
- data = data1;
|
2277
|
|
- } else {
|
2278
|
|
- var data2 = {
|
2279
|
|
- department: {
|
2280
|
|
- hospital: {
|
2281
|
|
- id: this.hosId,
|
2282
|
|
- },
|
2283
|
|
- },
|
2284
|
|
- idx: this.pageIndex - 1,
|
2285
|
|
- sum: sums,
|
2286
|
|
- };
|
2287
|
|
- data = data2;
|
2288
|
|
- }
|
|
2260
|
+ var data = {
|
|
2261
|
+ department: {
|
|
2262
|
+ cascadeHosId: this.hosId,
|
|
2263
|
+ pcode: this.deptPcode || undefined,
|
|
2264
|
+ dept: this.deptName || undefined,
|
|
2265
|
+ type: this.deptType ? { id: this.deptType } : undefined,
|
|
2266
|
+ },
|
|
2267
|
+ idx: this.pageIndex - 1,
|
|
2268
|
+ sum: sums,
|
|
2269
|
+ };
|
2289
|
2270
|
|
2290
|
2271
|
var bb = [];
|
2291
|
2272
|
this.loading2 = true;
|