seimin 1 month ago
parent
commit
c39bf91683
1 changed files with 10 additions and 8 deletions
  1. 10 8
      pages/patientInspectLog/patientInspectLogList.vue

+ 10 - 8
pages/patientInspectLog/patientInspectLogList.vue

@@ -102,7 +102,7 @@
102
         };
102
         };
103
         post("/common/common/getDictionary", postData).then(res => {
103
         post("/common/common/getDictionary", postData).then(res => {
104
           let stateList = res || [];
104
           let stateList = res || [];
105
-          
105
+
106
           if(isStorage){
106
           if(isStorage){
107
             this.dataInfo.evtFilter = uni.getStorageSync('patientInspectLogEvtFilter');
107
             this.dataInfo.evtFilter = uni.getStorageSync('patientInspectLogEvtFilter');
108
             this.dataInfo.tabActiveId = +uni.getStorageSync('patientInspectLogTabActiveId');
108
             this.dataInfo.tabActiveId = +uni.getStorageSync('patientInspectLogTabActiveId');
@@ -110,7 +110,7 @@
110
             // 默认出科陪检中
110
             // 默认出科陪检中
111
             this.dataInfo.evtFilter.stateList = stateList.map(v => ({...v, checked: v.value == 4}));
111
             this.dataInfo.evtFilter.stateList = stateList.map(v => ({...v, checked: v.value == 4}));
112
           }
112
           }
113
-          
113
+
114
           this.getList(0);
114
           this.getList(0);
115
         })
115
         })
116
       },
116
       },
@@ -138,6 +138,7 @@
138
           patientInspectLog: {
138
           patientInspectLog: {
139
             hosId: this.hosId,
139
             hosId: this.hosId,
140
             scanCode: ress1,
140
             scanCode: ress1,
141
+            simpleQuery: 1,
141
           }
142
           }
142
         }
143
         }
143
         post("/simple/data/fetchDataList/patientInspectLog", postData).then((ress) => {
144
         post("/simple/data/fetchDataList/patientInspectLog", postData).then((ress) => {
@@ -183,18 +184,19 @@
183
         if(this.dataInfo.idx === 0){
184
         if(this.dataInfo.idx === 0){
184
           this.dataInfo.list = [];
185
           this.dataInfo.list = [];
185
         }
186
         }
186
-        
187
+
187
         let postData = {
188
         let postData = {
188
             "idx": this.dataInfo.idx,
189
             "idx": this.dataInfo.idx,
189
             "sum": 20,
190
             "sum": 20,
190
             "patientInspectLog": {
191
             "patientInspectLog": {
191
               "hosId": this.hosId,
192
               "hosId": this.hosId,
193
+              simpleQuery: 1,
192
             }
194
             }
193
         }
195
         }
194
-        
196
+
195
         let tabActiveObj = this.dataInfo.tabs.find(v => v.id == this.dataInfo.tabActiveId);
197
         let tabActiveObj = this.dataInfo.tabs.find(v => v.id == this.dataInfo.tabActiveId);
196
         console.log(tabActiveObj)
198
         console.log(tabActiveObj)
197
-        
199
+
198
         if(tabActiveObj && tabActiveObj.id){
200
         if(tabActiveObj && tabActiveObj.id){
199
           if(tabActiveObj.id === 1){
201
           if(tabActiveObj.id === 1){
200
             if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.signUser && this.dataInfo.evtFilter.signUser.id){
202
             if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.signUser && this.dataInfo.evtFilter.signUser.id){
@@ -215,18 +217,18 @@
215
             }
217
             }
216
           }
218
           }
217
         }
219
         }
218
-      
220
+
219
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.department && this.dataInfo.evtFilter.department.id){
221
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.department && this.dataInfo.evtFilter.department.id){
220
           postData.patientInspectLog.deptId = this.dataInfo.evtFilter.department.id;
222
           postData.patientInspectLog.deptId = this.dataInfo.evtFilter.department.id;
221
         }
223
         }
222
-        
224
+
223
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.stateList && this.dataInfo.evtFilter.stateList.length){
225
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.stateList && this.dataInfo.evtFilter.stateList.length){
224
           let values = this.dataInfo.evtFilter.stateList.filter(v => v.checked).map(v => v.value).toString();
226
           let values = this.dataInfo.evtFilter.stateList.filter(v => v.checked).map(v => v.value).toString();
225
           postData.patientInspectLog.state = values ? {
227
           postData.patientInspectLog.state = values ? {
226
             value: values
228
             value: values
227
           } : undefined;
229
           } : undefined;
228
         }
230
         }
229
-      
231
+
230
         post("/simple/data/fetchDataList/patientInspectLog", postData).then(res => {
232
         post("/simple/data/fetchDataList/patientInspectLog", postData).then(res => {
231
           uni.hideLoading();
233
           uni.hideLoading();
232
           uni.stopPullDownRefresh();
234
           uni.stopPullDownRefresh();