Bläddra i källkod

分组接口修改

seimin 3 år sedan
förälder
incheckning
f4e1060018

+ 1 - 1
src/app/views/hospital-config/hospital-config.component.ts

@@ -328,7 +328,7 @@ export class HospitalConfigComponent implements OnInit {
328 328
    * @returns
329 329
    */
330 330
   getGroupList(hosId) {
331
-    let postData = { idx: 0, sum: 100, group2: { hospitals: hosId } };
331
+    let postData = { idx: 0, sum: 100, group2: { hospitals: hosId,type:1 } };
332 332
     return this.mainService
333 333
       .getFetchDataList("data", "group2", postData)
334 334
       .toPromise();

+ 3 - 0
src/app/views/quick-combination/quick-combination.component.ts

@@ -567,6 +567,8 @@ export class QuickCombinationComponent implements OnInit {
567 567
     console.log(this.queryParamsType,this.quickCombinationModel);
568 568
     if(this.queryParamsType == 2 && (this.quickCombinationModel == 5 || this.quickCombinationModel == 6)){
569 569
       postData.group2.type = 2;
570
+    }else{
571
+      postData.group2.type = 1;
570 572
     }
571 573
     this.gLoading = true;
572 574
     this.gNum++;
@@ -732,6 +734,7 @@ export class QuickCombinationComponent implements OnInit {
732 734
           id: this.gpClassId,
733 735
         },
734 736
         hospitals: hosIds,
737
+        type:1
735 738
       },
736 739
     };
737 740
     this.gpLoading = true;

+ 3 - 0
src/app/views/users-management/users-management.component.ts

@@ -171,6 +171,7 @@ export class UsersManagementComponent implements OnInit {
171 171
     let groupData = {
172 172
       group2: {
173 173
         hospitals: hid,
174
+        type:1
174 175
       },
175 176
       idx: 0,
176 177
       sum: 9999,
@@ -206,6 +207,7 @@ export class UsersManagementComponent implements OnInit {
206 207
     let groupData = {
207 208
       group2: {
208 209
         hospitals: id,
210
+        type:1
209 211
       },
210 212
       idx: 0,
211 213
       sum: 9999,
@@ -344,6 +346,7 @@ export class UsersManagementComponent implements OnInit {
344 346
     let groupData = {
345 347
       group2: {
346 348
         hospitals: hid,
349
+        type:1
347 350
       },
348 351
       idx: 0,
349 352
       sum: 9999,

+ 1 - 1
src/app/views/wechat-config/wechat-config.component.ts

@@ -216,7 +216,7 @@ export class WechatConfigComponent implements OnInit {
216 216
   }
217 217
   // 获取组列表
218 218
   getGroupList(hosId) {
219
-    const postData = { idx: 0, sum: 9999, group2: { hospitals: hosId } };
219
+    const postData = { idx: 0, sum: 9999, group2: { hospitals: hosId,type:1 } };
220 220
     return this.mainService.getFetchDataList("data", "group2", postData);
221 221
   }
222 222
   //搜索科室

+ 1 - 0
src/app/views/worker-statistics/worker-statistics.component.ts

@@ -198,6 +198,7 @@ export class WorkerStatisticsComponent implements OnInit {
198 198
     let groupData = {
199 199
       group2: {
200 200
         hospitals: id,
201
+        type:1
201 202
       },
202 203
       idx: 0,
203 204
       sum: 9999,