Browse Source

Merge branch 'master' into develop

seimin 4 days ago
parent
commit
9eb1a55c1c

+ 4 - 2
pages/patientInspectLog/patientInspectLogDetail.vue

@@ -120,7 +120,7 @@
120 120
       </template>
121 121
     </scroll-view>
122 122
     <view class="foot_common_btns">
123
-      <button @click="toList()" type="default" class="primaryButton btn">返回</button>
123
+      <button @click="toList()" type="default" class="primaryButton btn gray">返回</button>
124 124
       <button v-if="dataInfo.patientInspectLogData.state && dataInfo.patientInspectLogData.state.value === '4'" @click="tagClick(dataInfo.patientInspectLogData)" type="default" class="primaryButton btn">标记回科</button>
125 125
     </view>
126 126
     <!-- 弹窗 -->
@@ -304,12 +304,14 @@
304 304
 .popup-content{
305 305
 	padding: 40rpx;
306 306
 }
307
+.gray{
308
+  background-color: #8F939C!important;
309
+}
307 310
 .incidentDetail{
308 311
   height: 100vh;
309 312
   display: flex;
310 313
   flex-direction: column;
311 314
   justify-content: space-between;
312
-  background-color: #EBEBEB;
313 315
   .head{
314 316
     height: 88rpx;
315 317
     display: flex;

+ 10 - 8
pages/patientInspectLog/patientInspectLogList.vue

@@ -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();