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