Browse Source

分组接口修改

seimin 3 years ago
parent
commit
f4e1060018

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

@@ -328,7 +328,7 @@ export class HospitalConfigComponent implements OnInit {
328
    * @returns
328
    * @returns
329
    */
329
    */
330
   getGroupList(hosId) {
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
     return this.mainService
332
     return this.mainService
333
       .getFetchDataList("data", "group2", postData)
333
       .getFetchDataList("data", "group2", postData)
334
       .toPromise();
334
       .toPromise();

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

@@ -567,6 +567,8 @@ export class QuickCombinationComponent implements OnInit {
567
     console.log(this.queryParamsType,this.quickCombinationModel);
567
     console.log(this.queryParamsType,this.quickCombinationModel);
568
     if(this.queryParamsType == 2 && (this.quickCombinationModel == 5 || this.quickCombinationModel == 6)){
568
     if(this.queryParamsType == 2 && (this.quickCombinationModel == 5 || this.quickCombinationModel == 6)){
569
       postData.group2.type = 2;
569
       postData.group2.type = 2;
570
+    }else{
571
+      postData.group2.type = 1;
570
     }
572
     }
571
     this.gLoading = true;
573
     this.gLoading = true;
572
     this.gNum++;
574
     this.gNum++;
@@ -732,6 +734,7 @@ export class QuickCombinationComponent implements OnInit {
732
           id: this.gpClassId,
734
           id: this.gpClassId,
733
         },
735
         },
734
         hospitals: hosIds,
736
         hospitals: hosIds,
737
+        type:1
735
       },
738
       },
736
     };
739
     };
737
     this.gpLoading = true;
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
     let groupData = {
171
     let groupData = {
172
       group2: {
172
       group2: {
173
         hospitals: hid,
173
         hospitals: hid,
174
+        type:1
174
       },
175
       },
175
       idx: 0,
176
       idx: 0,
176
       sum: 9999,
177
       sum: 9999,
@@ -206,6 +207,7 @@ export class UsersManagementComponent implements OnInit {
206
     let groupData = {
207
     let groupData = {
207
       group2: {
208
       group2: {
208
         hospitals: id,
209
         hospitals: id,
210
+        type:1
209
       },
211
       },
210
       idx: 0,
212
       idx: 0,
211
       sum: 9999,
213
       sum: 9999,
@@ -344,6 +346,7 @@ export class UsersManagementComponent implements OnInit {
344
     let groupData = {
346
     let groupData = {
345
       group2: {
347
       group2: {
346
         hospitals: hid,
348
         hospitals: hid,
349
+        type:1
347
       },
350
       },
348
       idx: 0,
351
       idx: 0,
349
       sum: 9999,
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
   getGroupList(hosId) {
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
     return this.mainService.getFetchDataList("data", "group2", postData);
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
     let groupData = {
198
     let groupData = {
199
       group2: {
199
       group2: {
200
         hospitals: id,
200
         hospitals: id,
201
+        type:1
201
       },
202
       },
202
       idx: 0,
203
       idx: 0,
203
       sum: 9999,
204
       sum: 9999,