Browse Source

工作模式名称修改

seimin 3 years ago
parent
commit
d76de8dced
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/app/views/quick-combination/quick-combination.component.ts

+ 6 - 1
src/app/views/quick-combination/quick-combination.component.ts

@@ -803,6 +803,7 @@ export class QuickCombinationComponent implements OnInit {
803 803
         this.loading1 = false;
804 804
         if (data.status == 200) {
805 805
           let arr = ["自由抢单", "指定分组", "科室绑定人员", "科室绑定分组"];
806
+          let _arr = ["自由抢单", "绑定分组", "科室绑定人员", "科室绑定分组"];
806 807
           this.listOfData = data.list;
807 808
           data.list.forEach((item) => {
808 809
             let arr1 = [];
@@ -812,7 +813,11 @@ export class QuickCombinationComponent implements OnInit {
812 813
             let arr5 = [];
813 814
             let arr6 = [];
814 815
             let arr7 = [];
815
-            item.ruleTypeName = arr[item.ruleType - 1];
816
+            if(this.queryParamsType == 1){
817
+              item.ruleTypeName = arr[item.ruleType - 1];
818
+            }else if(this.queryParamsType == 2){
819
+              item.ruleTypeName = _arr[item.ruleType - 1];
820
+            }
816 821
             item.taskTypes.forEach((v) => {
817 822
               arr1.push(v.taskName);
818 823
               arr2.push(v.id + "");