Browse Source

上班选择科室或楼栋支持父院区查找

seimin 1 year ago
parent
commit
2e8f833e06
2 changed files with 11 additions and 1 deletions
  1. 10 0
      pages/search/search.vue
  2. 1 1
      pages/searchMuti/searchMuti.vue

+ 10 - 0
pages/search/search.vue

@@ -204,6 +204,16 @@
204
             dept: keyword,
204
             dept: keyword,
205
           },
205
           },
206
         };
206
         };
207
+        if(this.type == 'setDept'){
208
+          postData = {
209
+            idx: 0,
210
+            sum: 20,
211
+            department: {
212
+              cascadeHosId: this.hosId,
213
+              dept: keyword,
214
+            },
215
+          }
216
+        }
207
         //不是送回病房
217
         //不是送回病房
208
         if (this.type != "sendBack" && this.type != "sendBackPatientList" && this.type != "settingCode" && this.type != "bloodSelect") {
218
         if (this.type != "sendBack" && this.type != "sendBackPatientList" && this.type != "settingCode" && this.type != "bloodSelect") {
209
           if (this.sysDeptType === 0) {
219
           if (this.sysDeptType === 0) {

+ 1 - 1
pages/searchMuti/searchMuti.vue

@@ -174,7 +174,7 @@
174
           "idx": 0,
174
           "idx": 0,
175
           "sum": 100,
175
           "sum": 100,
176
           building: {
176
           building: {
177
-            hosId: this.hosId
177
+            cascadeHosId: this.hosId
178
           }
178
           }
179
         }
179
         }
180
         post("/simple/data/fetchDataList/building", postData).then((res) => {
180
         post("/simple/data/fetchDataList/building", postData).then((res) => {